You are not logged in.

#1 2024-11-10 11:08:33

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

[SOLVED] Low performance on Wayland after novideo driver downgrade

I decided to downgrade nvidia-dkms to v. 535. After doing this, KDE Plasma on Wayland suffered from extremely low performance. The cursor itself is laggy and probably runs at less than 60 FPS (I have a 144hz monitor). For some reason, the Kwin performance meter effect in "Desktop Effects" in Plasma's system settings, along with many other effects, is gone. Hyprland runs fine until I start a game, Half-Life 2 took ages to load (when it usually takes just a few seconds). Doing anything in Kwin takes several seconds. Now, I use nvidia-dkms 565.57.01-1. I  tried setting nvidia-drm.modeset=0, but after rebooting, it got set back to =1. X11 works fine.

Intel i5 10400, novideo GTX 1650, 16GB DDR4 Crucial RAM, running on btrfs

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

Offline

#2 2024-11-11 00:21:01

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

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

Normal, the major xwayland nvidia perf wins got introduced in 550x. What's the reason for the downgrade attempt? Also you don't want to disable modesetting it's a precondition of wayland working.

Last edited by V1del (2024-11-11 00:25:36)

Offline

#3 2024-11-11 21:55:12

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

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

Not normal, it always ran properly. Even on older drivers. Basically, I read on a Github page that this game called osu! (https://github.com/ppy/osu) runs on Vulkan with 535xx only. Apparently, driver versions above 535xx have issues with Vulkan in the game. So I used

sudo downgrade

and downgraded all the relevant packages. Now, I went back to the latest nvidia-dkms and other nvidia packages, but it still runs like shit.

Last edited by average_scout (2024-11-13 15:01:36)

Offline

#4 2024-11-12 01:24:24

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

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

Xwayland will generally have  had flickering issues without the explicit sync integration, if you're sure general perf was fine you probably missed some packages. Post

sudo journalctl -b | curl -F 'file=@-' 0x0.st
pacman -Qs 'nvidia|kernel'
dkms status

Offline

#5 2024-11-12 09:29:00

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

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

Your network ($IP) is blocked from uploading files.local/cpupower 6.10-2 (linux-tools)
    Linux kernel tool to examine and tune power saving related features of your processor
local/dkms 3.1.1-2
    Dynamic Kernel Modules System
local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.16-1
    EGLStream-based Wayland external platform
local/fuse2 2.9.9-5
    Interface for userspace programs to export a filesystem to the Linux kernel
local/fuse3 3.16.2-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/gwe 0.15.9-1
    A system utility for controlling NVIDIA GPUs
local/iptables 1:1.8.10-2
    Linux kernel packet control tool (using legacy interface)
local/kmod 33-3
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.123-1
    Userspace interface to kernel DRM services (32-bit)
local/lib32-nvidia-utils 565.57.01-1
    NVIDIA drivers utilities (32-bit)
local/libdrm 2.4.123-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 47.1-1
    Kernel based performance profiler - capture library
local/libtraceevent 1:1.8.4-1
    Linux kernel trace event library
local/libtracefs 1.8.1-1
    Linux kernel trace file system library
local/libva-nvidia-driver 0.0.13-1
    VA-API implementation that uses NVDEC as a backend
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 565.57.01-1
    NVIDIA NV-CONTROL X extension
local/linux-api-headers 6.10-1
    Kernel headers sanitized for use in userspace
local/linux-zen 6.11.6.zen1-1
    The Linux ZEN kernel and modules
local/linux-zen-headers 6.11.6.zen1-1
    Headers and scripts for building modules for the Linux ZEN kernel
local/mtdev 1.1.7-1
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/ndctl 79-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/nvidia-open-dkms 565.57.01-1
    NVIDIA open kernel modules - module sources
local/nvidia-settings 565.57.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 565.57.01-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
nvidia/550.90.07: broken

Error! nvidia/550.90.07: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
nvidia/565.57.01, 6.11.6-zen1-1-zen, x86_64: installed

Last edited by average_scout (2024-11-13 15:02:03)

Offline

#6 2024-11-12 09:48:27

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

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

Can you upload the journal somewhere you're not blocked on? get rid of the broken nvidia package, you're now on nvidia-open-dkms and not nvidia-dkms was that intentional? What happens if you switch to nvidia-dkms, potentially in conjunction with the kernel parameters on the cmdline:

    nvidia.NVreg_EnableGpuFirmware=0 nvidia-drm.modeset=1

also maybe throw in

glxinfo -B
vulkaninfo --summary

FWIW do you have a link to that claim regarding osu? I highly doubt an userspace application being tied to a specific driver versions implementation unless it was to fix some bug back then that will likely have gotten fixed in newer drivers

Offline

#7 2024-11-12 10:25:57

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

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

http://0x0.st/Xkbn.txt
Yes, me being on open was intentional. I deleted

/var/lib/modules/*

but this did nothing. I reinstalled dkms, but no luck. I removed xorg-drivers, but that just nuked my sddm. I can see that it says

nvidia/550.90.07: broken

but there is no nvidia package.

glxinfo -B
vulkaninfo --summary
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 2805 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 565.57.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 565.57.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.295


Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 11
---------------------------
VK_LAYER_FROG_gamescope_wsi_x86_64 Gamescope WSI (XWayland Bypass) Layer (x86_64) 1.3.221  version 1
VK_LAYER_KHRONOS_validation        Khronos Validation Layer                       1.3.290  version 1
VK_LAYER_MANGOAPP_overlay          Mangoapp Layer                                 1.3.0    version 1
VK_LAYER_MANGOAPP_overlay          Mangoapp Layer                                 1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86      Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86_64   Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_NV_optimus                NVIDIA Optimus layer                           1.3.289  version 1
VK_LAYER_VALVE_steam_fossilize_32  Steam Pipeline Caching Layer                   1.3.2
07  version 1
VK_LAYER_VALVE_steam_fossilize_64  Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32    Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64    Steam Overlay Layer                            1.3.207  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.289
	driverVersion      = 565.57.1.0
	vendorID           = 0x10de
	deviceID           = 0x1f82
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1650
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 565.57.01
	conformanceVersion = 1.3.8.2
	deviceUUID         = c20920ce-ec34-6d2a-16c3-665ad832ef63
	driverUUID         = a40eb34f-a796-5990-89ac-95d78eb83699

abou the osu! thing, I forgor where I read it. But I think it was when I had just woken up so I was probably trippin
and the cmdline options do nothing as well.

Last edited by average_scout (2024-11-13 15:02:43)

Offline

#8 2024-11-12 11:30:07

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

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

All of this "looks" fine, is this actually a dual GPU setup where you disabled the intel card via software means? What do you get from

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation #Needs qt5-tools
eglinfo -B

FWIW this might also be down to a KWin/Plasma issue if this is actually dual GPU in which case https://invent.kde.org/plasma/kwin/-/wi … _gl_finish might help. You can add that in ~/.config/plasma-workspace/env/fixmultigpucopies.sh

#!/bin/sh
export KWIN_DRM_FORCE_MGPU_GL_FINISH=1

Offline

#9 2024-11-12 11:47:56

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

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

This is not a Plasma only issue. When I said Half-Life 2 took ages to load, that was on Hyprland. I am running a desktop, but my CPU obviously has integrated graphics. I don't think I've done anything with it. So it's a normal, single-monitor and single-GPU desktop setup. https://pastebin.com/4fipJ7DT

#!/bin/sh
export KWIN_DRM_FORCE_MGPU_GL_FINISH=1

just made the cursor a little less laggy.

Last edited by average_scout (2024-11-13 15:03:23)

Offline

#10 2024-11-12 19:41:41

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

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

I also want to add that osu! would always freeze when I ran it on Vulkan and I started playing a map. Both on X11 and Wayland. And the game had microstutters on Wayland with OpenGL. Maybe related.

Last edited by average_scout (2024-11-13 15:04:50)

Offline

#11 2024-11-12 20:00:20

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

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

I decided to downgrade nvidia-dkms to v. 535. After doing this, KDE Plasma on Wayland suffered from extremely low performance. … X11 works fine.

OpenGL core profile version string: 4.6.0 NVIDIA 565.57.01
Operation Mode: X11 only
…
OpenGL version string: 3.1.0 NVIDIA 565.57.01

So that's all from a setup that's actually working fine? That's probably pointless?

Online

#12 2024-11-12 20:01:49

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

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

Not fully. X11 works as always, fine. But Wayland lags like crazy.

Last edited by average_scout (2024-11-13 15:05:21)

Offline

#13 2024-11-12 20:05:54

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

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

Please refrain from pointless full-quotes.
So wayland *is* "laggy" on 565xx, was it before? Did you even test? How "laggy" is "laggy"?
Is it only the cursor or is everything slow at rendering?

In any event, post the supportInformation from the the relevant wayland session.

Online

#14 2024-11-12 20:19:43

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

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

It was not laggy before. "Laggy" is unusably laggy. Like, opening the Application Dashboard takes a full 2 seconds. Games are unplayable anyways, because the loading alone would probably take ages. Not just the cursor, the whole system.

sudo journalctl -b | curl -F 'file=@-' 0x0.st
pacman -Qs 'nvidia|kernel'
dkms status
http://0x0.st/XkMx.txt
local/cpupower 6.10-2 (linux-tools)
    Linux kernel tool to examine and tune power saving related features of your processor
local/dkms 3.1.1-2
    Dynamic Kernel Modules System
local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.16-1
    EGLStream-based Wayland external platform
local/fuse2 2.9.9-5
    Interface for userspace programs to export a filesystem to the Linux kernel
local/fuse3 3.16.2-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/gwe 0.15.9-1
    A system utility for controlling NVIDIA GPUs
local/iptables 1:1.8.10-2
    Linux kernel packet control tool (using legacy interface)
local/kmod 33-3
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.123-1
    Userspace interface to kernel DRM services (32-bit)
local/lib32-nvidia-utils 565.57.01-1
    NVIDIA drivers utilities (32-bit)
local/libdrm 2.4.123-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 47.1-1
    Kernel based performance profiler - capture library
local/libtraceevent 1:1.8.4-1
    Linux kernel trace event library
local/libtracefs 1.8.1-1
    Linux kernel trace file system library
local/libva-nvidia-driver 0.0.13-1
    VA-API implementation that uses NVDEC as a backend
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 565.57.01-1
    NVIDIA NV-CONTROL X extension
local/linux-api-headers 6.10-1
    Kernel headers sanitized for use in userspace
local/linux-zen 6.11.6.zen1-1
    The Linux ZEN kernel and modules
local/linux-zen-headers 6.11.6.zen1-1
    Headers and scripts for building modules for the Linux ZEN kernel
local/mtdev 1.1.7-1
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B
    protocol
local/ndctl 79-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux
    kernel
local/nvidia-dkms 565.57.01-1
    NVIDIA kernel modules - module sources
local/nvidia-settings 565.57.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 565.57.01-1
    NVIDIA drivers utilities
nvidia/565.57.01, 6.11.6-zen1-1-zen, x86_64: installed (original_module exists)
glxinfo -B
vulkaninfo --summary
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 3753 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 565.57.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 565.57.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:1118:vkCreateWaylandSurfaceKHR failed with ERROR_OUT_OF_HOST_MEMORY
qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation #Needs qt5-tools
eglinfo -B
KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 6.2.3
Qt Version: 6.8.0
Qt compile version: 6.8.0
XCB compile version: 1.17.0

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401004
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__Utterly-Round-Dark
Plugin recommends border size: No
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 
decorationButtonsRight: 9, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Quicksand,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: WhiteSur-cursors
themeSize: 24

Options
=======
focusPolicy: FocusFollowsMouse
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: true
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 100
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 2
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseLower
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseLower
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 0
reActivateThreshold: 500
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Number of Screens: 1

Screen 0:
---------
Name: HDMI-A-1
Enabled: 1
Geometry: 0,0,2560x1440
Scale: 1
Refresh Rate: 144007
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: QPainter

Loaded Effects:
---------------
outputlocator
zoom
screenedge
highlightwindow
kscreen

Currently Active Effects:
-------------------------

Effect Settings:
----------------
outputlocator:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

highlightwindow:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

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: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 630 (CML GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.2.6-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 630 (CML GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.2.6-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 630 (CML GT2)
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

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.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

Last edited by average_scout (2024-11-13 15:06:02)

Offline

#15 2024-11-12 20:25:50

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

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

seth wrote:

Please refrain from pointless full-quotes.

kwin wrote:

Compositing Type: QPainter

Nov 12 21:14:50 sleepless kwin_wayland[8891]: kwin_scene_opengl: eglInitialize failed
Nov 12 21:14:50 sleepless kwin_wayland[8891]: kwin_scene_opengl: Error during eglInitialize  12289
Nov 12 21:14:50 sleepless kwin_wayland[8891]: kwin_scene_opengl: Creating the OpenGL rendering failed:  "Could not initialize egl"
Nov 12 21:14:51 sleepless kwin_wayland_wrapper[8969]: Xwayland glamor: GBM Wayland interfaces not available
Nov 12 21:14:51 sleepless kwin_wayland_wrapper[8969]: Failed to initialize glamor, falling back to sw

This is why it's slow.
Remains the question why egl fails there.

printenv

Edit:

Nov 12 16:35:27 sleepless kernel: i915 0000:00:02.0: enabling device (0000 -> 0003)
Nov 12 16:35:27 sleepless kernel: i915 0000:00:02.0: [drm] Found COMETLAKE (device ID 9bc8) display version 9.00
Nov 12 16:35:27 sleepless kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
Nov 12 16:35:27 sleepless kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
Nov 12 16:35:27 sleepless kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Nov 12 16:35:27 sleepless kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Nov 12 16:35:28 sleepless kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

Try to blacklist i915

Last edited by seth (2024-11-12 20:30:06)

Online

#16 2024-11-12 20:27:10

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

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

printenv
SHELL=/bin/bash
SESSION_MANAGER=local/sleepless:@/tmp/.ICE-unix/9052,unix/sleepless:/tmp/.ICE-unix/9052
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_cQTWdG
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=9116
XAUTHORITY=/run/user/1000/xauth_ySYVUu
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=dd55aecf40d5473288fa9d9be19147df
MANAGERPID=8831
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:144986
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
__GLX_VENDOR_LIBRARY_NAME=nvidia
GBM_BACKEND=nvidia-drm
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/eclipse
_=/usr/bin/printenv

Last edited by average_scout (2024-11-13 15:12:51)

Offline

#17 2024-11-12 20:35:00

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

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

Are you somehow retarded or is this a trolling effort? Stop the full quoting habit. I'm not saying it again.

Then see my previous edit. You can also set KWIN_DRM_DEVICES.

Online

#18 2024-11-13 05:46:52

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

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

cat /etc/modprobe.d/i915.conf
blacklist i915

this does nothing. Also, I'm not trying to troll anyone, just assumed cuz you had printenv in code brackets in your reply, you wanted my output of that.

Last edited by average_scout (2024-11-13 15:13:14)

Offline

#19 2024-11-13 06:59:53

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

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

No, I told you several times to stop bloating the thread with your midless full-quoting.
And you did it again.

Just editing that file doen't achieve anything

lsmod | grep i915

If you want more help, come back after you cleaned up your posts in this thread.

Online

#20 2024-11-13 12:36:26

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

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

Even better would be to completely disable the integrated card in your UEFI.

Last edited by V1del (2024-11-13 12:39:40)

Offline

#21 2024-11-13 16:57:22

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

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

I would like to apologize to everyone on this thread for full-quoting. When seth told me to stop, I didn't understand what he meant. Yes, I'm a little retarded. I  have cleaned up the thread. Anyways,

lsmod | grep i915

returns nothing. Tried disabling iGPU in BIOS but that also did nothing.

Offline

#22 2024-11-13 17:09:05

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

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

Can you get rid of the

__GLX_VENDOR_LIBRARY_NAME=nvidia
GBM_BACKEND=nvidia-drm

environment variables, wherever it is you're currently setting them? but afaik there's also a kde config file that might force a software renderer, cursory checking do you have a ~/.config/kdeglobals file and does it contain a line that would force qt to a software renderer?

Speaking of which

XDG_CONFIG_DIRS=/home/eclipse/.config/kdedefaults:/etc/xdg

that line reads funky in any case, but not on my Arch to check whether that would be something that's set anyway.

Maybe also test whether you get the same issue on a fresh and new user

Last edited by V1del (2024-11-13 17:14:25)

Offline

#23 2024-11-13 18:42:56

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

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

Got rid of the envvars, ~/.config/kdeglobals has no such line. The line looks fine on my system? On a fresh new user, the issue is far worse. I had to forcibly reboot my machine. I can send pics, if you want.

Offline

#24 2024-11-13 19:42:17

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

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

No, but please post an update of

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation
sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#25 2024-11-13 19:54:09

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

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

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation
sudo journalctl -b | curl -F 'file=@-' 0x0.st
KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 6.2.3
Qt Version: 6.8.0
Qt compile version: 6.8.0
XCB compile version: 1.17.0

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401004
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__Utterly-Round-Dark
Plugin recommends border size: No
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 
decorationButtonsRight: 9, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Quicksand,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: WhiteSur-cursors
themeSize: 24

Options
=======
focusPolicy: FocusFollowsMouse
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: true
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 100
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 2
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseLower
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseLower
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 0
reActivateThreshold: 500
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Number of Screens: 1

Screen 0:
---------
Name: HDMI-A-1
Enabled: 1
Geometry: 0,0,2560x1440
Scale: 1
Refresh Rate: 144007
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: QPainter

Loaded Effects:
---------------
outputlocator
zoom
screenedge
highlightwindow
kscreen

Currently Active Effects:
-------------------------

Effect Settings:
----------------
outputlocator:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

highlightwindow:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

http://0x0.st/Xk9R.txt

Offline

Board footer

Powered by FluxBB