portals icon indicating copy to clipboard operation
portals copied to clipboard

Pipewire Screen Capture returns no data

Open cyrneko opened this issue 1 year ago • 4 comments

What Happened?

Trying to use the Wayland session in elementaryOS 8, you will not be able to start screen sharing either by selecting your display nor xdg-desktop-portal-pantheon in the picker. Sharing a single application is also impossible.

In programs like OBS or Discord it will simply return nothing, as if no output was chosen at all.

Steps to Reproduce

  1. Invoke the Pipewire Screen Capture Portal (e.g OBS, Discord, Firefox...)
  2. Select any option.
  3. Hit "share"
  4. See bug

Expected Behavior

Using any of the screen sharing options should allow the program in question to get a copy of your display or application output depending on your selection.

OS Version

8.x (Early Access)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

relevant nvidia-smi output because I am running an Nvidia GPU with the proprietary drivers:

Sat Oct  5 18:37:05 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02             Driver Version: 550.107.02     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| 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  NVIDIA GeForce GTX 1060 3GB    Off |   00000000:02:00.0  On |                  N/A |
| 37%   33C    P8              8W /  120W |     970MiB /   3072MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

cyrneko avatar Oct 05 '24 16:10 cyrneko

I have the same problem, with NVIDIA GeForce RTX 3060 and driver version 550. There are other issues with this specific driver and Wayland, which are an upstream problem. I'm just speculating, but it may be related to stuff discussed here: https://github.com/NVIDIA/egl-wayland/pull/104 This should be (mostly) solved with v. 555 upwards (should appear in Ubuntu repos probably in February — I'm not sure how exactly the timeline works).

It would be helpful, if someone with a different GFX hardware would chime in, whether the screen sharing works in that case (Intel/AMD).

djaeris avatar Nov 04 '24 14:11 djaeris

I'm on Intel graphics and I'm experiencing the same issue

colinkiama avatar Nov 04 '24 19:11 colinkiama

It seems, that this was resolved by https://github.com/elementary/seeds/pull/91.

djaeris avatar Nov 28 '24 17:11 djaeris

It seems, that this was resolved by elementary/seeds#91.

awesome! I'll leave this open until somebody else can confirm it is fixed as I don't currently have eOS 8 installed anywhere to test myself

cyrneko avatar Nov 29 '24 02:11 cyrneko