Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Issues since the last update

Open iTzGooDLife opened this issue 1 year ago • 11 comments

Hyprland Version

System/Version info
Hyprland, built from branch main at commit ea3fd13e24d7d3a74cf803bef3e6133b5d708d1b dirty (shadow: fix missed invalid use of cfg val ptr).
Date: Wed Feb 21 16:26:21 2024
Tag: v0.35.0-68-gea3fd13e

flags: (if any)

Bug or Regression?

Bug

Description

Today I updated and since then I have multiples issues. I can't share my screen, take screenshots, use swaylock, hyprpicker, among other things (I was able to do all these thing before the udpate). I think it could because xdph isn't starting. I tried to start the service, but I couldn't.

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: failed (Result: exit-code) since Wed 2024-02-21 19:28:04 -03; 21min ago
   Main PID: 1194 (code=exited, status=203/EXEC)
        CPU: 1ms

feb 21 19:28:04 Julius systemd[915]: xdg-desktop-portal-hyprland.service: Scheduled restart job, rest>
feb 21 19:28:04 Julius systemd[915]: xdg-desktop-portal-hyprland.service: Start request repeated too >
feb 21 19:28:04 Julius systemd[915]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-co>
feb 21 19:28:04 Julius systemd[915]: Failed to start Portal service (Hyprland implementation).

When I tried to use swaylock I get:

[destroyed object]: error 0: Unsupported format

How to reproduce

checkout to the commit ea3fd13 and then thy to use swaylock, hyprpicker, satty or share screen.

Crash reports, logs, images, videos

As I said before, I can't take screenshots, but I'm attaching the logs. hyprland.log

iTzGooDLife avatar Feb 21 '24 23:02 iTzGooDLife

Not sure if it related to your issue, few commit ago hypr.conf format changed you should update your config based on new change you can find it in the git changes I am arch user before I used xdg-desktop-portal-hyprland git version it was so buggy, I installed the version from extra repo xdg-desktop-portal-hyprland most of my issues got fixed

ravarage avatar Feb 22 '24 01:02 ravarage

I closed the issue by accident xd. I'm gonna look the changes and give a try to the extra repo thx.

iTzGooDLife avatar Feb 22 '24 01:02 iTzGooDLife

Not sure if it related to your issue, few commit ago hypr.conf format changed you should update your config based on new change you can find it in the git changes I am arch user before I used xdg-desktop-portal-hyprland git version it was so buggy, I installed the version from extra repo xdg-desktop-portal-hyprland most of my issues got fixed

Before this update I didn't have an old version and I didn't see a big change in the format of hyprland.conf:(. Also I tried install xdg-desktop-portal-hyprland from extra instead of git and the service start now but the things still doesn't work.

The responses are the same:

$ hyprpicker
[destroyed object]: error 0: Unsupported format
zsh: segmentation fault (core dumped)  hyprpicker

$ swaylock
[destroyed object]: error 0: Unsupported format

iTzGooDLife avatar Feb 22 '24 02:02 iTzGooDLife

I can use all of them. Please do a git bisect.

vaxerski avatar Feb 22 '24 03:02 vaxerski

I can use all of them. Please do a git bisect.

If I installed from AUR using paru, do you recommend me to build from git and then do the git bisect?

iTzGooDLife avatar Feb 22 '24 04:02 iTzGooDLife

I can use all of them. Please do a git bisect.

If I installed from AUR using paru, do you recommend me to build from git and then do the git bisect?

Git bisect is command to compare git with repo if you are building from git, try to install version from aur or even chaotic repo see if that fixes your issue

ravarage avatar Feb 22 '24 04:02 ravarage

Before I tried git bisect I wanted to try with hyprland package instead hyprland-git. The most of issues got solved, now I can take screenshots, use swaylock and hyprpicker. But I still can't share my screen. I'll do git bisect as you said.

iTzGooDLife avatar Feb 22 '24 13:02 iTzGooDLife

I have same issue it's not related to hyprland, install xdg-desktop-portal-hyprland it will fix screen share screen record and more related stuff that goes throw pipewire I am using latest version(latest git) from hyprland and use xdg-desktop-portal-hyprland from extra repo of arch linux, using git version of xdg-desktop-portal-hyprland cause issue with pipeware, it even cause random slow down for no reason, I had to reload hyprland. use release version xdg-desktop-portal-hyprland , the git of xdg-desktop-portal-hyprland is very buggy, and use latest git from hyprland now is ok

ravarage avatar Feb 22 '24 13:02 ravarage

I currently have xdg-desktop-portal-hyprland installed instead of xdg-desktop-portal-hyprland-git (as I had) and now the service started. But I can't screenshare yet. I'm thinking that pipewire could be the issue

iTzGooDLife avatar Feb 22 '24 13:02 iTzGooDLife

I already built from the git and again I can't use the things I mentioned before, like hyprpicker, swaylock, etc... I'm trying git bisect but when I try to compile I get an error, I left it attached. Does anyone know what the error is due to? build.log

iTzGooDLife avatar Feb 22 '24 14:02 iTzGooDLife

Are you using 10 bit? I only get this from grim when using 10 bit

thejch avatar Feb 23 '24 04:02 thejch

Are you using 10 bit? I only get this from grim when using 10 bit

I had 10-bit enabled for a while before, since it fixed the screenshare issue. Currently, I don't have 10-bit enabled in my configuration

iTzGooDLife avatar Feb 23 '24 20:02 iTzGooDLife

In any case, did a bisect and I believe it's the combination of these 2 commits that broke it: ef490965a23e043692584ae26dec4f863c88f2f6 a42b984f51a00e88a13a45e1b5e9e3d4ec470254 reverting them fixes it for me

thejch avatar Feb 23 '24 21:02 thejch

Can confirm that i am experiencing the same behaviour [destroyed object]: error 0: Unsupported format on NixOS using both flakes for hyparland and xdg-desktop-portal-hyprland. I have swaylock attached to my suspend operation, when I do this swaylock is not visible after un-suspend and yet consumes about 30GB of RAM until I kill it.

atropos112 avatar Mar 01 '24 07:03 atropos112

reverting ef49096 fixes it for me

wxlyyy avatar Mar 12 '24 01:03 wxlyyy

is this nvidia only?

vaxerski avatar Mar 12 '24 01:03 vaxerski

nvidia will be this issues with 10bit

wxlyyy avatar Mar 12 '24 02:03 wxlyyy

reverting ef49096 fixes it for me

can confirm this is the commit where the problems start, the parent commit allows me to stream from webcord but breaks firefox altogether for me :grimacing: I am not using nvidia, im using mesa drivers

natto1784 avatar Mar 18 '24 08:03 natto1784

reverting ef49096 fixes it for me

can confirm this is the commit where the problems start, the parent commit allows me to stream from webcord but breaks firefox altogether for me 😬 I am not using nvidia, im using mesa drivers

There will be bugs when using 10 bits, it has nothing to do with the graphics card

wxlyyy avatar Mar 18 '24 08:03 wxlyyy

There will be bugs when using 10 bits, it has nothing to do with the graphics card

that is quite understandable, but hoping for a fix soon

natto1784 avatar Mar 18 '24 09:03 natto1784

patch.txt does this work?

vaxerski avatar Mar 18 '24 18:03 vaxerski

patch.txt does this work?

seems to work

thejch avatar Mar 18 '24 21:03 thejch

patch.txt does this work?

yep fixes my issue at least

natto1784 avatar Mar 19 '24 02:03 natto1784