ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Jun 04, 2020 3:25 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SDL error
PostPosted: Wed Feb 17, 2010 4:30 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
Hi

My graphics card died over the weekend, and my PC also decided to die at the same time. I have rebuilt it, but I am using a different graphics card... I am using Mandriva 2010.

So I get an SDL error when launching t4 and STDout has this:

Quote:
cannot initialize SDL: No available video device


So googling this I get the following:

Quote:
SDL doesn't use the X11 video driver if it can't open the X display, and if no other drivers are available, it will report this error.

To fix this, set your display environment variable appropriately:
sh: DISPLAY=:0 ; export DISPLAY

If you still have problems, try running xhost + localhost

Finally, if all those didn't work, and you built SDL from source, make sure that you have the X11 development libraries installed, otherwise you'll get a version of SDL that doesn't include X11 display support. After you install the X development libraries, you need to "make clean" and then rerun the configure and build process.
Done all of the above, I suspect I need to change some config file somewhere but have no idea where! I have not done the X11 recompile, since it was working before!

Any assistance gratefully appreciated!

_________________
Regards

Jon.


Top
 Profile  
 
 Post subject: Re: SDL error
PostPosted: Thu Feb 18, 2010 4:16 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
Fixed!

_________________
Regards

Jon.


Top
 Profile  
 
 Post subject: Re: SDL error
PostPosted: Thu Feb 18, 2010 7:30 am 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10479
Location: Angolwen
How?

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
 Post subject: Re: SDL error
PostPosted: Thu Feb 18, 2010 9:18 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
Changed the display from GDM display manager to the XDM display manager and back again...

I am now running again!

_________________
Regards

Jon.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group