#6624 closed defect (invalid)
A26 crashing when started via LinuxMint Cinnamon
Reported by: | rori1977 | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | rori1977 | Patch: |
Description
Hello, first of all big thanks for releasing A26 - well done.
I would like to share an observation occuring when starting A26 via LinuxMint Cinnamon via the start menu.
Observed behaviour:
- Click LinumMint "Start"-button
- Click Games
- Click 0 AD
The window manager crashes and I am being logged out. After loggin in again to LinuxMint I can resume as normal.
Surprisingly everything works well, when I start 0ad via the "terminal". Doing this work flawlessly, so my assumtion is that there is an issue between 0ad and the Cinnamon Window Manager.
As I am a bit new, please guide me should I have missing to include relevant information for you.
Attachments (5)
Change History (11)
by , 19 months ago
Attachment: | crashlog.txt added |
---|
by , 19 months ago
Attachment: | system_info.txt added |
---|
by , 19 months ago
Attachment: | userreport_hwdetect.txt added |
---|
by , 19 months ago
Attachment: | mainlog.html added |
---|
by , 19 months ago
Attachment: | interestinglog.html added |
---|
comment:1 by , 19 months ago
In the logs I can see the following error message:
SetVideoMode failed in SDL_SetWindowFullscreen: 1024x768:24 0 ("Video subsystem has not been initialized")
comment:2 by , 19 months ago
Please check whether desktop apps have been sandboxed with firejail. The way to do this is to look at the command for the 0ad icon. Maybe you can alternate click on the icon and then view the command that is run by the icon. Or, you can open the file /usr/share/applications/0ad.desktop (maybe at a different location on your distro) with a text editor and paste the contents here.
Also start a terminal and check whether 0ad is a symlink to firejail.
ls -l $(which 0ad) ls -l $(which pyrogenesis)
comment:3 by , 19 months ago
Hello dave_k,
thanks for the fast response....
Here are the details I could obtain thanks to your precise guidance:
Regarding "Sandboxing", here is the output:
robert@robert-desktop:~$ ls -l $(which 0ad) -rwxr-xr-x 1 root root 327 Sep 25 09:54 /usr/games/0ad robert@robert-desktop:~$ ls -l $(which pyrogenesis) -rwxr-xr-x 1 root root 8507248 Sep 25 09:54 /usr/games/pyrogenesis
Regarding the "0ad"-Desktoplauncher.icon, I currently have the following command in the 0ad.desktop file:
0ad %F
If I run exact this command once more from the terminal (including AND also excluding the "%F") it will always works.
Will this provide any further relevant insights?
Please let me know if you would like me to try something out that may help others to avoid running into this issue.
BR and thanks
Robert
comment:4 by , 19 months ago
More information is needed in order to narrow down the possible causes. Please join IRC for interactive troubleshooting advice. To do that, visit https://play0ad.com and click "IRC Channel" at the top.
comment:5 by , 19 months ago
After a fruitful discussion with dave_k on IRC I can confirm that this is likely related to the nVidia driver.
On LinuxMint 20.3 "una", which is utilizing an older libsdl2-2.0-0 version (2.0.10+dfsg1-3) I can observe the following:
Driver version NOT working (for me, installed via jockey-common): nVidia 515.65, nVidia 510.85
Driver version working fine (for me, installed via jockey-common): nouveau, nVidia 470.141
Also worth mentioning is that A25 used to work perfectly fine, for a yet unknown reason. In the course of the debugging, we also found out that some other SDL games (namely: supertuxkart 1.3+ds-2~xtradeb2) showed the same issue.
Therefore closing the ticket against 0ad A26 as invalid.
Thanks
comment:6 by , 19 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
SetVideoMode failed in SDL_SetWindowFullscreen: 1024x768:24 0 ("Video subsystem has not been initialized")