我在我的 USFF HP ProDesk 400 G5 和连接的 4k 电视上遇到了 Debian 问题(屏幕撕裂、分辨率和声音问题),所以我想给 Fedora 一个机会。
我已启动最新的 Workstation Live 映像 (Fedora-Workstation-Live-x86_64-35-1.2),但 HDMI 输出在 gnome 设置中无法用作声音输出设备。
$ uname -a
Linux localhost-live 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
speaker-test -D hw:0,3 -c 2 -l 1
( 或)不发出声音hw:0,7
。hw:0,0
是内置扬声器并且可以工作。
的输出speaker-test
:
speaker-test 1.2.5.1
Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Unknown
1 - Unknown
Time per period = 10.936630
以前,在 Debian 上我将分辨率设置为 1080p,然后 HDMI-2 设备允许音频输出,但在高音调时会出现噼啪声。在 Fedora 上,音频输出设备不可用,与设置的分辨率无关。
编辑:我还刚刚在输出中多次注意到以下几行dmesg
:
[ 2557.558262] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin NID 0x5 not registered
[ 2557.568877] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin NID 0x6 not registered
如何使 HDMI 输出设备在 Fedora 上可用?