Skip to content

Pipewire screen sharing under Wayland results in black canvas with cursors #467

Description

@kotatsuyaki

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.

Screenshot 2023-02-26 at 22-37-17 WebRTC Screen Sharing Plugin-free

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

  1. Open Chromium or Firefox.
  2. Open any website that uses WebRTC screen sharing (tested on https://www.webrtc-experiment.com) and share the screen.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions