You are not logged in.
Hello! I have been having some problems of programs not launching because of errors related to egl like
Cannot find EGLConfig, returning null config
Segmentation fault (core dumped)and
No provider of eglGetCurrentContext found. Requires one of:
EGL 14
Aborted (core dumped)This issues began when I started playing around with wayland based wms. Also when I run eglinfo, device #1 shows warnings and ends in a segmentation fault:
$ eglinfo -B
GBM 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 GTX 1660 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.124.04
OpenGL core profile shading language version: 4.60 NVIDIA
Wayland platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
X11 platform:
eglinfo: eglInitialize failed
Surfaceless 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 GTX 1660 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.124.04
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.124.04
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.124.04
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 GTX 1660 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.124.04
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.124.04
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.124.04
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
Device #1:
Platform Device platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
Segmentation fault (core dumped)Offline
ldd /usr/bin/eglgears_*
pacman -Qikk nvidia-utils mesa egl-gbm egl-wayland egl-x11issues began when I started playing around with wayland based wms
Is this currently X11 or a (which) wayland compositor?
Offline
Is this currently X11 or a (which) wayland compositor?
a wayland compositor. I have tried both hyprland and niri and both had the same issue.
Offline
also here are the outputs for commands:
$ ldd /usr/bin/eglgears_*
/usr/bin/eglgears_wayland:
linux-vdso.so.1 (0x00007618b583e000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007618b5780000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007618b5688000)
libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007618b5683000)
libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007618b5674000)
libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007618b562c000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007618b561a000)
libdecor-0.so.0 => /usr/lib/libdecor-0.so.0 (0x00007618b560d000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007618b541b000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007618b5363000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007618b5331000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007618b5840000)
libffi.so.8 => /usr/lib/libffi.so.8 (0x00007618b5326000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007618b51e3000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007618b51b8000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007618b51b3000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007618b51ab000)
/usr/bin/eglgears_x11:
linux-vdso.so.1 (0x0000775889d4c000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x0000775889c90000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000775889b98000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0000775889a57000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0x0000775889a45000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000775889853000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x000077588979b000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x0000775889767000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000775889d4e000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x000077588973c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x0000775889737000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x000077588972f000)$ pacman -Qikk nvidia-utils mesa egl-gbm egl-wayland egl-x11
Name : nvidia-utils-tkg
Version : 570.124.04-263
Description : NVIDIA driver utilities and libraries for 'nvidia-tkg'
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom:NVIDIA
Groups : None
Provides : nvidia-utils=570.124.04 nvidia-utils-tkg=570.124.04 vulkan-driver opengl-driver nvidia-libgl
Depends On : libglvnd mesa vulkan-icd-loader egl-gbm egl-wayland
Optional Deps : gtk2: nvidia-settings (GTK+ v2)
gtk3: nvidia-settings (GTK+ v3) [installed]
opencl-nvidia-tkg: OpenCL support [installed]
xorg-server [installed]
xorg-server-devel: nvidia-xconfig
egl-wayland-git: for alternative, more advanced Wayland library (libnvidia-egl-wayland.so)
Required By : aquamarine hyprland lib32-nvidia-utils-tkg libglvnd nvidia-settings-tkg
Optional For : ffmpeg ffmpeg4.4 libvdpau sdl3 vulkan-icd-loader
Conflicts With : nvidia-utils nvidia-libgl
Replaces : None
Installed Size : 789.15 MiB
Packager : Unknown Packager
Build Date : Wed 05 Mar 2025 02:39:08 PM EET
Install Date : Wed 05 Mar 2025 02:50:04 PM EET
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None
nvidia-utils-tkg: 242 total files, 0 altered files
Name : mesa
Version : 1:24.3.4-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.3.4-1 mesa-libgl=1:24.3.4-1 mesa-vdpau=1:24.3.4-1 libva-driver opengl-driver vdpau-driver
Depends On : expat gcc-libs glibc libdrm libelf libglvnd libx11 libxcb libxext libxshmfence libxxf86vm llvm-libs lm_sensors spirv-tools
wayland zlib zstd
Optional Deps : opengl-man-pages: for the OpenGL API man pages
Required By : aquamarine egl-gbm gst-plugins-bad-libs gst-plugins-base-libs hyprland kpipewire kwin lib32-mesa libglvnd niri nvidia-utils-tkg
qt5-base qt6-base qt6-webengine xorg-xwayland
Optional For : fastfetch libva libvdpau
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 : 96.80 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Thu 23 Jan 2025 02:24:18 AM EET
Install Date : Sun 09 Feb 2025 03:08:43 PM EET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
mesa: 100 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-tkg
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 10:32:24 AM EEST
Install Date : Wed 05 Mar 2025 02:50:02 PM EET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
egl-gbm: 12 total files, 0 altered files
Name : egl-wayland
Version : 4:1.1.17-1
Description : EGLStream-based Wayland external platform
Architecture : x86_64
URL : https://github.com/NVIDIA/egl-wayland
Licenses : MIT
Groups : None
Provides : libnvidia-egl-wayland.so=1-64
Depends On : eglexternalplatform glibc libdrm wayland
Optional Deps : None
Required By : nvidia-utils-tkg
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 93.55 KiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Tue 10 Dec 2024 06:40:03 PM EET
Install Date : Wed 05 Mar 2025 02:50:02 PM EET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
egl-wayland: 20 total files, 0 altered files
error: package 'egl-x11' was not foundOffline
How about not using the TKG stuff?
Does eglgears_x11 work on an X11 session?
Does eglgears_wayland on weston?
Offline
Reverted back to non tkg, behaves still the same.
eglgears_x11 does work like it should.
Installed weston but for some reason can't get it to start at all.
Offline
Installed weston but for some reason can't get it to start at all.
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What fails?
Please post your hyprland config and probably "printenv" output, also maybe test the behavior w/ a clean hyprland config resp. a fresh user account so we see whether it's local or global (config or not) problem.
Offline
I apologise. In the future I will try to post everything that might be necessary.
Weston was not launching from a tty but today I tried to launch it from a x11 session and it started fine as a window. I might've just misunderstood something. If you need it, here's the log when I try to run it from a tty:
Date: 2025-03-08 EET
[16:06:04.897] weston 14.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 14.0.0
[16:06:04.897] Command line: weston --log=./log.txt
[16:06:04.897] OS: Linux, 6.13.2-arch1-1, #1 SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 18:54:55 +0000, x86_64
[16:06:04.897] Flight recorder: enabled
[16:06:04.897] Starting with no config file.
[16:06:04.897] Output repaint window is 7 ms maximum.
[16:06:04.897] Loading module '/usr/lib/libweston-14/drm-backend.so'
[16:06:04.898] initializing drm backend
[16:06:04.898] Trying libseat launcher...
[16:06:04.898] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[16:06:04.898] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[16:06:04.899] [libseat/libseat.c:73] Seat opened with backend 'logind'
[16:06:04.899] libseat: session control granted
[16:06:04.900] using /dev/dri/card0
[16:06:04.900] DRM: supports atomic modesetting
[16:06:04.900] DRM: supports GBM modifiers
[16:06:04.900] DRM: supports Atomic async page flip
[16:06:04.900] DRM: supports picture aspect ratio
[16:06:04.900] Loading module '/usr/lib/libweston-14/gl-renderer.so'
[16:06:04.954] Using rendering device: /dev/dri/renderD128
[16:06:04.954] EGL version: 1.5
[16:06:04.954] EGL vendor: NVIDIA
[16:06:04.954] EGL client APIs: OpenGL_ES OpenGL
[16:06:04.954] EGL features:
EGL Wayland extension: yes
context priority: yes
buffer age: yes
partial update: yes
swap buffers with damage: yes
configless context: yes
surfaceless context: yes
dmabuf support: modifiers
[16:06:05.010] GL version: OpenGL ES 3.2 NVIDIA 570.124.04
[16:06:05.010] GLSL version: OpenGL ES GLSL ES 3.20
[16:06:05.010] GL vendor: NVIDIA Corporation
[16:06:05.010] GL renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
[16:06:05.016] GL ES 3.2 - renderer features:
read-back format: ARGB8888
glReadPixels supports y-flip: no
glReadPixels supports PBO: yes
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: yes
wl_shm half-float formats: no
internal R and RG formats: yes
OES_EGL_image_external: yes
[16:06:05.016] Using GL renderer
[16:06:05.031] event1 - Power Button: is tagged by udev as: Keyboard
[16:06:05.031] event1 - Power Button: device is a keyboard
[16:06:05.032] event0 - Power Button: is tagged by udev as: Keyboard
[16:06:05.032] event0 - Power Button: device is a keyboard
[16:06:05.034] event9 - Corsair Corsair Gaming K63 Keyboard: not tagged as supported input device
[16:06:05.034] event9 - not using input device '/dev/input/event9'
[16:06:05.036] event7 - Corsair Corsair Gaming K63 Keyboard: is tagged by udev as: Keyboard
[16:06:05.036] event7 - Corsair Corsair Gaming K63 Keyboard: device is a keyboard
[16:06:05.038] event8 - Corsair Corsair Gaming K63 Keyboard: not tagged as supported input device
[16:06:05.038] event8 - not using input device '/dev/input/event8'
[16:06:05.040] event10 - UGTABLET 11.6 inch PenDisplay Mouse: is tagged by udev as: Mouse
[16:06:05.040] event10 - UGTABLET 11.6 inch PenDisplay Mouse: device is a pointer
[16:06:05.042] event11 - UGTABLET 11.6 inch PenDisplay Keyboard: is tagged by udev as: Keyboard
[16:06:05.042] event11 - UGTABLET 11.6 inch PenDisplay Keyboard: device is a keyboard
[16:06:05.094] event12 - UGTABLET 11.6 inch PenDisplay: is tagged by udev as: Tablet
[16:06:05.121] event12 - UGTABLET 11.6 inch PenDisplay: device "UGTABLET 11.6 inch PenDisplay" (28bd:091f) is not known to libwacom
[16:06:05.121] event12 - UGTABLET 11.6 inch PenDisplay: device is a tablet
[16:06:05.122] event14 - HDA NVidia HDMI/DP,pcm=3: is tagged by udev as: Switch
[16:06:05.123] event14 - not using input device '/dev/input/event14'
[16:06:05.124] event15 - HDA NVidia HDMI/DP,pcm=7: is tagged by udev as: Switch
[16:06:05.124] event15 - not using input device '/dev/input/event15'
[16:06:05.125] event16 - HDA NVidia HDMI/DP,pcm=8: is tagged by udev as: Switch
[16:06:05.125] event16 - not using input device '/dev/input/event16'
[16:06:05.127] event17 - HDA NVidia HDMI/DP,pcm=9: is tagged by udev as: Switch
[16:06:05.127] event17 - not using input device '/dev/input/event17'
[16:06:05.129] event2 - ASUSTek TUF GAMING M3 Mouse: is tagged by udev as: Mouse
[16:06:05.129] event2 - ASUSTek TUF GAMING M3 Mouse: device is a pointer
[16:06:05.131] event3 - ASUSTek TUF GAMING M3: not tagged as supported input device
[16:06:05.131] event3 - not using input device '/dev/input/event3'
[16:06:05.133] event4 - ASUSTek TUF GAMING M3 Consumer Control: is tagged by udev as: Keyboard
[16:06:05.133] event4 - ASUSTek TUF GAMING M3 Consumer Control: device is a keyboard
[16:06:05.134] event5 - ASUSTek TUF GAMING M3 System Control: is tagged by udev as: Keyboard
[16:06:05.134] event5 - ASUSTek TUF GAMING M3 System Control: device is a keyboard
[16:06:05.136] event6 - ASUSTek TUF GAMING M3: is tagged by udev as: Keyboard
[16:06:05.136] event6 - ASUSTek TUF GAMING M3: device is a keyboard
[16:06:05.137] event18 - HD-Audio Generic Mic: is tagged by udev as: Switch
[16:06:05.137] event18 - not using input device '/dev/input/event18'
[16:06:05.138] event19 - HD-Audio Generic Line Out: is tagged by udev as: Switch
[16:06:05.138] event19 - not using input device '/dev/input/event19'
[16:06:05.139] event20 - HD-Audio Generic Front Headphone: is tagged by udev as: Switch
[16:06:05.140] event20 - not using input device '/dev/input/event20'
[16:06:05.141] event13 - PC Speaker: not tagged as supported input device
[16:06:05.141] event13 - not using input device '/dev/input/event13'
[16:06:05.144] libinput: configuring device "Power Button".
[16:06:05.144] libinput: configuring device "Power Button".
[16:06:05.144] libinput: configuring device "Corsair Corsair Gaming K63 Keyboard".
[16:06:05.144] libinput: configuring device "UGTABLET 11.6 inch PenDisplay Mouse".
[16:06:05.144] input device event10 has no enabled output associated (none named), skipping calibration for now.
[16:06:05.144] libinput: configuring device "UGTABLET 11.6 inch PenDisplay Keyboard".
[16:06:05.144] libinput: configuring device "UGTABLET 11.6 inch PenDisplay".
[16:06:05.144] input device event12 has no enabled output associated (none named), skipping calibration for now.
[16:06:05.144] libinput: configuring device "ASUSTek TUF GAMING M3 Mouse".
[16:06:05.144] libinput: configuring device "ASUSTek TUF GAMING M3 Consumer Control".
[16:06:05.144] libinput: configuring device "ASUSTek TUF GAMING M3 System Control".
[16:06:05.144] libinput: configuring device "ASUSTek TUF GAMING M3".
[16:06:05.144] DRM: head 'DVI-D-1' found, connector 103 is disconnected.
[16:06:05.179] DRM: head 'HDMI-A-1' found, connector 105 is connected, EDID make 'PNP(UGD)', model 'Artist 12 pro', serial '0x19201012'
Supported EOTF modes: SDR
Supported colorimetry modes: default
[16:06:05.331] DRM: head 'DP-1' found, connector 108 is connected, EDID make 'Samsung Electric Company', model 'F24G3xTF', serial 'H4CRB00812T'
Supported EOTF modes: SDR
Supported colorimetry modes: default
[16:06:05.331] Registered plugin API 'weston_drm_output_api_v1' of size 40
[16:06:05.331] Registered plugin API 'weston_drm_virtual_output_api_v2' of size 48
[16:06:05.331] Color manager: no-op
protocol support: no
[16:06:05.331] Output 'HDMI-A-1' attempts EOTF mode SDR and colorimetry mode default.
[16:06:05.331] Output 'HDMI-A-1' using color profile: stock sRGB color profile
[16:06:05.331] No EGL configs to choose from.
[16:06:05.331] No EGLConfig matches { win; XRGB8888, ARGB8888 }.
[16:06:05.331] All available EGLConfigs:
[16:06:05.331] failed to create egl surface
[16:06:05.331] failed to create gl renderer output state
[16:06:05.331] Failed to init output gl state
[16:06:05.331] Enabling output "HDMI-A-1" failed.
[16:06:05.331] Error: cannot enable output 'HDMI-A-1' without heads.
[16:06:05.331] Output 'DP-1' attempts EOTF mode SDR and colorimetry mode default.
[16:06:05.331] Output 'DP-1' using color profile: stock sRGB color profile
[16:06:05.331] No EGL configs to choose from.
[16:06:05.331] No EGLConfig matches { win; XRGB8888, ARGB8888 }.
[16:06:05.331] All available EGLConfigs:
[16:06:05.331] failed to create egl surface
[16:06:05.331] failed to create gl renderer output state
[16:06:05.331] Failed to init output gl state
[16:06:05.331] Enabling output "DP-1" failed.
[16:06:05.331] Error: cannot enable output 'DP-1' without heads.
[16:06:05.331] event1 - Power Button: device removed
[16:06:05.332] event0 - Power Button: device removed
[16:06:05.332] event7 - Corsair Corsair Gaming K63 Keyboard: device removed
[16:06:05.332] event10 - UGTABLET 11.6 inch PenDisplay Mouse: device removed
[16:06:05.332] event11 - UGTABLET 11.6 inch PenDisplay Keyboard: device removed
[16:06:05.333] event12 - UGTABLET 11.6 inch PenDisplay: device removed
[16:06:05.333] event2 - ASUSTek TUF GAMING M3 Mouse: device removed
[16:06:05.333] event4 - ASUSTek TUF GAMING M3 Consumer Control: device removed
[16:06:05.333] event5 - ASUSTek TUF GAMING M3 System Control: device removed
[16:06:05.333] event6 - ASUSTek TUF GAMING M3: device removedeglgears_wayland still does not work. I would have provided something but I did not find a way to get a log or anything about that. I tried with the default hyprland config but all it did was made it harder for me to find the right characters as my keyboard layout isn't en_US lol. (I belive my config is basically the default). Here is the output of printenv:
$ printenv
SHELL=/usr/bin/bash
COLORTERM=truecolor
HYPRLAND_CMD=hyprland --config ./hyprland.conf
NVM_INC=/home/twigtarsier/.nvm/versions/node/v20.17.0/include/node
XDG_BACKEND=wayland
GRADLE_HOME=/usr/share/java/gradle
HL_INITIAL_WORKSPACE_TOKEN=8c491b8b-4eda-49d5-9d30-a27d15a73007
XCURSOR_SIZE=24
XDG_SEAT=seat0
PWD=/home/twigtarsier/Documents
LOGNAME=twigtarsier
XDG_SESSION_TYPE=wayland
MOTD_SHOWN=pam
HOME=/home/twigtarsier
LANG=en_US.UTF-8
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:
_JAVA_AWT_WM_NONREPARENTING=1
XDG_CURRENT_DESKTOP=Hyprland
STARSHIP_SHELL=bash
WAYLAND_DISPLAY=wayland-2
STARSHIP_SESSION_KEY=1602745231886420
NVM_DIR=/home/twigtarsier/.nvm
XDG_SESSION_CLASS=user
TERM=foot
USER=twigtarsier
HYPRLAND_INSTANCE_SIGNATURE=882f7ad7d2bbfc7440d0ccaef93b1cdd78e8e3ff_1741443422_1337221080
DISPLAY=:1
SHLVL=2
NVM_CD_FLAGS=
MOZ_ENABLE_WAYLAND=1
XDG_VTNR=3
XDG_SESSION_ID=4
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
XDG_DATA_DIRS=/home/twigtarsier/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
PATH=/home/twigtarsier/.local/bin:/home/twigtarsier/.nvm/versions/node/v20.17.0/bin:/home/twigtarsier/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/twigtarsier/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
NVM_BIN=/home/twigtarsier/.nvm/versions/node/v20.17.0/bin
MAIL=/var/spool/mail/twigtarsier
GIO_LAUNCHED_DESKTOP_FILE_PID=12442
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/foot.desktop
OLDPWD=/home/twigtarsier
HYPRCURSOR_SIZE=24
_=/usr/bin/printenvLast edited by twigtarsier (2025-03-08 14:32:21)
Offline
Environment looks unsuspicious.
The idea was to run weston from the console, not as nested X11 instance.
Weston fails to run
[16:06:05.331] No EGL configs to choose from.
[16:06:05.331] No EGLConfig matches { win; XRGB8888, ARGB8888 }.
[16:06:05.331] All available EGLConfigs:
[16:06:05.331] failed to create egl surface
[16:06:05.331] failed to create gl renderer output state
[16:06:05.331] Failed to init output gl statemakes me wonder how hyprland is operating.
Does
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json eglgears_waylandwork?
Wrt the egl/x11 situation, does it break when you install egl-x11 ?
Offline
Does
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json eglgears_waylandwork?
Nope, still nothing.
Wrt the egl/x11 situation, does it break when you install egl-x11 ?
I am not exactly sure what you mean. I already have egl-x11 installed.
Offline
error: package 'egl-x11' was not found
pacman -Q egl-x11Offline
$ pacman -Q egl-x11
egl-x11 1.0.0-1Offline
i have no idea why it says that in the previous message i've sent. i don't think i have changed anything
EDIT: oh now i know. i installed it when i changed from the tkg stuff
Last edited by twigtarsier (2025-03-10 17:06:02)
Offline
Ok, assuming this is still an issue: broadsword time.
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json strace -f -tt -o /tmp/eglgears.strace eglgears_wayland
cat /tmp/eglgears.strace | curl -F 'file=@-' 0x0.stOffline
Yep, here's the output: https://0x0.st/8Q1G.txt
Offline
Errr… that ran 5s and was eventually killed by sigint (ctrl+c) - there does not seem to have been any error?
And notably nothing like
[16:06:05.331] No EGL configs to choose from.
[16:06:05.331] No EGLConfig matches { win; XRGB8888, ARGB8888 }.Offline
I might be just dumb here but I am not really understanding what I should do? Did I mess something up? I tried running the thing again but nothing really happens.
Offline
The eglgears_wayland process ran and from what I can tell did't yell an error either.
What exactly happens when you just run
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json eglgears_waylandDo you get an error, some output or does the process just hang…
Offline
It just spits out
EGL_VERSION = 1.5and then proceeds to do nothing
Offline
test the behavior w/ a […] fresh user account so we see whether it's local or global (config or not) problem.
There's a bunch of EACCESS and an EPERM around a futex, also try to remove /home/twigtarsier/.cache/nvidia/GLCache
In doubt actually "sudo eglgears_wayland"…
Offline
sorry for not replying but clearing the directory did nothing, doing sudo eglgears_wayland gave this error though:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
EGLUT: failed to initialize native displayOffline
sudo -E eglgears_wayland(-E preserves the environment, this is bad style, don't otherwise do this)
Offline
got rid of the error but nothing still shows up except the egl version number
Offline
So no errors, unexpected access failures that are red herrings…
Does software EGL still work?
__GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json LIBGL_ALWAYS_SOFTWARE=1 eglgears_waylandOffline
ok that opens up a small blank window titled eglgears
Offline