Fabric-Development/fabric

Layers not working properly on hyprland

Closed this issue · 8 comments

Started working on the tutorial until when I ran the bar example script it appeared as a normal window instead of a layer. Tried the wiki's solution of setting the env var to wayland with only the env GDK_BACKEND=wayland part as for the python path/to/fabric/config I don't know what is the path/to/fabric/config. Thanks in advance!

Update 1:
Didn't know you could update. Searching console log found this:
https://pastebin.com/huFVzu0P

Update 2:
Ran it several times and got
2024-07-20 19:53:10.068 | ERROR | __main__:<module>:38 - Cvc is not installed, please install it first, you can use automated installer in the git repository
At least I know how to solve that by myself

Update 3:
Tried to reinstall fabric but won't stop throwing the cloned/repository/path is not a clone of https://github.com/Fabric-Development/fabric

Hi, which distro are you on? If you are using Arch (btw) it is highly recommended to use the AUR package. Enable --devel when installing or updating fabric so you can get the latest commit.

I would like more details about your system so I can at least try to help you.

Yes, I'm on arch, what more would you need? Meanwhile, I will install the aur package

Yes, I'm on arch, what more would you need? Meanwhile, I will install the aur package

Your window manager and GPU would be a good start. :)

Acabo de notar que hablas español, eso facilita las cosas.

Uso Hyprland y gráfica integrada radeon

En un portátil Ryzen 5 5500U gráficos integrados 512mib vram, 8GiB ram, 16GB swap, total nvme 512Gib

could this be an environment variable problem?

I did it. I solved it.
When this happens, you have to set the env variable GDK_BACKEND to wayland so fabric knows how to approach the layer system. the solution is, from wherever you're running your script, may it be the starter hyprland commands or a venv:
export GDK_BACKEND=wayland
and run it again. Thanks, @Axenide for the help!!