NVIDIA / NVIDIA/open-gpu-kernel-modules

{Wayland} Screen tearing in Proton/Vulkan Games

Open
#521 4 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

nvidia-open-dkms 535.54.03-2

Does this happen with the proprietary driver (of the same version) as well?

Yes

Operating System and Version

Arch Linux

Kernel Release

Linux Veil 6.3.8-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 14 Jun 2023 20:10:15 +0000 x86_64 GNU/Linux

Hardware: GPU

NVIDIA GeForce RTX 3090 (UUID: GPU-0a730a3d-f915-32f2-19e0-bef38f6809b4)

Describe the bug

Greetings. I observe screen tearing in Proton/Native games. No screen tearing in desktop/daily usage.
Dual monitor setup. One is Samsung Odyssey g7 240Hz ( DP ), second old Aoc 60Hz (HDMI ).
Disabling GL_VRR_ALLOWED seems fix the issue.
Edit: still observing issues in Elden ring even with disabled GL_VRR_ALLOWED
Edit 2: tested 535.104.05 version. Problem still there.

To Reproduce
  1. Launch any game. ( Elden ring for example )
  2. Move mouse quickly.
  3. Observe tearing.
Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

My env variables

env = GBM_BACKEND, nvidia-drm 
env = LIBVA_DRIVER_NAME, nvidia
env = __GLX_VENDOR_LIBRARY_NAME, nvidia
env = __GL_GSYNC_ALLOWED, 1
env = __GL_VRR_ALLOWED, 1

My modprobe.d/nvidia.conf

options nvidia-drm modeset=1
options nvidia NVreg_UsePageAttributeTable=1
options nvidia NVreg_EnableResizableBar=1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached nvidia-bug-report.log.gz and reproducing the issue with the listed Arch Linux, Wayland, dual-monitor, and environment-variable setup. Compare the behavior in Proton or native games, including Elden Ring, with GL_VRR_ALLOWED enabled and disabled; done means the reported screen tearing no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.