You are not logged in.

#1 2024-11-22 23:28:46

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

[SOLVED] sway fail to start

Hi guys. After an update, sway won't start. I googled it, but I can't find the solution.

00:00:00.000 [INFO] [sway/main.c:295] Sway version 1.10
00:00:00.000 [INFO] [sway/main.c:296] wlroots version 0.18.1
00:00:00.004 [INFO] [sway/main.c:81] Linux mecaelecktro 6.11.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:09 +0000 x86_64 GNU/Linux
00:00:00.004 [INFO] [sway/main.c:97] Contents of /etc/lsb-release:
00:00:00.004 [INFO] [sway/main.c:81] DISTRIB_ID="Arch"
00:00:00.004 [INFO] [sway/main.c:81] DISTRIB_RELEASE="rolling"
00:00:00.004 [INFO] [sway/main.c:81] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.004 [INFO] [sway/main.c:97] Contents of /etc/os-release:
00:00:00.004 [INFO] [sway/main.c:81] NAME="Arch Linux"
00:00:00.004 [INFO] [sway/main.c:81] PRETTY_NAME="Arch Linux"
00:00:00.004 [INFO] [sway/main.c:81] ID=arch
00:00:00.004 [INFO] [sway/main.c:81] BUILD_ID=rolling
00:00:00.004 [INFO] [sway/main.c:81] ANSI_COLOR="38;2;23;147;209"
00:00:00.004 [INFO] [sway/main.c:81] HOME_URL="https://archlinux.org/"
00:00:00.004 [INFO] [sway/main.c:81] DOCUMENTATION_URL="https://wiki.archlinux.org/"
00:00:00.004 [INFO] [sway/main.c:81] SUPPORT_URL="https://bbs.archlinux.org/"
00:00:00.004 [INFO] [sway/main.c:81] BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
00:00:00.004 [INFO] [sway/main.c:81] PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
00:00:00.004 [INFO] [sway/main.c:81] LOGO=archlinux-logo
00:00:00.004 [INFO] [sway/main.c:69] LD_LIBRARY_PATH=
00:00:00.004 [INFO] [sway/main.c:69] LD_PRELOAD=
00:00:00.004 [INFO] [sway/main.c:69] PATH=/home/heitor/.local/share/reflex/bun/bin:/opt/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
00:00:00.004 [INFO] [sway/main.c:69] SWAYSOCK=
00:00:00.004 [INFO] [sway/main.c:332] Starting sway version 1.10
00:00:00.004 [DEBUG] [sway/server.c:218] Initializing Wayland server
00:00:00.007 [INFO] [wlr] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.007 [INFO] [wlr] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.008 [INFO] [wlr] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
00:00:00.008 [INFO] [wlr] [backend/session/session.c:108] Successfully loaded libseat session
00:00:00.011 [INFO] [wlr] [backend/backend.c:256] Found 1 GPUs
00:00:00.011 [INFO] [wlr] [backend/drm/backend.c:185] Initializing DRM backend for /dev/dri/card1 (i915)
00:00:00.011 [DEBUG] [wlr] [backend/drm/drm.c:111] Using atomic DRM interface
00:00:00.011 [DEBUG] [wlr] [backend/drm/drm.c:131] ADDFB2 modifiers supported
00:00:00.011 [INFO] [wlr] [backend/drm/drm.c:310] Found 3 DRM CRTCs
00:00:00.011 [INFO] [wlr] [backend/drm/drm.c:268] Found 9 DRM planes
00:00:00.210 [INFO] [wlr] [render/egl.c:205] Supported EGL client extensions: EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11 EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_MESA_platform_surfaceless EGL_EXT_explicit_device EGL_KHR_platform_wayland EGL_EXT_platform_wayland EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_EXT_platform_xcb
00:00:00.215 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
00:00:00.215 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
00:00:00.215 [DEBUG] [wlr] [render/egl.c:486] Using EGL device /dev/dri/card1
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.216 [ERROR] [wlr] [render/egl.c:268] Failed to initialize EGL
00:00:00.216 [ERROR] [wlr] [render/egl.c:571] Failed to initialize EGL context
00:00:00.216 [ERROR] [wlr] [render/gles2/renderer.c:499] Could not initialize EGL
00:00:00.216 [DEBUG] [wlr] [render/wlr_renderer.c:192] Failed to create a GLES2 renderer. Skipping!
00:00:00.216 [ERROR] [wlr] [render/wlr_renderer.c:272] Could not initialize renderer
00:00:00.216 [ERROR] [sway/server.c:236] Failed to create renderer

Thank you!

Last edited by Heitor Freitas (2024-11-27 11:27:41)

Offline

#2 2024-11-23 00:24:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,233

Re: [SOLVED] sway fail to start

Welcome to the forums.

How are you starting sway ?
What generated that output ?  That is not journal output, nor is look like sway outputs when I start it from a console.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2024-11-23 11:13:35

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

Hi Ewaller. I'm starting sway from console:

 sway 

But it produces very little information about the error. For more info, I started using "-d" flag for debug:

 sway -d 

The output was:

00:00:00.000 [INFO] [sway/main.c:295] Sway version 1.10
00:00:00.000 [INFO] [sway/main.c:296] wlroots version 0.18.1
00:00:00.004 [INFO] [sway/main.c:81] Linux mecaelecktro 6.11.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:09 +0000 x86_64 GNU/Linux
00:00:00.004 [INFO] [sway/main.c:97] Contents of /etc/lsb-release:
00:00:00.004 [INFO] [sway/main.c:81] DISTRIB_ID="Arch"
00:00:00.004 [INFO] [sway/main.c:81] DISTRIB_RELEASE="rolling"
00:00:00.004 [INFO] [sway/main.c:81] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.004 [INFO] [sway/main.c:97] Contents of /etc/os-release:
00:00:00.004 [INFO] [sway/main.c:81] NAME="Arch Linux"
00:00:00.004 [INFO] [sway/main.c:81] PRETTY_NAME="Arch Linux"
00:00:00.004 [INFO] [sway/main.c:81] ID=arch
00:00:00.004 [INFO] [sway/main.c:81] BUILD_ID=rolling
00:00:00.004 [INFO] [sway/main.c:81] ANSI_COLOR="38;2;23;147;209"
00:00:00.004 [INFO] [sway/main.c:81] HOME_URL="https://archlinux.org/"
00:00:00.004 [INFO] [sway/main.c:81] DOCUMENTATION_URL="https://wiki.archlinux.org/"
00:00:00.004 [INFO] [sway/main.c:81] SUPPORT_URL="https://bbs.archlinux.org/"
00:00:00.004 [INFO] [sway/main.c:81] BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
00:00:00.004 [INFO] [sway/main.c:81] PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
00:00:00.004 [INFO] [sway/main.c:81] LOGO=archlinux-logo
00:00:00.004 [INFO] [sway/main.c:69] LD_LIBRARY_PATH=
00:00:00.004 [INFO] [sway/main.c:69] LD_PRELOAD=
00:00:00.004 [INFO] [sway/main.c:69] PATH=/home/heitor/.local/share/reflex/bun/bin:/opt/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
00:00:00.004 [INFO] [sway/main.c:69] SWAYSOCK=
00:00:00.004 [INFO] [sway/main.c:332] Starting sway version 1.10
00:00:00.004 [DEBUG] [sway/server.c:218] Initializing Wayland server
00:00:00.007 [INFO] [wlr] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.007 [INFO] [wlr] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.008 [INFO] [wlr] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
00:00:00.008 [INFO] [wlr] [backend/session/session.c:108] Successfully loaded libseat session
00:00:00.011 [INFO] [wlr] [backend/backend.c:256] Found 1 GPUs
00:00:00.011 [INFO] [wlr] [backend/drm/backend.c:185] Initializing DRM backend for /dev/dri/card1 (i915)
00:00:00.011 [DEBUG] [wlr] [backend/drm/drm.c:111] Using atomic DRM interface
00:00:00.011 [DEBUG] [wlr] [backend/drm/drm.c:131] ADDFB2 modifiers supported
00:00:00.011 [INFO] [wlr] [backend/drm/drm.c:310] Found 3 DRM CRTCs
00:00:00.011 [INFO] [wlr] [backend/drm/drm.c:268] Found 9 DRM planes
00:00:00.210 [INFO] [wlr] [render/egl.c:205] Supported EGL client extensions: EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11 EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_MESA_platform_surfaceless EGL_EXT_explicit_device EGL_KHR_platform_wayland EGL_EXT_platform_wayland EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_EXT_platform_xcb
00:00:00.215 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
00:00:00.215 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
00:00:00.215 [DEBUG] [wlr] [render/egl.c:486] Using EGL device /dev/dri/card1
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.216 [ERROR] [wlr] [render/egl.c:268] Failed to initialize EGL
00:00:00.216 [ERROR] [wlr] [render/egl.c:571] Failed to initialize EGL context
00:00:00.216 [ERROR] [wlr] [render/gles2/renderer.c:499] Could not initialize EGL
00:00:00.216 [DEBUG] [wlr] [render/wlr_renderer.c:192] Failed to create a GLES2 renderer. Skipping!
00:00:00.216 [ERROR] [wlr] [render/wlr_renderer.c:272] Could not initialize renderer
00:00:00.216 [ERROR] [sway/server.c:236] Failed to create renderer

From dmesg:

 sudo dmesg | grep -i "vga\|i915\|video\|hdmi\|nvidia" 
[    0.213874] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.264153] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.264153] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.264153] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.264153] vgaarb: loaded
[    5.105441] videodev: Linux video capture interface: v2.00
[    5.350522] usbcore: registered new interface driver uvcvideo
[    5.362102] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[    5.869429] i915 0000:00:02.0: [drm] Found BROADWELL/ULT (device ID 1616) display version 8.00
[    5.884980] i915 0000:00:02.0: vgaarb: deactivate vga console
[    5.886066] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    5.938406] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
[    5.940248] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    5.940405] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input14
[    5.940506] ACPI: video: [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[    5.940580] ACPI: video: Video Device [PXSX] (multi-head: yes  rom: yes  post: no)
[    5.940625] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:47/LNXVIDEO:01/input/input15
[    5.947616] fbcon: i915drmfb (fb0) is primary device
[    5.947538] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.961712] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card1/input16
[    5.961792] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card1/input17
[    5.961859] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card1/input18
[    7.111400] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

From journalctl:

 sudo journalctl -b | grep -i "nvidia\|vga\|hdmi\|i915\|egl\|sway\|wrl" 
Nov 23 07:40:00 mecaelecktro kernel: pci 0000:00:02.0: vgaarb: setting as boot VGA device
Nov 23 07:40:00 mecaelecktro kernel: pci 0000:00:02.0: vgaarb: bridge control possible
Nov 23 07:40:00 mecaelecktro kernel: pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
Nov 23 07:40:00 mecaelecktro kernel: vgaarb: loaded
Nov 23 07:40:00 mecaelecktro systemd-modules-load[250]: Failed to find module 'nvidia-uvm'
Nov 23 07:40:01 mecaelecktro kernel: snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
Nov 23 07:40:01 mecaelecktro kernel: i915 0000:00:02.0: [drm] Found BROADWELL/ULT (device ID 1616) display version 8.00
Nov 23 07:40:03 mecaelecktro kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
Nov 23 07:40:03 mecaelecktro kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
Nov 23 07:40:03 mecaelecktro kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
Nov 23 07:40:03 mecaelecktro kernel: fbcon: i915drmfb (fb0) is primary device
Nov 23 07:40:03 mecaelecktro kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Nov 23 07:40:03 mecaelecktro kernel: input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card1/input16
Nov 23 07:40:03 mecaelecktro kernel: input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card1/input17
Nov 23 07:40:03 mecaelecktro kernel: input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card1/input18
Nov 23 07:40:03 mecaelecktro kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

Offline

#4 2024-11-23 16:31:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,233

Re: [SOLVED] sway fail to start

What is the output of glinfo   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2024-11-23 16:52:34

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

I can only run glinfo in X11:

GL_VERSION: 4.5 (Compatibility Profile) Mesa 24.2.7-arch1.1
GL_RENDERER: llvmpipe (LLVM 18.1.8, 256 bits)
GL_VENDOR: Mesa
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_EXT_texture_storage GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_vertex_attrib_64bit GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_shader_atomic_float GL_AMD_pinned_memory GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_debug_label GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_ARM_shader_framebuffer_fetch_depth_stencil GL_EXT_polygon_offset_clamp GL_EXT_shader_image_load_formatted GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_ES3_2_compatibility GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_post_depth_coverage GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_ARB_texture_filter_minmax GL_EXT_texture_filter_minmax GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_memory_object GL_EXT_memory_object_fd GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_shader_atomic_float_minmax GL_MESA_framebuffer_flip_y GL_EXT_EGL_sync GL_EXT_EGL_image_storage_compression GL_NV_ES1_1_compatibility 
GL_SHADING_LANGUAGE_VERSION = 4.50
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess 
GLUT_API_VERSION: 4
GLUT_XLIB_IMPLEMENTATION: 13

Offline

#6 2024-11-23 17:02:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,313

Re: [SOLVED] sway fail to start

That's a software renderer. It appears you have a broadwell card, they "should" be supported on standard mesa via the crocus driver, are you setting MESA_LOADER_DRIVER_OVERRIDE= somewhere? Does setting it to MESA_LOADER_DRIVER_OVERRIDE=crocus help you? e.g. for a glxinfo check you'd do

MESA_LOADER_DRIVER_OVERRIDE=crocus glxinfo -B

and maybe generally export that globally.

Offline

#7 2024-11-23 17:03:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,233

Re: [SOLVED] sway fail to start

llvmpipe? 

Tell us more about your system.  I assumed it was an Intel graphics system.   I've no idea what the why your GL_RENDER is llvmpipe.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2024-11-23 18:13:12

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

Nope, MESA_LOADER_DRIVER_OVERRIDE isn't set. I ran in /:

# grep -IRHn MESA_LOADER_DRIVER_OVERRIDE 2> /dev/null

I tried:

MESA_LOADER_DRIVER_OVERRIDE=crocus sway

It produces the same error. The command

MESA_LOADER_DRIVER_OVERRIDE=crocus glxinfo -B

gives the output:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 18.1.8, 256 bits) (0xffffffff)
    Version: 24.2.7
    Accelerated: no
    Video memory: 7853MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 21 MB, largest block: 21 MB
    VBO free aux. memory - total: 5727 MB, largest block: 5727 MB
    Texture free memory - total: 21 MB, largest block: 21 MB
    Texture free aux. memory - total: 5727 MB, largest block: 5727 MB
    Renderbuffer free memory - total: 21 MB, largest block: 21 MB
    Renderbuffer free aux. memory - total: 5727 MB, largest block: 5727 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 280846 MB
    Total available memory: 288700 MB
    Currently available dedicated video memory: 21 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 24.2.7-arch1.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 24.2.7-arch1.1
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.7-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

The laptop have two graphic cards: Intel (processor) and Nvidia

Offline

#9 2024-11-23 19:04:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,313

Re: [SOLVED] sway fail to start

You shouldn't land on llvmpipe... assuming the glxinfo comes from xorg, what's your xorg log? If xf86-video-intel is installed, remove that. Another option would be to test mesa-amber which still contains i965, but more generally speaking what's your output of

printenv

Offline

#10 2024-11-23 19:09:50

seth
Member
Registered: 2012-09-03
Posts: 59,120

Re: [SOLVED] sway fail to start

Also

pacman -Qikk mesa nvidia-utils egl-gbm
ls -l /usr/lib/lib*GL*

Offline

#11 2024-11-23 20:39:55

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

V1del wrote:

assuming the glxinfo comes from xorg

Yep, glxinfo comes from Xorg.

V1del wrote:

what's your xorg log?

cat ~/.local/share/xorg/Xorg.0.log
[ 25768.063] 
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 25768.064] Current Operating System: Linux mecaelecktro 6.11.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:09 +0000 x86_64
[ 25768.064] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux-zen.img root=PARTUUID=63afb966-b35c-4b29-90c4-dc42bb478417	rw	intel_iommu=off
[ 25768.064]  
[ 25768.065] Current version of pixman: 0.44.0
[ 25768.065] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 25768.065] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 25768.068] (==) Log file: "/home/heitor/.local/share/xorg/Xorg.0.log", Time: Sat Nov 23 17:24:17 2024
[ 25768.069] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 25768.070] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 25768.072] (==) No Layout section.  Using the first Screen section.
[ 25768.072] (==) No screen section available. Using defaults.
[ 25768.072] (**) |-->Screen "Default Screen Section" (0)
[ 25768.072] (**) |   |-->Monitor "<default monitor>"
[ 25768.073] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 25768.073] (**) |   |-->Device "Intel Graphics"
[ 25768.073] (**) |   |-->GPUDevice "Nvidia card"
[ 25768.073] (**) |   |-->GPUDevice "Nvidia Card"
[ 25768.073] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 25768.073] (**) Allowing byte-swapped clients
[ 25768.073] (==) Automatically adding devices
[ 25768.073] (==) Automatically enabling devices
[ 25768.073] (==) Automatically adding GPU devices
[ 25768.073] (==) Automatically binding GPU devices
[ 25768.073] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 25768.073] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[ 25768.073] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 25768.073] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 25768.073] (II) Module ABI versions:
[ 25768.073] 	X.Org ANSI C Emulation: 0.4
[ 25768.073] 	X.Org Video Driver: 25.2
[ 25768.073] 	X.Org XInput driver : 24.4
[ 25768.073] 	X.Org Server Extension : 10.0
[ 25768.073] (++) using VT number 1

[ 25768.074] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 25768.075] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 25768.075] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 25768.075] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[ 25768.078] (--) PCI:*(0@0:2:0) 8086:1616:1025:098a rev 9, Mem @ 0xc2000000/16777216, 0xd0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 25768.078] (--) PCI: (4@0:0:0) 10de:1299:1025:098b rev 161, Mem @ 0xc3000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[ 25768.078] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 25768.078] (II) LoadModule: "glx"
[ 25768.078] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 25768.079] (II) Module glx: vendor="X.Org Foundation"
[ 25768.079] 	compiled for 1.21.1.14, module version = 1.0.0
[ 25768.079] 	ABI class: X.Org Server Extension, version 10.0
[ 25768.079] (II) LoadModule: "intel"
[ 25768.079] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 25768.080] (II) Module intel: vendor="X.Org Foundation"
[ 25768.080] 	compiled for 1.21.1.11, module version = 2.99.917
[ 25768.080] 	Module class: X.Org Video Driver
[ 25768.080] 	ABI class: X.Org Video Driver, version 25.2
[ 25768.080] (II) LoadModule: "nouveau"
[ 25768.080] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 25768.081] (II) Module nouveau: vendor="X.Org Foundation"
[ 25768.081] 	compiled for 1.21.1.14, module version = 1.0.18
[ 25768.081] 	Module class: X.Org Video Driver
[ 25768.081] 	ABI class: X.Org Video Driver, version 25.2
[ 25768.081] (II) LoadModule: "nvidia"
[ 25768.081] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 25768.082] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 25768.082] 	compiled for 1.6.99.901, module version = 1.0.0
[ 25768.082] 	Module class: X.Org Video Driver
[ 25768.082] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 25768.082] (II) intel: Driver for Intel(R) HD Graphics
[ 25768.082] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 25768.082] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 25768.082] (II) NOUVEAU driver 
[ 25768.082] (II) NOUVEAU driver for NVIDIA chipset families :
[ 25768.082] 	RIVA TNT            (NV04)
[ 25768.082] 	RIVA TNT2           (NV05)
[ 25768.082] 	GeForce 256         (NV10)
[ 25768.082] 	GeForce 2           (NV11, NV15)
[ 25768.082] 	GeForce 4MX         (NV17, NV18)
[ 25768.082] 	GeForce 3           (NV20)
[ 25768.082] 	GeForce 4Ti         (NV25, NV28)
[ 25768.082] 	GeForce FX          (NV3x)
[ 25768.082] 	GeForce 6           (NV4x)
[ 25768.082] 	GeForce 7           (G7x)
[ 25768.082] 	GeForce 8           (G8x)
[ 25768.082] 	GeForce 9           (G9x)
[ 25768.082] 	GeForce GTX 2xx/3xx (GT2xx)
[ 25768.082] 	GeForce GTX 4xx/5xx (GFxxx)
[ 25768.082] 	GeForce GTX 6xx/7xx (GKxxx)
[ 25768.082] 	GeForce GTX 9xx     (GMxxx)
[ 25768.082] 	GeForce GTX 10xx    (GPxxx)
[ 25768.082] (II) NVIDIA dlloader X Driver  565.57.01  Thu Oct 10 12:05:50 UTC 2024
[ 25768.082] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 25768.082] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 25768.082] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 0
[ 25768.082] (II) intel(0): SNA compiled from 2.99.917-923-gb74b67f0
[ 25768.083] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 25768.083] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 5500
[ 25768.083] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[ 25768.083] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[ 25768.083] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 25768.083] (==) intel(0): RGB weight 888
[ 25768.083] (==) intel(0): Default visual is TrueColor
[ 25768.083] (**) intel(0): Option "NoAccel" "True"
[ 25768.083] (**) intel(0): Option "AccelMethod" "sna"
[ 25768.083] (**) intel(0): Option "DRI" "False"
[ 25768.083] (**) intel(0): Option "TearFree" "true"
[ 25768.084] (II) intel(0): Output eDP1 has no monitor section
[ 25768.084] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[ 25768.084] (II) intel(0): Enabled output eDP1
[ 25768.084] (II) intel(0): Output HDMI1 has no monitor section
[ 25768.084] (II) intel(0): Enabled output HDMI1
[ 25768.084] (II) intel(0): Output DP1 has no monitor section
[ 25768.084] (II) intel(0): Enabled output DP1
[ 25768.084] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 25768.085] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 25768.085] (II) intel(0): Enabled output VIRTUAL1
[ 25768.085] (--) intel(0): Output eDP1 using initial mode 1366x768 on pipe 0
[ 25768.085] (**) intel(0): TearFree enabled
[ 25768.085] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 25768.085] (==) intel(0): DPI set to (96, 96)
[ 25768.085] (II) Loading sub module "dri3"
[ 25768.085] (II) LoadModule: "dri3"
[ 25768.085] (II) Module "dri3" already built-in
[ 25768.085] (II) Loading sub module "dri2"
[ 25768.085] (II) LoadModule: "dri2"
[ 25768.085] (II) Module "dri2" already built-in
[ 25768.085] (II) Loading sub module "present"
[ 25768.085] (II) LoadModule: "present"
[ 25768.085] (II) Module "present" already built-in
[ 25768.085] (II) UnloadModule: "nouveau"
[ 25768.085] (II) Unloading nouveau
[ 25768.085] (II) UnloadModule: "nvidia"
[ 25768.085] (II) Unloading nvidia
[ 25768.085] (II) intel(0): SNA initialized with disabled backend
[ 25768.085] (==) intel(0): Backing store enabled
[ 25768.085] (==) intel(0): Silken mouse enabled
[ 25768.085] (II) intel(0): HW Cursor enabled
[ 25768.085] (==) intel(0): DPMS enabled
[ 25768.085] (==) intel(0): Display hotplug detection enabled
[ 25768.085] (II) intel(0): Textured video not supported on this hardware or backend
[ 25768.085] (II) intel(0): hardware support for Present enabled
[ 25768.085] (II) Initializing extension Generic Event Extension
[ 25768.085] (II) Initializing extension SHAPE
[ 25768.085] (II) Initializing extension MIT-SHM
[ 25768.085] (II) Initializing extension XInputExtension
[ 25768.086] (II) Initializing extension XTEST
[ 25768.086] (II) Initializing extension BIG-REQUESTS
[ 25768.086] (II) Initializing extension SYNC
[ 25768.086] (II) Initializing extension XKEYBOARD
[ 25768.086] (II) Initializing extension XC-MISC
[ 25768.086] (II) Initializing extension SECURITY
[ 25768.086] (II) Initializing extension XFIXES
[ 25768.086] (II) Initializing extension RENDER
[ 25768.087] (II) Initializing extension RANDR
[ 25768.087] (II) Initializing extension COMPOSITE
[ 25768.087] (II) Initializing extension DAMAGE
[ 25768.087] (II) Initializing extension MIT-SCREEN-SAVER
[ 25768.087] (II) Initializing extension DOUBLE-BUFFER
[ 25768.087] (II) Initializing extension RECORD
[ 25768.087] (II) Initializing extension DPMS
[ 25768.087] (II) Initializing extension Present
[ 25768.087] (II) Initializing extension DRI3
[ 25768.087] (II) Initializing extension X-Resource
[ 25768.088] (II) Initializing extension XVideo
[ 25768.088] (II) Initializing extension XVideo-MotionCompensation
[ 25768.088] (II) Initializing extension GLX
[ 25768.088] (II) AIGLX: Screen 0 is not DRI2 capable
[ 25768.128] (II) IGLX: Loaded and initialized swrast
[ 25768.128] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 25768.128] (II) Initializing extension XFree86-VidModeExtension
[ 25768.128] (II) Initializing extension XFree86-DGA
[ 25768.129] (II) Initializing extension XFree86-DRI
[ 25768.129] (II) Initializing extension DRI2
[ 25768.132] (II) intel(0): switch to mode 1366x768@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 25768.139] (II) intel(0): Setting screen physical size to 361 x 203
[ 25768.258] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 25768.258] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 25768.258] (II) LoadModule: "libinput"
[ 25768.258] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 25768.259] (II) Module libinput: vendor="X.Org Foundation"
[ 25768.259] 	compiled for 1.21.1.13, module version = 1.5.0
[ 25768.259] 	Module class: X.Org XInput Driver
[ 25768.259] 	ABI class: X.Org XInput driver, version 24.4
[ 25768.259] (II) Using input driver 'libinput' for 'Power Button'
[ 25768.260] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 23 paused 0
[ 25768.260] (**) Power Button: always reports core events
[ 25768.260] (**) Option "Device" "/dev/input/event3"
[ 25768.266] (II) event3  - Power Button: is tagged by udev as: Keyboard
[ 25768.266] (II) event3  - Power Button: device is a keyboard
[ 25768.266] (II) event3  - Power Button: device removed
[ 25768.266] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 25768.266] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 25768.267] (II) event3  - Power Button: is tagged by udev as: Keyboard
[ 25768.268] (II) event3  - Power Button: device is a keyboard
[ 25768.268] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[ 25768.269] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 25768.269] (II) Using input driver 'libinput' for 'Video Bus'
[ 25768.269] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 26 paused 0
[ 25768.269] (**) Video Bus: always reports core events
[ 25768.269] (**) Option "Device" "/dev/input/event10"
[ 25768.270] (II) event10 - Video Bus: is tagged by udev as: Keyboard
[ 25768.270] (II) event10 - Video Bus: device is a keyboard
[ 25768.271] (II) event10 - Video Bus: device removed
[ 25768.271] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input14/event10"
[ 25768.271] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 25768.272] (II) event10 - Video Bus: is tagged by udev as: Keyboard
[ 25768.272] (II) event10 - Video Bus: device is a keyboard
[ 25768.272] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[ 25768.272] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 25768.272] (II) Using input driver 'libinput' for 'Video Bus'
[ 25768.273] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 27 paused 0
[ 25768.273] (**) Video Bus: always reports core events
[ 25768.273] (**) Option "Device" "/dev/input/event11"
[ 25768.274] (II) event11 - Video Bus: is tagged by udev as: Keyboard
[ 25768.274] (II) event11 - Video Bus: device is a keyboard
[ 25768.274] (II) event11 - Video Bus: device removed
[ 25768.274] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:47/LNXVIDEO:01/input/input15/event11"
[ 25768.274] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 25768.276] (II) event11 - Video Bus: is tagged by udev as: Keyboard
[ 25768.276] (II) event11 - Video Bus: device is a keyboard
[ 25768.276] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 25768.276] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 25768.276] (II) Using input driver 'libinput' for 'Power Button'
[ 25768.277] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 28 paused 0
[ 25768.277] (**) Power Button: always reports core events
[ 25768.277] (**) Option "Device" "/dev/input/event0"
[ 25768.278] (II) event0  - Power Button: is tagged by udev as: Keyboard
[ 25768.278] (II) event0  - Power Button: device is a keyboard
[ 25768.278] (II) event0  - Power Button: device removed
[ 25768.278] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[ 25768.278] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[ 25768.279] (II) event0  - Power Button: is tagged by udev as: Keyboard
[ 25768.279] (II) event0  - Power Button: device is a keyboard
[ 25768.280] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 25768.280] (II) No input driver specified, ignoring this device.
[ 25768.280] (II) This device may have been added with another device file.
[ 25768.280] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 25768.280] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 25768.280] (II) Using input driver 'libinput' for 'Sleep Button'
[ 25768.281] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 29 paused 0
[ 25768.281] (**) Sleep Button: always reports core events
[ 25768.281] (**) Option "Device" "/dev/input/event1"
[ 25768.282] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[ 25768.282] (II) event1  - Sleep Button: device is a keyboard
[ 25768.282] (II) event1  - Sleep Button: device removed
[ 25768.282] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[ 25768.282] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[ 25768.283] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[ 25768.283] (II) event1  - Sleep Button: device is a keyboard
[ 25768.284] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event12)
[ 25768.284] (II) No input driver specified, ignoring this device.
[ 25768.284] (II) This device may have been added with another device file.
[ 25768.284] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event13)
[ 25768.284] (II) No input driver specified, ignoring this device.
[ 25768.284] (II) This device may have been added with another device file.
[ 25768.285] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event14)
[ 25768.285] (II) No input driver specified, ignoring this device.
[ 25768.285] (II) This device may have been added with another device file.
[ 25768.285] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event9)
[ 25768.285] (II) No input driver specified, ignoring this device.
[ 25768.285] (II) This device may have been added with another device file.
[ 25768.286] (II) config/udev: Adding input device SYN1B81:01 06CB:2970 Mouse (/dev/input/event7)
[ 25768.286] (**) SYN1B81:01 06CB:2970 Mouse: Applying InputClass "libinput pointer catchall"
[ 25768.286] (II) Using input driver 'libinput' for 'SYN1B81:01 06CB:2970 Mouse'
[ 25768.286] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 30 paused 0
[ 25768.286] (**) SYN1B81:01 06CB:2970 Mouse: always reports core events
[ 25768.286] (**) Option "Device" "/dev/input/event7"
[ 25768.288] (II) event7  - SYN1B81:01 06CB:2970 Mouse: is tagged by udev as: Mouse Pointingstick
[ 25768.288] (II) event7  - SYN1B81:01 06CB:2970 Mouse: device is a pointer
[ 25768.289] (II) event7  - SYN1B81:01 06CB:2970 Mouse: device removed
[ 25768.289] (II) libinput: SYN1B81:01 06CB:2970 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 25768.289] (II) libinput: SYN1B81:01 06CB:2970 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 25768.289] (II) libinput: SYN1B81:01 06CB:2970 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 25768.289] (**) Option "config_info" "udev:/sys/devices/pci0000:00/INT3432:00/i2c-0/i2c-SYN1B81:01/0018:06CB:2970.0001/input/input10/event7"
[ 25768.289] (II) XINPUT: Adding extended input device "SYN1B81:01 06CB:2970 Mouse" (type: MOUSE, id 11)
[ 25768.289] (**) Option "AccelerationScheme" "none"
[ 25768.289] (**) SYN1B81:01 06CB:2970 Mouse: (accel) selected scheme none/0
[ 25768.289] (**) SYN1B81:01 06CB:2970 Mouse: (accel) acceleration factor: 2.000
[ 25768.289] (**) SYN1B81:01 06CB:2970 Mouse: (accel) acceleration threshold: 4
[ 25768.290] (II) event7  - SYN1B81:01 06CB:2970 Mouse: is tagged by udev as: Mouse Pointingstick
[ 25768.290] (II) event7  - SYN1B81:01 06CB:2970 Mouse: device is a pointer
[ 25768.292] (II) config/udev: Adding input device SYN1B81:01 06CB:2970 Mouse (/dev/input/mouse0)
[ 25768.292] (II) No input driver specified, ignoring this device.
[ 25768.292] (II) This device may have been added with another device file.
[ 25768.292] (II) config/udev: Adding input device SYN1B81:01 06CB:2970 Touchpad (/dev/input/event8)
[ 25768.292] (**) SYN1B81:01 06CB:2970 Touchpad: Applying InputClass "libinput touchpad catchall"
[ 25768.292] (**) SYN1B81:01 06CB:2970 Touchpad: Applying InputClass "touchpad catchall"
[ 25768.292] (**) SYN1B81:01 06CB:2970 Touchpad: Applying InputClass "Default clickpad buttons"
[ 25768.292] (**) SYN1B81:01 06CB:2970 Touchpad: Applying InputClass "touchpad"
[ 25768.292] (II) LoadModule: "synaptics"
[ 25768.292] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 25768.292] (II) Module synaptics: vendor="X.Org Foundation"
[ 25768.292] 	compiled for 1.21.1.13, module version = 1.9.2
[ 25768.292] 	Module class: X.Org XInput Driver
[ 25768.292] 	ABI class: X.Org XInput driver, version 24.4
[ 25768.292] (II) Using input driver 'synaptics' for 'SYN1B81:01 06CB:2970 Touchpad'
[ 25768.293] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 31 paused 0
[ 25768.293] (**) SYN1B81:01 06CB:2970 Touchpad: always reports core events
[ 25768.293] (**) Option "Device" "/dev/input/event8"
[ 25768.293] (II) synaptics: SYN1B81:01 06CB:2970 Touchpad: found clickpad property
[ 25768.293] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: x-axis range 0 - 1236 (res 12)
[ 25768.293] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: y-axis range 0 - 898 (res 12)
[ 25768.293] (II) synaptics: SYN1B81:01 06CB:2970 Touchpad: device does not report pressure, will use touch data.
[ 25768.293] (II) synaptics: SYN1B81:01 06CB:2970 Touchpad: device does not report finger width.
[ 25768.293] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: buttons: left double triple
[ 25768.293] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: Vendor 0x6cb Product 0x2970
[ 25768.293] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: invalid pressure range.  defaulting to 0 - 255
[ 25768.293] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: invalid finger width range.  defaulting to 0 - 15
[ 25768.293] (**) Option "FingerLow" "30"
[ 25768.293] (**) Option "FingerHigh" "50"
[ 25768.293] (**) Option "MaxTapTime" "200"
[ 25768.293] (**) Option "EmulateTwoFingerMinZ" "40"
[ 25768.293] (**) Option "EmulateTwoFingerMinW" "8"
[ 25768.293] (**) Option "VertEdgeScroll" "off"
[ 25768.293] (**) Option "HorizEdgeScroll" "off"
[ 25768.293] (**) Option "VertTwoFingerScroll" "on"
[ 25768.293] (**) Option "HorizTwoFingerScroll" "off"
[ 25768.293] (**) Option "TapButton1" "1"
[ 25768.293] (**) Option "TapButton2" "3"
[ 25768.293] (**) Option "TapButton3" "2"
[ 25768.293] (**) Option "CircularScrolling" "on"
[ 25768.293] (**) Option "CircScrollTrigger" "2"
[ 25768.293] (**) Option "CoastingSpeed" "1"
[ 25768.294] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[ 25768.294] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: touchpad found
[ 25768.294] (**) SYN1B81:01 06CB:2970 Touchpad: always reports core events
[ 25768.294] (**) Option "config_info" "udev:/sys/devices/pci0000:00/INT3432:00/i2c-0/i2c-SYN1B81:01/0018:06CB:2970.0001/input/input11/event8"
[ 25768.294] (II) XINPUT: Adding extended input device "SYN1B81:01 06CB:2970 Touchpad" (type: TOUCHPAD, id 12)
[ 25768.294] (**) synaptics: SYN1B81:01 06CB:2970 Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[ 25768.294] (**) synaptics: SYN1B81:01 06CB:2970 Touchpad: (accel) MaxSpeed is now 1.75
[ 25768.294] (**) synaptics: SYN1B81:01 06CB:2970 Touchpad: (accel) AccelFactor is now 0.131
[ 25768.294] (**) SYN1B81:01 06CB:2970 Touchpad: (accel) keeping acceleration scheme 1
[ 25768.294] (**) SYN1B81:01 06CB:2970 Touchpad: (accel) acceleration profile 1
[ 25768.294] (**) SYN1B81:01 06CB:2970 Touchpad: (accel) acceleration factor: 2.000
[ 25768.294] (**) SYN1B81:01 06CB:2970 Touchpad: (accel) acceleration threshold: 4
[ 25768.294] (--) synaptics: SYN1B81:01 06CB:2970 Touchpad: touchpad found
[ 25768.294] (II) config/udev: Adding input device SYN1B81:01 06CB:2970 Touchpad (/dev/input/mouse1)
[ 25768.294] (**) SYN1B81:01 06CB:2970 Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[ 25768.295] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 25768.295] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 25768.295] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 25768.296] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 32 paused 0
[ 25768.296] (**) AT Translated Set 2 keyboard: always reports core events
[ 25768.296] (**) Option "Device" "/dev/input/event4"
[ 25768.297] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 25768.297] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[ 25768.298] (II) event4  - AT Translated Set 2 keyboard: device removed
[ 25768.298] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[ 25768.298] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[ 25768.299] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 25768.299] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[ 25768.300] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[ 25768.300] (II) No input driver specified, ignoring this device.
[ 25768.300] (II) This device may have been added with another device file.
[ 25768.303] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event6)
[ 25768.303] (**) Acer WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[ 25768.303] (II) Using input driver 'libinput' for 'Acer WMI hotkeys'
[ 25768.304] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 33 paused 0
[ 25768.304] (**) Acer WMI hotkeys: always reports core events
[ 25768.304] (**) Option "Device" "/dev/input/event6"
[ 25768.304] (II) event6  - Acer WMI hotkeys: is tagged by udev as: Keyboard
[ 25768.304] (II) event6  - Acer WMI hotkeys: device is a keyboard
[ 25768.305] (II) event6  - Acer WMI hotkeys: device removed
[ 25768.305] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event6"
[ 25768.305] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 14)
[ 25768.305] (II) event6  - Acer WMI hotkeys: is tagged by udev as: Keyboard
[ 25768.305] (II) event6  - Acer WMI hotkeys: device is a keyboard
[ 25770.086] (II) intel(0): EDID vendor "CMN", prod id 5578
[ 25770.086] (II) intel(0): Printing DDC gathered Modelines:
[ 25770.086] (II) intel(0): Modeline "1366x768"x0.0   76.42  1366 1434 1479 1592  768 772 779 800 -hsync -vsync (48.0 kHz eP)
V1del wrote:

If xf86-video-intel is installed, remove that

Yep, xf86-vide-intel is installed. I removed it and tried to start sway. But it didn't work. Same error.

V1del wrote:

printenv

Ops, I don't know where MESA_LOADER_DRIVER_OVERRIDE=i965 is set... But, is it a problem?

SHELL=/bin/bash
COLORTERM=truecolor
CSF_MDTVTexturesDirectory=/usr/share/opencascade/resources/Textures
WLR_NO_HARDWARE_CURSORS=1
CSF_DrawPluginDefaults=/usr/share/opencascade/resources/DrawResources
I3SOCK=/run/user/1000/i3/ipc-socket.25490
TERMINATOR_DBUS_PATH=/net/tenshu/Terminator2
CSF_LANGUAGE=us
CSF_MIGRATION_TYPES=/usr/share/opencascade/resources/StdResource/MigrationSheet.txt
CREDENTIALS_DIRECTORY=/run/credentials/getty@tty1.service
MESA_LOADER_DRIVER_OVERRIDE=i965
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
TERMINATOR_UUID=urn:uuid:5352bf68-75ed-4938-ab44-35dbdbf9381d
CSF_OCCTResourcePath=/usr/share/opencascade/resources
NO_AT_BRIDGE=1
CSF_STEPDefaults=/usr/share/opencascade/resources/XSTEPResource
XDG_SEAT=seat0
PWD=/tmp
LOGNAME=heitor
XDG_SESSION_TYPE=tty
DRAWHOME=/usr/share/opencascade/resources/DrawResources
SYSTEMD_EXEC_PID=484
GREP_OPTIONS=--color=auto
XAUTHORITY=/home/heitor/.Xauthority
CSF_StandardLiteDefaults=/usr/share/opencascade/resources/StdResource
WINDOWPATH=1
MOTD_SHOWN=pam
HOME=/home/heitor
LANG=en_US.UTF-8
_JAVA_AWT_WM_NONREPARENTING=1
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure
VTE_VERSION=7801
INVOCATION_ID=706ac186879046c69b5bc44524ad15c2
TERMINATOR_DBUS_NAME=net.tenshu.Terminator21a9d5db22c73a993ff0b42f64b396873
CSF_ShadersDirectory=/usr/share/opencascade/resources/Shaders
CSF_EXCEPTION_PROMPT=1
CSF_XmlOcafResource=/usr/share/opencascade/resources/XmlOcafResource
QT_QPA_PLATFORM=xcb
CSF_SHMessage=/usr/share/opencascade/resources/SHMessage
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=heitor
CSF_StandardDefaults=/usr/share/opencascade/resources/StdResource
CSF_IGESDefaults=/usr/share/opencascade/resources/XSTEPResource
MANPAGER=/usr/bin/most -s
VISUAL=nvim
DISPLAY=:0
CSF_XCAFDefaults=/usr/share/opencascade/resources/StdResource
SHLVL=3
XDG_VTNR=1
CSF_PluginDefaults=/usr/share/opencascade/resources/StdResource
CSF_TObjMessage=/usr/share/opencascade/resources/TObj
XDG_SESSION_ID=1
CASROOT=/usr
LD_LIBRARY_PATH=/opt/cuda/lib64
XDG_RUNTIME_DIR=/run/user/1000
JAVA_FONTS=/usr/share/fonts/TTF
PYTHONBREAKPOINT=pudb.set_trace
PS0=\[$(tput bold)\]\[\]\t\[\]\n
PS1=\n\[\]\u-\[\][\w]\[\]$(git status 2> /dev/null | grep -i modified | sed 's/.*modified.*/\[\]\*/g' | head -n 1)$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')\[\]$ \[\e[0m\]
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
BUN_INSTALL=/home/heitor/.local/share/reflex/bun
CUDA_HOME=/opt/cuda
CSF_XSMessage=/usr/share/opencascade/resources/XSMessage
MMGT_CLEAR=1
PATH=/home/heitor/.local/share/reflex/bun/bin:/opt/cuda/bin:/home/heitor/.local/share/reflex/bun/bin:/opt/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
CSF_TObjDefaults=/usr/share/opencascade/resources/StdResource
SAL_USE_VCLPLUGIN=gtk
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/heitor
_JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=gasp
DRAWDEFAULT=/usr/share/opencascade/resources/DrawResources/DrawDefault
OLDPWD=/home/heitor
_=/usr/bin/printenv
seth wrote:

pacman -Qikk mesa nvidia-utils egl-gbm

Name            : mesa
Version         : 1:24.2.7-1
Description     : Open-source OpenGL drivers
Architecture    : x86_64
URL             : https://www.mesa3d.org/
Licenses        : MIT AND BSD-3-Clause AND SGI-B-2.0
Groups          : None
Provides        : libva-mesa-driver=1:24.2.7-1  mesa-libgl=1:24.2.7-1  mesa-vdpau=1:24.2.7-1  libva-driver  opengl-driver  vdpau-driver
Depends On      : expat  gcc-libs  glibc  libdrm  libelf  libglvnd  libx11  libxcb  libxext  libxfixes  libxshmfence  libxxf86vm  llvm-libs  lm_sensors  wayland  zlib  zstd  libomxil-bellagio
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
Required By     : cogl  egl-gbm  google-talkplugin  gst-plugins-bad-libs  gst-plugins-base-libs  lib32-mesa  libglvnd  mpv  qt5-base  qt6-base  qt6-webengine  slop  webkit2gtk  webkit2gtk-4.1
                  wlroots  wlroots0.16  wlroots0.17  xf86-video-intel  xf86-video-nouveau  xorg-server-devel  xorg-xwayland
Optional For    : cura-bin  libva  libvdpau  obs-studio-wayland-git  tigervnc
Conflicts With  : libva-mesa-driver<1:24.2.7-1  mesa-libgl<17.0.1-2  mesa-vdpau<1:24.2.7-1
Replaces        : libva-mesa-driver<1:24.2.7-1  mesa-libgl<17.0.1-2  mesa-vdpau<1:24.2.7-1
Installed Size  : 111.51 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Wed 13 Nov 2024 02:18:12 PM -03
Install Date    : Sun 17 Nov 2024 03:19:27 PM -03
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

mesa: 100 total files, 0 altered files
Name            : nvidia-utils
Version         : 565.57.01-2
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : vulkan-driver  opengl-driver  nvidia-libgl
Depends On      : libglvnd  egl-wayland  egl-gbm
Optional Deps   : nvidia-settings: configuration tool
                  xorg-server: Xorg support [installed]
                  xorg-server-devel: nvidia-xconfig [installed]
                  opencl-nvidia: OpenCL support
Required By     : lib32-nvidia-utils  libglvnd  nvidia  nvidia-prime  wlroots  wlroots0.16  wlroots0.17
Optional For    : ffmpeg  ffmpeg4.4  libvdpau  vulkan-icd-loader
Conflicts With  : nvidia-libgl
Replaces        : nvidia-libgl
Installed Size  : 689.09 MiB
Packager        : Peter Jung <ptr1337@archlinux.org>
Build Date      : Thu 14 Nov 2024 08:18:42 AM -03
Install Date    : Thu 21 Nov 2024 06:45:30 PM -03
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

nvidia-utils: 257 total files, 0 altered files
Name            : egl-gbm
Version         : 1.1.2-1
Description     : The GBM EGL external platform library
Architecture    : x86_64
URL             : https://github.com/NVIDIA/egl-gbm
Licenses        : MIT
Groups          : None
Provides        : libnvidia-egl-gbm.so=1
Depends On      : eglexternalplatform  glibc  mesa  libdrm
Optional Deps   : None
Required By     : nvidia-utils
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 27.47 KiB
Packager        : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date      : Thu 19 Sep 2024 04:32:24 AM -03
Install Date    : Sat 05 Oct 2024 10:32:02 AM -03
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

egl-gbm: 12 total files, 0 altered files
seth wrote:

ls -l /usr/lib/lib*GL*

lrwxrwxrwx 1 root root      16 Nov 13 14:18 /usr/lib/libEGL_mesa.so -> libEGL_mesa.so.0
lrwxrwxrwx 1 root root      20 Nov 13 14:18 /usr/lib/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rwxr-xr-x 1 root root  331288 Nov 13 14:18 /usr/lib/libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root      18 Nov 14 08:18 /usr/lib/libEGL_nvidia.so -> libEGL_nvidia.so.0
lrwxrwxrwx 1 root root      26 Nov 14 08:18 /usr/lib/libEGL_nvidia.so.0 -> libEGL_nvidia.so.565.57.01
-rwxr-xr-x 1 root root 1353856 Nov 14 08:18 /usr/lib/libEGL_nvidia.so.565.57.01
lrwxrwxrwx 1 root root      11 Oct  7  2023 /usr/lib/libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root      15 Oct  7  2023 /usr/lib/libEGL.so.1 -> libEGL.so.1.1.0
-rwxr-xr-x 1 root root   67464 Oct  7  2023 /usr/lib/libEGL.so.1.1.0
lrwxrwxrwx 1 root root      18 Oct  7  2023 /usr/lib/libGLdispatch.so -> libGLdispatch.so.0
lrwxrwxrwx 1 root root      22 Oct  7  2023 /usr/lib/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rwxr-xr-x 1 root root  718872 Oct  7  2023 /usr/lib/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root      24 Nov 14 08:18 /usr/lib/libGLESv1_CM_nvidia.so -> libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root      32 Nov 14 08:18 /usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.565.57.01
-rwxr-xr-x 1 root root   63896 Nov 14 08:18 /usr/lib/libGLESv1_CM_nvidia.so.565.57.01
lrwxrwxrwx 1 root root      21 Nov 14 08:18 /usr/lib/libGLESv2_nvidia.so -> libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root      29 Nov 14 08:18 /usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.565.57.01
-rwxr-xr-x 1 root root  113040 Nov 14 08:18 /usr/lib/libGLESv2_nvidia.so.565.57.01
lrwxrwxrwx 1 root root      14 Oct  7  2023 /usr/lib/libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root      18 Oct  7  2023 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rwxr-xr-x 1 root root   71624 Oct  7  2023 /usr/lib/libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root      16 Jul  2 15:59 /usr/lib/libGLEW.so -> libGLEW.so.2.2.0
lrwxrwxrwx 1 root root      16 Jul  2 15:59 /usr/lib/libGLEW.so.2.2 -> libGLEW.so.2.2.0
-rw-r--r-- 1 root root  862136 Jul  2 15:59 /usr/lib/libGLEW.so.2.2.0
lrwxrwxrwx 1 root root      10 Oct  7  2023 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root      14 Oct  7  2023 /usr/lib/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root  538568 Oct  7  2023 /usr/lib/libGL.so.1.7.0
lrwxrwxrwx 1 root root      11 Jul  2 16:07 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root      15 Jul  2 16:07 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x 1 root root  354344 Jul  2 16:07 /usr/lib/libGLU.so.1.3.1
lrwxrwxrwx 1 root root      20 Nov 13 14:18 /usr/lib/libGLX_indirect.so.0 -> libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root      16 Nov 13 14:18 /usr/lib/libGLX_mesa.so -> libGLX_mesa.so.0
lrwxrwxrwx 1 root root      20 Nov 13 14:18 /usr/lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x 1 root root  441136 Nov 13 14:18 /usr/lib/libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root      18 Nov 14 08:18 /usr/lib/libGLX_nvidia.so -> libGLX_nvidia.so.0
lrwxrwxrwx 1 root root      26 Nov 14 08:18 /usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.565.57.01
-rwxr-xr-x 1 root root 1207840 Nov 14 08:18 /usr/lib/libGLX_nvidia.so.565.57.01
lrwxrwxrwx 1 root root      11 Oct  7  2023 /usr/lib/libGLX.so -> libGLX.so.0
lrwxrwxrwx 1 root root      15 Oct  7  2023 /usr/lib/libGLX.so.0 -> libGLX.so.0.0.0
-rwxr-xr-x 1 root root  137088 Oct  7  2023 /usr/lib/libGLX.so.0.0.0
-rwxr-xr-x 1 root root  735760 Nov 19 05:46 /usr/lib/libHSconstraints-0.13.4-GL7gL6PLI1xCVeOUyJXa3I-ghc9.2.8.so
-rwxr-xr-x 1 root root 2100224 Nov 19 16:27 /usr/lib/libHSregex-tdfa-1.3.2.2-743XGAHrGLPIAyhrr2nNbU-ghc9.2.8.so
lrwxrwxrwx 1 root root      14 Oct  7  2023 /usr/lib/libOpenGL.so -> libOpenGL.so.0
lrwxrwxrwx 1 root root      18 Oct  7  2023 /usr/lib/libOpenGL.so.0 -> libOpenGL.so.0.0.0
-rwxr-xr-x 1 root root  174024 Oct  7  2023 /usr/lib/libOpenGL.so.0.0.0
-rw-r--r-- 1 root root 1057028 Nov 12 04:43 /usr/lib/libQt5OpenGLExtensions.a
-rw-r--r-- 1 root root    1261 Nov 12 04:43 /usr/lib/libQt5OpenGLExtensions.prl
-rw-r--r-- 1 root root    1391 Nov 12 04:43 /usr/lib/libQt5OpenGL.prl
lrwxrwxrwx 1 root root      23 Nov 12 04:43 /usr/lib/libQt5OpenGL.so -> libQt5OpenGL.so.5.15.15
lrwxrwxrwx 1 root root      23 Nov 12 04:43 /usr/lib/libQt5OpenGL.so.5 -> libQt5OpenGL.so.5.15.15
lrwxrwxrwx 1 root root      23 Nov 12 04:43 /usr/lib/libQt5OpenGL.so.5.15 -> libQt5OpenGL.so.5.15.15
-rwxr-xr-x 1 root root  362632 Nov 12 04:43 /usr/lib/libQt5OpenGL.so.5.15.15
-rw-r--r-- 1 root root     391 Oct  8 06:51 /usr/lib/libQt6OpenGL.prl
lrwxrwxrwx 1 root root      17 Oct  8 06:51 /usr/lib/libQt6OpenGL.so -> libQt6OpenGL.so.6
lrwxrwxrwx 1 root root      21 Oct  8 06:51 /usr/lib/libQt6OpenGL.so.6 -> libQt6OpenGL.so.6.8.0
-rwxr-xr-x 1 root root  665472 Oct  8 06:51 /usr/lib/libQt6OpenGL.so.6.8.0
-rw-r--r-- 1 root root     544 Oct  8 06:51 /usr/lib/libQt6OpenGLWidgets.prl
lrwxrwxrwx 1 root root      24 Oct  8 06:51 /usr/lib/libQt6OpenGLWidgets.so -> libQt6OpenGLWidgets.so.6
lrwxrwxrwx 1 root root      28 Oct  8 06:51 /usr/lib/libQt6OpenGLWidgets.so.6 -> libQt6OpenGLWidgets.so.6.8.0
-rwxr-xr-x 1 root root   55816 Oct  8 06:51 /usr/lib/libQt6OpenGLWidgets.so.6.8.0
lrwxrwxrwx 1 root root      18 Oct  2 12:25 /usr/lib/libTKDEGLTF.so -> libTKDEGLTF.so.7.8
lrwxrwxrwx 1 root root      20 Oct  2 12:25 /usr/lib/libTKDEGLTF.so.7.8 -> libTKDEGLTF.so.7.8.1
-rwxr-xr-x 1 root root  436432 Oct  2 12:25 /usr/lib/libTKDEGLTF.so.7.8.1
lrwxrwxrwx 1 root root      22 Oct  2 12:25 /usr/lib/libTKXSDRAWGLTF.so -> libTKXSDRAWGLTF.so.7.8
lrwxrwxrwx 1 root root      24 Oct  2 12:25 /usr/lib/libTKXSDRAWGLTF.so.7.8 -> libTKXSDRAWGLTF.so.7.8.1
-rwxr-xr-x 1 root root   67632 Oct  2 12:25 /usr/lib/libTKXSDRAWGLTF.so.7.8.1
-rwxr-xr-x 1 root root   14224 Nov 14 15:06 /usr/lib/libvtkDomainsChemistryOpenGL2Java.so
lrwxrwxrwx 1 root root      34 Nov 14 15:06 /usr/lib/libvtkDomainsChemistryOpenGL2.so -> libvtkDomainsChemistryOpenGL2.so.1
lrwxrwxrwx 1 root root      36 Nov 14 15:06 /usr/lib/libvtkDomainsChemistryOpenGL2.so.1 -> libvtkDomainsChemistryOpenGL2.so.9.3
-rwxr-xr-x 1 root root   43072 Nov 14 15:06 /usr/lib/libvtkDomainsChemistryOpenGL2.so.9.3
-rwxr-xr-x 1 root root   14216 Nov 14 15:06 /usr/lib/libvtkImagingOpenGL2Java.so
lrwxrwxrwx 1 root root      25 Nov 14 15:06 /usr/lib/libvtkImagingOpenGL2.so -> libvtkImagingOpenGL2.so.1
lrwxrwxrwx 1 root root      27 Nov 14 15:06 /usr/lib/libvtkImagingOpenGL2.so.1 -> libvtkImagingOpenGL2.so.9.3
-rwxr-xr-x 1 root root   34872 Nov 14 15:06 /usr/lib/libvtkImagingOpenGL2.so.9.3
-rwxr-xr-x 1 root root   30600 Nov 14 15:06 /usr/lib/libvtkIOExportGL2PSJava.so
lrwxrwxrwx 1 root root      24 Nov 14 15:06 /usr/lib/libvtkIOExportGL2PS.so -> libvtkIOExportGL2PS.so.1
lrwxrwxrwx 1 root root      26 Nov 14 15:06 /usr/lib/libvtkIOExportGL2PS.so.1 -> libvtkIOExportGL2PS.so.9.3
-rwxr-xr-x 1 root root   51256 Nov 14 15:06 /usr/lib/libvtkIOExportGL2PS.so.9.3
-rwxr-xr-x 1 root root   34792 Nov 14 15:06 /usr/lib/libvtkRenderingContextOpenGL2Java.so
lrwxrwxrwx 1 root root      34 Nov 14 15:06 /usr/lib/libvtkRenderingContextOpenGL2.so -> libvtkRenderingContextOpenGL2.so.1
lrwxrwxrwx 1 root root      36 Nov 14 15:06 /usr/lib/libvtkRenderingContextOpenGL2.so.1 -> libvtkRenderingContextOpenGL2.so.9.3
-rwxr-xr-x 1 root root  227392 Nov 14 15:06 /usr/lib/libvtkRenderingContextOpenGL2.so.9.3
-rwxr-xr-x 1 root root   14224 Nov 14 15:06 /usr/lib/libvtkRenderingFFMPEGOpenGL2Java.so
lrwxrwxrwx 1 root root      33 Nov 14 15:06 /usr/lib/libvtkRenderingFFMPEGOpenGL2.so -> libvtkRenderingFFMPEGOpenGL2.so.1
lrwxrwxrwx 1 root root      35 Nov 14 15:06 /usr/lib/libvtkRenderingFFMPEGOpenGL2.so.1 -> libvtkRenderingFFMPEGOpenGL2.so.9.3
-rwxr-xr-x 1 root root   43072 Nov 14 15:06 /usr/lib/libvtkRenderingFFMPEGOpenGL2.so.9.3
-rwxr-xr-x 1 root root   14312 Nov 14 15:06 /usr/lib/libvtkRenderingGL2PSOpenGL2Java.so
lrwxrwxrwx 1 root root      32 Nov 14 15:06 /usr/lib/libvtkRenderingGL2PSOpenGL2.so -> libvtkRenderingGL2PSOpenGL2.so.1
lrwxrwxrwx 1 root root      34 Nov 14 15:06 /usr/lib/libvtkRenderingGL2PSOpenGL2.so.1 -> libvtkRenderingGL2PSOpenGL2.so.9.3
-rwxr-xr-x 1 root root   75840 Nov 14 15:06 /usr/lib/libvtkRenderingGL2PSOpenGL2.so.9.3
-rwxr-xr-x 1 root root   63368 Nov 14 15:06 /usr/lib/libvtkRenderingLICOpenGL2Java.so
lrwxrwxrwx 1 root root      30 Nov 14 15:06 /usr/lib/libvtkRenderingLICOpenGL2.so -> libvtkRenderingLICOpenGL2.so.1
lrwxrwxrwx 1 root root      32 Nov 14 15:06 /usr/lib/libvtkRenderingLICOpenGL2.so.1 -> libvtkRenderingLICOpenGL2.so.9.3
-rwxr-xr-x 1 root root  411704 Nov 14 15:06 /usr/lib/libvtkRenderingLICOpenGL2.so.9.3
-rwxr-xr-x 1 root root  473056 Nov 14 15:06 /usr/lib/libvtkRenderingOpenGL2Java.so
lrwxrwxrwx 1 root root      27 Nov 14 15:06 /usr/lib/libvtkRenderingOpenGL2.so -> libvtkRenderingOpenGL2.so.1
lrwxrwxrwx 1 root root      29 Nov 14 15:06 /usr/lib/libvtkRenderingOpenGL2.so.1 -> libvtkRenderingOpenGL2.so.9.3
-rwxr-xr-x 1 root root 2529384 Nov 14 15:06 /usr/lib/libvtkRenderingOpenGL2.so.9.3
-rwxr-xr-x 1 root root   55184 Nov 14 15:06 /usr/lib/libvtkRenderingVolumeOpenGL2Java.so
lrwxrwxrwx 1 root root      33 Nov 14 15:06 /usr/lib/libvtkRenderingVolumeOpenGL2.so -> libvtkRenderingVolumeOpenGL2.so.1
lrwxrwxrwx 1 root root      35 Nov 14 15:06 /usr/lib/libvtkRenderingVolumeOpenGL2.so.1 -> libvtkRenderingVolumeOpenGL2.so.9.3
-rwxr-xr-x 1 root root  657472 Nov 14 15:06 /usr/lib/libvtkRenderingVolumeOpenGL2.so.9.3
-rwxr-xr-x 1 root root   38880 Nov 14 15:06 /usr/lib/libvtkWebGLExporterJava.so
lrwxrwxrwx 1 root root      24 Nov 14 15:06 /usr/lib/libvtkWebGLExporter.so -> libvtkWebGLExporter.so.1
lrwxrwxrwx 1 root root      26 Nov 14 15:06 /usr/lib/libvtkWebGLExporter.so.1 -> libvtkWebGLExporter.so.9.3
-rwxr-xr-x 1 root root  206904 Nov 14 15:06 /usr/lib/libvtkWebGLExporter.so.9.3

Offline

#12 2024-11-24 19:13:04

seth
Member
Registered: 2012-09-03
Posts: 59,120

Re: [SOLVED] sway fail to start

[ 25768.128] (II) IGLX: Loaded and initialized swrast
[ 25768.128] (II) GLX: Initialized DRISWRAST GL provider for screen 0

For X11, remove "xf86-video-intel" and all configs referencing it. Actually remove all xf86-video-* packages.

You've a Kepler chip but it's not picked up by either the nouveau (nvidia-utils blacklists the nouveau kernel module) nor the nvidia driver (because you GPU isn't supported)
Install https://aur.archlinux.org/packages/nvidia-470xx-dkms/
Also probably get rid of optimus-manager.

Offline

#13 2024-11-24 20:50:25

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

Hi seth.

I don't know if I understood well, but without xf86-video-intel X11 doesn't work.

I removed:

  • xf86-video-intel

  • lib32-nvidia-utils

  • nvidia-utils

  • nvidia

  • nvidia-prime

  • bbswitch

I installed:

  • nvidia-470xx-dkms

I removed nvidia packages because conflicts with nvidia-470xx-dkms.

Then I tried to run sway and, unfortunately, it didn't work. Same error.

00:00:00.224 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

00:00:00.224 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.224 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.224 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.224 [ERROR] [wlr] [render/egl.c:268] Failed to initialize EGL
00:00:00.224 [ERROR] [wlr] [render/egl.c:571] Failed to initialize EGL context
00:00:00.224 [ERROR] [wlr] [render/gles2/renderer.c:499] Could not initialize EGL
00:00:00.224 [ERROR] [wlr] [render/wlr_renderer.c:272] Could not initialize renderer
00:00:00.224 [ERROR] [sway/server.c:236] Failed to create renderer

Then I tried

export MESA_LOADER_DRIVER_OVERRIDE=crocus
sway

It didn't work too.

I'm not an expert in this topic, but sway works inside X11.

Offline

#14 2024-11-25 08:51:33

seth
Member
Registered: 2012-09-03
Posts: 59,120

Re: [SOLVED] sway fail to start

I don't know if I understood well, but without xf86-video-intel X11 doesn't work.

grep -ri intel /{etc,usr/share}/X11/xorg.conf*
seth wrote:

remove "xf86-video-intel" and all configs referencing it

eglinfo -B

Offline

#15 2024-11-25 21:23:24

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

Hi seth. Thank you for your time. Unfortunately, it didn't work.

seth wrote:

eglinfo -B

libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.2.7-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.2.7-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.2.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
eglinfo: eglInitialize failed

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.2.7-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.2.7-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.2.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce 920M/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 470.256.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce 920M/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 470.256.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce 920M/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 470.256.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
eglinfo: eglInitialize failed

Device #2:

Platform Device platform:
eglinfo: eglInitialize failed

Device #3:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.2.7-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.2.7-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 18.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.2.7-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
seth wrote:

grep -ri intel /{etc,usr/share}/X11/xorg.conf*

/etc/X11/xorg.conf.d/20-intel.conf:   Identifier  "Intel Graphics"
/etc/X11/xorg.conf.d/20-intel.conf:   Driver      "intel"

Was removed:

  • /etc/X11/xorg.conf.d/20-intel.conf

  • xf86-video-intel

Then I tried to run sway. Unfortunately, it didn't work. I tried to run startx, it didn't work.

To run X11 again, I had to restore 20-intel.conf and install xf86-video-intel.

There are 3 files in /etc/X11/xorg.conf.d

20-intel.conf

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option "TearFree" "true"
   Option "AccelMethod" "sna"
   Option "NoAccel" "True"
   Option "DRI" "False"
EndSection

20-nouveau.conf:

Section "Device"
    Identifier "Nvidia card"
    Driver "nouveau"
EndSection

20-nvidia.conf:

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "NoLogo" "true"
        #Option "UseEDID" "false"
        #Option "ConnectedMonitor" "DFP"
        # ...
EndSection
lspci -k
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Acer Incorporated [ALI] Device 098a
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
	Subsystem: Lite-On Communications Inc Device 0803
	Kernel driver in use: ath9k
	Kernel modules: ath9k
04:00.0 3D controller: NVIDIA Corporation GK208BM [GeForce 920M] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device 098b
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
04:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
	Subsystem: Acer Incorporated [ALI] Device 098b
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

Offline

#16 2024-11-26 01:39:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,313

Re: [SOLVED] sway fail to start

get rid of all three files, find out where you're exporting MESA_LOADER_DRIVER_OVERRIDE=i965 and generally get rid of it.

Offline

#17 2024-11-26 23:05:33

Heitor Freitas
Member
Registered: 2024-11-22
Posts: 8

Re: [SOLVED] sway fail to start

Thank you guys!!! It works smile

For who facing the same problem, in summary,

The problem: sway won't start

00:00:00.215 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
00:00:00.215 [ERROR] [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
00:00:00.215 [DEBUG] [wlr] [render/egl.c:486] Using EGL device /dev/dri/card1
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
libEGL warning: MESA-LOADER: egl: failed to open i965: driver not built!

00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.216 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.216 [ERROR] [wlr] [render/egl.c:268] Failed to initialize EGL
00:00:00.216 [ERROR] [wlr] [render/egl.c:571] Failed to initialize EGL context
00:00:00.216 [ERROR] [wlr] [render/gles2/renderer.c:499] Could not initialize EGL
00:00:00.216 [DEBUG] [wlr] [render/wlr_renderer.c:192] Failed to create a GLES2 renderer. Skipping!
00:00:00.216 [ERROR] [wlr] [render/wlr_renderer.c:272] Could not initialize renderer
00:00:00.216 [ERROR] [sway/server.c:236] Failed to create renderer

The solution: check your drivers and configs

Uninstall:

  • xf86-video-intel (all xf86-video-*)

  • lib32-nvidia-utils

  • nvidia-utils

  • nvidia

  • nvidia-prime

  • bbswitch or other optimus-manager

Install:

Check your environment to verify MESA_LOADER_DRIVER_OVERRIDE:

printenv | grep MESA_LOADER_DRIVER_OVERRIDE

In my case, MESA_LOADER_DRIVER_OVERRIDE=i915. Find it and remove it

In my case:

/usr/lib/environment.d/99-environment.conf

If isn't your case, find it:

cd /usr
sudo grep -IRHn MESA_LOADER_DRIVER_OVERRIDE 2> /dev/null

For X11, remove all driver configs in the folder

/etc/X11/xorg.conf.d/

In my case, there was

  • 20-intel.conf

  • 20-nouveau.conf

  • 20-nvidia.conf

Offline

#18 2024-11-27 07:04:00

seth
Member
Registered: 2012-09-03
Posts: 59,120

Re: [SOLVED] sway fail to start

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB