LinHES Forums
http://forum.linhes.org/

AC3 OSS Help?
http://forum.linhes.org/viewtopic.php?f=23&t=20828
Page 1 of 1

Author:  MMD [ Fri Feb 05, 2010 10:20 pm ]
Post subject:  AC3 OSS Help?

Hi,
I'm using Linhes, and am having a difficult time trying to get AC3 to play properly. I do have sound coming out of the spdif, but cannot get AC3 to work.

I've updated OSS to 4.2, and even updated ALSA, before giving up on it. ALSA would not detect the card. The motherboard is a Gigabyte GA-MA785GM-US2H, using a Realtek ALC889A chip.

I briefly tried mythdora and mythbuntu, and did get AC3 playing, but vdpau was lacking, and I've been with knoppmyth for many years so I'd like to stay with it.

Is this a mplayer config problem? I'm pretty darn confused.

OSS doesn't like Firefox with Hulu, (no sound) but ALSA didn't work at all for anything....

Any help is much appreciated.



Thanks,
Dan
Fargo, ND
Code:
[root@linhes ~]# ls -l /dev/dsp*
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp0 -> /dev/oss/oss_hdaudio0/pcm0
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp1 -> /dev/oss/oss_hdaudio0/pcm1
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp2 -> /dev/oss/oss_hdaudio0/pcm2
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp3 -> /dev/oss/oss_hdaudio0/pcm3
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp4 -> /dev/oss/oss_hdaudio0/pcm4
lrwxrwxrwx 1 root root 29 2010-02-05 17:57 /dev/dsp5 -> /dev/oss/oss_hdaudio0/spdout0
lrwxrwxrwx 1 root root 28 2010-02-05 17:57 /dev/dsp6 -> /dev/oss/oss_hdaudio0/pcmin0
lrwxrwxrwx 1 root root 28 2010-02-05 17:57 /dev/dsp7 -> /dev/oss/oss_hdaudio0/pcmin1
lrwxrwxrwx 1 root root 28 2010-02-05 17:57 /dev/dsp8 -> /dev/oss/oss_hdaudio0/pcmin2
lrwxrwxrwx 1 root root 28 2010-02-05 17:57 /dev/dsp9 -> /dev/oss/oss_hdaudio0/spdin0
lrwxrwxrwx 1 root root 29 2010-02-05 17:57 /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
lrwxrwxrwx 1 root root 26 2010-02-05 17:57 /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0

Author:  poflynn [ Sun Feb 07, 2010 6:56 pm ]
Post subject:  Me too

Yes, this is merely a "me too" posting.

ALSA does not recognize my card at all (when selecting "ALSA" from the menu). OSS does & o/ps over SPDIF but I get no AC3, DTS etc :-(( Really miss this..

Oddly, ALSA under R5F27 recognized the card just fine. Any ALSA tips greatly appreciated, I really don't know anything about this sound stuff.

http://mysettopbox.tv/phpBB2/viewtopic. ... light=alsa

Author:  MMD [ Sun Feb 07, 2010 8:28 pm ]
Post subject:  Has to be a solution...

It's good to see someone else has this problem, and its not just mine and mine only :)

Seems like high quality audio is on the backburner, i dunno.

I did a fresh reinstall and will continue to fiddle with ALSA and/or OSS to get AC3 and DTS passthrough to work properly.

Code:
[root@linhes ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC885 Analog [ALC885 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC885 Digital [ALC885 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Author:  poflynn [ Sun Feb 07, 2010 9:23 pm ]
Post subject: 

aplay gives results? Good for you, you're further than me.

Here are some links that may be of help
http://www.mythtv.org/wiki/Configuring_ ... _and_SPDIF
http://www.mythtv.org/wiki/AllensDigitalAudioHowto

From the latter page:
Quote:
GA-ma78gm-s2h

Go into the BIOS and disable the onboard audio - crazy as it sounds.


Sheesh, that does sound crazy, mobo model # is similar to yours note...

Best of luck,

Author:  MMD [ Mon Feb 08, 2010 2:39 am ]
Post subject:  Nope

I tried disabling onboard audio, but *since* it is onboard audio, it didn't work -as I thought.

Again, after the reinstall, ALSA is useless. OSS seems to work like my original post.

Dan

Author:  christ [ Mon Feb 08, 2010 6:52 am ]
Post subject: 

Some times it is just easier to buy a compatible card. They are very inexpensive and will probably save you some grief. BTW, what card are you struggling with?

However, if you prefer to be challenged, I would recommend first trying out the suggestions at Allen's digital how-to on the mythtv wiki:
http://www.mythtv.org/wiki?title=Allens ... AudioHowto and then if needed updating to the latest alsa (1.0.22.1).

I am reciting the following from memory so please treat it with caution. I'm traveling the next few days but I will verify it when I can.

For the latest alsa, you can get the basics (alsa-lib and alsa-util) from the "normal" arch repo. Look in /etc/pacman.conf and temporarily uncomment the following:
Code:
#[extra]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

You can see the available alsa with:
Code:
pacman -Syl | grep alsa

so then execute:
Code:
pacman -Sy "alsa-lib >= 1.0.22" "alsa-util >= 1.0.22"

If you see other alsa packages that are more up to date than yours then update those too but at the time of this writing those should be the only two.

Next you will need to obtain the drivers for 1.0.22.1 which will require a recompile. The recipe is roughly this: create and enter a temporary directory, install the base dev package; get the alsa source, configure, make, make install.
Code:
pacman -Sy base-devel
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.22.1.tar.bz2
tar xvf alsa-driver-1.0.22.1.tar.bz2
cd alsa-driver
./configure
make
make install


Hope that helps get you started.

Author:  christ [ Mon Feb 08, 2010 6:54 am ]
Post subject: 

Just saw your chipset above. You should go to the alsa source too and see if that chip is currently supported in the latest driver too. Alsa is at: http://www.alsa-project.org/main/index.php/Main_Page

Author:  poflynn [ Wed Feb 10, 2010 11:56 pm ]
Post subject: 

christ wrote:
Just saw your chipset above. You should go to the alsa source too and see if that chip is currently supported in the latest driver too. Alsa is at: http://www.alsa-project.org/main/index.php/Main_Page


Thanks christ. This link led me to some modprobe cmds which have made my card be recognized, woo hoo! Still not quite there yet tho.. But I have moved my discussion back to my original therad http://mysettopbox.tv/phpBB2/viewtopic. ... 927#126927

Author:  cahlfors [ Sat Feb 13, 2010 1:52 am ]
Post subject: 

Maybe this "comprehensive sound guide" might help:
http://ubuntuforums.org/showthread.php?t=205449

I've experienced similar problems to yours in R5.5 and tweaking in alsamixer solved it. I believe it was one of the IECXXX settings.

Good luck!
/Chris

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/