Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TORCS crashes when try to start race
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
leosgb
Apprentice
Apprentice


Joined: 07 Mar 2006
Posts: 272
Location: Rio de Janeiro, Brazil

PostPosted: Fri Nov 02, 2007 6:02 am    Post subject: TORCS crashes when try to start race Reply with quote

Hi,

I tried to run TORCS but it always crashes when I start any race. So I ran it from the terminal:

Code:

torcs
Visual Properties Report
------------------------
Compatibility mode, properties unknown.
WARNING: ssgLoadTexture: Cannot determine file type for './(null)'
WARNING: ssgLoadTGA: Failed to open '/home/torcs/kcendra/2000gt/car00.tga' for reading.
open /dev/[sound/]dsp: No such file or directory
terminate called after throwing an instance of 'char const*'
/usr/games/bin/torcs: line 52:  8472 Aborted                 $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*


I dont have those folders listed in the messages. I wonder, how do I populate them?

Thank you for any help,
Back to top
View user's profile Send private message
leosgb
Apprentice
Apprentice


Joined: 07 Mar 2006
Posts: 272
Location: Rio de Janeiro, Brazil

PostPosted: Fri Nov 02, 2007 6:19 am    Post subject: Reply with quote

My problem was the sound. I turned it off and now it works. But I would like to turn it on. Does any one has any idea how to do it? It seems that it cant find the card... but I use it with all other audio applications in my computer. Thank you!
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Fri Nov 02, 2007 7:52 am    Post subject: Reply with quote

Have you tried switching sound modes within the game? In my case in the past if other modes failed plib worked, but I'm not sure if it would work with other audio apps running. These days OpenAL works fine for me, but plib was like a fall back point in the past.
Back to top
View user's profile Send private message
leosgb
Apprentice
Apprentice


Joined: 07 Mar 2006
Posts: 272
Location: Rio de Janeiro, Brazil

PostPosted: Sat Nov 03, 2007 1:55 am    Post subject: Reply with quote

Hi, I tried to disable sound and now I can play. When I select plib I get no sound but when I select openal the games crashes. I believe this is the relevant message:

Code:
open /dev/[sound/]dsp: No such file or directory


Do I have to create a /dev/dsp linked to something? If so, what would it link to?

Thank you for any help!
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Sat Nov 03, 2007 3:04 am    Post subject: Reply with quote

leosgb wrote:
Do I have to create a /dev/dsp linked to something?

Add the oss USE flag and emerge alsa-driver.
The directory is automatically created.

That problem was solved in this thread:
/dev/dsp not found
Back to top
View user's profile Send private message
leosgb
Apprentice
Apprentice


Joined: 07 Mar 2006
Posts: 272
Location: Rio de Janeiro, Brazil

PostPosted: Sat Nov 03, 2007 10:24 pm    Post subject: Reply with quote

Thanks! That was it :)
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