You are not logged in.

#1 2007-04-21 14:42:54

kenton.williams
Member
Registered: 2007-04-21
Posts: 4

no sound with games

Hello,

I'm coming from an OpenSuse and Fedora Core background, where a lot is autoconfigured.  Also, they are becoming increasingly bloated.  I have switched to Arch on a testing hard drive in my laptop, soon to put on the main hard drive dual-booting with Windows XP (for my work - unfortunately). 

I have managed to get KDE installed and have sound working.  I installed the following games for my kids to play (me too!): smc (secret maryo chronicles), supertux, and miniracer.  I have no sound at all with any of them.  When I run supertux from a shell, I get the following error:

open /dev/[sound/]dsp: Device or resource busy
Warning: Couldn't initialize audio device: Couldn't open audio device.
OpenAL Vendor: [kwilliams@DellC840 ~]$

With smc running from the command line, I get this error:

Last known Error : Failed loading DPMSDisable: /usr/lib/libX11.so.6: undefined symbol: DPMSDisable

Does anyone kindly have advice for me on how to fix this?  It's obviously not critical, but I'd like to know how to fix it when I do my real installation on the non-testing hard drive.

My system:
Dell Latitude C840
Pentium 4M 1.6ghz
1GB RAM
Nvidia Geforece4 MX440 go 64MB
Onboard Intel AC-97 sound

Thanks!

Kenton W.

Offline

#2 2007-04-21 14:50:10

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: no sound with games

Does sound work properly otherwise (music, video, system sounds)?

Are you in "audio" group? If not, run "gpasswd -a your_user_name audio" as root.

Try preceding game command with aoss (eg. aoss supertux).

Make sure you have no other sound sources outputting when starting games.

Offline

#3 2007-04-21 14:58:45

kenton.williams
Member
Registered: 2007-04-21
Posts: 4

Re: no sound with games

Running aoss supertux works.  Runnin aoss smc works, but the sound is garbled and crackly.  Any ideas?

Offline

#4 2007-04-21 15:24:25

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: no sound with games

Perhaps installing soundmixer from AUR would make some magic.

Offline

#5 2007-04-21 16:02:57

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: no sound with games

17:50:21 ~ $ p -Ss smc[TAB]
smc        smc-music

you need smc-music probably too.

also do killall artsd ; killall esd

sound daemons be gone!

I thought anything supported alsa now? (except TeamSpeak)

have you sat up alsa? all is in the wiki...

Last known Error : Failed loading DPMSDisable: /usr/lib/libX11.so.6: undefined symbol: DPMSDisable i get too but i can still run the game.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#6 2007-04-21 16:30:17

kenton.williams
Member
Registered: 2007-04-21
Posts: 4

Re: no sound with games

Ok.  I did the killall artsd and everything is working.  How do I go about making sure that artsd doesn't get started by KDE?

By the way, I have the smc-music package and copied it to its proper place.

Thanks for the assistance!

-Kenton

Offline

#7 2007-04-21 18:20:46

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: no sound with games

Disable arts in Kcontrol -> Sound and Multimedia -> Sound System. If you want notifications to be played nevertheless, you can set the player to mplayer, aplay or what else in notifications setup window.

Offline

#8 2007-04-22 12:13:25

kenton.williams
Member
Registered: 2007-04-21
Posts: 4

Re: no sound with games

I have disabled the KDE sound system and that seems to do the trick, but I was wondering if there's a different way to achieve the same results without disabling sound system.  Any ideas that I can try?  There's got to be a way - all the other distros I've tried are able to work without disabling the KDE sound system. 

Thanks again for any help.

-Kenton W.

Offline

#9 2007-04-22 13:31:05

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: no sound with games

You're doing yourself a favour by disabling it, really. It causes more problems than it solves; and by using external player to play notification sounds, you don't lose that functionality either.

Offline

Board footer

Powered by FluxBB