Bug 216635 - Intel Arc A750: HDMI audio works once per boot
Summary: Intel Arc A750: HDMI audio works once per boot
Status: RESOLVED MOVED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: Jaroslav Kysela
URL: https://gitlab.freedesktop.org/drm/in...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-28 19:43 UTC by Justin Brewer
Modified: 2022-11-03 10:49 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.0.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
alsa-info (65.03 KB, text/plain)
2022-10-28 19:43 UTC, Justin Brewer
Details

Description Justin Brewer 2022-10-28 19:43:49 UTC
Created attachment 303103 [details]
alsa-info

While investigating a total lack of HDMI audio in Pipewire on an Intel Arc A750, I found that HDMI audio is only audible with speaker-test / aplay once per boot. Motherboard's onboard audio functions normally, both through Pipewire and ALSA directly. This system was upgraded from an AMD R9 390 where HDMI audio functioned normally.

Hardware: Gigabyte B450 AORUS M, Ryzen 5 5600X, Intel Arc A750

Tested on 6.0.2, 6.0.3, 6.0.5, 6.1-rc2, and drm-tip (@ commits 9d6a004b1594b83b2d94776daa23757892423837, and 0f9cbc285f7d3d1860f7f903663933f33ff9ae25).

I masked all of Pipewire's services in systemd to prevent it from interfering with the tests.

Test case:
(reboot)
# speaker-test -D hdmi:CARD=PCH,DEV=0 -c2 -l2
speaker-test 1.2.8

Playback device is hdmi:CARD=PCH,DEV=0
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 - Front Left
 1 - Front Right
Time per period = 10.934108
 0 - Front Left
 1 - Front Right
Time per period = 9.821655
# speaker-test -D hdmi:CARD=PCH,DEV=0 -c2 -l2
speaker-test 1.2.8

Playback device is hdmi:CARD=PCH,DEV=0
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 - Front Left
 1 - Front Right
Time per period = 10.934176
 0 - Front Left
 1 - Front Right
Time per period = 10.933932

Sound is audible during the first run, but not the second or any subsequent runs.
Comment 1 Artem S. Tashkinov 2022-10-29 07:19:06 UTC
Please post here instead https://gitlab.freedesktop.org/drm/intel/-/issues
Comment 2 Artem S. Tashkinov 2022-10-29 07:20:32 UTC
Never mind, it's an ALSA bug.

Still it makes sense to open your bug report at Intel's bug tracker as well.
Comment 3 Justin Brewer 2022-10-29 13:07:32 UTC
Opened an issue there as well, thanks.

https://gitlab.freedesktop.org/drm/intel/-/issues/7353

Note You need to log in before you can comment on or make changes to this bug.