You are not logged in.

#26 2024-11-13 20:04:29

seth
Member
Registered: 2012-09-03
Posts: 58,981

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

Nov 13 20:52:00 sleepless kwin_wayland[824]: kwin_scene_opengl: eglInitialize failed
Nov 13 20:52:00 sleepless kwin_wayland[824]: kwin_scene_opengl: Error during eglInitialize  12289
Nov 13 20:52:00 sleepless kwin_wayland[824]: kwin_scene_opengl: Creating the OpenGL rendering failed:  "Could not initialize egl"

You're still on qpainter because eglInitialize failed.
But i915 is gone.

Please post updated versions of

eglinfo -B
printenv
pacman -Qikk nvidia nvidia-utils

Something's broken about your GL installation, perhaps some stale symlink?

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

Online

#27 2024-11-13 20:10:39

average_scout
Member
Registered: 2024-06-14
Posts: 74

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

eglinfo -B
printenv
pacman -Qikk nvidia nvidia-utils
GBM platform:
eglinfo: eglInitialize failed

Wayland 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.6-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.6-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.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
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.6-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.6-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.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

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 1650/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 565.57.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 565.57.01
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 1650/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 565.57.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 565.57.01
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
libEGL warning: egl: failed to create dri2 screen
eglinfo: eglInitialize failed

Device #2:

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.6-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.6-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.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

SHELL=/bin/bash
SESSION_MANAGER=local/sleepless:@/tmp/.ICE-unix/3394,unix/sleepless:/tmp/.ICE-unix/3394
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/eclipse/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3
XDG_MENU_PREFIX=plasma-
WLR_NO_HARDWARE_CURSORS=1
ICEAUTHORITY=/run/user/1000/iceauth_kUYLpX
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
LIBVA_DRIVER_NAME=nvidia
DESKTOP_SESSION=plasma
GTK_RC_FILES=/etc/gtk/gtkrc:/home/eclipse/.gtkrc:/home/eclipse/.config/gtkrc
ENABLE_VKBASALT=1
XDG_SEAT=seat0
PWD=/home/eclipse
XDG_SESSION_DESKTOP=KDE
LOGNAME=eclipse
QT_QPA_PLATFORMTHEME=wayland;xcb
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=3526
XAUTHORITY=/run/user/1000/xauth_hCIdXG
MOTD_SHOWN=pam
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/eclipse/.gtkrc-2.0:/home/eclipse/.config/gtkrc-2.0
HOME=/home/eclipse
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=KDE
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
KWIN_DRM_FORCE_MGPU_GL_FINISH=1
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=d21b0ca384a540daa785f1d44f9b1443
MANAGERPID=3189
KDE_SESSION_UID=1000
QV4_GC_TIMELIMIT=0
XDG_SESSION_CLASS=user
TERM=foot
USER=eclipse
QT_WAYLAND_RECONNECT=1
KDE_SESSION_VERSION=6
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
DISPLAY=:1
SHLVL=1
XDG_VTNR=1
XDG_SESSION_ID=5
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
LC_TIME=en_DE.UTF-8
XKB_DEFAULT_VARIANT=colemak
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=9:29096
XDG_DATA_DIRS=/home/eclipse/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
KDE_FULL_SESSION=true
PATH=/home/eclipse/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/eclipse/.spicetify:/home/eclipse/.spicetify
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/eclipse
_=/usr/bin/printenv
Name            : nvidia-dkms
Version         : 565.57.01-1
Description     : NVIDIA kernel modules - module sources
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : NVIDIA-MODULE  nvidia
Depends On      : dkms  nvidia-utils=565.57.01  libglvnd
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : NVIDIA-MODULE  nvidia
Replaces        : None
Installed Size  : 85.16 MiB
Packager        : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date      : Wed Oct 30 14:29:43 2024
Install Date    : Tue Nov 12 11:08:32 2024
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

nvidia-dkms: 485 total files, 0 altered files
Name            : nvidia-utils
Version         : 565.57.01-1
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 [installed]
                  xorg-server: Xorg support [installed]
                  xorg-server-devel: nvidia-xconfig [installed]
                  opencl-nvidia: OpenCL support
Required By     : aquamarine  cosmic-session  hyprland  lib32-nvidia-utils  libglvnd  nvidia-dkms  nvidia-settings
                  plasma6-wallpapers-wallpaper-engine-git  python-py3nvml  steam  wlroots0.17
Optional For    : ffmpeg  ffmpeg4.4  libvdpau  tuxclocker  vulkan-icd-loader
Conflicts With  : nvidia-libgl
Replaces        : nvidia-libgl
Installed Size  : 689.09 MiB
Packager        : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date      : Wed Oct 30 14:29:43 2024
Install Date    : Sat Nov 9 22:32:05 2024
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

warning: nvidia-utils: /usr/lib/modprobe.d/nvidia-utils.conf (Modification time mismatch)
warning: nvidia-utils: /usr/lib/modprobe.d/nvidia-utils.conf (Size mismatch)
warning: nvidia-utils: /usr/lib/modprobe.d/nvidia-utils.conf (SHA256 checksum mismatch)
nvidia-utils: 257 total files, 1 altered file
ls -l /usr/lib/lib*GL*
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      16 Oct 30 20:42 /usr/lib/libEGL_mesa.so -> libEGL_mesa.so.0
lrwxrwxrwx 1 root root      20 Oct 30 20:42 /usr/lib/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rwxr-xr-x 1 root root  331288 Oct 30 20:42 /usr/lib/libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root      18 Oct 30 14:29 /usr/lib/libEGL_nvidia.so -> libEGL_nvidia.so.0
lrwxrwxrwx 1 root root      26 Oct 30 14:29 /usr/lib/libEGL_nvidia.so.0 -> libEGL_nvidia.so.565.57.01
-rwxr-xr-x 1 root root 1353856 Oct 30 14:29 /usr/lib/libEGL_nvidia.so.565.57.01
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      24 Oct 30 14:29 /usr/lib/libGLESv1_CM_nvidia.so -> libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root      32 Oct 30 14:29 /usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.565.57.01
-rwxr-xr-x 1 root root   63896 Oct 30 14:29 /usr/lib/libGLESv1_CM_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      21 Oct 30 14:29 /usr/lib/libGLESv2_nvidia.so -> libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root      29 Oct 30 14:29 /usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.565.57.01
-rwxr-xr-x 1 root root  113040 Oct 30 14:29 /usr/lib/libGLESv2_nvidia.so.565.57.01
lrwxrwxrwx 1 root root      16 Jul  2 20:59 /usr/lib/libGLEW.so -> libGLEW.so.2.2.0
lrwxrwxrwx 1 root root      16 Jul  2 20:59 /usr/lib/libGLEW.so.2.2 -> libGLEW.so.2.2.0
-rw-r--r-- 1 root root  862136 Jul  2 20:59 /usr/lib/libGLEW.so.2.2.0
lrwxrwxrwx 1 root root      11 Jul  2 21:07 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root      15 Jul  2 21:07 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x 1 root root  354344 Jul  2 21:07 /usr/lib/libGLU.so.1.3.1
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
lrwxrwxrwx 1 root root      20 Oct 30 20:42 /usr/lib/libGLX_indirect.so.0 -> libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root      16 Oct 30 20:42 /usr/lib/libGLX_mesa.so -> libGLX_mesa.so.0
lrwxrwxrwx 1 root root      20 Oct 30 20:42 /usr/lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x 1 root root  441136 Oct 30 20:42 /usr/lib/libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root      18 Oct 30 14:29 /usr/lib/libGLX_nvidia.so -> libGLX_nvidia.so.0
lrwxrwxrwx 1 root root      26 Oct 30 14:29 /usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.565.57.01
-rwxr-xr-x 1 root root 1207840 Oct 30 14:29 /usr/lib/libGLX_nvidia.so.565.57.01
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      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    1391 Nov  3 12:11 /usr/lib/libQt5OpenGL.prl
lrwxrwxrwx 1 root root      23 Nov  3 12:11 /usr/lib/libQt5OpenGL.so -> libQt5OpenGL.so.5.15.15
lrwxrwxrwx 1 root root      23 Nov  3 12:11 /usr/lib/libQt5OpenGL.so.5 -> libQt5OpenGL.so.5.15.15
lrwxrwxrwx 1 root root      23 Nov  3 12:11 /usr/lib/libQt5OpenGL.so.5.15 -> libQt5OpenGL.so.5.15.15
-rwxr-xr-x 1 root root  362632 Nov  3 12:11 /usr/lib/libQt5OpenGL.so.5.15.15
-rw-r--r-- 1 root root 1057028 Nov  3 12:11 /usr/lib/libQt5OpenGLExtensions.a
-rw-r--r-- 1 root root    1261 Nov  3 12:11 /usr/lib/libQt5OpenGLExtensions.prl
-rw-r--r-- 1 root root     391 Oct  8 11:51 /usr/lib/libQt6OpenGL.prl
lrwxrwxrwx 1 root root      17 Oct  8 11:51 /usr/lib/libQt6OpenGL.so -> libQt6OpenGL.so.6
lrwxrwxrwx 1 root root      21 Oct  8 11:51 /usr/lib/libQt6OpenGL.so.6 -> libQt6OpenGL.so.6.8.0
-rwxr-xr-x 1 root root  665472 Oct  8 11:51 /usr/lib/libQt6OpenGL.so.6.8.0
-rw-r--r-- 1 root root     544 Oct  8 11:51 /usr/lib/libQt6OpenGLWidgets.prl
lrwxrwxrwx 1 root root      24 Oct  8 11:51 /usr/lib/libQt6OpenGLWidgets.so -> libQt6OpenGLWidgets.so.6
lrwxrwxrwx 1 root root      28 Oct  8 11:51 /usr/lib/libQt6OpenGLWidgets.so.6 -> libQt6OpenGLWidgets.so.6.8.0
-rwxr-xr-x 1 root root   55816 Oct  8 11:51 /usr/lib/libQt6OpenGLWidgets.so.6.8.0

Offline

#28 2024-11-13 20:46:18

seth
Member
Registered: 2012-09-03
Posts: 58,981

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

Ah, the split

pacman -Qikk egl-gbm

Online

#29 2024-11-13 21:02:18

average_scout
Member
Registered: 2024-06-14
Posts: 74

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

pacman -Qikk egl-gbm
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 Sep 19 09:32:24 2024
Install Date    : Sat Oct 5 10:46:27 2024
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

warning: egl-gbm: /usr/lib/libnvidia-egl-gbm.so (No such file or directory)
warning: egl-gbm: /usr/lib/libnvidia-egl-gbm.so.1 (Modification time mismatch)
warning: egl-gbm: /usr/share/egl/egl_external_platform.d/15_nvidia_gbm.json (No such file or directory)
egl-gbm: 12 total files, 3 altered files

Offline

#30 2024-11-13 21:07:35

seth
Member
Registered: 2012-09-03
Posts: 58,981

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

Finally.
Re-install that package.

Online

#31 2024-11-13 21:10:42

average_scout
Member
Registered: 2024-06-14
Posts: 74

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

sudo pacman -S egl-gbm

fixed the issue. Thanks for the help, frens.
Edit: just realized that this also fixed my microstuttering issue on osu! lazer with Wayland and OpenGL. Vulkan still doesn't work, but I guess that's a game issue.

Last edited by average_scout (2024-11-13 21:17:48)

Offline

#32 2024-11-13 21:22:09

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

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

Argh broken symlinks, didn't have one of those in a while.

Offline

#33 2024-11-13 21:26:12

average_scout
Member
Registered: 2024-06-14
Posts: 74

Re: [SOLVED] Low performance on Wayland after novideo driver downgrade

Could have been because of osu! lazer, as on the Github Q&A page on the experimental renderers, they talk about symlinks. I probably applied one of those wrong.

Offline

Board footer

Powered by FluxBB