FillELDBuffer() stops at the first reserved HDMI audio descriptor
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- audio-video-rtc, backend
Hướng nghiên cứu
Bắt đầu với src/nvidia-modeset/src/nvkms-hdmi.c, quanh vòng lặp đếm bộ mô tả của FillELDBuffer() được liên kết trong issue. Kiểm tra cách xử lý các mục SAD dành riêng được đặt về 0 và cách số lượng thu được được đưa vào ELD. Công việc hoàn tất khi các mục dành riêng được bỏ qua và các SAD hợp lệ phía sau xuất hiện trong ELD; hãy xác minh bằng EDID được cung cấp, vốn sẽ báo cáo ba định dạng âm thanh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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. The bug is evident from the code.
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. The soundbar is connected to the TV via ARC.
Describe the bug
In FillELDBuffer(), the loop that counts descriptors stops when it reaches an entry whose first byte is zero. The driver should skip reserved entries and include the remaining valid and non-reserved descriptors in the ELD.
My TV advertises six Short Audio Descriptors (SADs) in one CTA Audio Data Block. The first is DTS, the next three are reserved, and the last two are stereo Linear PCM and AC-3. The NVIDIA driver only presents DTS to ALSA, omitting Linear PCM and AC-3.
| Descriptor | Raw bytes | Audio format |
|---|---|---|
| 1 | 3d 7e c0 |
DTS, 6 channels |
| 2 | 00 00 00 |
Reserved |
| 3 | 00 00 00 |
Reserved |
| 4 | 00 00 00 |
Reserved |
| 5 | 09 07 07 |
Linear PCM, 2 channels |
| 6 | 15 07 50 |
AC-3, 6 channels |
To Reproduce
- Connect the RTX 3060 to the TV over HDMI with the TV advertising the Audio Data Block above. The complete EDID is included below.
- Read the ALSA ELD for the TV. On my system this is
/proc/asound/card0/eld#0.0. - Observe that the ELD is valid but reports
sad_count 1and lists only DTS. I expect three formats, including stereo PCM and AC-3.
Bug Incidence
Always when this EDID is in use.
nvidia-bug-report.log.gz
Download the redacted diagnostics
More Info
When I override the EDID to remove the reserved entries, the driver correctly reports DTS, stereo PCM, and Dolby Digital.
Complete HDMI EDID and ALSA ELD
/sys/class/drm/card0-HDMI-A-1/edid
00 ff ff ff ff ff ff 00 59 3a 13 10 01 01 01 01
00 18 01 03 80 6e 3e 78 2a 92 2d a3 55 53 9c 25
0b 47 4a 25 ce 00 d1 c0 01 01 01 01 01 01 01 01
01 01 01 01 01 01 04 74 00 30 f2 70 5a 80 b0 58
8a 00 47 68 42 00 00 1e 02 3a 80 18 71 38 2d 40
58 2c 45 00 47 68 42 00 00 1e 00 00 00 fc 00 50
35 30 32 75 69 2d 42 31 0a 20 20 20 00 00 00 fd
00 19 4c 0f 50 1e 00 0a 20 20 20 20 20 20 01 ad
02 03 3b 71 4d 01 06 07 02 03 05 90 04 20 5d e2
5f 64 32 3d 7e c0 00 00 00 00 00 00 00 00 00 09
07 07 15 07 50 83 01 00 00 71 03 0c 00 40 00 38
3c e0 01 01 01 01 00 60 01 03 04 02 3a 80 18 71
38 2d 40 58 2c 45 00 47 68 42 00 00 1e 01 1d 00
72 51 d0 1e 20 6e 28 55 00 47 68 42 00 00 1e 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55
/proc/asound/card0/eld#0.0
monitor_present 1
eld_valid 1
codec_pin_nid 0x4
codec_dev_id 0x0
codec_cvt_nid 0x8
monitor_name P502ui-B1
connection_type HDMI
eld_version [0x2] CEA-861D or below
edid_version [0x3] CEA-861-B, C or D
manufacture_id 0x3a59
product_id 0x1013
port_id 0x100
support_hdcp 0
support_ai 0
audio_sync_delay 2
speakers [0x1] FL/FR
sad_count 1
sad0_coding_type [0x7] DTS
sad0_channels 6
sad0_rates [0x1ec0] 44100 48000 88200 96000 176400 192000
sad0_max_bitrate 1536000
- Ngôn ngữ chính
- C
- Star
- 17.7k
- Fork
- 2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/open-gpu-kernel-modules
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootCó thể đã có người làm @SammyTourani đã nhận 69 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
HKC G27H7Pro redundant long-HPD loop after DisplayPort link training (RTX 5060 Laptop, 610.57.04)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NVIDIA/open-gpu-kernel-modules#1323 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NVIDIA/open-gpu-kernel-modules
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Jstar269/nakagawa-recomp#3753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
ly05010419/MacNativeGames#2474 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Life-Framework/Life-Framework#7017 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gjrtimmer/jetson-nvmpi#170 ·