NVIDIA / NVIDIA/open-gpu-kernel-modules
# HDMI 4K display corruption when switching from DisplayPort output
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
NVIDIA Open GPU Kernel Modules Version
595.45.04
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
Bazzite
Kernel Release
Linux bazzite 6.17.7-ba28.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Mar 8 17:54:59 UTC 2026 x86_64 GNU/Linux
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
NVIDIA GeForce RTX 5080 (UUID: GPU-7b39252c-fa11-7943-0f27-75a357c4e753)
Describe the bug
When gamescope switches its preferred output from a DisplayPort connector to an HDMI connector, 4K (3840x2160) modes produce severe visual corruption on the HDMI display (a 4K TV). The image shows ghosting/doubling artifacts as if the display timings or pixel format are wrong.
Lower resolutions (1920x1080, 2560x1440) work correctly on the same HDMI output after the same DP-to-HDMI switch. 4K also works correctly on the HDMI output when:
- The system boots with ONLY the HDMI TV connected (no DP monitors)
- The system boots with HDMI as the primary display, DP monitors are connected afterward, and then switching back to HDMI
The issue ONLY occurs when the system boots on a DisplayPort output and then gamescope is restarted with --prefer-output {HDMI}.
To Reproduce
- Connect a DisplayPort monitor and an HDMI 4K to the same RTX 5080 GPU
- Boot the system with gamescope session on the DisplayPort output (
--prefer-output {DP}) - Change the
OUTPUT_CONNECTORenvironment variable to{HDMI} - Restart the gamescope session (via
steamos-session-select gamescopewhich doessystemctl restart sddm) - Observe: 4K output on the HDMI is corrupted with ghosting/doubling artifacts
Bug Incidence
Always
nvidia-bug-report.log.gz
More Info
Tested variables (none of these fixed the 4K corruption)
| What was tried | Result |
|---|---|
Disable HDR (ENABLE_GAMESCOPE_HDR=0, removes --hdr-enabled) |
Still corrupted at 4K |
Force resolution (-W 3840 -H 2160) |
Still corrupted |
Force DRM mode generation (--generate-drm-mode fixed) |
Still corrupted |
DRM debugfs force cycle (echo off/on > .../{HDMI}//force) |
Still corrupted |
nvidia-modeset.hdmi_deepcolor=0 kernel param |
No signal at all on HDMI |
Lower resolution (-W 2560 -H 1440 or -W 1920 -H 1080) |
Works correctly |
DRM state during corruption
plane[51]: plane-0
crtc=crtc-0
fb=156
allocated by = gamescope-xwm
format=XB30 little-endian (0x30334258) # 10-bit even without HDR flag
size=3840x2160
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr full range
Workaround
Setting a lower resolution (2560x1440 or 1920x1080) via gamescope's -W/-H flags produces a clean image on the HDMI after DP-to-HDMI switch. Only 4K (3840x2160) is affected.
Gamescope command line (with HDR disabled)
/usr/bin/gamescope --prefer-output HDMI-A-2 --xwayland-count 2 \
--default-touch-mode 4 --hide-cursor-delay 3000 \
--fade-out-duration 200 --steam
System info
- GPU: NVIDIA RTX 5080 (PCI
0000:01:00.0) - Driver: 595.45.04 (open kernel modules)
- Connectors on Nvidia GPU: DP-2, DP-3, DP-4, HDMI-A-2
- TV: 4K HDMI 2.1 TV
- Monitor: 1920x1080 DisplayPort monitor
- Also present: AMD iGPU (
0000:0c:00.0) with DP-1, HDMI-A-1 (not involved)
Bug Incidence
Always reproducible: 100% when switching from DP to HDMI at 4K. 0% at 1440p or lower. 0% when HDMI is the boot display.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing nvidia-bug-report.log.gz and reproducing the documented gamescope DP-to-HDMI switch on the RTX 5080 at 3840x2160. Compare DRM state and behavior with 1440p and with HDMI booted as the primary display; done means 4K HDMI remains corruption-free after the switch without regressing the working cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100