Page 1 of 1

[Solved] sound problems Debian Lenny

Posted: Thu Jan 06, 2011 4:08 am
by Gnudoll
well, I have no room for my desktop in my new place, so I'm standardizing on my new laptop. hardware is as follows:

CPU: Pentium M 1.86Ghz
RAM: 2Gb
Video: Mobility Radeon X300
Resolution: 1400x1050
Audio:Intel ICH6 (intel8x0) compiled into kernel

My problem is that the sound is really badly choppy at almost all times. it is reasonable when I'm in deep space and there is nothing being tracked. the sound lags quite badly as well. The graphics (which I expected to be more of a problem seem to be fine, as I'm generally getting around 30FPS or more in most instances. What I'm guessing is that there is an audio interface that is being emulated in software right now, and I need to compile (or add a package) for the correct type of sound. . .

Re: sound problems Debian Lenny

Posted: Mon Jan 10, 2011 11:23 am
by Getafix
Hi Gnudoll,

could you, please, post the Oolite version you use and
the type of installation (autopackage or Debian package management) you used ?

Re: sound problems Debian Lenny

Posted: Tue Jan 11, 2011 12:30 am
by Gnudoll
Oolite version 1.74.2 from package manager builds.

Re: sound problems Debian Lenny

Posted: Tue Jan 11, 2011 6:24 pm
by Getafix
I have tried the debian package version of oolite 1.74.2.3712 on a fresh Debian Lenny installation (VBox) and the sound was smooth.
It looks like a sound configuration issue. A first search showed that Lenny had sound issues with older kernels.
Please, post the output of the following

Code: Select all

$ uname -a
I just want to see your kernel version.

Furthermore (this one is really a shot in the dark) assuming that

Code: Select all

$ which oolite
/usr/games/oolite
$
could you edit your /usr/games/oolite file to show the following

Code: Select all

$ cat /usr/games/oolite
#!/bin/sh
export SDL_AUDIODRIVER=alsa
openapp oolite "$@" &
and check if the sound breaking is still there?

Re: sound problems Debian Lenny

Posted: Wed Jan 12, 2011 10:04 pm
by Gnudoll
I have reverted to the stock install kernel after a fresh install (haven't gotten around to cooking a custom one yet) so the kernel version is

Linux butterfly 2.6.26-2-686 #1 SMP Thu Nov 25 01:53:57 UTC 2010 i686 GNU/Linux

the shot in the dark missed, sound is still choppy. gameplay seems fine despite the sound being wonky, though. I was just hoping for better sound.

Re: sound problems Debian Lenny

Posted: Thu Jan 13, 2011 1:31 pm
by Getafix
Would you try the .package version? It will not mess with your existing oolite installation and
it will use your existing user-files (i.e. add-ons, saves, oolite configuration etc.).
The difference is that it uses it's own libraries (contained in Oolite's folder, not messing with your system's libraries) and
it could address the sound issue.

EDIT (14/Jan/2011): Before downloading make sure to select the appropriate architecture (i.e. 32bit or 64bit) package.
If you do it, run it as "/usr/bin/oolite" and not just "oolite"
in order to make sure that you execute the 2nd installation

If the sound issue is still there you may always
uninstall it and keep your original installation.

I would also suggest to get an opinion from Debian User Forums.

Re: sound problems Debian Lenny *solved*

Posted: Fri Jan 21, 2011 1:53 am
by Gnudoll
Well, unless the framerates fall below 40 or so, biut that takes a bit. I'm averaging 60+ now that i have the fglrx driver installed. turns out that the sound was being chopped up by excessive processor load. . . Go figure. . .

Re: sound problems Debian Lenny

Posted: Fri Jan 21, 2011 9:22 am
by Rxke
So is the problem solved, then?

What caused the load?

Re: sound problems Debian Lenny

Posted: Sat Jan 22, 2011 8:05 am
by Gnudoll
Rxke wrote:
So is the problem solved, then?

What caused the load?
What caused the loas was the processor handling too many functions that the chipset was supposed to. A better video driver that correctly uses the hardware fixed a lot of that. . .

Re: sound problems Debian Lenny (FIXED)

Posted: Sat Jan 22, 2011 5:52 pm
by Getafix
What will remain a mystery to me, in this case,
is how a virtual box vanilla installation of a debian lenny on a laptop,
performs better than a native one. :?
Perhaps, the driver upgrade fixed some configuration.

Re: sound problems Debian Lenny (FIXED)

Posted: Mon Jan 24, 2011 5:20 am
by Gnudoll
the 3D part of my particular graphics hardware is not well supported at this juncture. ATI only just recently started really supporting the Open Source community. I really doubt I would have had any trouble if the chipset had been nVidia instead of ATI...

Re: sound problems Debian Lenny (FIXED)

Posted: Mon Jan 24, 2011 9:48 am
by DaddyHoggy
Gnudoll wrote:
the 3D part of my particular graphics hardware is not well supported at this juncture. ATI only just recently started really supporting the Open Source community. I really doubt I would have had any trouble if the chipset had been nVidia instead of ATI...
You might have, it'd just be a different subset of trouble... :wink:

Re: sound problems Debian Lenny (FIXED)

Posted: Tue Jan 25, 2011 2:03 am
by Gnudoll
Oh, and add to the above that the "sound card" is also software based. . . They cut a few corners on this model, but the general package is still quite nice.