Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshare not working on openSUSE Tubleweed #229

Open
juru1234 opened this issue Jun 29, 2024 · 8 comments
Open

Screenshare not working on openSUSE Tubleweed #229

juru1234 opened this issue Jun 29, 2024 · 8 comments

Comments

@juru1234
Copy link

juru1234 commented Jun 29, 2024

Hi,

sadly I'm not able to do screen sharing with openSUSE Tubleweed. I removed all other xdg-desktop-portal implementation and get this output:

❯ systemctl --user status xdg-desktop-portal-hyprland

● xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; static)
     Active: active (running) since Sat 2024-06-29 12:28:45 CEST; 3min 36s ago
   Main PID: 4685 (xdg-desktop-por)
      Tasks: 5 (limit: 38315)
        CPU: 4.557s
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/xdg-desktop-portal-hyprland.service
             └─4685 /usr/libexec/xdg-desktop-portal-hyprland

Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_12/webrtc_session4807>
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy]  | appid:
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy] SelectSources:
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy]  | /org/freedesktop/portal/desktop/request/1_12/webrtc1968730187
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_12/webrtc_session4807>
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy]  | appid:
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy] option persist_mode to 1
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy] unused option multiple
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy] unused option types
Jun 29 12:28:45 localhost.localdomain xdg-desktop-portal-hyprland[4685]: [LOG] [screencopy] restore data invalid / missing, prompting

I don't have NVIDIA graphics, just Intel with integrated GPU. When starting screen sharing via WebRTC the window from hyprland appears to select screen/window/region but after selecting nothing happens. In OBS studio I just get a black screen. I'm using the Tumbleweed hyprland package in version 0.41.2

@TheM1Stery
Copy link

I have the same issue, the picker appears and after selecting the screen to share, nothing happens. I'm on NVIDIA, though

@TheM1Stery
Copy link

TheM1Stery commented Jun 30, 2024

It works! The new tumbleweed snapshot released a new version of pipewire which fixed the issue with screenshare. Update it to the latest and the issue should be fixed

@zeerayne
Copy link

zeerayne commented Jul 1, 2024

Same here, it started since I have upgraded xdg-desktop-portal-hyprland to 1.3.2. Downgrading to 1.3.1 working fine for me.

My setup is:
Arch Linux
Hyprland 0.41.2

Linux adam 6.9.7-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:27 +0000 x86_64 GNU/Linux

My monitors

Monitor DP-1 (ID 0):
	[email protected] at 0x0
	description: Dell Inc. DELL U2312HM 59DJP1ADH2JL
	make: Dell Inc.
	model: DELL U2312HM
	serial: 59DJP1ADH2JL
	active workspace: 11 (11)
	special workspace: 0 ()
	reserved: 0 37 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Monitor DP-2 (ID 1):
	[email protected] at 1920x0
	description: Dell Inc. DELL U2312HM 59DJP23DC72L
	make: Dell Inc.
	model: DELL U2312HM
	serial: 59DJP23DC72L
	active workspace: 8 (8)
	special workspace: 0 ()
	reserved: 0 37 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

@goldyfruit
Copy link

goldyfruit commented Jul 2, 2024

Transformed as a dedicated issue #232

@SarjyantShrestha
Copy link

Same here, it started since I have upgraded xdg-desktop-portal-hyprland to 1.3.2. Downgrading to 1.3.1 working fine for me.

This fixed for me too!!
I think the new version has some issues. OBS was working for me but vencord(discord client) wasn't working.

@juru1234
Copy link
Author

juru1234 commented Jul 8, 2024

For me, the fix was adding bitdepth,10 to my monitor settings in hyprland.conf.
E.g. monitor=,preferred,auto,auto,bitdepth,10

@zeerayne
Copy link

zeerayne commented Jul 8, 2024

For me, the fix was adding bitdepth,10 to my monitor settings in hyprland.conf. E.g. monitor=,preferred,auto,auto,bitdepth,10

Yep, for me it fixes the problem too. How do you find it out?

@juru1234
Copy link
Author

juru1234 commented Jul 8, 2024

Yep, for me it fixes the problem too. How do you find it out?

@zeerayne It is mentioned in #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants