After last weekend’s update (which I’m often weary, when there are north of 1000 packages updated), I don’t have sound anymore. Prior to that, no problem with sound at all, I have used the same setup now for close to 10 years without problems.
My sound is a Radeon graphics card connected via HDMI to the AV receiver.
I have two Radeon graphics cards in my computer, with identical PCI Vendor/Device ID, but different Subvendor/Device ID
lspci -nn -v
...
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9] (prog-if 00 [VGA controller])
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:e233]
Flags: bus master, fast devsel, latency 0, IRQ 99, IOMMU group 15
Memory at e0000000 (64-bit, prefetchable) [size=256]
Memory at fc920000 (64-bit, non-prefetchable) [size=128]
I/O ports at e000 [size=256]
Expansion ROM at fc900000 [disabled] [size=128]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] [1002:aa68]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:aa68]
Flags: bus master, fast devsel, latency 0, IRQ 102, IOMMU group 15
Memory at fc940000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9] (prog-if 00 [VGA controller])
Subsystem: PC Partner Limited / Sapphire Technology Radeon HD 5450 [174b:e127]
Flags: bus master, fast devsel, latency 0, IRQ 101, IOMMU group 16
Memory at d0000000 (64-bit, prefetchable) [size=256]
Memory at fce20000 (64-bit, non-prefetchable) [size=128]
I/O ports at f000 [size=256]
Expansion ROM at 000c0000 [disabled] [size=128]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
0a:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] [1002:aa68]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:aa68]
Flags: bus master, fast devsel, latency 0, IRQ 104, IOMMU group 16
Memory at fce40000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
...
The 0a:00.1 card is the one connected to the AV receiver, other card is one with two DVI plugs for my normal dual monitor setup.
I have now configured in yast both devices, aplay -L delivers:
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
speexrate
Rate Converter Plugin Using Speex Resampler
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
default
Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI_1,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
but neither pulseaudio nor direct alsa play (or using mplayer with -ao alsa:device=hw=0,3 or 1,3 gets me any sound. But the sinks happily take the audio data.
aplay -D hw:0,3 -vv /usr/share/sounds/alsa/test.wav happily works, as does any player using pulseaudio.
I haven’t found anything suspicious in dmesg about it. Grepping for sound, hda or radeon:
alex@horus:~/a/h> dmesg |grep sound
7.461476] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:00.0/0000:04:00.1/sound/card0/input14
7.461561] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card1/input13
alex@horus:~/a/h> dmesg |grep hda
7.450512] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
7.450712] snd_hda_intel 0000:0a:00.1: Handle vga_switcheroo audio client
76.754420] snd_hda_intel 0000:04:00.1: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
87.362665] snd_hda_intel 0000:0a:00.1: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
alex@horus:~/a/h> dmesg |grep radeon
4.474553] [drm] radeon kernel modesetting enabled.
4.474738] radeon 0000:04:00.0: enabling device (0000 -> 0003)
4.621378] radeon 0000:04:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
4.621380] radeon 0000:04:00.0: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
4.621399] [drm] radeon: 512M of VRAM memory ready
4.621400] [drm] radeon: 1024M of GTT memory ready.
4.623991] [drm] radeon: dpm initialized
4.627402] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
4.631528] radeon 0000:04:00.0: WB enabled
4.631529] radeon 0000:04:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00
4.631530] radeon 0000:04:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c
4.632980] radeon 0000:04:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
4.633032] radeon 0000:04:00.0: radeon: MSI limited to 32-bit
4.633079] radeon 0000:04:00.0: radeon: using MSI.
4.633107] [drm] radeon: irq initialized.
5.122803] radeon 0000:04:00.0: [drm] fb1: radeondrmfb frame buffer device
5.173014] [drm] Initialized radeon 2.50.0 20080528 for 0000:04:00.0 on minor 0
5.173036] fb0: switching to radeon from VESA VGA
5.173129] radeon 0000:0a:00.0: vgaarb: deactivate vga console
5.173379] radeon 0000:0a:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
5.173380] radeon 0000:0a:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
5.173386] [drm] radeon: 1024M of VRAM memory ready
5.173387] [drm] radeon: 1024M of GTT memory ready.
5.207923] [drm] radeon: dpm initialized
5.242904] radeon 0000:0a:00.0: WB enabled
5.242905] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
5.242905] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
5.243269] radeon 0000:0a:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
5.243333] radeon 0000:0a:00.0: radeon: MSI limited to 32-bit
5.243369] radeon 0000:0a:00.0: radeon: using MSI.
5.243390] [drm] radeon: irq initialized.
6.201660] fbcon: radeondrmfb (fb0) is primary device
6.280618] radeon 0000:0a:00.0: [drm] fb0: radeondrmfb frame buffer device
6.280831] [drm] Initialized radeon 2.50.0 20080528 for 0000:0a:00.0 on minor 1
14.924437] radeon 0000:04:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
14.924441] radeon 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
any ideas what has changed in the last tumbleweed update?
I noticed that in the update, the display names were changed (which xfce uses for assigning the correct background image. Now they are DVI-I-2 and DVI-I-3, I’m pretty sure DVI-I-3 wasn’t there previously, so there definitely something has happened the way the displays (and perhaps with it the audio from the HDMI) are presented to the system.[/size][/size][/size][/size][/size][/size][/size][/size][/size][/size]