Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hyrpland Crash
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Cherret
n00b
n00b


Joined: 16 Mar 2025
Posts: 1

PostPosted: Sun Mar 16, 2025 7:04 am    Post subject: Hyrpland Crash Reply with quote

Hello. Help me solve the problem with launching Hyprland on gentoo Linux.
Log:
Code:
[ERR] [EGL] Command eglInitialize errored out with EGL_NOT_INITIALIZED (0x12289): DRI2: failed to create screen

P.S. I use the proprietary nvidia driver, nvidia drm is enabled
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1548
Location: Earth

PostPosted: Wed Mar 19, 2025 12:25 am    Post subject: Reply with quote

Welcome to Gentoo,

Nvidia + Wayland is PITA.

the following is from https://hydeproject.pages.dev/en/help/nvidia/ Wiki - HyDE dotfiles https://github.com/HyDE-Project/HyDE
Code:
# Hyprland Nvidia Configuration
# See https://wiki.hyprland.org/Nvidia/
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia # Disable this if you have issues with screensharing

# If you want to try hardware cursors,
# you can enable them by setting `cursor:no_hardware_cursors = false` ,
# but it will require also enabling `cursor:allow_dumb_copy`
# which may cause small to major hitches whenever the cursor shape changes.
# If this is a problem on your system, keep hardware cursors disabled.
cursor:no_hardware_cursors = true # Set to true to avoid hitches
# cursor:allow_dumb_copy = true

# https://wiki.hyprland.org/Nvidia/#va-api-hardware-video-acceleration
# Hardware video acceleration on Nvidia and Wayland is
# possible with the nvidia-vaapi-driver.
# This may solve specific issues in Electron apps.
env = NVD_BACKEND,direct # Requires 'libva-nvidia-driver' package

# https://wiki.hyprland.org/Nvidia/#regarding-environment-variables
# If you encounter crashes in Firefox, remove this line
env = GBM_BACKEND,nvidia-drm

what are you using - SystemD or OpenRC

for OpenRC start Hyprland via dbus-run-session Hyprland from TTY.

or edit /usr/share/wayland-sessions/hyprland-desktop
Code:
Exec=dbus-run-session Hyprland

i have no idea about SystemD.

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 "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum