After several days of fixing sway errors, decided to go out here, after installing nouveau drivers (Which fixed previous sway error), sway throws me another one when trying to run dbus-run-session sway,
Context:
Gentoo on a laptop with NVIDIA gpu, and integrated intel graphics card, custom kernel with compability for nouveau drivers(I suppose), user added to groups seat wheel input video audio users, running on open-rc without elogind, XDG_RUNTIME_DIR set up correctly to run that,
The error:
[swaybg] ul_display_roundtrip failedd.ES=1 to suppress this checkalize"o create screen"
#not so bald, but Sway won't start
1 messages · Page 1 of 1 (latest)
got little to none info about that swaybg error on the gentoo forums
not so bald, but Sway won't start
Bald
Swaybg isn’t even needed to start sway
I don’t have swaybg installed
Upload whole log
sway &> log.txt
Are you using the intel or nvidia gpu
nvidia gpu, the log:
nvc0_screen_create:1002 - Base screen init failed: -19 libEGL warning: egl: failed to create dri2 screen 00:00:01.285 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" nvc0_screen_create:1002 - Base screen init failed: -19 libEGL warning: egl: failed to create dri2 screen 00:00:01.287 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" nvc0_screen_create:1002 - Base screen init failed: -19 libEGL warning: egl: failed to create dri2 screen 00:00:01.290 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" 00:00:01.290 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize" 00:00:01.290 [ERROR] [wlr] [render/egl.c:269] Failed to initialize EGL 00:00:01.290 [ERROR] [wlr] [render/egl.c:572] Failed to initialize EGL context 00:00:01.290 [ERROR] [wlr] [render/gles2/renderer.c:804] Could not initialize EGL 00:00:01.290 [ERROR] [wlr] [backend/drm/backend.c:269] Failed to query renderer texture formats 00:00:01.290 [ERROR] [wlr] [backend/backend.c:221] Failed to create DRM backend 00:00:01.367 [ERROR] [wlr] [backend/libinput/backend.c:111] libinput initialization failed, no input devices 00:00:01.367 [ERROR] [wlr] [backend/libinput/backend.c:112] Set WLR_LIBINPUT_NO_DEVICES=1 to suppress this check 00:00:01.367 [ERROR] [wlr] [backend/multi/backend.c:33] Failed to initialize backend. 00:00:01.367 [ERROR] [sway/server.c:387] Failed to start backend 2025-01-20 23:25:57 - [swaybg-1.2.1/main.c:571] wl_display_roundtrip failed
maybe i should add some kernel params? (I have none currently)
optimus?
Your intel gpu should work
In the meantime
But lets try to solve this :)
Can you paste your dmesg?
And what’s your kernel version and specific gpu
It takes nouveau a while to catch up to the latest cards
Also— if you want to use nouveau, i can almost promise intel igpu will be faster than nouveau
Well unless there’s new work idk i havent kept up to date with nvidia in years
I'm not home, but updated to the latest one(6.6.67 i suppose) my GPU is RTX 2060 so i don't think it is considered as new haha
I'll post dmesg when i come back
'll try the Intel one then