Author Topic: This dosn't sound good...  (Read 754 times)

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
This dosn't sound good...
« on: 16 April 2003, 07:43 »
I installed a couple of applications on my Linux box (redhat 8.0 with all the goodies), and well, they don't sound very good.  I dled and unzipped a couple of games and the sound is very choopy, and seems to be out of synch with what is going on on the screen.  However, if I run the game as root, it runs perfectly.  Any ideas of what might be causing this, and how it might be fixed?  I'd rather not run it as root every time.

  :confused:  V  :confused:

slave

  • Member
  • **
  • Posts: 1,136
  • Kudos: 0
    • http://www.fuckmicrosoft.com
This dosn't sound good...
« Reply #1 on: 16 April 2003, 08:18 »
Please, what sound card do you use?  What driver?

[ April 15, 2003: Message edited by: Linux User #5225982375 ]


Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
This dosn't sound good...
« Reply #2 on: 16 April 2003, 10:09 »
i had the same problem with mandrake (sorta)...
have you tried rmmoding the current driver and then insmoding a new one?
i had to rmmod some stupid wrong one and then shove in the proper i810_audio driver...  :rolleyes:
also i know my soundblaster live (emu10k1 driver) conflicts with my onboard audio (i810_audio) so could that be your problem?
are all the sound devices chmoded properly?  I know debian makes the /dev/dsp* devices root owned with 600 file permissions for example (because sound is a "non essential security risk" or something I guess     )
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
This dosn't sound good...
« Reply #3 on: 16 April 2003, 13:51 »
Enlightened Sound Daemon?  There are multiples choices of daemons yeah so whats the guarantee that that one is running?  Also he knows that sound is actually running as he can hear it.
Also the sound issues are "fixed at root" and I doubt esd is starting when he does /bin/su unless something really weird is going on...

[ April 16, 2003: Message edited by: Faust ]

Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
This dosn't sound good...
« Reply #4 on: 16 April 2003, 13:54 »
edit : flame removed

[ April 16, 2003: Message edited by: Faust ]

Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
This dosn't sound good...
« Reply #5 on: 17 April 2003, 04:36 »
quote:
Originally posted by Faust:
Enlightened Sound Daemon?  There are multiples choices of daemons yeah so whats the guarantee that that one is running?  Also he knows that sound is actually running as he can hear it.
Also the sound issues are "fixed at root" and I doubt esd is starting when he does /bin/su unless something really weird is going on...

[ April 16, 2003: Message edited by: Faust ]



He probably wanted to find out if he used ESD because ESD is a big pile of poh poh.

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
This dosn't sound good...
« Reply #6 on: 17 April 2003, 17:45 »
OK, I have an AC'97 sound card.  I never installed any special drivers, it worked with linux right away.  Another strange thing is that other audio applications such as xmms and mplayer work fine whether run as root or reg. user mode.

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
This dosn't sound good...
« Reply #7 on: 18 April 2003, 00:37 »
Do these games use OpenAL?  If so, have you compiled a new OpenAL from source?
In brightest day, in darkest night, no evil shall escape my sight....

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
This dosn't sound good...
« Reply #8 on: 18 April 2003, 12:22 »
Admittedly, reading much of the above makes me feel like a even more of a newbie.  I'm not very familiar with modding drivers and stuff, but I'm going to try and read up a bit on the weekend.  I don't know what openAL is.  The games that arnt working are with the VisualBoyAdvance, a gameboy advance emulator.  This emulator is not compiled or installed, its just unzipped and played. where it is.

  :confused:  V  :confused:

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
This dosn't sound good...
« Reply #9 on: 18 April 2003, 12:37 »
So ALL the games that dont work are with visual boy, and all other sound is fine?
Could it be a visual boy bug?
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
This dosn't sound good...
« Reply #10 on: 18 April 2003, 17:26 »
its all of them, and not just VBAdvance, ZSNES also has the same problem.  But why would it work in root but not for any other account.  I was thinking it might have somthing to do with it being simply unzipped and not installed in any special way.  Still looking...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
This dosn't sound good...
« Reply #11 on: 18 April 2003, 22:05 »
run... "lsof /dev/dsp". If it says esd, artsd, esound then thatcould be part of the reason..... because... if you are running X as user and the GUI you are using has sounds that run through its own sound server. Then the GUI might be trying to run sounds through the server at the same time as the game, hence crappy sound. Now, the reason this doesnt happen as root is because you arent running the GUI on root, so the sound for the game isnt going through the sound server (artsd, esd, esound, etc.). So, run "lsof /dev/dsp" and tell us what the results of that command says.

[ April 18, 2003: Message edited by: The Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Doctor V

  • Member
  • **
  • Posts: 661
  • Kudos: 0
This dosn't sound good...
« Reply #12 on: 19 April 2003, 03:49 »
OK, it used the command, and it says esd.  So does this mean ESD is the culprit?  OK, what's next?