Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm an experienced seasoned Linux professional and yet even I am constantly annoyed by never ending issue with the state of sound in Linux. I have a Zotac Mag box that I'm trying desperately to use as a Linux HTPC but I can't ever seem to get the sound working consistently and completely. It is very embarrassing and frustrating to have visitors state very clearly "You wouldn't be having this problem if you'd just use Windows". What makes it worse is that I know they are correct. I am a Linux advocate, I am not concern trolling. I am a die-hard, open-source, free-software, zealot but I'm really frustrated and upset that no one is even willing to admit there is a problem and even worse, some get offended for pointing out any deficiencies in Linux.
If anyone can please point me to definitive documentation, or a guide that can assure fool-proof, perfectly working sound, please do so before I am forced to look at alternatives.
My sound is inconsistent, generally working in some appliations but not in others. I have more luck with digital sound input and output than with analog (dtv). mplayer is the most consistent application that works most of the time but sound in gnome and boxee and mythtv and generally anything else is hit-and-miss. There is a 2-3 second delay for any sound output which makes desktop sounds very inconsistent. I've been fighting this battle for months and I'm not sure there is a solution.
Code:
Ubuntu 10.10
mark@htpc:~$ uname -a
Linux htpc.localdomain 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:24:00 UTC 2010 i686 GNU/Linux
Code:
aplay mark@htpc:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
Playback/recording through the PulseAudio sound server
default
hdmi-remap
remap-surround71
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, NVIDIA HDMI
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, NVIDIA HDMI
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, NVIDIA HDMI
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, NVIDIA HDMI
Hardware device with all software conversions
mark@htpc:~$ cat ~/.asoundrc
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}
pcm.!remap-surround71 {
type route
slave.pcm "hw:0,3"
ttable {
0.0= 1 # front left
1.1= 1 # front right
2.6= 1 # rear left
3.7= 1 # rear right
4.2= 1 # center
5.3= 1 # lfe
6.4= 1 # side left
7.5= 1 # side right
}
}
Try another distro that doesn't force an overly complex sound system on its users. Alsa should do fine for most applications, and unless you plan on trying to play multiple files at once that all need a diffrent volume, there shouldn't be any problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.