HDMI audio ELD stays stale after the TV wakes and its EDID audio capabilities change

未關閉
#1,636 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c, linux

研究方向

Start by reading ApplyModeSetConfig() and trace how it decides whether a modeset is needed and how ELD updates reach ALSA. The report says the EDID audio capabilities change is not checked among the modeset conditions; identify the relevant code and tests from that entry point. Done means the wake sequence publishes the updated ELD so ALSA reports eld_valid=1 and HDMI audio works.

由索引模型根據 Issue 內容生成。

描述

NVIDIA Open GPU Kernel Modules Version

620.73.04. The loaded module identifies itself in /proc/driver/nvidia/version as “NVIDIA UNIX Open Kernel Module for x86_64”.

Proprietary driver comparison

I have not tested the proprietary kernel module at version 620.73.04.

Operating System and Version

Bazzite 45.20261125 (Silverblue), stable, bazzite-deck-nvidia-gnome.

Kernel Release

7.3.5-ogc3.1.fc45.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 25 04:30:35 UTC 2026, x86_64.

Stable kernel release
  • I am running on a stable kernel release.
Hardware: GPU

NVIDIA GeForce RTX 3060, connected over HDMI to a Vizio P502ui-B1 TV. A Vizio soundbar is connected to the TV via ARC.

Describe the bug

After the TV wakes, I regular experience working video without working audio.

During standby the TV sends an EDID whose first audio descriptor is reserved. The NVIDIA driver publishes an ELD with a descriptor count of zero — see #1635 for the descriptor-parsing issue. ALSA consequently reports monitor_present=1 and eld_valid=0.

After the TV comes out of standby — and possibly only after the soundbar has finished powering on — its EDID advertises DTS in the first descriptor.

However, ALSA continues to report eld_valid=0. I would expect the driver to publish the updated ELD to ALSA when the TV’s audio capabilities change.

I noticed that ApplyModeSetConfig() does not check for a change in EDID audio capabilities among its modeset conditions.

To Reproduce
  1. Connect the RTX 3060 to the Vizio P502ui-B1 over HDMI, with the soundbar connected to the TV via ARC.
  2. Put the TV in standby. In the affected sequence the TV advertises a reserved first audio descriptor and ALSA reports monitor_present=1, eld_valid=0.
  3. Wake the TV and allow the soundbar to power on. Once the first descriptor in the TV’s EDID has changed to DTS, check the TV’s ELD under /proc/asound/card*/eld*.
  4. Video returns, but ALSA still reports eld_valid=0 and HDMI audio is unavailable.
Bug Incidence

Always on the standby/wake sequence described above.

nvidia-bug-report.log.gz

Download the redacted diagnostics.

More Info

In my Gamescope session, forcing a modeset restores audio:

WAYLAND_DISPLAY=gamescope-0 gamescopectl drm_sleep_external_screen 1
sleep 2
WAYLAND_DISPLAY=gamescope-0 gamescopectl drm_sleep_external_screen 0

Afterward, ALSA reports monitor_present=1 and eld_valid=1, and audio works.

Original forum report

主要語言
C
星號
17.7k
分支
2k
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/open-gpu-kernel-modules 的其他 Issue

查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。