Broken screenshare in versions above 0.47.2 #9953
Replies: 26 comments 74 replies
-
|
try hyprland-git, and if that doesn't work try setting also if you are willing, try out my pr #9807, it probably fixes your issue note: |
Beta Was this translation helpful? Give feedback.
-
|
@ShyAssassin Thank you for opening the discussion. |
Beta Was this translation helpful? Give feedback.
-
|
I have also encountered this problem, as mentioned in another (different) issue #9732. However, @micartey and I found the commit c754d79 to be the cause. The preceding commit 8c97cb7 works fine. I also tested commit e96b8ce, resulting in the same screen share issue. |
Beta Was this translation helpful? Give feedback.
-
|
would that mean all affected people are nix users? @fufexan for nix |
Beta Was this translation helpful? Give feedback.
-
|
for me obs just seems to not respond, anyway @vaxerski this has 5 upvotes can it be promoted to an issue? |
Beta Was this translation helpful? Give feedback.
-
|
Hello. I'm using Archlinux with the following software: |
Beta Was this translation helpful? Give feedback.
-
|
@PlasmaPower 279b060 is your commit. Seems to break dmabuf screensharing for some people (frames never get done) Any ideas? |
Beta Was this translation helpful? Give feedback.
-
|
I can't replicate this. Can someone who can replicate this upload (ideally trace) logs? |
Beta Was this translation helpful? Give feedback.
-
|
Has there been any progress on this for Nix users? |
Beta Was this translation helpful? Give feedback.
-
|
Hi everyone I don't know if it can help, but I got the same issue here with a freshly installed arch linux and Hyprland (non git) also I'm on Nvidia I really did not touch anything beside following the guides if you need me to show any diagnostic commands I am available |
Beta Was this translation helpful? Give feedback.
-
|
as of hyprland |
Beta Was this translation helpful? Give feedback.
-
|
have same issue, pipewire screencapture just don't works, trying dmabuf crashes obs, and scpy have artifacts |
Beta Was this translation helpful? Give feedback.
-
|
I wanted to try bisecting myself but it works when running in debug mode using: nix run .#hyprland-debugjust not on my normal (NixOS) system using the Hyprland flake. With both of those I am running a51e639. |
Beta Was this translation helpful? Give feedback.
-
|
I've noticed some warnings in my Hyprland logs: However, I'm not sure whether they are related to this issue, given that I'm not familiar with the Hyprland code base / protocols. |
Beta Was this translation helpful? Give feedback.
-
|
@vaxerski although the issue has not been root caused can this be moved to issues? |
Beta Was this translation helpful? Give feedback.
-
|
There's surely something you all have in your configs that triggers this. That needs to be found out before we move further. |
Beta Was this translation helpful? Give feedback.
-
|
Dunno what is going on with nix, but I have the gUM test working fine in firefox-nightly and hyprland (-git) (archlinux). I think it would be helpful if (nix?) users who have problems with the gUM test would explicitly report exactly what software they are using and what hardware they have. For example, on the test host I have: |
Beta Was this translation helpful? Give feedback.
-
|
recompiling xdg-desktop-portal-hyprland-git, works for me at least |
Beta Was this translation helpful? Give feedback.
-
Not sure what part exactly fixed this, but I've upgraded to channel 25.05 and removed my custom xdg portal config, and it seems to work now. After upgrading, Nix told me that there's a conflict between my xdg portal config and hyprland portal config, which I resolved by removing mine. |
Beta Was this translation helpful? Give feedback.
-
|
Preventing perfectly valid configurations for multiple portals should be considered a bug. I want to use different portals for some method calls. Is everyone here a NixOS user, or is this a problem on other systems as well? |
Beta Was this translation helpful? Give feedback.
-
|
After spending too much time on this, the fix for me was simply changing bitdepth from 10 to 8 in monitor rules.
This fix was apparently working as far back as 8 months ago (I found it here ). Funnily enough, the reason I set it to 10 in the first place was because screen sharing wasn't working and I spent too much time trying to get it to work till someone mentioned setting bitdepth to 10 which fixed it then. This was way back in October 2023 and worked for other people too but stopped working at around November 2024 where the fix was to set it back to 8. |
Beta Was this translation helpful? Give feedback.
-
|
I am also only able to use screen sharing if bitdepth is set to 8. |
Beta Was this translation helpful? Give feedback.
-
|
I am able to screen share if I don't use the flake but the package in the nix channel 25.05 (24.11) did work as well for me. |
Beta Was this translation helpful? Give feedback.
-
|
Plasma is able to screenshare with 10 bit color and above just fine. On Hyprland I get a bunch of pipewire error which i check with |
Beta Was this translation helpful? Give feedback.
-
|
I solved my issue by something I did NOT found googling (full credit goes to @oddlama for my fix) My symptoms were: wl-screenrec working, but any other tool not opening the selector. (so slack, chrome, ... not working) The issue was a conflict between the portal chosen by NixOS vs HomeManager. The solution is to remove the Again, this might be specific to my setup, but if someone is stuck and it is not the bitdepth - then this might be it. |
Beta Was this translation helpful? Give feedback.
-
|
On NixOS, I can capture screen on OBS but screen sharing does not work on Discord, Zen and Brave, it shows a black screen and cursor only if i move the cursor on a xwayland application. EDIT: The problem was not NixOS or Hyprland. My desktop's shell is running as systemd service and programs launched with it's launcher couldn't screenshare and i realized if i launch them with terminal their screensharing would work, i just had to add |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Versions above 0.47.2 breaks screen sharing functionality
Continuation of #9849
The original author of the issue seemed to have identified the problematic commit in the original issue
Hyprland version
0.48.1
Regression
yes
System Info and Hyprland Version
System/Version info
Description
Screen sharing from any app such as firefox or discord initializes the screen sharing but the image isnt updated and is stuck on the first frame.
How to reproduce
Install hyprland 0.48.1 and xdg-desktop-portal-hyprland 1.3.9
Open discord/vesktop or firefox on this page and start a screen capture
Screen share will start but will only transmit a singular frame
Additional info & File uploads
flake.nix
hyprland.nix
hyprland_config_dump.txt
Beta Was this translation helpful? Give feedback.
All reactions