Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mysterious sound mis-config on G4 TiBook and Mac Mini
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
k0fcc
n00b
n00b


Joined: 13 Nov 2004
Posts: 10
Location: Colorado, USA

PostPosted: Mon May 30, 2005 6:04 am    Post subject: Mysterious sound mis-config on G4 TiBook and Mac Mini Reply with quote

Greetings.

After fighting for 3 days to uncover the mystery, I'm posting here with some hope that someone might know the answer.


Two machines, my G4 TiBook (as in the sticky example) and my Mac Mini (with the sound patch), are both exhibiting the same odd sound behavior which leads me to believe it is a configuration problem.

I want to run ALSA with both KDE and Gnome.

I've read every single thing I can find here on this forum, the wiki, and several other areas. I've tried a number of different kernel configs from 100% alsa-driver to 100% kernel (=y and =m).

I'm currently alsa-driver free and compiled static (vs modular) into the kernel.

The good: XMMS works just fine (e.g. jamming to afterhoursdjs.org). Gnome's media-system-selector tests fine. I even get system beeps.
-- Rules out muted elements or, as I found out today, a muted DRC Range.
-- Says that ALSA is working.

The bad: No sound in KDE regardless of what system I tell it to use (ALSA, esound, threaded, etc). No sound in Gnome (I have OSS compatability enabled....certainly via the kernel options).

I'm running 2.6.10-gentoo-r6.

Ideas? Happy to post code snippets.

Thanks.....


Last edited by k0fcc on Tue May 31, 2005 7:56 am; edited 1 time in total
Back to top
View user's profile Send private message
k0fcc
n00b
n00b


Joined: 13 Nov 2004
Posts: 10
Location: Colorado, USA

PostPosted: Mon May 30, 2005 5:39 pm    Post subject: Reply with quote

Update:

Sound has miraculously appeared to KDE on the Mini so the Mini is just missing Gnome sound now. I'm at a loss currently to explain the difference. I'm currently going over kernel configs again.....as they should be exactly the same.
Back to top
View user's profile Send private message
k0fcc
n00b
n00b


Joined: 13 Nov 2004
Posts: 10
Location: Colorado, USA

PostPosted: Wed Jun 01, 2005 6:37 am    Post subject: Reply with quote

more PD....

aplay, alsaplayer, mpg321, aoss mpg321 all work just fine...just no sound in gnome on the mini.

I copied over the mini's .config to the powerbook without any luck. no sound at all and a new error surfacing today under KDE: SNDCTL_DSP_SETFMT failed ...which is indicative of something being set little endian instead of big endian.

I've done emerge --update --deep world ....revdep-rebuilds..... made sure the perms were set right.... I'm running out of tricks.

Ubuntu is looking pretty nice right about now after a week trying to fix this.
Back to top
View user's profile Send private message
JDCentral
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 112
Location: Fort Collins, CO

PostPosted: Wed Jun 01, 2005 5:44 pm    Post subject: Reply with quote

Just a comment:

If you've done a ton of kernel config editing, don't just copy the config from one system to the next.

The TiBook is about.. 3 years(?) older than the mini, and thus has different devices, and whatnot (APM, ACPI, etc... maybe even a different revision of the G4-7450? I don't know... north/south bridges may be different, etc., etc.).

After I get gentoo re-installed on my TiBook, I'll monkey around with ALSA for awhile and tell you what I do... as I remember, ALSA is a real pain to work with on PPC, and it probably the hardest part of a gentoo-ppc install.

Another comment: I have no experience with Ubuntu, but if you have a PPC, I strongly recommend gentoo - many of the new ppc fixes are very necessary, and gentoo almost always has them first! Oh... and the obvious speed increases (pre-built binaries from debian and stuff are usually very bloated and are compiled w/o any optimizations... like altivec... LAME encodes around approx 2-4x faster when compiled with the right optimizations on PPC: http://www.macosxhints.com/article.php?story=20050217074716445)
_________________
Gentoo Currently installed on:

Athlon XP-Mobile Barton 2600+ @ 200x12.5
ASUS A7N8X Deluxe. rev 2.0
1GB OCZ Performance PC3200 RAM
Sapphire X1650 Pro 256MB GDDR3
2x120GB Seagate 7200.1 IDE Drives
1x320GB Seagate SATA Drive
Back to top
View user's profile Send private message
k0fcc
n00b
n00b


Joined: 13 Nov 2004
Posts: 10
Location: Colorado, USA

PostPosted: Wed Jun 01, 2005 7:08 pm    Post subject: Reply with quote

I'm using genkernel --udev to make my kernels and I'm using the 2005.0 profile as the base.

I'm also the build manager for http://eo.openoffice.org and have been using gentoo for several years now. The rest of my team has standardized onto Ubuntu ... I'm the only hold out. :-)

I think I'll need to do a fresh tibook install anyway so... that's getting ubuntu. The mini is the build machine (replaces an older 386). It'll stay gentoo for a bit longer as will my G5.

I've gotten to the point where tinkering isn't as much fun and the need for stuff to just work is increasly more important. Gentoo provides the flexibility to do damn near anything and I will miss that if I have to go back to a deb-based distro.
Back to top
View user's profile Send private message
JDCentral
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 112
Location: Fort Collins, CO

PostPosted: Mon Jun 06, 2005 11:34 pm    Post subject: Reply with quote

Lol...

This is going to really piss you off...

But ALSA works like a dream on my TiBook IV - just follow the Gentoo Alsa Guide, and everything worked just fine, for me.

Didn't even have to futz with any config files!

(And the sound is quiiite amazing... seems to be better than what OS X had to offer)

-Justin
_________________
Gentoo Currently installed on:

Athlon XP-Mobile Barton 2600+ @ 200x12.5
ASUS A7N8X Deluxe. rev 2.0
1GB OCZ Performance PC3200 RAM
Sapphire X1650 Pro 256MB GDDR3
2x120GB Seagate 7200.1 IDE Drives
1x320GB Seagate SATA Drive
Back to top
View user's profile Send private message
david.stevenson
n00b
n00b


Joined: 13 Nov 2004
Posts: 68
Location: Wiltshire, England

PostPosted: Tue Jun 07, 2005 8:10 pm    Post subject: Reply with quote

k0fcc wrote:

I'm also the build manager for http://eo.openoffice.org and have been using gentoo for several years now. The rest of my team has standardized onto Ubuntu ... I'm the only hold out. :-)
.



Well off topic, but do you have any info on openoffice 1.9 on ppc?
_________________
David
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum