NVIDIA / NVIDIA/open-gpu-kernel-modules

RTX3070 fails to resume from suspend. Fail to determine display capabilities. Failed to tear down display.

Open
#360 2 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

nvidia-open-dkms 515.65.01-10

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

Yes

Operating System and Version

Arch Linux

Kernel Release

Linux archlinux 5.19.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 31 Aug 2022 22:09:42 +0000 x86_64 GNU/Linux

Hardware: GPU

GPU 0: NVIDIA GeForce RTX 3070 Laptop GPU (UUID: GPU-cc7080b8-a8bb-7670-3c92-ae4535025206)

Describe the bug

On wake-up from sleep system usually freezes until hard reset then boots normally. Sometimes I’ll get a black screen with a single cursor then freeze or the login screen will come up after a delay but the system runs remarkably slow. Journal shows

archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed to determine display capabilities
archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed to tear down Disp
archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed to determine display capabilities
archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed to tear down Disp
archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed detecting connected display devices
archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed detecting connected display devices
archlinux kernel: nvidia-modeset: ERROR: GPU:0: Failed detecting connected display devices

I also posted this error a while back at https://forums.developer.nvidia.com/t/nvidia-515-48-07-fails-to-detect-laptop-display-on-wake-up-from-sleep-on-arch-linux/217657 with no response.

After wake-up nvidia-smi:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  ERR!                On   | 00000000:01:00.0 N/A |                  N/A |
|ERR!  ERR! ERR!     N/A /  N/A |     17MiB /  8192MiB |     N/A      Default |
|                               |                      |                 ERR! |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

nvidia-persistence daemon:

* nvidia-persistenced.service - NVIDIA Persistence Daemon
     Loaded: loaded (/usr/lib/systemd/system/nvidia-persistenced.service; enabled; preset: disabled)
     Active: active (running) since Sun 2022-09-04 19:17:24 CDT; 38min ago
    Process: 732 ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced (code=exited, status=0>
   Main PID: 734 (nvidia-persiste)
      Tasks: 1 (limit: 76928)
     Memory: 800.0K
        CPU: 5ms
     CGroup: /system.slice/nvidia-persistenced.service
             `-734 /usr/bin/nvidia-persistenced --user nvidia-persistenced

Sep 04 19:17:24 archlinux systemd[1]: Starting NVIDIA Persistence Daemon...
Sep 04 19:17:24 archlinux nvidia-persistenced[734]: Started (734)
Sep 04 19:17:24 archlinux systemd[1]: Started NVIDIA Persistence Daemon.

lsmod grep | nvidia:

nvidia_drm             73728  12
nvidia_uvm           2801664  4
nvidia_modeset       1359872  8 nvidia_drm
nvidia               5287936  1196 nvidia_uvm,nvidia_modeset

I've done quite a bit of googling trying to figure this one out. I can't seem to find anyone else with this issue. I'm hoping someone here has some insight.

To Reproduce

Arch linux on Oryx Pro Laptop Intel with Nvidia 3070 hybrid.
Install open-dkms driver
close lid or enter sleep
try to wakeup

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

Successful resume from suspend.

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 suspend/resume reproduction on the Arch Linux hybrid RTX 3070 setup and inspect the attached nvidia-bug-report.log.gz alongside the listed nvidia-modeset errors. Compare the driver state before suspend and after wake, using the reported nvidia-smi output and kernel logs. Done means resume completes without a freeze, black screen, display-detection errors, or an unusable GPU.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.