I just installed stretch on a new machine (Ryzen 5 2600 / AMD RX 570 GPU / AsRock B450-M Pro / Samsung 43NU6950 display), and am having various display driver-related (I think) difficulties with appropriate modelines and with having no sound (over HDMI or otherwise):
* Initially X ran at a max resolution of 1920x1080, and refused explicit modelines suitable for the 4K monitor. AFAICT by inspecting Xorg.0.log, it tried running the radeon driver, which apparently doesn't support the Polaris 12 GPU in my RX 570, and fell back to the VESA driver.
* To get around this I installed the AMDGPU driver, e.g. just installed linux-firmware. This did succeed in running at 4K, but the system has no sound. Apparently AMDGPU doesn't support sound over HDMI until the DC improvements consequent to kernel 4.15 and later, but that aside, I wasn't even getting sound out of the onboard analog audio ports, and no audio device showed in the audio controls other than "Simultaneous Audio" without any underlying physical devices.
* This seemed odd because the snd_hda_intel module was loaded, and there were no obvious audio-related errors in syslog. All I see is:
- Code: Select all
Dec 14 23:33:38 celly kernel: [147930.102594] snd_hda_intel 0000:23:00.1: Handle vga_switcheroo audio client
Dec 14 23:33:38 celly kernel: [147930.102600] snd_hda_intel 0000:23:00.1: Force to non-snoop mode
Dec 14 23:33:38 celly kernel: [147930.110024] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0/input20
Dec 14 23:33:38 celly kernel: [147930.110148] input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0/input21
Dec 14 23:33:38 celly kernel: [147930.110261] input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0/input22
Dec 14 23:33:38 celly kernel: [147930.110377] input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0/input23
Dec 14 23:33:38 celly kernel: [147930.110491] input: HDA ATI HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0/input24
Dec 14 23:33:38 celly kernel: [147930.110601] input: HDA ATI HDMI HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:23:00.1/sound/card0/input25
Dec 14 23:33:38 celly systemd[1]: Reached target Sound Card.
Dec 14 23:33:38 celly kernel: [147930.116426] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
Dec 14 23:33:38 celly kernel: [147930.116433] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Dec 14 23:33:38 celly kernel: [147930.116437] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
Dec 14 23:33:38 celly kernel: [147930.116440] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
Dec 14 23:33:38 celly kernel: [147930.116444] snd_hda_codec_realtek hdaudioC1D0: inputs:
Dec 14 23:33:38 celly kernel: [147930.116448] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19
Dec 14 23:33:38 celly kernel: [147930.116452] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18
Dec 14 23:33:38 celly kernel: [147930.116455] snd_hda_codec_realtek hdaudioC1D0: Line=0x1a
Dec 14 23:33:38 celly systemd-udevd[4669]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 0' failed with exit code 99.
That's where matters stand. If I could get analog audio out, that would be something, but I'd like audio over HDMI. Advice welcome; possible paths forward I see right now are:
* Try the AMDGPU-PRO driver, which supposedly doesn't have the audio-over-HDMI issue (whether this would address the underlying complete lack of audio problem is not clear to me).
* Update to testing, which supports a kernel recent enough that it might support the DC layer improvements needed for AMDGPU audio-over-HDMI (again, whether this has any bearing on the lack of analog audio is unclear). I'm averse to doing this since this is intended to be my primary desktop / production system.