View previous topic :: View next topic |
Author |
Message |
inwonderland n00b
Joined: 15 Oct 2024 Posts: 3
|
Posted: Tue Oct 15, 2024 2:45 pm Post subject: Hyprland not launching - no errors |
|
|
Disclaimer
Metadata and sources as links at the last and second last section.
Expected behavior
Launching Hyprland (graphical environment appearing).
Issue description
Running the following command does not lead to Hyprland launching:
Code: | dbus-run-session Hyprland | I compared the tty output to how it looks on my NixOS machine and it's exactly as it should be when launching Hyprland, except nothing happens, the command finishes and the shell input line appears again.
Steps to reproduce
Metadata at the bottom
- Fresh Gentoo installation
- Updated system
- Installed basic software (doas, zsh and fetch)
- Installed gui-wm/hyprland
- Hyprland gives missing XDG_RUNTIME_DIR error
- Fixed dbus not running at runtime
- Fixed dbus not being included in the global flags - Fixed seatd not running at runtime
- Fixed missing flags: builtin && server - dbus-run-session Hyprland (result: see Issue description)
Other attempted solutions
This is not my first try: I reinstalled Gentoo twice within a couple of days just to see if I perhaps messed something up during the installation but after reinstalling for the second time, I doubt that is the case since the problem remained nevertheless. There was one key change in how I tried to fix this issue in my previous Gentoo installation: Instead of fixing the XDG_RUNTIME_DIR error when running hyprland by installing elogind I did it manually by declaring the variables in .zshenv. Additionally I also tried installing a display manager, that being SDDM and Greetd, which failed, but I don't have the logs from then.
Additional context
I'm new to Gentoo and I've read the wiki very carefully for weeks before getting into it. I believe I haven't touched on anything that is completely outside of my comfort zone during the installation (eg. compiling the kernel manually, eg. setting highly specific use flags). That being said, I have experience with Hyprland from using it as my desktop on my NixOS machine.
Sources
I've followed the instructions on the Gentoo and the Hyprland wiki.
Metadata
CPU: Ryzen 7 8700G
GPU: Radeon 6800 XT
OS: Gentoo 2.15 x86_64
Kernel: Linux 6.11.3-gentoo-dist
Profile: default/linux/amd64/23.0/desktop (stable)
Init system: Openrc
Flags:
USE="alsa dbus dist-kernel elogind modules-sign symlink -bluetooth -cups -selinux -systemd"
PS:
I am hesitant to post this as a Hyprland issue not only because I think it's Gentoo related but also because Gentoo is not officially supported.
PPS:
I tried my best to do my due diligence in this post and would be thankful for any help, advice or ideas. Thanks for reading.
PPPS: Edit: typo. _________________ good vibrations |
|
Back to top |
|
|
johnmh n00b
Joined: 16 Oct 2024 Posts: 1
|
Posted: Wed Oct 16, 2024 11:02 pm Post subject: Hyprland not launching - no errors |
|
|
Hi, do you see any files in ~/.cache/hyprland/? This is where Hyprland places crash logs. |
|
Back to top |
|
|
inwonderland n00b
Joined: 15 Oct 2024 Posts: 3
|
Posted: Fri Oct 18, 2024 11:24 am Post subject: Re: Hyprland not launching - no errors |
|
|
johnmh wrote: | Hi, do you see any files in ~/.cache/hyprland/? This is where Hyprland places crash logs. |
Hi,
there is no ~/.cache directory on my machine
Needless to say, there are no subdirectories either. I went through the hyprland wiki to search for debug variables and enabled the following two non-default options in hyprland.conf:
Code: | # debug
disable_logs = false
enable_stdout_logs = true |
Nothing changed in the output and the issue remains the same. I also ran the following command listed in the wiki:
Code: | cat $XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr/ | head -n 1)/hyprland.log |
but that simply gave the last output from launching hyprland.
TLDR:
Still no errors to work with.
PS:
Perhaps this means that there are no bugs and crashes but instead missing dependencies (?). I checked the official documentation for installing hyprland again but there doesn't seem to be anything missing. _________________ good vibrations |
|
Back to top |
|
|
nicop Tux's lil' helper
Joined: 10 Apr 2014 Posts: 78
|
|
Back to top |
|
|
inwonderland n00b
Joined: 15 Oct 2024 Posts: 3
|
Posted: Fri Oct 18, 2024 6:12 pm Post subject: |
|
|
I have exported the variables with the following command:
Code: | export HYPRLAND_TRACE=1 AQ_TRACE=1 |
then launched hyprland again but the output did not change.
I then added the following two lines to ~/.config/hypr/hyprland as follows:
Code: | evn = HYPRLAND_TRACE=1
env = AQ_TRACE=1 |
but the output did not change.
should I open an issue on github?
TLDR:
nothing changed. _________________ good vibrations |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1464 Location: Earth
|
Posted: Fri Oct 18, 2024 8:40 pm Post subject: |
|
|
the (debug)-log file is located in /run/user/1000/hypr/long_number_folder/hyprland.log
please https://wiki.gentoo.org/wiki/Wgetpaste your hyprland.log
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
|