View previous topic :: View next topic |
Author |
Message |
inwonderland n00b
Joined: 15 Oct 2024 Posts: 4
|
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: 4
|
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: 97
|
|
Back to top |
|
|
inwonderland n00b
Joined: 15 Oct 2024 Posts: 4
|
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: 1468 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 |
|
|
inwonderland n00b
Joined: 15 Oct 2024 Posts: 4
|
Posted: Sun Oct 20, 2024 12:21 pm Post subject: |
|
|
First of all, I have enabled the following environment variables and options:
.zshrc
Code: | export HYPRLAND_TRACE=1 AQ_TRACE=1 |
hyprland.conf
Code: | # debug
disable_logs = false
enable_stdout_logs = true |
This is the output listed in /run/user/1000/hypr/4520b30d498daca8079365bdb909a8dea38e8d55_1729426162_477861413/hyprland.log
hyprland.log
Code: | [LOG] Instance Signature: 4520b30d498daca8079365bdb909a8dea38e8d55_1729426162_477861413
[LOG] Runtime directory: /run/user/1000/hypr/4520b30d498daca8079365bdb909a8dea38e8d55_1729426162_477861413
[LOG] Hyprland PID: 4089
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: liebert
[LOG] Release: 6.11.4-gentoo-dist
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Fri Oct 18 10:36:57 -00 2024
[LOG] GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c1) (prog-if 00 [VGA controller])
13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev 06) (prog-if 00 [VGA controller])
[LOG] os-release:
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.15"
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: Here we go back, this is the moment, tonight is the night
[LOG] Old rlimit: soft -> 1024, hard -> 4096
[LOG] New rlimit: soft -> 4096, hard -> 4096
[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 14.02µs. Estimated average calc time: 0.03µs.
[LOG] Creating the ConfigManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 4.64µs. Estimated average calc time: 0.02µs.
[LOG] Using config: /home/johan/.config/hypr/hyprland.conf
[INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug
|
_________________ good vibrations |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1468 Location: Earth
|
Posted: Sun Oct 20, 2024 2:20 pm Post subject: |
|
|
from my hyprland.conf:
Code: | debug:disable_logs = false
debug:enable_stdout_logs = true |
and not what you have !
please look at https://wiki.hyprland.org/Configuring/Multi-GPU/ - Telling Hyprland which GPU to use.
Code: | env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1 |
you use 2 GPUs.
Quote: | [LOG] GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c1) (prog-if 00 [VGA controller])
13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev 06) (prog-if 00 [VGA controller]) |
just follow the wiki and try by specifying a GPU - i hope it helps.
if you need some Hyprland config inspirations, look at https://github.com/prasanthrangan/hyprdots
_________________ " 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 |
|
|
|