Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Hyprland not launching - no errors

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
inwonderland
n00b
n00b
User avatar
Posts: 14
Joined: Tue Oct 15, 2024 8:38 am
Location: Austria
Contact:
Contact inwonderland
Website

Hyprland not launching - no errors

  • Quote

Post by inwonderland » Tue Oct 15, 2024 2:45 pm

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: Select all

 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 by installing elogind
      - (Fixed initially by adding the variables listed in https://wiki.gentoo.org/wiki/XDG/Base_Directories to .zshenv but ended up using the former instead)
    - 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.
  • - Gentoo Hyprland Wiki
    https://wiki.gentoo.org/wiki/Hyprland
    - Official Hyprland Wiki
    https://wiki.hyprland.org/Getting-Started/Installation/
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
Top
johnmh
n00b
n00b
Posts: 1
Joined: Wed Oct 16, 2024 10:57 pm

Hyprland not launching - no errors

  • Quote

Post by johnmh » Wed Oct 16, 2024 11:02 pm

Hi, do you see any files in ~/.cache/hyprland/? This is where Hyprland places crash logs.
Top
inwonderland
n00b
n00b
User avatar
Posts: 14
Joined: Tue Oct 15, 2024 8:38 am
Location: Austria
Contact:
Contact inwonderland
Website

Re: Hyprland not launching - no errors

  • Quote

Post by inwonderland » Fri Oct 18, 2024 11:24 am

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: Select all

# 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: Select all

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
Top
nicop
Apprentice
Apprentice
Posts: 156
Joined: Thu Apr 10, 2014 11:54 am

  • Quote

Post by nicop » Fri Oct 18, 2024 11:49 am

Maybe try trace log :
https://wiki.hyprland.org/Crashes-and-B ... -trace-log
Top
inwonderland
n00b
n00b
User avatar
Posts: 14
Joined: Tue Oct 15, 2024 8:38 am
Location: Austria
Contact:
Contact inwonderland
Website

  • Quote

Post by inwonderland » Fri Oct 18, 2024 6:12 pm

nicop wrote:Maybe try trace log :
https://wiki.hyprland.org/Crashes-and-B ... -trace-log
I have exported the variables with the following command:

Code: Select all

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: Select all

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
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Fri Oct 18, 2024 8:40 pm

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

8)
" 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 "
Top
inwonderland
n00b
n00b
User avatar
Posts: 14
Joined: Tue Oct 15, 2024 8:38 am
Location: Austria
Contact:
Contact inwonderland
Website

  • Quote

Post by inwonderland » Sun Oct 20, 2024 12:21 pm

CooSee wrote: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

8)
First of all, I have enabled the following environment variables and options:

.zshrc

Code: Select all

export HYPRLAND_TRACE=1 AQ_TRACE=1
hyprland.conf

Code: Select all

# 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: Select all

[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
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Sun Oct 20, 2024 2:20 pm

from my hyprland.conf:

Code: Select all

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: Select all

env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
you use 2 GPUs.
[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

8)
" 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 "
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic