Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software > ARCHIVES - Games
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Games A place to chat about games

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-Mar-2008, 13:06
67GTA
Guest
 
Posts: n/a
Default

I installed glest for my daughter on her Dell desktop. When I try to run it I get a sound related error that is over my head. This is 10.3 KDE with an AMD/Nvidia MCP51 High Definition sound card. I got it to open once by redoing the sound card in Yast, but after rebooting, it gives the same error that seems to go with the terminal error. Something is keeping the sound card open all the time and won't let glest use it. Can anyone decipher this?

Code:
pony@linux:~> glest
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
OpenAL Vendor: Exception: Couldn't open audio device.
  #2 (permalink)  
Old 21-Mar-2008, 13:20
Dean
Guest
 
Posts: n/a
Default

Does sound work for any other application run under the same user account?
  #3 (permalink)  
Old 21-Mar-2008, 13:23
67GTA
Guest
 
Posts: n/a
Default

Yes, everything else works perfectly. I only set up the "pony" account for her. The only other account is root. I haven't tried to open it logged in as root yet, so not sure about that.
  #4 (permalink)  
Old 21-Mar-2008, 13:33
67GTA
Guest
 
Posts: n/a
Default

I was able to reproduce it by reconfiguring the sound card in Yast, and then opening glest. It opens and plays fine afterwards. When I reconfigure the card it reloads the modules and resets everything, so it is something that is being loaded at boot. Whatever it is, it is keeping control of the sound card, and not letting glest open it. I'm sure it is a glest bug because everything else works. I might try asking on the glest boards.
  #5 (permalink)  
Old 21-Mar-2008, 14:02
67GTA
Guest
 
Posts: n/a
Default

I checked the glest forums and found a couple of posts with the samr error, but they were for people wanting to use amarok or something similar to play music while playing glest. It said that glest uses openal, and it needs complete control of the sound card while being used. This explains why glest works after reconfiguring the sound card or running alsaconf. Once a reboot is done, the sound modules are reloaded, and have the sound card utilized. This is over my head. Is there an easy cli way to stop the sound modules before opening glest? That would be the easiest way for her to play it if I can't figure out what is causing the conflict.
  #6 (permalink)  
Old 21-Mar-2008, 23:59
Dean
Guest
 
Posts: n/a
Default

Hmmm... not sure where to start, as I can run glest without a problem. Some experimentation required

1)Try doing esddsp glest to see if this makes a difference.

2) I'm guessing you are already a member of the audio group, otherwise you wouldn't get any sound as a user. In any case you can check this from the console with groups pony

3) Now I've done a bit of googling with regards to openal and glest, and I found this thread discussing a similar problem, and requiring either /etc/openalrc (if it exists) or ~/.openalrc to be created/edited.

Some additional OpenAL configuration info.
  #7 (permalink)  
Old 22-Mar-2008, 00:20
67GTA
Guest
 
Posts: n/a
Default

I saw that thread, but missed the "two" openal config files. Her's had a /etc/openalrc file. I created ~/.openalrc, and just copied and pasted the info from the glest forum. It opens now, but the sound is choppy. I will try tweaking it tomorrow. The sample rate looks a little high. Thank you very much for pointing out what I had missed earlier. I had resorted to reading alsa/openal configurations on the Gentoo wiki.
  #8 (permalink)  
Old 22-Mar-2008, 01:47
Dean
Guest
 
Posts: n/a
Default

Good to see some progress. Keep us posted.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2