You are not logged in.
For some reason the screen is visible to me in OBS, but if i try to share my screen on Discord or Google meet, it doesnt seem to Screen Share anything nor does it shows anything, the feature just turn grey if i try to share screen. I tried installing xdg-desktop-portal-hyprland, that solved the issue where Even my OBS wasn't able to capture my screen.
Here are some system status, in case that could help anyone identify the problem,
$ systemctl --user status xdg-desktop-portal-hyprland pipewire
● 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 Sun 2024-09-15 14:30:54 IST; 55min ago
Invocation: 5f4ff4ac7fb54366adf35f7e7816640d
Main PID: 98821 (xdg-desktop-por)
Tasks: 5 (limit: 9337)
Memory: 6.6M (peak: 94.5M)
CPU: 2.559s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal-hyprland.service
└─98821 /usr/lib/xdg-desktop-portal-hyprland
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [screencopy] Start:
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [screencopy] | /org/freedesktop/portal/desktop/request/1_137/obs6
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [screencopy] | /org/freedesktop/portal/desktop/session/1_137/obs2
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [screencopy] | appid:
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [screencopy] | parent_window:
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [pw] Building modifiers for dma
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [screencopy] Sharing initialized
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [pw] Building modifiers for dma
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [pw] Building modifiers for dma
Sep 15 14:31:17 helium xdg-desktop-portal-hyprland[98821]: [LOG] [pw] Building modifiers for dma
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: active (running) since Tue 2024-09-10 13:55:07 IST; 5 days ago
Invocation: b6ddc20014ae4b54bf7aec350da86fe8
TriggeredBy: ● pipewire.socket
Main PID: 627 (pipewire)
Tasks: 3 (limit: 9337)
Memory: 11.4M (peak: 14.9M)
CPU: 29.929s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─627 /usr/bin/pipewire
Sep 15 13:37:26 helium pipewire[627]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:size (131075), flags 00000000
Sep 15 13:37:26 helium pipewire[627]: pw.context: Rectangle 340x340
Sep 15 13:37:26 helium pipewire[627]: pw.context: Prop: key Spa:Pod:Object:Param:Format:Video:framerate (131076), flags 00000000
Sep 15 13:37:26 helium pipewire[627]: pw.context: Choice: type Spa:Enum:Choice:Enum, flags 00000000 40 8
Sep 15 13:37:26 helium pipewire[627]: pw.context: Fraction 30/1
Sep 15 13:37:26 helium pipewire[627]: pw.context: Fraction 30/1
Sep 15 13:37:26 helium pipewire[627]: pw.context: Fraction 30/1
Sep 15 13:37:26 helium pipewire[627]: pw.link: (61.0.0 -> 90.0.0) negotiating -> error (no more input formats) (configure-configure)
Sep 15 14:30:45 helium pipewire[627]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-50) graph xrun not-triggered (1 suppressed)
Sep 15 14:30:45 helium pipewire[627]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-50) xrun state:0x7fad811f2008 pending:1/1 s:76377069995812 a:76377070048200 f:7637
7070064944 waiting:52388 process:16744 status:triggered
if you need any more info, i am happy to provide. Thank you to anyone who tries to help me with the issue
Last edited by deba26 (2024-09-22 17:31:45)
Offline
https://wiki.archlinux.org/title/Hyprla … en_sharing
https://wiki.hyprland.org/Useful-Utilit … n-Sharing/
(wikis are useful)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
I tried them, it enabled the OBS to capture the screen but still google meet or other software like Discord doesnt seem to capture my screen. I also tried installing xwaylandvideobridge , read some old forum post, apparently some app need that to support screensharing
Offline
Screensharing works for me in Discord with xwaylandvideobridge. (I've tested the setup with Hyprland)
So you need to run xwaylandvideobridge and then run Discord with
XDG_SESSION_TYPE=x11 /usr/bin/discord
There is gonna be a new video source in the screensharing window.
Full Wayland support is still a missing part for some apps. ¯\_(ツ)_/¯
Here is a wiki entry for the reference: https://wiki.archlinux.org/title/Discor … on_Wayland
Please share Discord's output if that won't fix the problem.
Offline
So you need to run xwaylandvideobridge and then run Discord with
XDG_SESSION_TYPE=x11 /usr/bin/discord
Thanks this seem to solve the issue related to Discord, now i am able to Screen Share in Discord without any issue but i can't seem to fix the issue related to Google Meet/zoom etc. Do you have any clue what could be the issue or how i could Solve it or help you understand what is the issue. Thank you for the help
Offline
First of all, try to do all the steps in the wikis:
https://wiki.archlinux.org/title/Zoom_M … reen_share
Then share the outputs of running the apps and trying screensharing.
Also, it's not clear which version of Google Meet you are using.
Since you can run zoom under XWayland, running it with XDG_SESSION_TYPE=x11 should also solve the issue, similar to Discord.
Offline
I am not using any dedicated google Meet application, i am trying to screen share in Firefox web Browser
Mozilla Firefox 130.0
Offline
This is more on the side of hyprland/pipewire/xdg-desktop-portal-hyprland. I don't think that the problem is in Arch as a distribution or in your setup.
You should probably report this to maintainers of the corresponding packages. Just FYI: on my own machine it works after I followed the steps in the linked wikis.
For example, there is already this issue: https://github.com/hyprwm/xdg-desktop-p … issues/251
Also, there is a nice guide linked in the issue: https://gist.github.com/brunoanc/2dea6d … 139ffb7580
People say that rolling-back to 0.41 helps, so that might be a regression.
Offline
i was trying to rice my Hyprland and i was looking at some references where i found out some peoples had
env = XDG_SESSION_TYPE,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
in their hyprland.conf file and that seemed to have fixed my issue. Thank you for your support
Offline
It is working great for Slack as well, thanks man
XDG_SESSION_TYPE=x11 /usr/bin/slack
Screensharing works for me in Discord with xwaylandvideobridge. (I've tested the setup with Hyprland)
So you need to run xwaylandvideobridge and then run Discord with
XDG_SESSION_TYPE=x11 /usr/bin/discord
There is gonna be a new video source in the screensharing window.
Full Wayland support is still a missing part for some apps. ¯\_(ツ)_/¯
Here is a wiki entry for the reference: https://wiki.archlinux.org/title/Discor … on_WaylandPlease share Discord's output if that won't fix the problem.
Last edited by batomijovic (2024-12-12 11:34:28)
Offline