Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

Subject: Segmentation Problem under Linux solved (AMD GPU related) - new problem with Logitech F310 gamepad (detected but not usable).

Hi,

I had commented about problems under Linux with demo 0.30 on

08.11.2020 ... and yesterday I got a second GMS game (also 32 bit) where I got a hint about the segmentation fault under Linux.

It is related to new AMD graphics (maybe concerning the free stack used by GNU/Linux distributions) and can be fixed with a parameter - I had tried all and the 1st worked and showed that the graphics stack is responsible (but no HW acceleration ... no real option - but the demo ran in more than 30 fps) - the last one was correct for my Navi 10 (Radeon RX 5700 XT) graphics card - now showing just 60 fps constantly) - but maybe this list may help others - so I do give all options here (this worked with demo 0.30 {= 63} and the latest 0.32 {= 67}):

LIBGL_ALWAYS_SOFTWARE=1 ./Zordak  # no HW acceleration - 1st test

R600_DEBUG="vs,ps" ./Zordak

R600_debug=check_vm ./Zordak

AMD_DEBUG=ps,vs ./Zordak

radeonsi_sync_compile=true ./Zordak  # works for Navi 10

So now I can test the game and my graphics card no longer provokes a segmentation fault by GMS.

I tested on Kubuntu Groovy (20.10 STS; using Kernel 5.10.16 and Mesa 20.3.2 ;).

Unfortunately despite both demo versions (former 0.30 and current 0.32) detecting my Logitech F310 gamepad, both can not use it. Is this problem known - and maybe a workaround available?

Best wishes,

JMB

P.S.: Sorry, just saw now that controllers are not supposed to work right now. The other program had also controller issues, so I hoped this can be cleared here (due to detecting it) - in case it has something to do with GMS. So will check other possibilities. But would be nice if this could be addressed ... gamepad control would fit to this game. ;)

Hey, sorry for the somewhat late reply.

Good to hear that you got it running at least.

I'll add these parameters to my to-do list and then maybe include them in the readme file for the next version.

I'm going to have to look them up and see what they actually do first though, the first one is self explanatory but the rest, not so much, "vs,ps" is probably vertex and pixel shader but other than that no idea.

Regarding gamepad support, I have the exact same issue, no idea what the problem is so for now gamepads are unsupported.

I'm guessing the issue is likely because I'm using GMS 1.4 and the runner (the executable) is pre-compiled and from 2016.

I have plans to port the game over to GMS 2 which *should* solve most if not all issues but this won't happen until after the game has been completed.

So for now the Linux version is what it is, thanks for the feedback and posting possible solutions. :)