[Solved] sound problems Debian Lenny

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

[Solved] sound problems Debian Lenny

Post by Gnudoll » Thu Jan 06, 2011 4:08 am

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. . .

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: sound problems Debian Lenny

Post by Getafix » Mon Jan 10, 2011 11:23 am

Hi Gnudoll,

could you, please, post the Oolite version you use and
the type of installation (autopackage or Debian package management) you used ?
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

Re: sound problems Debian Lenny

Post by Gnudoll » Tue Jan 11, 2011 12:30 am

Oolite version 1.74.2 from package manager builds.

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: sound problems Debian Lenny

Post by Getafix » Tue Jan 11, 2011 6:24 pm

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?
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

Re: sound problems Debian Lenny

Post by Gnudoll » Wed Jan 12, 2011 10:04 pm

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.

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: sound problems Debian Lenny

Post by Getafix » Thu Jan 13, 2011 1:31 pm

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.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

Re: sound problems Debian Lenny *solved*

Post by Gnudoll » Fri Jan 21, 2011 1:53 am

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. . .

User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1743
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Re: sound problems Debian Lenny

Post by Rxke » Fri Jan 21, 2011 9:22 am

So is the problem solved, then?

What caused the load?

User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

Re: sound problems Debian Lenny

Post by Gnudoll » Sat Jan 22, 2011 8:05 am

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. . .

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: sound problems Debian Lenny (FIXED)

Post by Getafix » Sat Jan 22, 2011 5:52 pm

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.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

Re: sound problems Debian Lenny (FIXED)

Post by Gnudoll » Mon Jan 24, 2011 5:20 am

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...

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: sound problems Debian Lenny (FIXED)

Post by DaddyHoggy » Mon Jan 24, 2011 9:48 am

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:
Selezen wrote:Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here

User avatar
Gnudoll
Dangerous
Dangerous
Posts: 92
Joined: Wed May 12, 2010 2:08 am
Location: Berkeley California

Re: sound problems Debian Lenny (FIXED)

Post by Gnudoll » Tue Jan 25, 2011 2:03 am

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.

Post Reply