NVIDIA / NVIDIA/open-gpu-kernel-modules
Pipewire screen sharing under Wayland results in black canvas with cursors
Nobody has claimed this yet.
- 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.89.02
Does this happen with the proprietary driver (of the same version) as well?
Yes
Operating System and Version
NixOS (Nixpkgs commit 806075b)
Kernel Release
6.1.13
Hardware: GPU
NVIDIA GeForce RTX 3070
Describe the bug
When using Pipewire screen sharing on Chromium or Firefox on Wayland, the shared stream is black, with the cursor visible and moving. Here's a screenshot of it.

This bug was reported to Pipewire. All affected users are using the proprietary Nvidia driver, and the bug is reproducible with the open kernel module.
Note that while on Chromium and Firefox the results were black, I was able to record the screen with OBS Studio, so it's unclear whether this bug belongs to here.
To Reproduce
- Open Chromium or Firefox.
- Open any website that uses WebRTC screen sharing (tested on https://www.webrtc-experiment.com) and share the screen.
- From the xdg-desktop-portal popup dialog, select the entire screen.
Bug Incidence
Always
nvidia-bug-report.log.gz
Due to Nixpkgs missing the nvidia-bug-report.sh script (NixOS/nixpkgs#172739), this part is left out.
More Info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with Chromium or Firefox on Wayland and follow the xdg-desktop-portal screen-selection steps. Compare the black WebRTC stream with the working OBS Studio recording and review the linked PipeWire issue to determine whether the problem belongs in this repository. Done means identifying and resolving the cause of the black shared canvas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100