Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
supertux: No video device [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Mon Dec 11, 2006 2:34 am    Post subject: supertux: No video device [solved] Reply with quote

I have been trying to get supertux to run and always get this error:
Code:

Datadir: /usr/share/games/supertux

Error: I could not initialize video!
The Simple DirectMedia error that occured was:
No available video device


I have searched the official supertux page as well as various distro forums and have not found a working solution. I think the problem is due to my card not having 3D hardware acceleration. Can anyone confirm if this is a requirement to run supertux? I am using the standard nvidia driver installed by portage.

EDIT: All I needed to do was compile libsdl with the directfb use flag.


Last edited by mw007 on Tue Dec 12, 2006 2:17 am; edited 1 time in total
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Mon Dec 11, 2006 5:05 am    Post subject: Reply with quote

Two things. First lets see what acceleration we do have:

Code:

glxinfo | grep direct


Let us know what that puts out. Secondly,l run:

Code:

emerge supertux -pv


Post this as well. I don't think that hardware acceleration is REQUIRED for supertux to run (as it can also run under SDL), but if you compiled it in a certain way, then it may need 3D acceleration until you change the settings elsewhere.
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Mon Dec 11, 2006 6:58 pm    Post subject: Reply with quote

First off, nice signature :wink:

Here is the information you requested:

glxinfo | grep direct yields:
Code:

direct rendering: No
OpenGL renderer string: Mesa GLX Indirect


emerge -pv supertux gives me:
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] games-arcade/supertux-0.1.3  USE="opengl" 0 kB

Total size of downloads: 0 kB


One thing I forgot to mention before is that I tried building supertux without OpenGL support first. Got the no screen error. Then tried building with OpenGL support. Same error occurred. I still have the opengl use flag set in my package.use.

Thanks for your help!
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Tue Dec 12, 2006 5:11 pm    Post subject: Reply with quote

891 posts (well, now 892) and you're the first to comment on the signature. Thanks! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum