Steam Deck OLED: DisplayPort alt mode times out on live USB-C plug-in and is never retried (works on LCD); forced hotplug re-probe fixes it
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 18/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
The failure is the amdgpu alt mode timeout logged as 'Alt mode has timed out after 504 ms' during USB-C DisplayPort negotiation on DP-1, and the reporter's workaround is the debugfs node /sys/kernel/debug/dri/0/DP-1/trigger_hotplug. Start by reading the amdgpu DP alt mode and hotplug handling in the kernel source, then reproduce with dmesg on a Deck OLED. Done would mean the display recovers after a timeout without the manual trigger, confirmed across repeated plug-ins.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hardware and software
Steam Deck OLED, SteamOS 3.9.5[Stable/Beta; tested on both], kernel 7.2.7-valve2-2-neptune-72-g31504582a073, BIOS [version]F7G0114
RayNeo Air 4 Pro AR glasses (USB ID 1bbb:af50), direct USB-C, the cable supplied with them
The same glasses and cable work instantly on my Steam Deck LCD
Problem
Plugging the glasses in while the Deck is awake gives a brief system stutter and no picture. dmesg shows:
amdgpu 0000:04:00.0: [drm] Alt mode has timed out after 504 ms
The USB bus then re-registers and the glasses appear only as a USB HID device. The display never appears, and the driver never tries again. It happens in both gaming mode and desktop mode. In desktop mode, KDE sometimes shows the output as disabled afterwards.
What works
Connecting the glasses before boot, or sleeping and waking the Deck with them connected, brings the display up.
A dock works fine on the same port.
Workaround and result
Running echo 1 > /sys/kernel/debug/dri/0/DP-1/trigger_hotplug after the glasses enumerate brings the display up. I automated it with a udev rule that runs this when the glasses' USB device appears. Across 9 consecutive plug-ins, the display never recovered on its own (the script found it still disconnected every time), and the trigger fixed it every time, with delays of 3, 1 and 0 seconds. No delay is needed. The retry only has to happen after the glasses enumerate.
Ruled out: different cables, Stable vs Beta, BIOS/firmware reset, HDR on/off, 90Hz vs lower refresh rate, USB/DeckMTP settings (identical on my LCD).
Related: #1322 shows the same Alt mode has timed out error with a different trigger (Wake-on-LAN through a dock), which suggests the cause is a race in alt mode detection and not something specific to my glasses.
Request: Could the driver retry display detection after an alt mode timeout?
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.7k
- Fork
- 89
- 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
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 ValveSoftware/SteamOS
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
ValveSoftware/SteamOS#3037 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ValveSoftware/SteamOS#2983 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2927 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2875 · 1 bình luận ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ValveSoftware/SteamOS#2829 ·
Tất cả issue của ValveSoftware/SteamOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
AdnanHodzic/auto-cpufreq#992 ·
-
bug priority:p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
LanternOps/breeze#12846 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug compatibility
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
omacom/omarchy#20525 · 1 bình luận ·
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 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
SMP: secondary cores read RUNNING_THREADS without synchronization (READY_CORES is incremented with Relaxed)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
vivoblueos/kernel#591 ·
Maintainer thường phản hồi trong vòng 1 ngày