djpohly / dwl

dwm for Wayland - ARCHIVE: development has moved to Codeberg
https://codeberg.org/dwl/dwl
Other
1.93k stars 285 forks source link

Can't run dwl #470

Closed aesof01 closed 1 year ago

aesof01 commented 1 year ago

Info

dwl version: 0.4 wlroots version: 0.16.2-r1

Description

I get an error message when I try to run dwl

couldn't create backend
sevz17 commented 1 year ago

Are you running dwl from a tty (drm backend), another wayland compositor (wayland backend), or inside an X session (x11 backend)?.

My guess is that you are trying to run dwl in a X session but your wlroots build does not have support for the x11 backend.

aesof01 commented 1 year ago

I am trying to run it from a tty

sevz17 commented 1 year ago

Mmmm, what is your distro?

aesof01 commented 1 year ago

Gentoo

sevz17 commented 1 year ago

Please apply this diff and send me the stderr.

diff --git a/dwl.c b/dwl.c
index 19bb6ce..bbf282b 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2069,6 +2069,7 @@ setup(void)
    /* The Wayland display is managed by libwayland. It handles accepting
     * clients from the Unix socket, manging Wayland globals, and so on. */
    dpy = wl_display_create();
+   wlr_log_init(WLR_DEBUG, NULL);

    /* Set up signal handlers */
 #ifdef XWAYLAND

Just to confirm, your wlroots is built with USE='drm libinput', right?

aesof01 commented 1 year ago

my use flags are USE="libinput -X -drm -tinywl -vulkan -x11-backend" i am compiling with drm right now

sevz17 commented 1 year ago

Ah, yeah, it's because you don have USE=drm.

aesof01 commented 1 year ago

Now I get a different error

00:00:10:010 [backend/backend.c:217] Found 0 GPUs, cannot create backend
00:00:10.010 [backend/backend.c:390] Failed to open any DRM device
couldn't create backend
aesof01 commented 1 year ago

My USE Flags for media-libs/mesa USE="X gles2 wayland" VIDEO_CARDS="nouveau"

sevz17 commented 1 year ago

What is your VIDEO_CARDS for x11-libs/libdrm?

aesof01 commented 1 year ago

VIDEO_CARDS="nouveau"

aesof01 commented 1 year ago

CONFIG_DRM_NOUVEAU is disabled in the kernel maybe that's the problem

sevz17 commented 1 year ago

Check dmesg for messages of drm or nouveau (dmesg | grep -i -E 'drm|nouveau')

sevz17 commented 1 year ago

CONFIG_DRM_NOUVEAU is disabled in the kernel maybe that's the problem

Yeah, that's it. Please recompile.

aesof01 commented 1 year ago

ACPI: bus type drm_connector registered

sevz17 commented 1 year ago

Just enable nouveau in the kernel, recompile and try to run dwl again.

aesof01 commented 1 year ago

Thanks, that solved the issue

ST-Saint commented 1 year ago

I got the same error message but I am using nvidia-dkms. Any ideas?

distro: Arch Linux backend: DRM dwl version: wlroots-next d4f2c6b wlroots version: master e315068b9848d7fc920eb21340a076bb6587c1ff

00:00:00.000 [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.cockt No euch file or dirtetory
00:00:00.000 [libseat] [libseat/libseat.c:76] Backend seatd' failed to open seat, skipping
00:00:00.004 [libseat] [libseat/libseat.c:73] Seat opened with backend "logind"
00:00:00.004 [backend/session/session.c:109] Successfully loaded libseat session
00:00:00.004 [backend/session/session.c:384] Ignoring "/dev/dri/card0': not a KMS device
00:00:00.005 [backend/backend.c:217] Found 0 GUs, cannot create backend
00:00:00.005 [backend/backend.c:383] Failed to open any DRM device
couldn't create backend
fauxmight commented 1 year ago

@ST-Saint Enable kernel mode setting for nvidia. In your bootloader, set the kernel parameter nvidia_drm.modeset=1 Slightly better described here: https://wiki.archlinux.org/title/NVIDIA

pandasoli commented 9 months ago

Hey, I'm having some issues to initialize it too.
I'm also on Gentoo but I'm compiling by myself.

These are the logs after adding wlr_log_init(WLR_DEBUG, NULL); as asked

00:00:00.000 [INFO] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.000 [INFO] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.000 [ERROR] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.000 [ERROR] [backend/session/session.c:83] Unable to create seat: Function not implemented
00:00:00.000 [ERROR] [backend/session/session.c:248] Failed to load session backend
00:00:00.000 [ERROR] [backend/backend.c:79] Failed to start a session
00:00:00.000 [ERROR] [backend/backend.c:359] Failed to start a DRM session
couldn't create backend

I'm using the official Makefile of the release v0.5
I could not figure out by myself how to fix this

fictitiousexistence commented 9 months ago

@pandasoli How are you running dwl.

I'm on gentoo with seatd and elogind installed.

Usually you need to launch dwl with dbus:

dbus-run-session dwl

pandasoli commented 9 months ago

@fictitiousexistence I was just running dwl in the tty, but running that way gives the same problem.
I'm with elogind and seatd installed too. As it says:

[ebuild   R    ] sys-auth/seatd-0.8.0:0/1::gentoo  USE="-builtin -elogind -server -systemd" 0 KiB
[ebuild   R    ] sys-auth/elogind-252.9::gentoo  USE="acl cgroup-hybrid pam policykit -audit -debug -doc (-selinux) -test" 0 KiB
fictitiousexistence commented 9 months ago

@pandasoli I have the elogind flag enabled for seatd and also the elogind service enabled at boot.

pandasoli commented 9 months ago

@fictitiousexistence Done!!

I ran dbus-run-session dwl > .log 2>&1

and it outputs: ``` 00:00:00.000 [INFO] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory 00:00:00.000 [INFO] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping 00:00:00.011 [INFO] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind' 00:00:00.011 [INFO] [backend/session/session.c:109] Successfully loaded libseat session 00:00:00.016 [INFO] [backend/backend.c:213] Found 1 GPUs 00:00:00.016 [INFO] [backend/drm/backend.c:202] Initializing DRM backend for /dev/dri/card0 (i915) 00:00:00.016 [DEBUG] [backend/drm/drm.c:110] Using atomic DRM interface 00:00:00.016 [DEBUG] [backend/drm/drm.c:123] ADDFB2 modifiers supported 00:00:00.016 [INFO] [backend/drm/drm.c:255] Found 2 DRM CRTCs 00:00:00.016 [INFO] [backend/drm/drm.c:213] Found 6 DRM planes 00:00:00.019 [INFO] [render/egl.c:206] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless 00:00:00.021 [DEBUG] [render/egl.c:487] Using EGL device /dev/dri/card0 00:00:00.067 [INFO] [render/egl.c:355] Using EGL 1.5 00:00:00.067 [INFO] [render/egl.c:356] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 00:00:00.067 [INFO] [render/egl.c:358] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node 00:00:00.067 [INFO] [render/egl.c:360] EGL vendor: Mesa Project 00:00:00.067 [DEBUG] [render/egl.c:121] Supported DMA-BUF formats: 00:00:00.067 [DEBUG] [render/egl.c:170] AB4H (0x48344241) 00:00:00.067 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:170] XB4H (0x48344258) 00:00:00.067 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:170] AB48 (0x38344241) 00:00:00.067 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:170] XB48 (0x38344258) 00:00:00.067 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.067 [DEBUG] [render/egl.c:170] AR30 (0x30335241) 00:00:00.067 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] XR30 (0x30335258) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] AB30 (0x30334241) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] AR24 (0x34325241) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] AB24 (0x34324241) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] XR24 (0x34325258) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] XB24 (0x34324258) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] AR15 (0x35315241) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] AR12 (0x32315241) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] RG16 (0x36314752) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] R8 (0x20203852) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] R16 (0x20363152) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] GR88 (0x38385247) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] GR32 (0x32335247) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:170] YUV9 (0x39565559) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YU11 (0x31315559) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YU12 (0x32315559) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YU16 (0x36315559) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YU24 (0x34325559) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YVU9 (0x39555659) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YV11 (0x31315659) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YV12 (0x32315659) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YV16 (0x36315659) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] YV24 (0x34325659) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] NV12 (0x3231564E) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] NV21 (0x3132564E) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] P010 (0x30313050) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] P012 (0x32313050) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:170] P016 (0x36313050) 00:00:00.068 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.068 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.068 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] P030 (0x30333050) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] NV16 (0x3631564E) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] AYUV (0x56555941) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] XYUV (0x56555958) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] Y410 (0x30313459) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] Y412 (0x32313459) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] Y416 (0x36313459) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] YUYV (0x56595559) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] YVYU (0x55595659) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] UYVY (0x59565955) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] VYUY (0x59555956) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] Y210 (0x30313259) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] Y212 (0x32313259) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:170] Y216 (0x36313259) 00:00:00.069 [DEBUG] [render/egl.c:104] INVALID (0x00FFFFFFFFFFFFFF): ✓ texture ✓ render 00:00:00.069 [DEBUG] [render/egl.c:104] LINEAR (0x0000000000000000): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:104] X_TILED (0x0100000000000001): ✓ texture ✗ render 00:00:00.069 [DEBUG] [render/egl.c:190] EGL DMA-BUF format modifiers supported 00:00:00.071 [DEBUG] [render/egl.c:435] Obtained high priority context 00:00:00.071 [DEBUG] [render/egl.c:536] Using EGL_PLATFORM_DEVICE_EXT 00:00:00.072 [INFO] [render/gles2/renderer.c:842] Creating GLES2 renderer 00:00:00.072 [INFO] [render/gles2/renderer.c:843] Using OpenGL ES 2.0 Mesa 23.3.0 00:00:00.072 [INFO] [render/gles2/renderer.c:844] GL vendor: Intel 00:00:00.072 [INFO] [render/gles2/renderer.c:845] GL renderer: Mesa Intel(R) HD Graphics (ILK) 00:00:00.072 [INFO] [render/gles2/renderer.c:846] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_debug_label GL_EXT_separate_shader_objects GL_INTEL_performance_query GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_EXT_blend_func_extended GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_s3tc_srgb GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_shader_framebuffer_fetch_non_coherent GL_INTEL_blackhole_render GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_MESA_sampler_objects GL_MESA_bgra 00:00:00.085 [DEBUG] [render/allocator/allocator.c:107] Trying to create gbm allocator 00:00:00.095 [DEBUG] [render/allocator/gbm.c:213] Created GBM allocator with backend drm 00:00:00.095 [DEBUG] [render/allocator/gbm.c:216] Using DRM node /dev/dri/card0 00:00:00.095 [DEBUG] [backend/libinput/backend.c:88] Starting libinput backend 00:00:00.354 [DEBUG] [backend/libinput/events.c:70] Adding Power Button [0:1] 00:00:00.367 [DEBUG] [backend/libinput/events.c:70] Adding Video Bus [0:6] 00:00:00.379 [DEBUG] [backend/libinput/events.c:70] Adding Power Button [0:1] 00:00:00.391 [DEBUG] [backend/libinput/events.c:70] Adding Lid Switch [0:5] 00:00:00.391 [DEBUG] [backend/libinput/events.c:70] Adding Sleep Button [0:3] 00:00:00.402 [DEBUG] [backend/libinput/events.c:70] Adding USB 2.0 Camera: USB Camera [5075:20784] 00:00:00.411 [DEBUG] [backend/libinput/events.c:70] Adding USB usb keyboard [49396:432] 00:00:00.420 [DEBUG] [backend/libinput/events.c:70] Adding USB usb keyboard Consumer Control [49396:432] 00:00:00.428 [DEBUG] [backend/libinput/events.c:70] Adding USB usb keyboard System Control [49396:432] 00:00:00.436 [DEBUG] [backend/libinput/events.c:70] Adding Asus Laptop extra buttons [0:0] 00:00:00.443 [DEBUG] [backend/libinput/events.c:70] Adding AT Translated Set 2 keyboard [1:1] 00:00:00.449 [DEBUG] [backend/libinput/events.c:70] Adding ETPS/2 Elantech Touchpad [2:14] 00:00:00.449 [DEBUG] [backend/libinput/backend.c:129] libinput successfully initialized 00:00:00.449 [INFO] [backend/drm/drm.c:1547] Scanning DRM connectors on /dev/dri/card0 00:00:00.449 [INFO] [backend/drm/drm.c:1598] Found connector 'LVDS-1' 00:00:00.449 [INFO] [backend/drm/drm.c:1623] 'LVDS-1' connected 00:00:00.449 [DEBUG] [backend/drm/drm.c:1418] Current CRTC: 45 00:00:00.449 [INFO] [backend/drm/drm.c:1432] Detected modes: 00:00:00.450 [INFO] [backend/drm/drm.c:1459] 1366x768 @ 59.973 Hz (preferred) 00:00:00.450 [INFO] [backend/drm/drm.c:1479] Physical size: 310x170 00:00:00.451 [INFO] [backend/drm/drm.c:1598] Found connector 'VGA-1' 00:00:00.452 [INFO] [backend/drm/drm.c:1598] Found connector 'HDMI-A-1' 00:00:00.452 [INFO] [backend/drm/drm.c:1598] Found connector 'DP-1' 00:00:00.452 [DEBUG] [backend/drm/drm.c:1211] Reallocating CRTCs 00:00:00.452 [DEBUG] [backend/drm/drm.c:1222] State before reallocation: 00:00:00.452 [DEBUG] [backend/drm/drm.c:1236] 'LVDS-1': crtc=0 status=connected want_crtc=1 00:00:00.452 [DEBUG] [backend/drm/drm.c:1236] 'VGA-1': crtc=-1 status=disconnected want_crtc=0 00:00:00.452 [DEBUG] [backend/drm/drm.c:1236] 'HDMI-A-1': crtc=-1 status=disconnected want_crtc=0 00:00:00.452 [DEBUG] [backend/drm/drm.c:1236] 'DP-1': crtc=-1 status=disconnected want_crtc=0 00:00:00.452 [DEBUG] [backend/drm/drm.c:1285] State after reallocation: 00:00:00.452 [DEBUG] [backend/drm/drm.c:1289] 'LVDS-1': crtc=0 00:00:00.452 [DEBUG] [backend/drm/drm.c:1289] 'VGA-1': crtc=-1 00:00:00.452 [DEBUG] [backend/drm/drm.c:1289] 'HDMI-A-1': crtc=-1 00:00:00.452 [DEBUG] [backend/drm/drm.c:1289] 'DP-1': crtc=-1 00:00:00.452 [INFO] [backend/drm/drm.c:1659] connector LVDS-1: Requesting modeset 00:00:00.452 [DEBUG] [types/output/render.c:168] Attaching empty buffer to output for modeset 00:00:00.452 [DEBUG] [types/output/swapchain.c:27] Choosing primary buffer format XR24 (0x34325258) for output 'LVDS-1' 00:00:00.452 [DEBUG] [types/output/swapchain.c:96] Testing swapchain for output 'LVDS-1' 00:00:00.452 [DEBUG] [render/swapchain.c:106] Allocating new swapchain buffer 00:00:00.461 [DEBUG] [render/allocator/gbm.c:145] Allocated 1366x768 GBM buffer with format XR24 (0x34325258), modifier X_TILED (0x0100000000000001) 00:00:00.461 [DEBUG] [render/gles2/renderer.c:159] Created GL FBO for buffer 1366x768 00:00:00.467 [INFO] [backend/drm/drm.c:782] connector LVDS-1: Modesetting with 1366x768 @ 59.973 Hz LVDS-1 title LVDS-1 appid LVDS-1 fullscreen LVDS-1 floating LVDS-1 selmon 0 LVDS-1 tags 0 1 0 0 LVDS-1 layout 00:00:00.495 [DEBUG] [xcursor/wlr_xcursor.c:222] Loaded cursor theme 'default' at size 24 (168 available cursors) 00:00:00.496 [DEBUG] [render/swapchain.c:106] Allocating new swapchain buffer 00:00:00.496 [DEBUG] [render/allocator/gbm.c:145] Allocated 256x256 GBM buffer with format AR24 (0x34325241), modifier LINEAR (0x0000000000000000) 00:00:00.496 [DEBUG] [render/gles2/renderer.c:159] Created GL FBO for buffer 256x256 LVDS-1 title LVDS-1 appid LVDS-1 fullscreen LVDS-1 floating LVDS-1 selmon 0 LVDS-1 tags 0 1 0 0 LVDS-1 layout []= 00:00:00.500 [DEBUG] [render/swapchain.c:106] Allocating new swapchain buffer 00:00:00.509 [DEBUG] [render/allocator/gbm.c:145] Allocated 1366x768 GBM buffer with format XR24 (0x34325258), modifier X_TILED (0x0100000000000001) 00:00:00.510 [DEBUG] [render/gles2/renderer.c:159] Created GL FBO for buffer 1366x768 ```

May you tell if it is normal? btw, there's anything non expected going on

fictitiousexistence commented 9 months ago

@pandasoli Nothing looks non-expected to me but I don't know enough about dwl to say you should trust me on that. I also don't have any debugging on so your output has extra stuff than mine.

Did dwl work now? It looked like it did...

pandasoli commented 9 months ago

Yeah it did bro @fictitiousexistence thx very much!