Jump to content

0ad won't run


Deusdies
 Share

Recommended Posts

Howdy,

Ubuntu 10.04 Lucid beta1 AMD64

ATI HD5750

FGLRX 8.721ubunut7

Heroes of Nasaroth (or whatever :P), Alien Arena all working fine.

However, running 0ad from terminal gives me the following:

ERROR: SDL library initialization failed: No available video device
terminate called after throwing an instance of 'PSERROR_System_SDLInitFailed'
what(): System_SDLInitFailed
Aborted (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 errors

0 A.D. looks like a great game that could finally replace Stronghold for me (y)

Any ideas would be appreciated

Thanks!

Link to comment
Share on other sites

One update though:

I reinstalled my fglrx driver and now I get this:

TIMER| InitVfs: 2.10305 ms
TIMER| InitScripting: 2.54043 ms
TIMER| CONFIG_Init: 2.96827 ms
ERROR: Could not set 1024x768 graphics mode: X11 driver not configured with OpenGL
terminate called after throwing an instance of 'PSERROR_System_VmodeFailed'
what(): System_VmodeFailed
Aborted (core dumped)

Here's glxinfo: http://pastebin.com/aEGvNgnX

Thanks!

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 (y)

Edited by Deusdies
Link to comment
Share on other sites

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 (y). 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.

Link to comment
Share on other sites

Beat you to it Philip (y)

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 :/

Link to comment
Share on other sites

Oh, didn't see your edit (y). 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.

Link to comment
Share on other sites

I'm afraid I don't have any further ideas (y). 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...