2009-11-04, 16:58
2009-11-04, 22:28
how did you get true-hd working via hdmi with this guide? i just got stereo output on my denon 4308
2009-11-05, 04:21
I'm running my HTPC through hdmi directly to my TV. My HTPC setup is in my sig.
Using the settings of "plugin:hdmi" and passthrough of "hdmi" I was able to get audio when I played a movie or a song. But nothing else. No gui sounds, no sound when running huludesktop, etc.
So I thought I'd run though this tutorial since I'm not much of a linux guru and see if I could get that to work.
First, I upgraded to the latest NVidia driver: 190.42. Then I followed the setup for the PulseAudio way (since I wanted gui sounds and sounds outside of xbmc).
And now I don't have any sound at all.
Maybe since I'm not needing multichannel, I shouldn't have tried this setup.
Should I remove this setup, i.e:
and try something else? I'm not sure what to do now...
Any help would be greatly appreciated! Thank you!
Using the settings of "plugin:hdmi" and passthrough of "hdmi" I was able to get audio when I played a movie or a song. But nothing else. No gui sounds, no sound when running huludesktop, etc.
So I thought I'd run though this tutorial since I'm not much of a linux guru and see if I could get that to work.
First, I upgraded to the latest NVidia driver: 190.42. Then I followed the setup for the PulseAudio way (since I wanted gui sounds and sounds outside of xbmc).
And now I don't have any sound at all.
Maybe since I'm not needing multichannel, I shouldn't have tried this setup.
Should I remove this setup, i.e:
Code:
rm ~/.pulse/default.pa ~/.pulse/daemon.conf /etc/asound.conf
Any help would be greatly appreciated! Thank you!
2009-11-05, 08:26
Hi Oblivion !
Are you using "default" in xbmc as audio device ? Disable passthrough there.
Have you checked pavucontrol utility if pulseaudio is working properly ?
What happens if you try
in a terminal.
You can revert the changes removing those files. Note that my guide is for Ubuntu Jaunty at this time. Have you upgraded Alsa ?
What is the output of
and
Are you using "default" in xbmc as audio device ? Disable passthrough there.
Have you checked pavucontrol utility if pulseaudio is working properly ?
What happens if you try
Code:
speaker-test -Dhw:0,3 -c2
in a terminal.
You can revert the changes removing those files. Note that my guide is for Ubuntu Jaunty at this time. Have you upgraded Alsa ?
What is the output of
Code:
aplay -l
and
Code:
aplay -L
2009-11-05, 17:20
Thank you for the very quick reply, alanwww1!
There is no audio when I run a windows manager, like gnome, either.
The outputs from a terminal are:
and
I setup gnome to use pulseaudio as you showed in your tutorial. But the "test" buttons on the audio setup didn't produce any sounds.
You mentioned at the beginning of the pulseaudio setup:
Do I have to manually startup pulseaudio? Do I need to put "pulseaudio -D" in my xbmc setup script?
When I run in a simple terminal, not in gnome, I get:
If I run with sudo:
Sorry for the long post. And thank you again for the help, alan.
Quote:Are you using "default" in xbmc as audio device ? Disable passthrough there.I am using default in xbmc and set passthrough as "custom", with nothing filled in.
There is no audio when I run a windows manager, like gnome, either.
Quote:What happens if you try: speaker-test -Dhw:0,3 -c2 in a terminal.Well, what do you know. That worked! At least I got the sound coming out of the right and left speakers of the TV while running gnome.
Quote:Note that my guide is for Ubuntu Jaunty at this time. Have you upgraded Alsa ?I am using Ubuntu Jaunty and my Alsa version is current:
Code:
[color=blue]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Nov 4 2009 for kernel 2.6.28-11-generic (SMP).[/color]
The outputs from a terminal are:
Code:
[color=blue]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0[/color]
and
Code:
[color=blue]$ aplay -L
default:CARD=NVidia
HDA NVidia, ALC1200 Analog
Default Audio Device
front:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)[/color]
I setup gnome to use pulseaudio as you showed in your tutorial. But the "test" buttons on the audio setup didn't produce any sounds.
You mentioned at the beginning of the pulseaudio setup:
Quote:If you want to use Pulseaudio with dedicated htpc setup, like xbmcbuntu, you must install pulseaudio package first. Probably you also have to put pulseaudio -D in your xbmc startup script.
Do I have to manually startup pulseaudio? Do I need to put "pulseaudio -D" in my xbmc setup script?
When I run in a simple terminal, not in gnome, I get:
Code:
[color=blue]$ pulseaudio -D
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
N: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:
N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
N: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
E: main.c: Daemon startup failed.[/color]
If I run with sudo:
Code:
[color=blue](T: XBMCLive)xbmc@XBMCLive:~$ sudo pulseaudio -D
W: main.c: This program is not intended to be run as root (unless --system is specified).
E: main.c: Daemon startup failed.
(T: XBMCLive)xbmc@XBMCLive:~$ sudo pulseaudio -D --system
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time![/color]
Sorry for the long post. And thank you again for the help, alan.
2009-11-05, 20:35
Please try to install pulseaudio manager. I don't remember the package name. Try synaptic.
Run it and check if pulseaudio runs.
From your output i see that somehow you are not in pulse-rt group. So the system does not allow you to use pulseaudio. I don't know why.
Try to add yourself to the pulse audio group
Run it and check if pulseaudio runs.
From your output i see that somehow you are not in pulse-rt group. So the system does not allow you to use pulseaudio. I don't know why.
Try to add yourself to the pulse audio group
Code:
sudo adduser your-username pulse
sudo adduser your-username pulse-rt
2009-11-05, 22:09
I added myself to the pulse and pulse-rt groups.
I then ran:
The pulseaudio manager was already installed on my system. I'm not sure what I'm supposed to do with it, though. I opened it and everything seemed to be working ok - but still no sound.
The speaker-test command still gives me sound output, but I can't any other way.
Maybe I should try the ALSA way in your tutorial instead....
I then ran:
Code:
$ pulseaudio -D
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
E: main.c: Daemon startup failed.
$ pulseaudio --start
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
The pulseaudio manager was already installed on my system. I'm not sure what I'm supposed to do with it, though. I opened it and everything seemed to be working ok - but still no sound.
The speaker-test command still gives me sound output, but I can't any other way.
Maybe I should try the ALSA way in your tutorial instead....
2009-11-05, 22:17
@pregi
I got true-hd in stereo at first on my Onkyo after following the guide (no other mods) and then I had to select the LPCM multichannel mode on the Onkyo to get the full audio.
Hope it helps
I got true-hd in stereo at first on my Onkyo after following the guide (no other mods) and then I had to select the LPCM multichannel mode on the Onkyo to get the full audio.
Hope it helps
2009-11-05, 22:25
pregi Wrote:@ylagace
thanks. ill try this
As Ylagace wrote, you have to look for "multichannel lpcm" text on your receiver. Currently this is the way. You won't get dts-hd light up, cause your receiver gets the decoded stream.
2009-11-05, 22:26
@Ooblivion
Sure you have these custom files ?
~/.pulse/default.pa ~/.pulse/daemon.conf /etc/asound.conf
In PA manager could you please check the sink device pulseaudio uses ?
Sure you have these custom files ?
~/.pulse/default.pa ~/.pulse/daemon.conf /etc/asound.conf
In PA manager could you please check the sink device pulseaudio uses ?
2009-11-06, 01:44
this guide looks seriously SERIOUSLY complex. will this work for a Live install? I'd like to get TrueHD audio off some of my rips, instead of DTS or AC3
2009-11-06, 02:36
Evanrich Wrote:this guide looks seriously SERIOUSLY complex. will this work for a Live install? I'd like to get TrueHD audio off some of my rips, instead of DTS or AC3
I am pretty sure it works on Live. I'd go for the Alsa way. It could be good to make a backup of your system before try it. I recommend acronis true image home for this. But norton ghost is also good. This way you can freely make any experimentations.
2009-11-06, 04:30
alanwww1 Wrote:I am pretty sure it works on Live. I'd go for the Alsa way. It could be good to make a backup of your system before try it. I recommend acronis true image home for this. But norton ghost is also good. This way you can freely make any experimentations.
Thanks for the info. I didn't really mean that it looks difficult to do, its just i don't know that much about linux, so it looks really daunting. I'll try doing a backup and then testing this when I get some free time
2009-11-06, 04:47
Hi alanwww1,
Just wanted to say my thank you's for this great guide you put together. My Onkyo TX-NR1007 just came in this week and I followed your ALSA steps with no installation issues on ubuntu 9.04.
I do have a small issue playing back mkv's with 7.1 flac audio created with eac3to. Center channel audio is coming out of the Side Left.
Any ideas? Have you tried any 7.1 source material?
Thanks again,
PBjr.
Just wanted to say my thank you's for this great guide you put together. My Onkyo TX-NR1007 just came in this week and I followed your ALSA steps with no installation issues on ubuntu 9.04.
I do have a small issue playing back mkv's with 7.1 flac audio created with eac3to. Center channel audio is coming out of the Side Left.
Any ideas? Have you tried any 7.1 source material?
Thanks again,
PBjr.