|
|
#73 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
zim2dive,
First, you should try removing the options "enable_msi=0" and/or "probe_mask=0xffff,0xfff2" from /etc/modprobe.d/sound.conf and rebooting. The first option should now be the in-kernel default for any NVIDIA audio controller as I understand it. I believe the second option restricts the set of codecs that the driver searches for, and could possibly be knocking out your analog port on the motherboard audio controller. Note that removing this option might change the card/device/... IDs of any existing working ports. What does "sudo aplay -L" say? What is the content of /proc/asound/cards? Thanks. |
|
|
|
|
|
|
#74 | |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
Hi Guys,
I have an atom330 mobo with a GT 240. VID CARD = ASUS ENGT240 Silent GeForce GT 240 550MHZ 1GB DDR3 1.58GHZ HDMI DVI RECEIVER = Denon, AVR-3808CI ---> can play pretty much every codec out at the moment. At this point I have minimal ubuntu 10.04 64-bit + ALSA 1.0.23 installed. I can see NVidia HDMI devices through aplay *BUT I HAVE YET TO HEAR A SOLITARY PEEP OUT OF ANY TESTING DONE* Speaker-test and aplay all appear to work but not a single sound. -------------------------------------------------- xbmc@xbmc:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.23. Compiled on Aug 31 2010 for kernel 2.6.32-24-generic (SMP). xbmc@xbmc:~$ nvidia-settings -v nvidia-settings: version 256.53 (buildmeister@builder97.nvidia.com) Fri Aug 27 20:55:01 PDT 2010 xbmc@xbmc:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: VT1708BCE Analog [VT1708BCE Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 0: Intel [HDA Intel], device 1: VT1708BCE Digital [VT1708BCE Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 xbmc@xbmc:~$ aplay -L null Discard all samples (playback) or generate zero samples (capture) front:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, VT1708BCE Digital IEC958 (S/PDIF) Digital Audio Output hdmi:CARD=NVidia HDA NVidia, NVIDIA HDMI HDMI Audio Output cat /etc/modprobe.d/sound.conf options snd-hda-intel enable_msi=0 ------------------------------------------------------ produces no errors, but also no sounds???? xbmc@xbmc:~$ aplay -D plughw:1,3 -fcd 01_hells_bells.flac Playing raw data '01_hells_bells.flac' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... xbmc@xbmc:~$ aplay -D plughw:1,7 -fcd 01_hells_bells.flac Playing raw data '01_hells_bells.flac' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... xbmc@xbmc:~$ aplay -D plughw:1,8 -fcd 01_hells_bells.flac Playing raw data '01_hells_bells.flac' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... |
|
|
|
|
|
|
#75 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
thethirdnut,
Can you please try "hw:3" instead of "plughw:3". Also, did you try plughw:9/hw:9? Any of the four devices might map to the HDMI port you're using. You may also wish to run "alsamixer -c 1" and ensure nothing is muted. "speakertest -c 2" might be the simplest test, rather than aplay. If none of that works, pleas can you please copy and attach /proc/asound/card1/codec* and /proc/asound/card1/eld*. Thanks. |
|
|
|
|
|
#76 | |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
Quote:
I will try the eld* trouble-shooting and other steps you mentioned. I have two other discussions going in ubuntuforums....will report back. http://ubuntuforums.org/showthread.php?t=1565479 http://ubuntuforums.org/showthread.php?t=1552250&page=2 |
|
|
|
|
|
|
#77 |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
Stephen; here's some more details.
----------------------------- So I tried the linux-backports-modules-alsa-2.6.32-24 on my rig and my eld are all still EMPTY. Atom330 + GT 240 + NVIDIA 256.53 + ALSA 1.0.23 backports Code:
xbmc@xbmc:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jul 6 2010 for kernel 2.6.32-24-generic (SMP).
xbmc@xbmc:~$ uname -r
2.6.32-24-generic
xbmc@xbmc:~$ nvidia-settings -v
nvidia-settings: version 256.53
xbmc@xbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708BCE Analog [VT1708BCE Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1708BCE Digital [VT1708BCE Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
xbmc@xbmc:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, VT1708BCE Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
xbmc@xbmc:~$ cat /proc/asound/card1/eld#*
monitor_present 0
eld_valid 0
monitor_name
connection_type HDMI
eld_version [0x0] reserved
edid_version [0x0] no CEA EDID Timing Extension block present
manufacture_id 0x0
product_id 0x0
port_id 0x0
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0x0]
sad_count 0
monitor_present 0
eld_valid 0
monitor_name
connection_type HDMI
eld_version [0x0] reserved
edid_version [0x0] no CEA EDID Timing Extension block present
manufacture_id 0x0
product_id 0x0
port_id 0x0
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0x0]
sad_count 0
monitor_present 0
eld_valid 0
monitor_name
connection_type HDMI
eld_version [0x0] reserved
edid_version [0x0] no CEA EDID Timing Extension block present
manufacture_id 0x0
product_id 0x0
port_id 0x0
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0x0]
sad_count 0
monitor_present 0
eld_valid 0
monitor_name
connection_type HDMI
eld_version [0x0] reserved
edid_version [0x0] no CEA EDID Timing Extension block present
manufacture_id 0x0
product_id 0x0
port_id 0x0
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0x0]
sad_count 0
xbmc@xbmc:~$ cat /proc/asound/card1/codec#*
Codec: Nvidia GT240 HDMI
Address: 0
Function Id: 0x1
Vendor Id: 0x10de000d
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Device: name="NVIDIA HDMI", type="HDMI", device=3
Converter: stream=0, channel=0
Digital: Enabled GenLevel
Digital category: 0x2
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=05, enabled=1
Connection: 1
0x04
Codec: Nvidia GT240 HDMI
Address: 1
Function Id: 0x1
Vendor Id: 0x10de000d
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=1, device=0
Control: name="IEC958 Playback Pro Mask", index=1, device=0
Control: name="IEC958 Playback Default", index=1, device=0
Control: name="IEC958 Playback Switch", index=1, device=0
Device: name="NVIDIA HDMI", type="HDMI", device=7
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=05, enabled=1
Connection: 1
0x04
Codec: Nvidia GT240 HDMI
Address: 2
Function Id: 0x1
Vendor Id: 0x10de000d
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=2, device=0
Control: name="IEC958 Playback Pro Mask", index=2, device=0
Control: name="IEC958 Playback Default", index=2, device=0
Control: name="IEC958 Playback Switch", index=2, device=0
Device: name="NVIDIA HDMI", type="HDMI", device=8
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=05, enabled=1
Connection: 1
0x04
Codec: Nvidia GT240 HDMI
Address: 3
Function Id: 0x1
Vendor Id: 0x10de000d
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=3, device=0
Control: name="IEC958 Playback Pro Mask", index=3, device=0
Control: name="IEC958 Playback Default", index=3, device=0
Control: name="IEC958 Playback Switch", index=3, device=0
Device: name="NVIDIA HDMI", type="HDMI", device=9
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=05, enabled=1
Connection: 1
0x04
|
|
|
|
|
|
#78 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
thethirdnut,
I believe you need ALSA modules with the following patch: http://git.kernel.org/?p=linux/kerne...1cb5fbe7fc9c75 It looks like linux-backports-modules-alsa-2.6.32-24 doesn't contain this yet. For a bug related to this, see: https://bugs.launchpad.net/ubuntu/+s...32/+bug/611810 One of the comments there recommends the following as a way to get a more up-to-date ALSA driver: https://wiki.ubuntu.com/Audio/Instal...aDriverModules |
|
|
|
|
|
|
#79 | |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
Thanks again Stephen.
Quote:
The backport-modules was another attempt. Are you saying that the install script would NOT have the patched modules? ------------------------------------------------------- I also did try the ubuntu-audio-dev/ppa at one point too, HOWEVER, I do not think I applied the linux-alsa-driver-modules in those same steps. I will try that out and let you know. -------------------------------------------------------- Do I also need to modify the /etc/modprobe.d/alsa-base.conf either way? |
|
|
|
|
|
|
#80 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
thethirdnut,
The ALSA install script mentioned in that ubuntuforums.org post appears to install the latest official release of ALSA. No official release includes the patch you need yet; it's only in their git repository. |
|
|
|
|
|
#81 |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
OK, so I shall:
a) reinstall ALSA 1.0.23 through the script b) apply the patch(es) I could use a little assistance on how to ensure I am downloading correct patch file and applying it to proper file? Can I wget the patch file(s) from somewhere and then use a command like this? sudo patch -p1 -d /usr/src/Alsa-1.0.23/alsa-driver-1.0.23/sound < new.patch Thanks |
|
|
|
|
|
#82 |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
![]() GOOD NEWS! I have something to report... Long story - short = YOU HAVE TO RUN THESE TESTS WITH X RUNNING! This HTPC is an Ubuntu minimal install -- thus I have been booting into the shell for every change made to ALSA, nvidia drivers, etc. My HTPC was/is connected to the AMP and showing login info, etc on the plasma TV too so I thought this was OK. I have gone back-forth-back-forth 100 ways over last few days and all the while cat /proc/asound/card0/eld#* remained empty. I also recalled seeing some HDMI specific info in the /var/log/syslog at certain points, but was never sure how/where it got there sporadically. Anyways, saw some old Toshiba forum post about audio not working when not using the HDMI for video so I ran xinit xbmc and watched /var/log/syslog...It showed a bunch of new HDMI info, /proc/asound/card0/eld#* was no longer empty, and now sudo aplay -D plughw: tests work too! Thanks for feedback Stephen; this was a greasy one. |
|
|
|
|
|
#83 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
thethirdnut,
That's great news. Sorry, I didn't mention that; I'd just assumed you were testing inside X! Did you end up using the linux-alsa-driver-modules, or ubuntu-audio-dev/ppa, or something else in the end? Thanks. |
|
|
|
|
|
#84 |
|
Registered User
Join Date: Aug 2010
Posts: 7
|
I was using the ALSA upgrade script + nvidia 1.95.31.
Going back to 256.53 now. |
|
|
|
![]() |
| Thread Tools | |
|
|