View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jun 30, 2009 9:34 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I have done a fresh install of R6.00.08 followed by a pacman -Syu and a reboot and I do not get any audio.

I have an asus m2n68-vm motherboard with the line out connected to my TV.

Audio works for this system out of the box with R5.5 - I have never had to tinker with audio in the past.

I have gone into alsamixer and turned all of the volume settings up to 100%.

Based on this post: http://knoppmyth.net/phpBB2/viewtopic.php?t=20006 the output from these commands may help to diagnose the problem:
Code:
[gfrost@mythtv ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[gfrost@mythtv ~]$ cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xddff8000 irq 21
[gfrost@mythtv ~]$ cat /proc/asound/pcm
00-00: VT1708B Analog : VT1708B Analog : playback 2 : capture 2


I have tried:
Code:
mplayer -ao alsa:device=hw=0.0  /usr/share/sounds/restored.wav
and it appears to attempt to play audio, but no sond comes out.
If I do this:
Code:
mplayer /usr/share/sounds/restored.wav
It takes 1.587 seconds to complete instead of 1.066 seconds for the command with the -ao but still produces no sound.

Any ideas for what else I should try?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 01, 2009 8:35 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I seem to remember that we had to do something special in the past for the hi-def audio. Possibly something that got automated in R5.5 and lost since. Human was still working on getting his tweaker stuff working and hooked into the install under R6 last I heard. You might take a look at the R5.5 audio tweaker to see if there are any clues to be had.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 3:48 am 
Offline
Joined: Wed Feb 07, 2007 11:28 pm
Posts: 19
Location: Phx, AZ
I am having the same problem. I have a ASUS M3A78 with the same audio on it. I got the analog sound working using the OSS instead of the ALSA. No digital sound at all with either audio. I was going to try upgrading to the ALSA 1.0.20 drivers and see if that works. I got a script that mark60050 wrote to install them. When I get back from 4th Holiday I was going to give it a try. It could be we are missing something else for the hi-def audio. I just haven't had the time to work on it. It's a completely new system I built up so I decided to go ahead with R6. I just migrated the recording over from my R5.5 box so it's a R6 fresh install. That is one of the top Items to fix along with getting my remote to work and figure out why my HVR-1250 cards crash the system.
Jim

_________________
R6.01.00
ASUS M3A78
AMD Athlon 64 X2 7750 Kuma 2.7GHz
2GB DDR2 1066
2 Seagate's (.75 & 1.5) 2.25Tb
GIGABYTE GV-NX84S512HP 8400GS 512MB
PVR-150,PVR-250, 2X HVR-1250
Silverstone GD01B-MXR with Imon


Top
 Profile  
 
PostPosted: Thu Jul 02, 2009 7:41 am 
Offline
Joined: Sun May 29, 2005 5:47 pm
Posts: 65
Greg Frost wrote:
I have done a fresh install of R6.00.08 followed by a pacman -Syu and a reboot and I do not get any audio.

I have an asus m2n68-vm motherboard with the line out connected to my TV.

Audio works for this system out of the box with R5.5 - I have never had to tinker with audio in the past.

I have gone into alsamixer and turned all of the volume settings up to 100%.

Based on this post: http://knoppmyth.net/phpBB2/viewtopic.php?t=20006 the output from these commands may help to diagnose the problem:
Code:
[gfrost@mythtv ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
[gfrost@mythtv ~]$ cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xddff8000 irq 21
[gfrost@mythtv ~]$ cat /proc/asound/pcm
00-00: VT1708B Analog : VT1708B Analog : playback 2 : capture 2


I have tried:
Code:
mplayer -ao alsa:device=hw=0.0  /usr/share/sounds/restored.wav
and it appears to attempt to play audio, but no sond comes out.
If I do this:
Code:
mplayer /usr/share/sounds/restored.wav
It takes 1.587 seconds to complete instead of 1.066 seconds for the command with the -ao but still produces no sound.

Any ideas for what else I should try?



Hmmmm. It looks like what you have should work? Especially, since your board worked with R5.5 there should be no need to update the drivers. (I assume that the R6 ALSA drivers are newer that R5.5) The only thing I can think of is that your volume might be muted. Have you looked at "alsamixer"? I assume that you had given the the detail in your post you seem to know your way around ALSA. I can post my script for updating the drivers if you'd like. But, I'm not sure how compiling the ALSA drivers from scratch will effect future upgrades. Moreover, you shouldn't need to upgrade ALSA. That said, there is a chance that reinstalling ALSA may fix the problem.

I got audio over HDMI working with R6 on my ASUS P5N7A-VM on a fresh install without upgrading the drivers (on my second attempt). Your mplayer command should have worked out of the box provided the mixer was not muted. I never did try analog output on my board. Also, I could not seem to get SPDIF output working unless I upgraded my drivers.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 3:18 pm 
Offline
Joined: Wed Feb 07, 2007 11:28 pm
Posts: 19
Location: Phx, AZ
I got basically the same the output on my system. I installed the new drivers (Thanks to mark60050 script!). Now it sees the digital side. I did not get the
Quote:
00-01: VT1708B Digital : VT1708B Digital : playback 1

before I installed the new drivers. I am still getting no sound though. I also noticed that I am not even getting the laser turned on in the spdif socket. I had to so something to turn that on in my 5.5 system but I can't remember how I did it. I have ran out of time today to mess with it any more.


Quote:
[root@mythtv ~]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
Compiled on Jul 2 2009 for kernel 2.6.28-LinHES (SMP).
[root@mythtv ~]#
[root@mythtv ~]# cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xf7ff4000 irq 16
[root@mythtv ~]#
[root@mythtv ~]# cat /proc/asound/pcm
00-00: VT1708B Analog : VT1708B Analog : playback 2 : capture 2
00-01: VT1708B Digital : VT1708B Digital : playback 1



One more note, I got an error when I tried to run the pacman -Syu command. Any ideas what is happening here? I am not that good with the package upgrade stuff.

Thanks,
Jim

Quote:
[root@mythtv ~]# pacman -Syu
:: Synchronizing package databases...
core-testing is up to date
extra-testing is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (35): system-templates-1.0-24 linhes-timezone-1-2 python-parted-2.0.12-1 ddcxinfo-0.6.19-2 LinHES-config-2.0-32 libcap-2.16-3
avahi-0.6.24-2 cdrkit-1.1.8-2 dvb-firmware-1-5 iproute-2.6.25-1 etcnet-0.9.8-5 libjpeg-6b-6 which-2.20-10 fbsplash-1.5.4.3-14
ffmpeg-20081220-3 kernel26-2.6.28.5-3 linhes-scripts-1-15 lirc-0.8.5CVS-12 local-website-2-8 mdadm-3.0-11 nvidia-utils-185.18.14-1
tdb-3.3.4-1 smbclient-3.3.4-1 mplayer-29352-1 mythdb-initial-1-42 perl-time-format-1.09-1 mythtv-0.21-71 mythgallery-0.21-5
mythweb-0.21-18 nvidia-185.18.14-1 runit-scripts-1.8.0-90 tweaker-1-32 udev-135-3 libnl-1.1-2 wpa_supplicant-0.6.9-1

Total Download Size: 0.00 MB
Total Installed Size: 307.20 MB

Proceed with installation? [Y/n] y
checking package integrity...
( 1/35) checking for file conflicts [#--------------------------------------------------------------------------------------------] 2%
(11/35) checking for file conflicts [#############################----------------------------------------------------------------] 31%
(21/35) checking for file conflicts [########################################################-------------------------------------] 60%
(35/35) checking for file conflicts [#############################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
/lib/udev/rules.d/64-md-raid.rules exists in both 'mdadm' and 'udev'
mdadm: /lib/udev/rules.d/64-md-raid.rules exists in filesystem
Errors occurred, no packages were upgraded.

_________________
R6.01.00
ASUS M3A78
AMD Athlon 64 X2 7750 Kuma 2.7GHz
2GB DDR2 1066
2 Seagate's (.75 & 1.5) 2.25Tb
GIGABYTE GV-NX84S512HP 8400GS 512MB
PVR-150,PVR-250, 2X HVR-1250
Silverstone GD01B-MXR with Imon


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 5:32 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
azrambler wrote:
One more note, I got an error when I tried to run the pacman -Syu command. Any ideas what is happening here? I am not that good with the package upgrade stuff.

Thanks,
Jim

Quote:
[root@mythtv ~]# pacman -Syu
:: Synchronizing package databases...
core-testing is up to date
extra-testing is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (35): system-templates-1.0-24 linhes-timezone-1-2 python-parted-2.0.12-1 ddcxinfo-0.6.19-2 LinHES-config-2.0-32 libcap-2.16-3
avahi-0.6.24-2 cdrkit-1.1.8-2 dvb-firmware-1-5 iproute-2.6.25-1 etcnet-0.9.8-5 libjpeg-6b-6 which-2.20-10 fbsplash-1.5.4.3-14
ffmpeg-20081220-3 kernel26-2.6.28.5-3 linhes-scripts-1-15 lirc-0.8.5CVS-12 local-website-2-8 mdadm-3.0-11 nvidia-utils-185.18.14-1
tdb-3.3.4-1 smbclient-3.3.4-1 mplayer-29352-1 mythdb-initial-1-42 perl-time-format-1.09-1 mythtv-0.21-71 mythgallery-0.21-5
mythweb-0.21-18 nvidia-185.18.14-1 runit-scripts-1.8.0-90 tweaker-1-32 udev-135-3 libnl-1.1-2 wpa_supplicant-0.6.9-1

Total Download Size: 0.00 MB
Total Installed Size: 307.20 MB

Proceed with installation? [Y/n] y
checking package integrity...
( 1/35) checking for file conflicts [#--------------------------------------------------------------------------------------------] 2%
(11/35) checking for file conflicts [#############################----------------------------------------------------------------] 31%
(21/35) checking for file conflicts [########################################################-------------------------------------] 60%
(35/35) checking for file conflicts [#############################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
/lib/udev/rules.d/64-md-raid.rules exists in both 'mdadm' and 'udev'
mdadm: /lib/udev/rules.d/64-md-raid.rules exists in filesystem
Errors occurred, no packages were upgraded.


azrambler: I saw the problem and the collision is being addressed in flyspray. As a temporary workaround do this:
Code:
# pacman -Syf mdadm

then
Code:
# pacman -Syu

f = force. Not a good idea to do this normally, but in this case it's ok. You can also just move the original out of the way first -- rather than forcing an overwrite. This way you keep it around just in case.
Code:
# mv  /lib/udev/rules.d/64-md-raid.rules  /lib/udev/

then
Code:
# pacman -Syu
and things should be better.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 6:24 pm 
Offline
Joined: Wed Feb 07, 2007 11:28 pm
Posts: 19
Location: Phx, AZ
azrambler: I saw the problem and the collision is being addressed in flyspray. As a temporary workaround do this:
Code:
# pacman -Syf mdadm

then
Code:
# pacman -Syu

f = force. Not a good idea to do this normally, but in this case it's ok. You can also just move the original out of the way first -- rather than forcing an overwrite. This way you keep it around just in case.
Code:
# mv  /lib/udev/rules.d/64-md-raid.rules  /lib/udev/

then
Code:
# pacman -Syu
and things should be better.

That worked. Now I have a stupid question. How or what does the below command do? how should I answer it?I did it both ways. I am wondering if this is what disabled dhcp. now every time I reboot I have to do a dhcpcd -n eth0 to get the network back up.


Quote:
:: Starting full system upgrade...
:: Replace iproute with core-testing/iproute2? [Y/n]


Thanks,
Jim


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 8:19 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Please move that question to a different thread.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 9:02 pm 
Offline
Joined: Wed Feb 07, 2007 11:28 pm
Posts: 19
Location: Phx, AZ
Ok, Moved to http://knoppmyth.net/phpBB2/viewtopic.php?p=122515#122515

_________________
R6.01.00
ASUS M3A78
AMD Athlon 64 X2 7750 Kuma 2.7GHz
2GB DDR2 1066
2 Seagate's (.75 & 1.5) 2.25Tb
GIGABYTE GV-NX84S512HP 8400GS 512MB
PVR-150,PVR-250, 2X HVR-1250
Silverstone GD01B-MXR with Imon


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 09, 2009 1:34 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Ok: time to get this thread back on topic:

mark60050 wrote:
Hmmmm. It looks like what you have should work? Especially, since your board worked with R5.5 there should be no need to update the drivers. (I assume that the R6 ALSA drivers are newer that R5.5) The only thing I can think of is that your volume might be muted. Have you looked at "alsamixer"? I assume that you had given the the detail in your post you seem to know your way around ALSA. I can post my script for updating the drivers if you'd like. But, I'm not sure how compiling the ALSA drivers from scratch will effect future upgrades. Moreover, you shouldn't need to upgrade ALSA. That said, there is a chance that reinstalling ALSA may fix the problem.

I got audio over HDMI working with R6 on my ASUS P5N7A-VM on a fresh install without upgrading the drivers (on my second attempt). Your mplayer command should have worked out of the box provided the mixer was not muted. I never did try analog output on my board. Also, I could not seem to get SPDIF output working unless I upgraded my drivers.


Yes, I had looked at alsamixer, made sure nothing was muted and turned the volume way up for everything.

I was just re-reading your post again and the bit about the fact that you got audio over hdmi working made me think: what if my tv thinks it is supposed to be getting audio over HDMI now (as a result of newer alsa?) and is ignoring the analog stereo audio that I have connected.

So I plugged headphones in and lo and behold, I blasted my ears with "Front.... Centre...".

So the problem isnt that the analog audio is not working, it is that the HDMI audio is not working, but the TV for some reason thinks it should be getting HDMI audio now.

I got to this point after upgrading alsa drivers, utils libs and oss, but I suspect that was my problem all along.

So does anyone know what I can do to disable audio over HDMI, or I guess how to troubleshoot that to get it working?

I actually have my tv connected by a 3 meter DVI to HDMI cable connected to a HDMI to HDMI adapter followed by a 10 meter HDMI to HDMI cable. Could the fact that I am starting with the motherboard's DVI out be a problem?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 09, 2009 8:34 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Greg Frost wrote:
...the TV for some reason thinks it should be getting HDMI audio now.


I have a similar problem, also with a DVI->HDMI connection to the TV.

In my case I heard nothing but static when I switched to the TV's HDMI input that was connected to my MythTV box. It was as if some part of the signal was being interpreted by the TV as HDMI audio, even though DVI obviously is not supposed to be doing any audio.

I posted here and replies seemed to think it was some kind of interference, although it doesn't sound like any kind of interference I'd ever heard.

Since all my audio goes through my receiver anyway, my fix was just to avoid the problem and disable my TV speakers.

I'm since switched from my motherboard DVI video to a video card, but haven't seen if the audio problem has gone away.

Sorry this has no solution but it sounded similar enough I thought I'd mention it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 09, 2009 7:28 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
At least with the Samsung TVs there is one specific HDMI port you need to use if you're running a DVI to HDMI cable with a separate audio connection and they strongly recommend that you identify that input as being of PC type...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 09, 2009 9:34 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I have a samsung la46m81. I am connected to that HDMI port and have my PC's line out connected to the TVs associated analog audio input and with R5.5 it just works. For some reason in R6 (without changing any of the hardware config - still plugged into the same spots - all I changed was the hard drive in my be/fe system) it doesnt work.

Ill look into my tv settings to see if I can force it to use the analog rather than HDMI audio.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 10, 2009 8:32 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
No options in the TV unfortunately, so I set about working out how to prevent the Nvidia driver from trying to use hdmi audio. It seems that they have not provided a simple flag in xorg.conf to disable it. I found this post: http://analogbit.com/node/23 which suggested a very complicated way of disabling audio by extracting the TVs EDID information, editing it to disable the reporting of extension (the HDMI audio is presumably one of these) and passing it to X as a customEDID in xorg.conf.

After doing that and restarting the X driver. My analog audio finally works. Hopefully nvidia will sort this out and give a simple xorg flag to disable digital audio from xorg.conf in a future driver.... but for now I guess at least the mystery is solved.

I guess the other option is to set the modeline explicitly and ensure that all of the modeline checking stuff is disabled (the mode validation options) like in this post:

http://www.nvnews.net/vbulletin/showthr ... able+audio


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 10, 2009 5:58 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
So here is what I settled on:

Code:
Section "Monitor"
...
        Modeline "1920x1080_50" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
EndSection

Section "Device"
...
    Option "UseEDID" "False"
    Option "ExactModeTimingsDVI" "True"
EndSection

I got this modeline from logging information in /var/log/Xorg.0.log but you can only get this information when the UseEDID option is True:
Code:
(--) NVIDIA(0):   1920 x 1080 @ 50 Hz
(--) NVIDIA(0):     Pixel Clock      : 148.50 MHz
(--) NVIDIA(0):     HRes, HSyncStart : 1920, 2448
(--) NVIDIA(0):     HSyncEnd, HTotal : 2492, 2640
(--) NVIDIA(0):     VRes, VSyncStart : 1080, 1084
(--) NVIDIA(0):     VSyncEnd, VTotal : 1089, 1125
(--) NVIDIA(0):     H/V Polarity     : +/+
(--) NVIDIA(0):     CEA Format       : 31
And by disabling EDID, the Nvidia driver doesnt put a NULL audio signal down the DVI output which means the TV will accept analog audio.

Now.. How would this best be integrated as an automated tweak?


Last edited by Greg Frost on Sat Aug 01, 2009 4:19 pm, edited 1 time in total.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu