NVIDIA / NVIDIA/open-gpu-kernel-modules

Rendering freeze randomly Xorg

Open
#799 5 comments 0 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

570.124, 570.86.16, 580.76.05

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

Ubuntu 24.04.2 LTS
Ubuntu 25
Fedora Linux 41

Kernel Release

6.8.0-53-generic
6.13.5-200.fc41.x86_64
6.14.0-27-generic

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

RTX 4070 Super

Describe the bug

This issue does not happen in 550 driver

Game freezes with sound still on. glxgears also stalls see below

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 glxgears -info

81984 frames in 5.0 seconds = 16396.758 FPS
82922 frames in 5.0 seconds = 16584.396 FPS
83299 frames in 5.0 seconds = 16659.689 FPS
82730 frames in 5.0 seconds = 16545.838 FPS
82527 frames in 5.0 seconds = 16505.264 FPS
83134 frames in 5.0 seconds = 16626.670 FPS
82979 frames in 5.0 seconds = 16595.746 FPS
82940 frames in 5.0 seconds = 16587.967 FPS
82471 frames in 5.0 seconds = 16494.156 FPS
81934 frames in 5.0 seconds = 16386.691 FPS
81535 frames in 5.0 seconds = 16306.840 FPS
12904 frames in 6.1 seconds = 2115.812 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
3 frames in 5.1 seconds =  0.586 FPS
5037 frames in 5.0 seconds = 1007.392 FPS
81522 frames in 5.0 seconds = 16304.204 FPS
81621 frames in 5.0 seconds = 16323.941 FPS
82585 frames in 5.0 seconds = 16516.914 FPS
To Reproduce

A. Steam

  1. Login in Xorg
  2. Launch steam game via proton and wait
    B. glxgears
  3. Run this: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 glxgears -info
  4. Do something and wait
Bug Incidence

Always
Related: https://www.reddit.com/r/linux_gaming/comments/1f6a7re/elden_ring_freezes_with_560_nvidia_drivers/

nvidia-bug-report.log.gz

n/a

More Info

I am using Ubuntu 24.04.2.

My system is hybrid graphics where iGPU is AMDGPU from the CPU, and dGPU. The monitor is connected to iGPU. Hybrid graphics is also enabled in UEFI/BIOS, the boot process favors iGPU. In my system, my xorg does not seem to have an xorg config so i have to generate it.

Possible workaround:

  1. Regenerate xorg config:
    sudo Xorg -configure
    
  2. Edit the file to include the following Option "PageFlip" "false":
    Section "Device"
            ... other settings here ...
    	Driver      "amdgpu"
    	Option "PageFlip" "false"
    EndSection
    
    Note: That adding Option "PageFlip" "false" to the dGPU has caused my system to display anything after resume. There is sound though, so I am certain it did resume, just there is no display
  3. Move the file to /etc/X11:
    sudo mv /root/xorg.conf.new /etc/X11/xorg.conf
    
  4. Restart your display manager
    sudo systemctl restart display-manager
    

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 reproducing the freeze with the listed Steam/Proton scenario and the provided glxgears command on the hybrid AMDGPU/NVIDIA Xorg setup. Compare behavior with driver 550 and the documented PageFlip workaround; done means the rendering stall is isolated and the issue is resolved or the required diagnostic evidence is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.