You are not logged in.
According to the feature matrix at https://nouveau.freedesktop.org/wiki/FeatureMatrix HDMI sound should work om my card (NVE0). But whatever I do it seems I cannot get any sound out of it when using the Nouveau driver. Tested it also with the closed source driver from Nvidia and then I have sound so its not a port or cable issue.
I have checked alsamixer for muted channels (not the case), rebuild the system clean on a second disk to make sure nothing in my config was the issue. And still nothing.
CHecked if the HDA-intel modules where loaded and that also seems the case
According to aplay -l the hdmi output is card 1 with devices 3 and than 7 till 12. I tried all devices for sound with aplay -D (see code below) and non gave any sound.
aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Right.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
I understand that using the closedsource drivers are a solution but that is no option for me at this moment. Still I need to get sound out op the card somehow.
Relevant information
System:
Host: myarchlin Kernel: 5.6.3-arch1-1 x86_64 bits: 64 compiler: gcc
v: 9.3.0 Desktop: Gnome 3.36.1 Distro: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter>
Mobo: Gigabyte model: Z77M-D3H serial: <filter> UEFI: American Megatrends
v: F5 date: 03/29/2012
CPU:
Topology: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP
arch: Ivy Bridge rev: 9 L2 cache: 8192 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54903
Speed: 1997 MHz min/max: 1600/3900 MHz Core speeds (MHz): 1: 1997 2: 2010
3: 3153 4: 2917 5: 1983 6: 1892 7: 2021 8: 3171
Graphics:
Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GK104 [GeForce GTX 660 Ti] vendor: ASUSTeK
driver: nouveau v: kernel bus ID: 01:00.0
Display: wayland server: X.Org 1.20.8 driver: modesetting,nouveau
resolution: 1920x1080~60Hz, 1920x1080~60Hz
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: NVIDIA GK104 HDMI Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 01:00.1
Device-2: Creative Labs CA0110 [Sound Blaster X-Fi Xtreme Audio]
driver: snd_hda_intel v: kernel bus ID: 03:00.0
Device-3: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
bus ID: 2-4:2
Sound Server: ALSA v: k5.6.3-arch1-1
/proc/asound % cat cards
0 [U0x46d0x81b ]: USB-Audio - USB Device 0x46d:0x81b
USB Device 0x46d:0x81b at usb-0000:00:14.0-4, high speed
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
2 [Creative ]: HDA-Intel - HDA Creative
HDA Creative at 0xf7900000 irq 16
% aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 0: CA0110-IBG Analog [CA0110-IBG Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 1: CA0110-IBG Digital [CA0110-IBG Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
% pacmd list-sources
index: 11
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max rewind: 0 KiB
sample spec: s32le 2ch 32000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
monitor_of: 9
card: 0 <alsa_card.pci-0000_01_00.1>
module: 6
properties:
device.description = "Monitor of GK104 HDMI Audio Controller Digital Stereo (HDMI)"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "0e0a"
device.product.name = "GK104 HDMI Audio Controller"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
lsmod | grep snd
snd_hda_codec_ca0110 16384 1
snd_hda_codec_generic 94208 1 snd_hda_codec_ca0110
snd_hda_codec_hdmi 73728 1
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_intel 57344 5
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_usb_audio 294912 1
snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_ca0110,snd_hda_codec_hdmi,snd_hda_intel
snd_usbmidi_lib 40960 1 snd_usb_audio
snd_rawmidi 45056 1 snd_usbmidi_lib
snd_hda_core 106496 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_device 16384 1 snd_rawmidi
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 143360 5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
mc 61440 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_timer 40960 1 snd_pcm
snd 110592 23 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
No idea what to do next....
Last edited by Archlin (2020-04-13 08:43:51)
Offline
Kernel level everything looks fineish maybe just a matter of enabling it on the relevant xorg screen? Try
xrandr --output $output --set audio on
maybe post the outputs of
dmesg | grep -iE 'nouveau|snd'
xrandr --verbose
Offline
Oke second command gives some info:
dmesg | grep -iE 'nouveau|snd'
xrandr --verbose
[ 1.637303] nouveau 0000:01:00.0: enabling device (0000 -> 0003)
[ 1.637454] nouveau 0000:01:00.0: NVIDIA GK104 (0e4030a2)
[ 1.778199] nouveau 0000:01:00.0: bios: version 80.04.4b.00.5b
[ 1.985612] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
[ 2.055398] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
[ 2.055400] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[ 2.055402] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[ 2.055403] nouveau 0000:01:00.0: DRM: DCB version 4.0
[ 2.055405] nouveau 0000:01:00.0: DRM: DCB outp 00: 01000f02 00020030
[ 2.055406] nouveau 0000:01:00.0: DRM: DCB outp 01: 02000f00 00000000
[ 2.055407] nouveau 0000:01:00.0: DRM: DCB outp 02: 08011f82 00020030
[ 2.055408] nouveau 0000:01:00.0: DRM: DCB outp 03: 02822f62 0f420010
[ 2.055409] nouveau 0000:01:00.0: DRM: DCB outp 05: 04833fb6 0f420010
[ 2.055410] nouveau 0000:01:00.0: DRM: DCB outp 06: 04033f72 00020010
[ 2.055412] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001030
[ 2.055413] nouveau 0000:01:00.0: DRM: DCB conn 01: 00020131
[ 2.055414] nouveau 0000:01:00.0: DRM: DCB conn 02: 00002261
[ 2.055415] nouveau 0000:01:00.0: DRM: DCB conn 03: 00010346
[ 2.055416] nouveau 0000:01:00.0: DRM: DCB conn 04: 00000460
[ 2.056979] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[ 2.263850] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0xa0000, bo 00000000b8faf71a
[ 2.263917] nouveau 0000:01:00.0: fb1: nouveaudrmfb frame buffer device
[ 2.290649] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
[ 2.340034] nouveau 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 4.541611] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 4.541697] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 4.541701] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 4.541778] snd_hda_intel 0000:03:00.0: enabling device (0000 -> 0002)
[ 4.548302] snd_hda_intel 0000:03:00.0: CORB reset timeout#1, CORBRP = 0
[ 4.637997] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[ 4.648337] snd_hda_codec_ca0110 hdaudioC2D1: autoconfig for CA0110-IBG: line_outs=4 (0xb/0xd/0xc/0xe/0x0) type:line
[ 4.648339] snd_hda_codec_ca0110 hdaudioC2D1: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.648340] snd_hda_codec_ca0110 hdaudioC2D1: hp_outs=1 (0xf/0x0/0x0/0x0/0x0)
[ 4.648341] snd_hda_codec_ca0110 hdaudioC2D1: mono: mono_out=0x0
[ 4.648342] snd_hda_codec_ca0110 hdaudioC2D1: dig-out=0x12/0x0
[ 4.648343] snd_hda_codec_ca0110 hdaudioC2D1: inputs:
[ 4.648344] snd_hda_codec_ca0110 hdaudioC2D1: Mic=0x11
[ 4.648345] snd_hda_codec_ca0110 hdaudioC2D1: Line=0x10
[ 4.648346] snd_hda_codec_ca0110 hdaudioC2D1: dig-in=0x13
[ 5.699546] usbcore: registered new interface driver snd-usb-audio
[ 1807.633871] snd_hda_intel 0000:01:00.1: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
Last edited by Archlin (2020-04-11 15:28:02)
Offline
I am having the same issue with nouveau since today's upgrade of my HTPC. In my case downgrading to linux-5.5.13.arch2-1 fixed the problem.
Offline
Indeed a kernel issue as it seems, downgrading did the trick. Sound is up and running on nouveau
thx mvn23
Offline
For reference, relevant kernel bug report can be found here.
Offline