Deusdies Posted April 8, 2010 Report Share Posted April 8, 2010 Howdy,Ubuntu 10.04 Lucid beta1 AMD64ATI HD5750FGLRX 8.721ubunut7Heroes of Nasaroth (or whatever ), Alien Arena all working fine.However, running 0ad from terminal gives me the following:ERROR: SDL library initialization failed: No available video deviceterminate called after throwing an instance of 'PSERROR_System_SDLInitFailed' what(): System_SDLInitFailedAborted (core dumped)What libraries do I exactly need to install? I went to libsdl.org downloaded their tarball, did ./configure, make, make install without any errors0 A.D. looks like a great game that could finally replace Stronghold for me Any ideas would be appreciatedThanks! Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted April 8, 2010 Report Share Posted April 8, 2010 Could you paste the output of running "glxinfo"? Quote Link to comment Share on other sites More sharing options...
Deusdies Posted April 8, 2010 Author Report Share Posted April 8, 2010 (edited) One update though:I reinstalled my fglrx driver and now I get this:TIMER| InitVfs: 2.10305 msTIMER| InitScripting: 2.54043 msTIMER| CONFIG_Init: 2.96827 msERROR: Could not set 1024x768 graphics mode: X11 driver not configured with OpenGLterminate called after throwing an instance of 'PSERROR_System_VmodeFailed' what(): System_VmodeFailedAborted (core dumped)Here's glxinfo: http://pastebin.com/aEGvNgnXThanks!EDIT: recompiled and reinstalled libsdl; the game now runs, but I get errors like error audio: Could not load music file '/home/bogdan/wesnoth-1.8/data/core/music/battle.ogg': Unrecognized music format Needless to say, the sound is not working. Yes, the error is from wesnoth, but it also uses SDL and I have the same error with 0ad Edited April 8, 2010 by Deusdies Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted April 8, 2010 Report Share Posted April 8, 2010 Hmm, the glxinfo output looks roughly sensible so it probably ought to work. The error message "X11 driver not configured with OpenGL" makes it sound like you may need to reconfigure your X11 driver with OpenGL . I don't think that issue is specific to the game - it'll be something to do with Xorg and fglrx and Ubuntu's packages, but I'm afraid I don't know any details of how they work. Quote Link to comment Share on other sites More sharing options...
Deusdies Posted April 8, 2010 Author Report Share Posted April 8, 2010 Beat you to it Philip The game is running, but is there sound implemented yet? I just got the wesnoth to run flawlessly (well, almost) and 0ad doesn't make any sounds :/ I do get this error:bt_audio_service_open: connect() failed: Connection refused (111)0ad is the only application showing this error :/ Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted April 8, 2010 Report Share Posted April 8, 2010 Oh, didn't see your edit . You ought to just use the standard libsdl/libsdl-dev packages from Ubuntu, not compile your own versions. (Reinstalling the packages in Ubuntu may replace the files with the proper version). I know nothing about Wesnoth, but 0 A.D. doesn't use SDL for audio and I believe it's impossible for it to fail to recognise its own music format (since the game engine knows how to read .oggs), so that error doesn't make sense. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted April 8, 2010 Report Share Posted April 8, 2010 Hmph, beat me again . There should be music in the menu screen (though sound effects were broken until a few days ago). I think Ubuntu has problems with OpenAL and PulseAudio - this particular issue might be fixed like this. Quote Link to comment Share on other sites More sharing options...
Deusdies Posted April 8, 2010 Author Report Share Posted April 8, 2010 Did that - the error disappeared, but I still don't get any sound Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted April 14, 2010 Report Share Posted April 14, 2010 I'm afraid I don't have any further ideas . Has anybody else run the game on Ubuntu 10.04, and had success or failure? I don't think the game is doing anything unusual (it's just using OpenAL for all the audio) and it works for most people so it seems most likely to be a problem with the audio-related services/drivers that you're running, but I don't know anything about the details or how to debug it. 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.