nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   HDMI on GTX240 still not working (http://www.nvnews.net/vbulletin/showthread.php?t=149961)

acharnley 04-12-10 05:05 PM

HDMI on GTX240 still not working
 
Problem: no sound over HDMI
Setup: latest NVIDIA, latest ALSA snapshot, correct probe_mask so that HDMI SPDIF shows 1 instead of 4 devices. Unmuted.
Test: send sound (speaker-test etc) to hw:2,3 (which is correct) and it plays but nothing comes out. Works fine in Windows

Alsa bug: https://bugtrack.alsa-project.org/al...ew.php?id=4971

acharnley 04-12-10 05:06 PM

Re: HDMI on GTX240 still not working
 
cat /proc/asound/card2/codec#1
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=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
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

acharnley 04-12-10 05:07 PM

Re: HDMI on GTX240 still not working
 
dmesg | grep hda
hda_intel: codec_mask forced to 0xff
ALSA hda_intel.c:712: azx_get_response timeout, switching to polling mode: last cmd=0x100f0000
ALSA hda_intel.c:1420: Codec #1 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #2 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #4 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #5 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #6 probe error; disabling it...

ALSA hda_intel.c:1420: Codec #7 probe error; disabling it...
hda_intel: codec_mask forced to 0xf2
ALSA hda_intel.c:712: azx_get_response timeout, switching to polling mode: last cmd=0x400f0000
ALSA hda_intel.c:1420: Codec #4 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #5 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #6 probe error; disabling it...
ALSA hda_intel.c:1420: Codec #7 probe error; disabling it...

---------------------------------

lsmod | grep hdmi
snd_hda_codec_nvhdmi 12878 2
snd_hda_codec 78043 3 snd_hda_codec_nvhdmi,snd_hda_codec_via,snd_hda_int el
snd 57322 16 snd_hda_codec_nvhdmi,snd_hda_codec_via,snd_hda_int el,snd_hda_codec,snd_pcsp,snd_hwdep,snd_pcm,snd_ti mer

---------------------------------

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: pcsp [pcsp], device 0: pcspeaker [pcsp]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 1: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S 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 2: NVidia_1 [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

acharnley 04-12-10 05:09 PM

Re: HDMI on GTX240 still not working
 
speaker-test -D plughw:2,3

speaker-test 1.0.22

Playback device is plughw:2,3
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
Time per period = 2.645693
0 - Front Left
Time per period = 2.986473

-------------------------------------------------

02:00.0 VGA compatible controller: nVidia Corporation Device 0ca3 (rev a2) (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 19
Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at ec00 [size=128]
[virtual] Expansion ROM at fbf00000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <4us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB
Capabilities: [b4] Vendor Specific Information <?>
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel driver in use: nvidia
Kernel modules: nvidia, nouveau

02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at fbffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <1us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

acharnley 04-12-10 05:11 PM

Re: HDMI on GTX240 still not working
 
And finally :D, I'm running Slackware64-current, alsa-snapshot (yesterdays), NVIDIA 195.36.15

Ignore the first HDMI my onboard doesn't really have one.

Disabling onboard sound doesn't make it work on the 240.

I am completely stuck.

acharnley 04-13-10 04:23 AM

Re: HDMI on GTX240 still not working
 
I've sorted it, it's a bug with the NVIDIA drivers. If the resolution of the HDMI port is switched to "off" in NVIDIA control panel then SPDIF isn't passed through either.

In windows this can be done, in my case I have a Sony Reciever attached which doesn't need video. Having to use "clone" instead of "off" means you cant use Twinview on the other two video outputs.

Enabled onboard video to handle one screen and twinview turned off for now.

sfer 04-27-10 10:58 AM

Re: HDMI on GTX240 still not working
 
I can confirm this on my Palit GT 240 GDDR5. HDMI audio does not work when the HDMI output is not sending video. This makes things very difficult since I use a CRT connected to the VGA port as my primary monitor and want to have audio from my receiver where my secondary monitor (a TV) is connected as well. If a game runs in fullscreen and changes the video mode so that the HDMI video output turns off, I get no more sound. I'm using the driver 195.36.15 packaged in Ubuntu repositories.

Please fix this.


All times are GMT -5. The time now is 05:08 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.