NVIDIA / NVIDIA/open-gpu-kernel-modules

System freeze after suspend/resume on Wayland + GNOME with open driver 595.71.05

Open
#1,137 3 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

595.71.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

CachyOS Linux (rolling)

Kernel Release

7.0.5-1-cachyos

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 4060 Laptop GPU

Describe the bug

The system completely freezes after resuming from suspend (sleep) while
running a GNOME Wayland session. The screen is frozen, no input works,
and the only way out is a forced reboot.

Before the freeze, the following critical errors appear in the journal:

  • gnome-shell: "Cursor update failed: drmModeAtomicCommit: Invalid argument"
  • Xwayland crashes with a backtrace ending in:
    drmIoctl / drmSyncobjTimelineWait / libnvidia-glcore.so.595.71.05

At boot, the driver also reports:
NVRM: GPU0 nvAssertOkFailedNoLog: Assertion failed: Invalid data passed
[NV_ERR_INVALID_DATA] ...

To Reproduce
  • Use GNOME on Wayland with an external HDMI monitor connected
    to the NVIDIA GPU
  • Put the system to sleep (suspend/s2idle)
  • Wake the system
  • After some time (sometimes immediately, sometimes after minutes),
    the desktop freezes completely
Bug Incidence

Sometimes

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

Additional logs from journalctl (previous boot with the freeze):
journalctl -b -1 | grep -iE "nvrm|gpu|xwayland|mutter|drm|hang|lockup"

Key lines:
gnome-shell: Cursor update failed: drmModeAtomicCommit: Invalid argument
Xwayland crash: drmIoctl -> drmSyncobjTimelineWait -> libnvidia-glcore.so.595.71.05

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 with the attached nvidia-bug-report.log.gz and the journalctl output from the previous boot, focusing on the GNOME Shell DRM error, Xwayland backtrace, and NVRM assertion. Reproduce the suspend/resume sequence with GNOME Wayland and an external HDMI monitor, then verify that the system resumes without the freeze or corresponding errors.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.