Makrennel / hyprland-void

void linux hyprland templates for building with xbps-src
Other
114 stars 11 forks source link

black screen while screensharing / recording on obs after upadating xdg-desktop-portal-hyprland #67

Closed Anik200 closed 1 month ago

Anik200 commented 1 month ago

image the preview is black even though i selected the screen image

soanvig commented 1 month ago

Did you try "allow restore token"? I personally need to set it every time. Please try few times to do it with that function. Restart app if necessary. I found the behavior not really consistent, until at some point it started to always work after selecting restore token option.

Anik200 commented 1 month ago

Yes, I did. Even though same results. However removing the old hyprland installation which i did manually and reinstalling the ones from the voidconfig.d fixed the issue.

On Fri, Jun 21, 2024, 18:21 Mateusz Koteja @.***> wrote:

Did you try "allow restore token"?

— Reply to this email directly, view it on GitHub https://github.com/Makrennel/hyprland-void/issues/67#issuecomment-2182695142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5QB7VA2U37426JVUCTGMTZIQOULAVCNFSM6AAAAABJV2Q6QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGY4TKMJUGI . You are receiving this because you authored the thread.Message ID: @.***>

soanvig commented 1 month ago

BTW make sure you have xdg-desktop-portal-hyprland installed. Maybe previously you didn't have and now you do

Anik200 commented 1 month ago

Yes, thanks 👍

On Fri, Jun 21, 2024, 19:12 Mateusz Koteja @.***> wrote:

BTW make sure you have xdg-desktop-portal-hyprland installed. Maybe previously you didn't have and now you do

— Reply to this email directly, view it on GitHub https://github.com/Makrennel/hyprland-void/issues/67#issuecomment-2182780535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5QB7RG2GO5DL3PDH4PFY3ZIQUTDAVCNFSM6AAAAABJV2Q6QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSG44DANJTGU . You are receiving this because you authored the thread.Message ID: @.***>

Makrennel commented 1 month ago

Closing as you're saying it's fixed

Anik200 commented 1 month ago

something weird happened, i rebooted and it dosent work all of a sudden. i did reboot a couple of times and it seems to work a few times but not mostly. i feel like it dosent get started at boot. xdph is installed but wont run everytime on boot

Makrennel commented 1 month ago

i feel like it dosent get started at boot. xdph is installed but wont run everytime on boot

Have you declared it with exec-once in your hyprland config file? It's not supposed to start "on boot". Most distros start it with a systemd user service and manages it using the xdg-desktop-portal-config, but of course void linux doesn't have systemd so you need to manually start it.

Anik200 commented 1 month ago

Which command to start it ?

On Sat, Jun 22, 2024, 20:34 Makrennel @.***> wrote:

i feel like it dosent get started at boot. xdph is installed but wont run everytime on boot

Have you declared it with exec-once in your hyprland config file? It's not supposed to start "on boot". Most distros start it with a systemd user service and manages it using the xdg-desktop-portal-config, but of course void linux doesn't have systemd so you need to manually start it.

— Reply to this email directly, view it on GitHub https://github.com/Makrennel/hyprland-void/issues/67#issuecomment-2184067619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5QB7V3DILJ5GOYZBHI72LZIWG75AVCNFSM6AAAAABJV2Q6QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGA3DONRRHE . You are receiving this because you authored the thread.Message ID: @.***>

Makrennel commented 1 month ago

Which command to start it ?

Should be exec-once=/usr/libexec/xdg-desktop-portal-hyprland but you might also need exec-once=/usr/libexec/xdg-desktop-portal

Anik200 commented 1 month ago

It dosent work and i still get a black screen while trying to screenshare

On Sat, Jun 22, 2024, 20:39 Makrennel @.***> wrote:

Which command to start it ?

Should be exec-once=/usr/libexec/xdg-desktop-portal-hyprland but you might also need exec-once=/usr/libexec/xdg-desktop-portal

— Reply to this email directly, view it on GitHub https://github.com/Makrennel/hyprland-void/issues/67#issuecomment-2184069162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5QB7UM44AVLFVWUUWQWRDZIWHUBAVCNFSM6AAAAABJV2Q6QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGA3DSMJWGI . You are receiving this because you authored the thread.Message ID: @.***>

Anik200 commented 1 month ago

Alright so i reinstalled everything and added both of the exec once to my hyprland.conf and it now works flawlessly, and thanks a lot again for your precious time.

On Sat, Jun 22, 2024, 22:22 Anik Biswas @.***> wrote:

It dosent work and i still get a black screen while trying to screenshare

On Sat, Jun 22, 2024, 20:39 Makrennel @.***> wrote:

Which command to start it ?

Should be exec-once=/usr/libexec/xdg-desktop-portal-hyprland but you might also need exec-once=/usr/libexec/xdg-desktop-portal

— Reply to this email directly, view it on GitHub https://github.com/Makrennel/hyprland-void/issues/67#issuecomment-2184069162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5QB7UM44AVLFVWUUWQWRDZIWHUBAVCNFSM6AAAAABJV2Q6QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGA3DSMJWGI . You are receiving this because you authored the thread.Message ID: @.***>