No sound in computer games

Discussion in 'Open Source' started by drsethi, Aug 7, 2006.

Thread Status:
Not open for further replies.
  1. drsethi

    drsethi New Member

    Joined:
    Jan 29, 2004
    Messages:
    220
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Amritsar
    There is no sound in any computer game.(including Alien Arena given in July issue) However there is no problem playing audio/video files in xine, Kaffeine,Amarok,RealPlayer etc. I am using SuSE Linux 10.1 with win32codec installed. Sound is onboard Intel 915 GAV motherboard and P4 2.8 GHz. Please help so that we can enjoy computer games in Linux too.
     
  2. borg

    borg New Member

    Joined:
    Jan 16, 2004
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Delta Quadrant
    Yeah, I tried playing games in Linux, but gave up very soon. The experience was unpleasant to say the least. Anyways, make sure nothing else is running on your computer. By nothing else, I mean any program that would be using ur sound card.
     
  3. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    Looks like this game is not routing its sound through the sound server. If you are using GNOME then stop esound and if you are using KDE then stop aRts.
     
  4. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @DrSethi, Make sure that no other program is accessing the Sound card.
    Open the Terminal Window & type:
    Login as Root:
    $ su -
    $ ps -ef
    (This will list all the processes that are running in your O.S. Check for the process
    accessing your Sound card).
    To terminate the process:
    $ kill <PID>
    PID -> Process ID
    CAUTION: Terminating a System process will crash or hang your System!!.
    So use be careful before terminating any System process.
     
  5. OP
    OP
    drsethi

    drsethi New Member

    Joined:
    Jan 29, 2004
    Messages:
    220
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Amritsar
    Dear JGuru
    Now I donot know which program is using sound. Here is list____
    Password:
    vijay:/home/dr # ps -ef
    UID PID PPID C STIME TTY TIME CMD
    root 1 0 0 10:00 ? 00:00:01 init [5]
    root 2 1 0 10:00 ? 00:00:00 [migration/0]
    root 3 1 0 10:00 ? 00:00:00 [ksoftirqd/0]
    root 4 1 0 10:00 ? 00:00:00 [migration/1]
    root 5 1 0 10:00 ? 00:00:00 [ksoftirqd/1]
    root 6 1 0 10:00 ? 00:00:00 [events/0]
    root 7 1 0 10:00 ? 00:00:00 [events/1]
    root 8 1 0 10:00 ? 00:00:00 [khelper]
    root 9 1 0 10:00 ? 00:00:00 [kthread]
    root 12 9 0 10:00 ? 00:00:00 [kblockd/0]
    root 13 9 0 10:00 ? 00:00:00 [kblockd/1]
    root 14 9 0 10:00 ? 00:00:00 [kacpid]
    root 160 9 0 10:00 ? 00:00:00 [pdflush]
    root 161 9 0 10:00 ? 00:00:00 [pdflush]
    root 162 1 0 10:00 ? 00:00:00 [kswapd0]
    root 163 9 0 10:00 ? 00:00:00 [aio/0]
    root 164 9 0 10:00 ? 00:00:00 [aio/1]
    root 379 9 0 10:00 ? 00:00:00 [cqueue/0]
    root 380 9 0 10:00 ? 00:00:00 [cqueue/1]
    root 381 9 0 10:00 ? 00:00:00 [kseriod]
    root 428 9 0 10:00 ? 00:00:00 [kpsmoused]
    root 829 9 0 10:00 ? 00:00:00 [ata/0]
    root 830 9 0 10:00 ? 00:00:00 [ata/1]
    root 841 9 0 10:00 ? 00:00:00 [scsi_eh_0]
    root 842 9 0 10:00 ? 00:00:00 [scsi_eh_1]
    root 918 9 0 10:00 ? 00:00:00 [reiserfs/0]
    root 919 9 0 10:00 ? 00:00:00 [reiserfs/1]
    root 1011 1 0 10:00 ? 00:00:00 /sbin/udevd --daemon
    root 1480 9 0 10:00 ? 00:00:00 [khubd]
    root 1950 9 0 10:00 ? 00:00:00 [hda_codec]
    100 2666 1 0 10:01 ? 00:00:00 /usr/bin/dbus-daemon --system
    root 2675 1 0 10:01 ? 00:00:00 /sbin/syslog-ng
    root 2677 1 0 10:01 ? 00:00:00 /sbin/resmgrd
    root 2688 1 0 10:01 ? 00:00:00 /sbin/klogd -c 1 -x -x
    root 2724 1 0 10:01 ? 00:00:00 /sbin/acpid
    root 2795 1 1 10:01 ? 00:00:02 /usr/sbin/hald --daemon=yes --re
    root 3247 2795 0 10:01 ? 00:00:00 hald-addon-acpi
    mdnsd 3294 1 0 10:01 ? 00:00:00 /usr/sbin/mdnsd -f /etc/nss_mdns
    nobody 3401 1 0 10:01 ? 00:00:00 /sbin/portmap
    root 3404 1 0 10:01 ? 00:00:00 /sbin/auditd
    root 3406 9 0 10:01 ? 00:00:00 [kauditd]
    root 3465 1 0 10:01 ? 00:00:01 zmd /usr/lib/zmd/zmd.exe
    root 3516 1 0 10:01 ? 00:00:00 /usr/sbin/nscd
    root 3611 1 0 10:01 ? 00:00:00 /usr/sbin/sshd -o PidFile=/var/r
    root 3624 1 0 10:01 ? 00:00:00 /usr/sbin/nmbd -D -s /etc/samba/
    root 3629 2795 0 10:01 ? 00:00:00 hald-addon-storage
    root 3643 1 0 10:01 ? 00:00:00 /usr/sbin/smpppd
    root 3726 1 0 10:01 ? 00:00:00 /usr/sbin/powersaved -d -f /var/
    root 3754 1 0 10:01 ? 00:00:00 /usr/lib/postfix/master
    postfix 3774 3754 0 10:01 ? 00:00:00 pickup -l -t fifo -u
    postfix 3777 3754 0 10:01 ? 00:00:00 qmgr -l -t fifo -u
    root 3779 1 0 10:01 ? 00:00:00 /usr/sbin/cron
    root 3788 1 0 10:01 ? 00:00:00 /usr/bin/fetchmail -d 600 -a -f
    root 3822 1 0 10:01 ? 00:00:00 /opt/kde3/bin/kdm
    lp 3843 1 0 10:01 ? 00:00:00 /usr/sbin/cupsd
    root 3977 3822 2 10:01 tty7 00:00:05 /usr/X11R6/bin/X -br -nolisten t
    root 3978 3822 0 10:01 ? 00:00:00 -:0
    root 4005 1 0 10:01 tty1 00:00:00 /sbin/mingetty --noclear tty1
    root 4006 1 0 10:01 tty2 00:00:00 /sbin/mingetty tty2
    root 4007 1 0 10:01 tty3 00:00:00 /sbin/mingetty tty3
    root 4008 1 0 10:01 tty4 00:00:00 /sbin/mingetty tty4
    root 4009 1 0 10:01 tty5 00:00:00 /sbin/mingetty tty5
    root 4010 1 0 10:01 tty6 00:00:00 /sbin/mingetty tty6
    root 4043 1 0 10:01 ? 00:00:00 /usr/sbin/smbd -D -s /etc/samba/
    root 4052 4043 0 10:01 ? 00:00:00 /usr/sbin/smbd -D -s /etc/samba/
    dr 4099 3978 0 10:01 ? 00:00:00 /bin/sh /opt/kde3/bin/startkde
    dr 4138 1 0 10:01 ? 00:00:00 /usr/bin/gpg-agent --sh --daemon
    dr 4142 1 0 10:01 ? 00:00:00 dbus-daemon --fork --print-pid 8
    dr 4143 1 0 10:01 ? 00:00:00 /usr/bin/dbus-launch --sh-syntax
    dr 4198 1 0 10:01 ? 00:00:00 kdeinit Running...
    dr 4201 1 0 10:01 ? 00:00:00 dcopserver [kdeinit] --nosid
    dr 4216 4198 0 10:01 ? 00:00:00 klauncher [kdeinit]
    dr 4231 1 0 10:01 ? 00:00:00 kded [kdeinit]
    dr 4236 4099 0 10:01 ? 00:00:00 kwrapper ksmserver
    dr 4238 1 0 10:01 ? 00:00:00 ksmserver [kdeinit]
    dr 4239 4198 0 10:01 ? 00:00:00 kwin [kdeinit]
    dr 4241 1 0 10:01 ? 00:00:00 kdesktop [kdeinit]
    dr 4243 1 0 10:01 ? 00:00:00 kicker [kdeinit]
    dr 4244 4198 0 10:01 ? 00:00:00 kio_file [kdeinit] file /tmp/kso
    dr 4249 1 0 10:01 ? 00:00:00 kaccess [kdeinit]
    dr 4251 4198 0 10:01 ? 00:00:00 konqueror [kdeinit] --preload
    dr 4254 1 0 10:01 ? 00:00:00 knotify [kdeinit]
    dr 4259 4198 0 10:01 ? 00:00:01 zen-updater --desktop /usr/lib/z
    dr 4265 1 0 10:01 ? 00:00:00 kpowersave [kdeinit]
    dr 4269 1 0 10:01 ? 00:00:00 kerry [kdeinit]
    dr 4271 1 0 10:01 ? 00:00:00 klipper [kdeinit]
    dr 4274 4198 0 10:01 ? 00:00:00 kinternet [kdeinit] --quiet
    dr 4282 4198 0 10:01 ? 00:00:00 /bin/sh /usr/bin/firefox
    dr 4293 4282 4 10:01 ? 00:00:07 /usr/lib/firefox/firefox-bin
    dr 4299 1 0 10:01 ? 00:00:00 /opt/gnome/lib/GConf/2/gconfd-2
    root 4372 1 0 10:03 ? 00:00:00 /usr/sbin/smpppd-ifcfg --ifcfg=i
    root 4374 4372 0 10:03 ? 00:00:00 /usr/sbin/pppd logfd 9 call pppo
    wwwrun 4539 1 0 10:03 ? 00:00:00 /usr/sbin/wwwoffled -c /etc/wwwo
    postfix 4562 3754 0 10:03 ? 00:00:00 smtp -t unix -u
    postfix 4564 3754 0 10:03 ? 00:00:00 smtp -t unix -u
    postfix 4565 3754 0 10:03 ? 00:00:00 bounce -z -n defer -t unix -u
    postfix 4566 3754 0 10:03 ? 00:00:00 smtp -t unix -u
    postfix 4567 3754 0 10:03 ? 00:00:00 bounce -z -n defer -t unix -u
    postfix 4568 3754 0 10:03 ? 00:00:00 smtp -t unix -u
    postfix 4569 3754 0 10:03 ? 00:00:00 bounce -z -n defer -t unix -u
    postfix 4570 3754 0 10:03 ? 00:00:00 smtp -t unix -u
    postfix 4571 3754 0 10:03 ? 00:00:00 bounce -z -n defer -t unix -u
    postfix 4572 3754 0 10:03 ? 00:00:00 bounce -z -n defer -t unix -u
    postfix 4573 3754 0 10:03 ? 00:00:00 flush -z -t unix -u
    postfix 4574 3754 0 10:03 ? 00:00:00 flush -z -t unix -u
    dr 4575 4198 0 10:03 ? 00:00:00 konsole [kdeinit]
    dr 4576 4575 0 10:03 pts/1 00:00:00 /bin/bash
    root 4594 4576 0 10:03 pts/1 00:00:00 su
    root 4597 4594 0 10:03 pts/1 00:00:00 bash
    root 4612 4597 0 10:04 pts/1 00:00:00 ps -ef
    vijay:/home/dr #
     
  6. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @Drsethi, why you are running SAMBA ? You don't need to run Samba File Server
    unless you are on a Network & want to share Files & printers in a Network!!
    The Process List tells me that you are running KDE, Konsole, FireFox, etc.,
    You can configure what processes start during the Suse Linux booting, by configuring
    the 'Services' in the Yast. Disable 'Samba' from the 'Services'.
    It looks fine. Start running the game after you login in KDE. You should definitely
    hear the sound
     
  7. OP
    OP
    drsethi

    drsethi New Member

    Joined:
    Jan 29, 2004
    Messages:
    220
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Amritsar
    Thank you JGuru for help. Now inbuilt games have sounds. But still no sound in Alien Arena 2006.
     
  8. rahul_becks23

    rahul_becks23 New Member

    Joined:
    Oct 17, 2004
    Messages:
    830
    Likes Received:
    0
    Trophy Points:
    0
    why dont u try reinstalling latest directx
     
  9. Venom

    Venom New Member

    Joined:
    Jun 13, 2006
    Messages:
    240
    Likes Received:
    2
    Trophy Points:
    0
    Dude... what are you spamming? Dx for Linux? You seem to be in a state of ignorance of MS! :p :lol:
     
  10. rahul_becks23

    rahul_becks23 New Member

    Joined:
    Oct 17, 2004
    Messages:
    830
    Likes Received:
    0
    Trophy Points:
    0
    yeah,me too also confused with that
     
  11. Venom

    Venom New Member

    Joined:
    Jun 13, 2006
    Messages:
    240
    Likes Received:
    2
    Trophy Points:
    0
    Confused with what man? DirectX = Windows-ONLY, surely you must be knowing that!
     
  12. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @DrSethi, Check whether you need to change the Settings in the game before
    playing. Make sure proper Sound card is chosen. Do you know the onboard Sound
    card name in your motherboard? Is it 'AC '97' or 'C-Media' or something else?
    Select the appropriate one, & see if it works.
     
  13. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
  14. OP
    OP
    drsethi

    drsethi New Member

    Joined:
    Jan 29, 2004
    Messages:
    220
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Amritsar
Thread Status:
Not open for further replies.

Share This Page