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

Cannot manage to make it work on PopOS! #4

Closed
samsungapore opened this issue Sep 27, 2023 · 14 comments
Closed

Cannot manage to make it work on PopOS! #4

samsungapore opened this issue Sep 27, 2023 · 14 comments

Comments

@samsungapore
Copy link

I think it's normal but I would have wanted it to work haha

@Senshi111
Copy link
Owner

Where you have problem? Script that builds hyprland or?

@samsungapore
Copy link
Author

the script is running fine but in the end I don't have the possibility to switch on the newly installed user interface after reboot

@Senshi111
Copy link
Owner

I don't think i understand you. You don't have option to switch users in sddm?

@rajudev
Copy link

rajudev commented Sep 29, 2023

Facing the same issue on Debian unstable/sid, the session is not available for login in the list of sessions on SDDM login screen

@tellmeY18
Copy link

copy the desktop entry (examples/hyprland.desktop) to /usr/share/wayland-sessions/

I had to do this after the manual installation of Hyprland for it to show up in the desktop entries in ly login manager. Still had no issues with lightdm maybe give it a try or verify the file exists ?

@rajudev
Copy link

rajudev commented Sep 29, 2023

After a lot of debugging with @vysakh218 , we found the compilation was failing due to wrong version of wayland-protocols . I had the correct version installed 1.32 on Debian unstable/sid . However it was finding 1.24

The culprit was snap using a gnome-core package which was supplying the value 1.24 of wayland-protocols to meson.

After removing the snaps, the build completed properly and the installation happened smoothly.

@rajudev
Copy link

rajudev commented Sep 29, 2023

You can try doing the same with PopOS, or paste the logs of the scripts run and we can see what the issue is.

@Senshi111
Copy link
Owner

I will try to improve install hyprland script and add check if build failed

@forza91
Copy link

forza91 commented Oct 26, 2023

@rajudev Hi, i m using a fresh install Debian12 with gnome, i dont have any snap packages installed (I guess?) Could you pls share how to 'removing the snaps'? Thx

wlroots| Dependency wayland-protocols found: NO found 1.24 but need: '>=1.32'

@rajudev
Copy link

rajudev commented Oct 31, 2023

@rajudev Hi, i m using a fresh install Debian12 with gnome, i dont have any snap packages installed (I guess?) Could you pls share how to 'removing the snaps'? Thx

wlroots| Dependency wayland-protocols found: NO found 1.24 but need: '>=1.32'

I removed all installed snap packages using sudo snap remove <package-name>
and then removed snap with sudo apt purge snap

@forza91
Copy link

forza91 commented Oct 31, 2023

I removed all installed snap packages using sudo snap remove <package-name> and then removed snap with sudo apt purge snap

ok, I m sure that i dont have any snap packages in my debian12, even 'snap' is not installed. So it may be some preinstalled packages supplying 1.24.

Thanks for reply, i'll try to dig out what's going on

@tellmeY18
Copy link

I removed all installed snap packages using sudo snap remove <package-name> and then removed snap with sudo apt purge snap

ok, I m sure that i dont have any snap packages in my debian12, even 'snap' is not installed. So it may be some preinstalled packages supplying 1.24.

Thanks for reply, i'll try to dig out what's going on

Hey you have to be using debian sid to get the Wayland protocols proper version.

Hope it solves the issue.

@Senshi111
Copy link
Owner

I removed all installed snap packages using sudo snap remove <package-name> and then removed snap with sudo apt purge snap

ok, I m sure that i dont have any snap packages in my debian12, even 'snap' is not installed. So it may be some preinstalled packages supplying 1.24.
Thanks for reply, i'll try to dig out what's going on

Hey you have to be using debian sid to get the Wayland protocols proper version.

Hope it solves the issue.

Even debian 12 has wayland-protocols (1.31-1) version but somehow his getting 1.24

@forza91
Copy link

forza91 commented Nov 1, 2023

@Senshi111 @tellmeY18
Finally solve it:

  1. I have already install wayland-protocols (1.31-1) from sid
    Apt is showing version: 1.32-1
    But pkg-config --modversion wayland-protocols is showing 1.24

  2. Then i found a file here '/usr/local/share/pkgconfig/wayland-protocols.pc' is still providing 1.24

  3. Remove this file and reinstall wayland-protocols by apt then solve the problem. 🦹

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