philterphil Posted November 30, 2022 Report Share Posted November 30, 2022 Hey everyone. After a few weeks I wanted to enjoy a match but 0ad doesnt start anymore. I installed the stable snap store version through the ubuntu software app. Same problem after reinstalling the game. After trying to start from terminal this is the message I get: user@Polaris:~$ 0ad TIMER| InitVfs: 367.58 us FILES| Main log written to '/home/user/snap/0ad/579/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/user/snap/0ad/579/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 2.18627 ms Sound: AlcInit success, using OpenAL Soft X Error: BadAlloc Request Major code 149 () Request Minor code 2 Error Serial #106 Current Serial #107 Assertion failed: "!m_Worker" Location: UserReport.cpp:516 (~CUserReporter) Call stack: (0x5617097ed10e) /snap/0ad/579/binaries/system/pyrogenesis(+0x5ed10e) [0x5617097ed10e] (0x5617097a18a1) /snap/0ad/579/binaries/system/pyrogenesis(+0x5a18a1) [0x5617097a18a1] (0x5617097a35f3) /snap/0ad/579/binaries/system/pyrogenesis(+0x5a35f3) [0x5617097a35f3] (0x5617094d92e3) /snap/0ad/579/binaries/system/pyrogenesis(+0x2d92e3) [0x5617094d92e3] (0x7fd27180c031) /lib/x86_64-linux-gnu/libc.so.6(+0x43031) [0x7fd27180c031] (0x7fd27180c12a) /lib/x86_64-linux-gnu/libc.so.6(+0x4312a) [0x7fd27180c12a] (0x7fd2739ae888) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x40888) [0x7fd2739ae888] (0x7fd2739ae9ba) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a) [0x7fd2739ae9ba] (0x7fd2739ab8eb) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d8eb) [0x7fd2739ab8eb] (0x7fd2739ab995) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d995) [0x7fd2739ab995] (0x7fd2739ac2c5) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55) [0x7fd2739ac2c5] (0x7fd2739af085) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(_XGetRequest+0x55) [0x7fd2739af085] (0x7fd1e38d5bb2) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x34bb2) [0x7fd1e38d5bb2] (0x7fd2767167b3) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xcb7b3) [0x7fd2767167b3] (0x7fd2766e9746) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0x9e746) [0x7fd2766e9746] (0x7fd2766eb8e4) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xa08e4) [0x7fd2766eb8e4] errno = 9 (?) OS error = ? Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted November 30, 2022 Report Share Posted November 30, 2022 Hi! Which version was working for you? Could you attach logs and system info (files inside the .config/0ad/logs/)? Quote Link to comment Share on other sites More sharing options...
philterphil Posted November 30, 2022 Author Report Share Posted November 30, 2022 (edited) This notebook is 3 or 4 months old and I only tried alpha 26 on it. But it used to work on this notebook like 4-8 weeks ago. I attached my specs as an image. The 0ad folder in .config doesnt exists... Maybe because I deleted the game and reinstalled it? Today I tried to start it again and the error message I get is a bit different now... Looks like something is wrong with the audio. But I dont have any problems with it. user@Polaris:~$ 0ad TIMER| InitVfs: 1.3274 ms FILES| Main log written to '/home/user/snap/0ad/579/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/user/snap/0ad/579/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 11.5237 ms ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory WARNING: No audio device was found. X Error: BadAlloc Request Major code 149 () Request Minor code 2 Error Serial #106 Current Serial #107 Assertion failed: "!m_Worker" Location: UserReport.cpp:516 (~CUserReporter) Call stack: (0x5639df3ed10e) /snap/0ad/579/binaries/system/pyrogenesis(+0x5ed10e) [0x5639df3ed10e] (0x5639df3a18a1) /snap/0ad/579/binaries/system/pyrogenesis(+0x5a18a1) [0x5639df3a18a1] (0x5639df3a35f3) /snap/0ad/579/binaries/system/pyrogenesis(+0x5a35f3) [0x5639df3a35f3] (0x5639df0d92e3) /snap/0ad/579/binaries/system/pyrogenesis(+0x2d92e3) [0x5639df0d92e3] (0x7f9a43268031) /lib/x86_64-linux-gnu/libc.so.6(+0x43031) [0x7f9a43268031] (0x7f9a4326812a) /lib/x86_64-linux-gnu/libc.so.6(+0x4312a) [0x7f9a4326812a] (0x7f9a4540a888) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x40888) [0x7f9a4540a888] (0x7f9a4540a9ba) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a) [0x7f9a4540a9ba] (0x7f9a454078eb) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d8eb) [0x7f9a454078eb] (0x7f9a45407995) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d995) [0x7f9a45407995] (0x7f9a454082c5) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55) [0x7f9a454082c5] (0x7f9a4540b085) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libX11.so.6(_XGetRequest+0x55) [0x7f9a4540b085] (0x7f99d70d4bb2) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x34bb2) [0x7f99d70d4bb2] (0x7f9a481727b3) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xcb7b3) [0x7f9a481727b3] (0x7f9a48145746) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0x9e746) [0x7f9a48145746] (0x7f9a481478e4) /snap/0ad/579/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xa08e4) [0x7f9a481478e4] errno = 9 (?) OS error = ? Edit: After a bit of searching I found a few log files in /snap/0ad/579/.config/0ad/logsmainlog.html logs.zip Edited November 30, 2022 by philterphil Quote Link to comment Share on other sites More sharing options...
Matt1908 Posted January 6, 2023 Report Share Posted January 6, 2023 (edited) Had the same problem. Could solve it simply with installing the right graphic dirver. Edited January 6, 2023 by Matt1908 Quote Link to comment Share on other sites More sharing options...
ThomasCollignon Posted October 19 Report Share Posted October 19 Kind of same problem here. Specs : Ubuntu 24.04.1 AMD Ryzen™ 7 PRO 4750U with Radeon™ Graphics × 16 Oad 0.0.26-alpha I've installed the Linux driver from AMD website: Radeon™ Software for Linux® version 24.20.3 for Ubuntu 24.04.1 HWE. Now I can see these new lines in Softwares & Updates : After reboot, in a terminal I launch 0ad an I get this : thomas-collignon@thcollignon-elitebook-ubuntu:~$ 0ad TIMER| InitVfs: 505.562 us FILES| Main log written to '/home/thomas-collignon/snap/0ad/592/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/thomas-collignon/snap/0ad/592/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 1.72127 ms Sound: AlcInit success, using OpenAL Soft X Error: BadAlloc Request Major code 149 () Request Minor code 2 Error Serial #105 Current Serial #106 Assertion failed: "!m_Worker" Location: UserReport.cpp:516 (~CUserReporter) Call stack: (0x5847ce7ed10e) /snap/0ad/592/binaries/system/pyrogenesis(+0x5ed10e) [0x5847ce7ed10e] (0x5847ce7a18a1) /snap/0ad/592/binaries/system/pyrogenesis(+0x5a18a1) [0x5847ce7a18a1] (0x5847ce7a35f3) /snap/0ad/592/binaries/system/pyrogenesis(+0x5a35f3) [0x5847ce7a35f3] (0x5847ce4d92e3) /snap/0ad/592/binaries/system/pyrogenesis(+0x2d92e3) [0x5847ce4d92e3] (0x7c8c16afa031) /lib/x86_64-linux-gnu/libc.so.6(+0x43031) [0x7c8c16afa031] (0x7c8c16afa12a) /lib/x86_64-linux-gnu/libc.so.6(+0x4312a) [0x7c8c16afa12a] (0x7c8c18c9c888) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x40888) [0x7c8c18c9c888] (0x7c8c18c9c9ba) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a) [0x7c8c18c9c9ba] (0x7c8c18c998eb) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d8eb) [0x7c8c18c998eb] (0x7c8c18c99995) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d995) [0x7c8c18c99995] (0x7c8c18c9a2c5) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55) [0x7c8c18c9a2c5] (0x7c8c18c9d085) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(_XGetRequest+0x55) [0x7c8c18c9d085] (0x7c8bd8fbcbb2) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x34bb2) [0x7c8bd8fbcbb2] (0x7c8c1ba047b3) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xcb7b3) [0x7c8c1ba047b3] (0x7c8c1b9d7746) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0x9e746) [0x7c8c1b9d7746] (0x7c8c1b9d98e4) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xa08e4) [0x7c8c1b9d98e4] errno = 9 (?) OS error = ? In case it matters: I can't quit the terminal with exit or quit, I have to close the window. Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 19 Report Share Posted October 19 2 hours ago, ThomasCollignon said: Interesting log written to '/home/thomas-collignon/snap/0ad/592/.config/0ad/logs/interestinglog.html' Could you show the contents of that file ? Quote Link to comment Share on other sites More sharing options...
ThomasCollignon Posted October 19 Report Share Posted October 19 (edited) interestinglog.html : <!DOCTYPE html> <meta charset="utf-8"> <title>Pyrogenesis Log</title> <style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style> <h2>0 A.D. (0.0.26) Main log (warnings and errors only)</h2> <p class="warning">WARNING: No audio device was found.</p> The audio works fine on other apps. Also attached crashlog.txt and mainlog.html crashlog.txt mainlog.html Edited October 19 by ThomasCollignon Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 19 Report Share Posted October 19 Do you by any chance use the snap version ? It sometimes break the app in unexpected ways. @oSoMoN Quote Link to comment Share on other sites More sharing options...
ThomasCollignon Posted October 19 Report Share Posted October 19 Yes it has been installed through the App Center. Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 19 Report Share Posted October 19 6 minutes ago, ThomasCollignon said: Yes it has been installed through the App Center. Can you try to use the distro package instead ? Quote Link to comment Share on other sites More sharing options...
zyli Posted October 19 Report Share Posted October 19 (edited) A little note from me. ThomasCollignon has Ubuntu 24.04.1, or 'noble'. Since 'noble' there is no 0ad package anymore. There are 0ad-data and 0ad-data-common. But there is no 0ad. https://packages.ubuntu.com/search?suite=noble&searchon=names&keywords=0ad The same case as Debian Trixie. 0ad can be installed on Ubuntu Noble - you have to take the 0ad package from 'mantic' and install it manually. https://packages.ubuntu.com/mantic/0ad But first you have to manually install the libicu72 package (72.1-3ubuntu3) from 'mantic'. https://packages.ubuntu.com/mantic/libicu72 In 'noble' there is libicu74. Both of these packages can be together. I have tested this on Linux Mint 22, which is based on 'noble'. Regards. Postscriptum. You may need to install dependencies: libenet 7, libgloox18. Edited October 19 by zyli Quote Link to comment Share on other sites More sharing options...
ThomasCollignon Posted October 20 Report Share Posted October 20 Hi @Stan`, @zyli, Sorry if my answer stings a little bit, but going through manual dependencies installation is not the way I'd use to install a game. It's a fresh installation of Ubuntu 24, and the App Center was visible on the Desktop at first login, and, having a quick look into the apps, 0ad is the first one that shows up into the Games section. To me it means that 0ad is promoted by Ubuntu. It's normal that an Alpha version includes bugs, but I think it's not normal that, if an app is promoted, users can't even install it. Do you know if other users with a similar pc also face the same issue ? Or is this bug a very sepcific case linked to my very specific pc ? If I'm not the only one, I would expect a link to a page where such issue and possible fixes are clearly explained. What's your opinion on this ? Regards, Thomas Quote Link to comment Share on other sites More sharing options...
zyli Posted October 20 Report Share Posted October 20 (edited) Sorry if my answer stings a little bit. If the problem for you is downloading two files (in words: two) from the Ubuntu repository and executing the command 'dpkg -i', then forgive me... I suggest Windows. Good luck. Best regards. Edited October 20 by zyli Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 20 Report Share Posted October 20 2 hours ago, ThomasCollignon said: Hi @Stan`, @zyli, Sorry if my answer stings a little bit, but going through manual dependencies installation is not the way I'd use to install a game. It's a fresh installation of Ubuntu 24, and the App Center was visible on the Desktop at first login, and, having a quick look into the apps, 0ad is the first one that shows up into the Games section. To me it means that 0ad is promoted by Ubuntu. It's normal that an Alpha version includes bugs, but I think it's not normal that, if an app is promoted, users can't even install it. Do you know if other users with a similar pc also face the same issue ? Or is this bug a very sepcific case linked to my very specific pc ? If I'm not the only one, I would expect a link to a page where such issue and possible fixes are clearly explained. What's your opinion on this ? Regards, Thomas Hey the reason it's the first in the list is because it starts with a 0. No other reason. Maintainers have been working really hard to package it for the newest ubuntu but it took almost six months. Hopefully it will now be down in Debian testing which means it will reach ubuntu. Ubuntu for some reason has decided that snaps where the way to go but they often have issues the normal package don't have because of their security features or compatibility. It's a game of luck on some machines it works fine, on other it does not. We currently don't have the means to test on many configurations. We currently recommend normal packages because they have less issues. Quote Link to comment Share on other sites More sharing options...
ThomasCollignon Posted October 20 Report Share Posted October 20 (edited) @zyli My main goal here is not to easily install the 0ad game, it's rather to give an end-user's feedback. I'm a FOSS enthousiast, and I'd really like Ubuntu to be as user-friendly as Windows. I'll try the packages and keep you aware of the result. @Stan` I didn't think about the alphabetical order . Thank you for also enlightening me about the snaps, I thought it was a more robust system that it actually is. Edited October 20 by ThomasCollignon Quote Link to comment Share on other sites More sharing options...
ThomasCollignon Posted October 20 Report Share Posted October 20 (edited) Done : sudo apt install libenet7 sudo apt install libgloox18 - download packages.ubuntu.com/mantic/libicu72, then sudo dpkg --install libicu72_72.1-3ubuntu3_amd64.deb - download packages.ubuntu.com/mantic/0ad, then install it via App Center (automatically started after wrong maneuver in my browser, I hope it's still valid) - launch 0ad from the Activities overview It works for me, the game starts . Thanks guys Edited October 20 by ThomasCollignon 1 Quote Link to comment Share on other sites More sharing options...
zyli Posted October 21 Report Share Posted October 21 (edited) It's good that it went smoothly for you and you're happy Regarding this inscription: "Potentially unsafe". It's strange that this Ubuntu is oversensitive to packages from its own repository one branch lower ('mantic' vs. 'noble'). And somehow Ubuntu doesn't care about "Potentially unsafe" in the case of snap packages that it promotes so widely. But never mind. "Potentially unsafe" most often applies to older kernels, older web browsers, etc. when newer versions have been released. However, in this case it does not apply to the 0ad package, which would be compiled on 'noble' from the same source (0.0.26) as on 'mantic'. And why wasn't 0ad compiled on 'noble' (and also on Debian Trixie, Mint 22)? Answer: Because now in Debian Trixie ('noble' etc) the default python version is 3.12, which for some strange reason prevents compilation of 0ad (only 0ad, because 0ad-data compiles correctly). It's only about compilation, because python is not needed to run 0ad. It goes without saying that on 'mantic' python was in a lower version. And that's why the 0ad package will not be in Debian Trixie (noble etc.), until this problem is solved. News: I think auspicious winds are beginning to blow: https://wildfiregames.com/forum/topic/124266-0adpython312-%E2%80%93-a-positive-signal/ And that would be it. Regards. Postscript Given that "Potentially unsafe" label, for peace of mind you can always handle "serious matters" on another ("Potentially safe") computer. Edited October 21 by zyli Quote Link to comment Share on other sites More sharing options...
AInur Posted October 21 Report Share Posted October 21 Please try to install via Flatpak and flathub: https://flathub.org/apps/com.play0ad.zeroad Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 21 Report Share Posted October 21 47 minutes ago, AInur said: Please try to install via Flatpak and flathub: https://flathub.org/apps/com.play0ad.zeroad Same as snaps, flatpacks have specific issues. Quote Link to comment Share on other sites More sharing options...
Graham1 Posted November 10 Report Share Posted November 10 I'm having the same issue here (Warning: No audio device was found). Running Ubuntu 24.04.1 with 0.A.D. snap. Shame there is no DEB installation for this game (at the moment). At least closing 0.A.D. and then re-opening again is a workaround until the Python issue is resolved. Quote Link to comment Share on other sites More sharing options...
Stan` Posted November 10 Report Share Posted November 10 15 hours ago, Graham1 said: I'm having the same issue here (Warning: No audio device was found). Running Ubuntu 24.04.1 with 0.A.D. snap. Shame there is no DEB installation for this game (at the moment). At least closing 0.A.D. and then re-opening again is a workaround until the Python issue is resolved. Do you have any experience with snap ? Could there be a setting or something special that needs to be activated ? Do you play with earphones ? Quote Link to comment Share on other sites More sharing options...
Graham1 Posted November 11 Report Share Posted November 11 On 10/11/2024 at 4:44 PM, Stan` said: Do you have any experience with snap ? Could there be a setting or something special that needs to be activated ? Do you play with earphones ? Not really. I prefer DEB over snap simply because DEBS tend to load faster (especially when first run) and everything just works. I don't use headphones with 0.A.D. I can play around with the snap permissions but given that 0.A.D. loads fine on the second run, it seems more of a timing issue possibly. I'll have a play around and report back. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.