NVIDIA / NVIDIA/open-gpu-kernel-modules

KDE and GNOME wayland sessions high CPU usage with external displays

Open
#440 6 comments 6 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

525.78.01

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

Yes

Operating System and Version

Arch Linux

Kernel Release

6.1.4

Hardware: GPU

NVIDIA GeForce GTX 1660 Ti (UUID: GPU-1039f844-290a-8383-6bb3-75f30db7d7c5)

Describe the bug

When using a laptop and an external display both KDE and GNOME Wayland sessions have high CPU usage when doing anything/refreshing the external display.

dmesg spams NVRM osCreateOsDescriptorFromDmaBufPtr: osCreateOsDescriptorFromDmaBufPtr(): Error (86) while trying to import dma_buf!

I have built the driver with an os_dump_stacktrace() before the call to osCreateOsDescriptorFromDmaBufPtr, there's an attachment so the path that the driver takes to get there is visible

To Reproduce
  • Connect external display
  • See high CPU usage
Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

nvidia-stacktrace.txt

More Info

No response

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-stacktrace.txt and nvidia-bug-report.log.gz, then reproduce the issue by connecting an external display in a KDE or GNOME Wayland session. Trace the dma_buf import path associated with the reported NVRM error; done means external-display activity no longer causes high CPU usage or repeated dma_buf import errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.