You are not logged in.

#1 2024-03-04 03:45:47

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Bad X11 performance with Plasma + NVIDIA Propietary Driver

Hi.

I've been using Plasma for a while in my Arch. I have an NVIDIA 2080 RTX in my PC.
When i first installed Arch, i saw the window animations and stuff performance was really bad, so i tried changing to Wayland, and it was a lot more smoother, so i stayed on it.
With the time, all the uncompatibilites of Wayland began to tire me, so i had to return to X11, which keeps being slow in some animations, thing that is very annoying. For example, every time you open a window, it flickers a little bit, and the mouse and everything runs slow, until after 1 second of the most annoying thing in the world, the window opens. It is very annoying and really makes the system look so slow.
Is there anything, any configuration with the NVIDIA driver, any configuration for X11, any configuration for Plasma, or anything in the world that can make X11 run smoother? Or is it only, and only, the X11 bad performance that everyone is talking about due to it's old code? I really don't think so, because i've got a Laptop with Hybrid Graphics and 120Hz screen, and X11 runs well on it.
I use the NVIDIA driver with the kernel parameter, and early loading, which i read improves performance (i really did it because i needed it for using Wayland).
Also, my screen is 144Hz, which maybe is making things worse.

Here's my Neofetch output if it's useful someway:

                   -`                    aurelio3351@PCAurelioArch 
                  .o+`                   ------------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: Z390 AORUS ELITE 
               `+oooooo:                 Kernel: 6.7.8-arch1-1 
               -+oooooo+:                Uptime: 5 hours, 29 mins 
             `/:-:++oooo+:               Packages: 807 (pacman), 10 (flatpak) 
            `/++++/+++++++:              Shell: bash 5.2.26 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: Plasma 5.27.10 
         ./ooosssso++osssssso+`          WM: KWin 
        .oossssso-````/ossssss+`         Theme: [Plasma], Breeze [GTK2/3] 
       -osssssso.      :ssssssso.        Icons: Papirus-Dark [Plasma], Papirus-Dark [GTK2/3] 
      :osssssss/        osssso+++.       Terminal: konsole 
     /ossssssss/        +ssssooo/-       Terminal Font: Hack 12 
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel i7-9700F (8) @ 4.700GHz 
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce RTX 2080 SUPER 
 `++:.                           `-/+/   Memory: 2005MiB / 32024MiB 
 .`                                 `/
                                                                 
                                                                 

Please help me, i really want to use Arch, because it has been working on everything for me, except on this, and i would be really sad to use another distribution or returning to Windows just for this bullshit.

Last edited by Aurelio3351 (2024-03-04 03:48:04)


My life was going well until I started using Arch Linux.

Offline

#2 2024-03-04 08:00:13

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

if it's useful someway

No. Those are for r/unixporn roll

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#3 2024-03-04 15:34:34

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

No. Those are for r/unixporn roll

Lol

Xorg log:

[     7.870] (--) Log file renamed from "/var/log/Xorg.pid-585.log" to "/var/log/Xorg.0.log"
[     7.873] 
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[     7.873] Current Operating System: Linux PCAurelioArch 6.7.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 03 Mar 2024 00:30:36 +0000 x86_64
[     7.873] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=41537fb7-f1b4-478c-b335-f5d559bd92bc rw loglevel=3 quiet nvidia-drm.modeset=1
[     7.873]  
[     7.873] Current version of pixman: 0.43.4
[     7.873] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     7.873] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.873] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  4 12:26:24 2024
[     7.877] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     7.877] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     7.878] (==) No Layout section.  Using the first Screen section.
[     7.878] (==) No screen section available. Using defaults.
[     7.878] (**) |-->Screen "Default Screen Section" (0)
[     7.878] (**) |   |-->Monitor "<default monitor>"
[     7.879] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     7.879] (==) Automatically adding devices
[     7.879] (==) Automatically enabling devices
[     7.879] (==) Automatically adding GPU devices
[     7.879] (==) Automatically binding GPU devices
[     7.879] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     7.882] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     7.882] 	Entry deleted from font path.
[     7.882] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     7.882] 	Entry deleted from font path.
[     7.885] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     7.885] (==) ModulePath set to "/usr/lib/xorg/modules"
[     7.885] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     7.885] (II) Module ABI versions:
[     7.885] 	X.Org ANSI C Emulation: 0.4
[     7.885] 	X.Org Video Driver: 25.2
[     7.885] 	X.Org XInput driver : 24.4
[     7.885] 	X.Org Server Extension : 10.0
[     7.886] (++) using VT number 2

[     7.886] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     7.889] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.889] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[     7.891] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     7.893] (--) PCI:*(1@0:0:0) 10de:1e81:1043:8712 rev 161, Mem @ 0x53000000/16777216, 0x40000000/268435456, 0x50000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
[     7.893] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     7.893] (II) LoadModule: "glx"
[     7.895] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     7.909] (II) Module glx: vendor="X.Org Foundation"
[     7.909] 	compiled for 1.21.1.11, module version = 1.0.0
[     7.909] 	ABI class: X.Org Server Extension, version 10.0
[     7.909] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[     7.909] 	loading driver: nvidia
[     7.909] (==) Matched nvidia as autoconfigured driver 0
[     7.909] (==) Matched nouveau as autoconfigured driver 1
[     7.909] (==) Matched nv as autoconfigured driver 2
[     7.909] (==) Matched modesetting as autoconfigured driver 3
[     7.909] (==) Matched fbdev as autoconfigured driver 4
[     7.909] (==) Matched vesa as autoconfigured driver 5
[     7.909] (==) Assigned the driver to the xf86ConfigLayout
[     7.909] (II) LoadModule: "nvidia"
[     7.909] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     7.918] (II) Module nvidia: vendor="NVIDIA Corporation"
[     7.918] 	compiled for 1.6.99.901, module version = 1.0.0
[     7.918] 	Module class: X.Org Video Driver
[     7.919] (II) LoadModule: "nouveau"
[     7.920] (WW) Warning, couldn't open module nouveau
[     7.920] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     7.920] (II) LoadModule: "nv"
[     7.920] (WW) Warning, couldn't open module nv
[     7.920] (EE) Failed to load module "nv" (module does not exist, 0)
[     7.920] (II) LoadModule: "modesetting"
[     7.920] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     7.925] (II) Module modesetting: vendor="X.Org Foundation"
[     7.925] 	compiled for 1.21.1.11, module version = 1.21.1
[     7.925] 	Module class: X.Org Video Driver
[     7.925] 	ABI class: X.Org Video Driver, version 25.2
[     7.925] (II) LoadModule: "fbdev"
[     7.925] (WW) Warning, couldn't open module fbdev
[     7.925] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     7.925] (II) LoadModule: "vesa"
[     7.925] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     7.925] (II) Module vesa: vendor="X.Org Foundation"
[     7.925] 	compiled for 1.21.1.4, module version = 2.6.0
[     7.925] 	Module class: X.Org Video Driver
[     7.925] 	ABI class: X.Org Video Driver, version 25.2
[     7.925] (II) NVIDIA dlloader X Driver  550.54.14  Thu Feb 22 01:31:16 UTC 2024
[     7.925] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     7.926] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     7.926] (II) VESA: driver for VESA chipsets: vesa
[     7.929] (II) Loading sub module "fb"
[     7.929] (II) LoadModule: "fb"
[     7.929] (II) Module "fb" already built-in
[     7.929] (II) Loading sub module "wfb"
[     7.929] (II) LoadModule: "wfb"
[     7.929] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     7.930] (II) Module wfb: vendor="X.Org Foundation"
[     7.930] 	compiled for 1.21.1.11, module version = 1.0.0
[     7.930] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     7.932] (WW) Falling back to old probe method for modesetting
[     7.932] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     7.932] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     7.932] (==) NVIDIA(0): RGB weight 888
[     7.932] (==) NVIDIA(0): Default visual is TrueColor
[     7.932] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     7.932] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[     7.932] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[     7.932] (**) NVIDIA(0): Enabling 2D acceleration
[     7.932] (II) Loading sub module "glxserver_nvidia"
[     7.932] (II) LoadModule: "glxserver_nvidia"
[     7.932] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[     8.081] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     8.081] 	compiled for 1.6.99.901, module version = 1.0.0
[     8.081] 	Module class: X.Org Server Extension
[     8.081] (II) NVIDIA GLX Module  550.54.14  Thu Feb 22 01:33:16 UTC 2024
[     8.082] (II) NVIDIA: The X server supports PRIME Render Offload.
[     8.085] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[     8.085] (--) NVIDIA(0):     DFP-0 (boot)
[     8.085] (--) NVIDIA(0):     DFP-1
[     8.085] (--) NVIDIA(0):     DFP-2
[     8.085] (--) NVIDIA(0):     DFP-3
[     8.085] (--) NVIDIA(0):     DFP-4
[     8.085] (--) NVIDIA(0):     DFP-5
[     8.085] (--) NVIDIA(0):     DFP-6
[     8.088] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 2080 SUPER (TU104-A) at
[     8.088] (II) NVIDIA(0):     PCI:1:0:0 (GPU-0)
[     8.088] (--) NVIDIA(0): Memory: 8388608 kBytes
[     8.088] (--) NVIDIA(0): VideoBIOS: 90.04.7a.40.31
[     8.088] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     8.132] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): connected
[     8.132] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): Internal TMDS
[     8.132] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): 600.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.132] (--) NVIDIA(GPU-0): DFP-1: disconnected
[     8.132] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[     8.132] (--) NVIDIA(GPU-0): DFP-1: 2660.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.132] (--) NVIDIA(GPU-0): DFP-2: disconnected
[     8.132] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[     8.132] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.132] (--) NVIDIA(GPU-0): DFP-3: disconnected
[     8.132] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[     8.132] (--) NVIDIA(GPU-0): DFP-3: 2660.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.132] (--) NVIDIA(GPU-0): DFP-4: disconnected
[     8.132] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[     8.132] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.132] (--) NVIDIA(GPU-0): DFP-5: disconnected
[     8.132] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[     8.132] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.132] (--) NVIDIA(GPU-0): DFP-6: disconnected
[     8.132] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[     8.132] (--) NVIDIA(GPU-0): DFP-6: 2660.0 MHz maximum pixel clock
[     8.132] (--) NVIDIA(GPU-0): 
[     8.190] (==) NVIDIA(0): 
[     8.190] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[     8.190] (==) NVIDIA(0):     will be used as the requested mode.
[     8.190] (==) NVIDIA(0): 
[     8.191] (II) NVIDIA(0): Validated MetaModes:
[     8.191] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[     8.191] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[     8.259] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
[     8.259] (--) NVIDIA(0):     option
[     8.259] (II) UnloadModule: "modesetting"
[     8.259] (II) Unloading modesetting
[     8.259] (II) UnloadModule: "vesa"
[     8.259] (II) Unloading vesa
[     8.260] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[     8.260] (II) NVIDIA:     access.
[     8.264] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[     8.264] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[     8.264] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[     8.264] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[     8.264] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[     8.264] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[     8.264] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[     8.264] (II) NVIDIA(0):     Config Options in the README.
[     8.429] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[     8.441] (==) NVIDIA(0): Disabling shared memory pixmaps
[     8.441] (==) NVIDIA(0): Backing store enabled
[     8.441] (==) NVIDIA(0): Silken mouse enabled
[     8.441] (==) NVIDIA(0): DPMS enabled
[     8.442] (II) Loading sub module "dri2"
[     8.442] (II) LoadModule: "dri2"
[     8.442] (II) Module "dri2" already built-in
[     8.442] (II) NVIDIA(0): [DRI2] Setup complete
[     8.442] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     8.442] (II) Initializing extension Generic Event Extension
[     8.442] (II) Initializing extension SHAPE
[     8.442] (II) Initializing extension MIT-SHM
[     8.442] (II) Initializing extension XInputExtension
[     8.442] (II) Initializing extension XTEST
[     8.442] (II) Initializing extension BIG-REQUESTS
[     8.442] (II) Initializing extension SYNC
[     8.442] (II) Initializing extension XKEYBOARD
[     8.442] (II) Initializing extension XC-MISC
[     8.442] (II) Initializing extension SECURITY
[     8.442] (II) Initializing extension XFIXES
[     8.442] (II) Initializing extension RENDER
[     8.442] (II) Initializing extension RANDR
[     8.442] (II) Initializing extension COMPOSITE
[     8.442] (II) Initializing extension DAMAGE
[     8.442] (II) Initializing extension MIT-SCREEN-SAVER
[     8.443] (II) Initializing extension DOUBLE-BUFFER
[     8.443] (II) Initializing extension RECORD
[     8.443] (II) Initializing extension DPMS
[     8.443] (II) Initializing extension Present
[     8.443] (II) Initializing extension DRI3
[     8.443] (II) Initializing extension X-Resource
[     8.443] (II) Initializing extension XVideo
[     8.443] (II) Initializing extension XVideo-MotionCompensation
[     8.443] (II) Initializing extension GLX
[     8.443] (II) Initializing extension GLX
[     8.443] (II) Indirect GLX disabled.
[     8.444] (II) GLX: Another vendor is already registered for screen 0
[     8.444] (II) Initializing extension XFree86-VidModeExtension
[     8.444] (II) Initializing extension XFree86-DGA
[     8.444] (II) Initializing extension XFree86-DRI
[     8.444] (II) Initializing extension DRI2
[     8.444] (II) Initializing extension NV-GLX
[     8.444] (II) Initializing extension NV-CONTROL
[     8.444] (II) Initializing extension XINERAMA
[     8.564] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[     8.564] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     8.564] (**) Power Button: Applying InputClass "system-keyboard"
[     8.564] (II) LoadModule: "libinput"
[     8.564] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     8.568] (II) Module libinput: vendor="X.Org Foundation"
[     8.568] 	compiled for 1.21.1.8, module version = 1.4.0
[     8.568] 	Module class: X.Org XInput Driver
[     8.568] 	ABI class: X.Org XInput driver, version 24.4
[     8.568] (II) Using input driver 'libinput' for 'Power Button'
[     8.568] (**) Power Button: always reports core events
[     8.568] (**) Option "Device" "/dev/input/event2"
[     8.572] (II) event2  - Power Button: is tagged by udev as: Keyboard
[     8.572] (II) event2  - Power Button: device is a keyboard
[     8.572] (II) event2  - Power Button: device removed
[     8.590] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[     8.590] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     8.590] (**) Option "xkb_layout" "latam"
[     8.633] (II) event2  - Power Button: is tagged by udev as: Keyboard
[     8.633] (II) event2  - Power Button: device is a keyboard
[     8.634] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     8.634] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     8.634] (**) Power Button: Applying InputClass "system-keyboard"
[     8.634] (II) Using input driver 'libinput' for 'Power Button'
[     8.634] (**) Power Button: always reports core events
[     8.634] (**) Option "Device" "/dev/input/event1"
[     8.635] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     8.635] (II) event1  - Power Button: device is a keyboard
[     8.635] (II) event1  - Power Button: device removed
[     8.666] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[     8.666] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[     8.666] (**) Option "xkb_layout" "latam"
[     8.668] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     8.668] (II) event1  - Power Button: device is a keyboard
[     8.669] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[     8.669] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     8.669] (**) Sleep Button: Applying InputClass "system-keyboard"
[     8.669] (II) Using input driver 'libinput' for 'Sleep Button'
[     8.669] (**) Sleep Button: always reports core events
[     8.669] (**) Option "Device" "/dev/input/event0"
[     8.670] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[     8.671] (II) event0  - Sleep Button: device is a keyboard
[     8.671] (II) event0  - Sleep Button: device removed
[     8.690] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[     8.690] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[     8.690] (**) Option "xkb_layout" "latam"
[     8.692] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[     8.692] (II) event0  - Sleep Button: device is a keyboard
[     8.695] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event8)
[     8.695] (II) No input driver specified, ignoring this device.
[     8.695] (II) This device may have been added with another device file.
[     8.696] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event9)
[     8.696] (II) No input driver specified, ignoring this device.
[     8.696] (II) This device may have been added with another device file.
[     8.697] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event6)
[     8.697] (II) No input driver specified, ignoring this device.
[     8.697] (II) This device may have been added with another device file.
[     8.698] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event7)
[     8.698] (II) No input driver specified, ignoring this device.
[     8.698] (II) This device may have been added with another device file.
[     8.699] (II) config/udev: Adding input device Sony Interactive Entertainment Wireless Headset Consumer Control (/dev/input/event20)
[     8.700] (**) Sony Interactive Entertainment Wireless Headset Consumer Control: Applying InputClass "libinput keyboard catchall"
[     8.700] (**) Sony Interactive Entertainment Wireless Headset Consumer Control: Applying InputClass "system-keyboard"
[     8.700] (II) Using input driver 'libinput' for 'Sony Interactive Entertainment Wireless Headset Consumer Control'
[     8.700] (**) Sony Interactive Entertainment Wireless Headset Consumer Control: always reports core events
[     8.700] (**) Option "Device" "/dev/input/event20"
[     8.703] (II) event20 - Sony Interactive Entertainment Wireless Headset Consumer Control: is tagged by udev as: Keyboard
[     8.703] (II) event20 - Sony Interactive Entertainment Wireless Headset Consumer Control: device is a keyboard
[     8.704] (II) event20 - Sony Interactive Entertainment Wireless Headset Consumer Control: device removed
[     8.743] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.3/0003:054C:0D5E.0005/input/input22/event20"
[     8.743] (II) XINPUT: Adding extended input device "Sony Interactive Entertainment Wireless Headset Consumer Control" (type: KEYBOARD, id 9)
[     8.743] (**) Option "xkb_layout" "latam"
[     8.747] (II) event20 - Sony Interactive Entertainment Wireless Headset Consumer Control: is tagged by udev as: Keyboard
[     8.747] (II) event20 - Sony Interactive Entertainment Wireless Headset Consumer Control: device is a keyboard
[     8.750] (II) config/udev: Adding input device Sony Interactive Entertainment Wireless Headset (/dev/input/event21)
[     8.750] (II) No input driver specified, ignoring this device.
[     8.750] (II) This device may have been added with another device file.
[     8.752] (II) config/udev: Adding input device Sony Interactive Entertainment Wireless Headset (/dev/input/event22)
[     8.752] (II) No input driver specified, ignoring this device.
[     8.752] (II) This device may have been added with another device file.
[     8.754] (II) config/udev: Adding input device Logitech G502 HERO Gaming Mouse (/dev/input/event4)
[     8.754] (**) Logitech G502 HERO Gaming Mouse: Applying InputClass "libinput pointer catchall"
[     8.754] (II) Using input driver 'libinput' for 'Logitech G502 HERO Gaming Mouse'
[     8.754] (**) Logitech G502 HERO Gaming Mouse: always reports core events
[     8.754] (**) Option "Device" "/dev/input/event4"
[     8.813] (II) event4  - Logitech G502 HERO Gaming Mouse: is tagged by udev as: Mouse
[     8.813] (II) event4  - Logitech G502 HERO Gaming Mouse: device set to 2400 DPI
[     8.813] (II) event4  - Logitech G502 HERO Gaming Mouse: device is a pointer
[     8.814] (II) event4  - Logitech G502 HERO Gaming Mouse: device removed
[     8.863] (II) libinput: Logitech G502 HERO Gaming Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     8.863] (II) libinput: Logitech G502 HERO Gaming Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     8.863] (II) libinput: Logitech G502 HERO Gaming Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     8.863] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:046D:C08B.0001/input/input4/event4"
[     8.863] (II) XINPUT: Adding extended input device "Logitech G502 HERO Gaming Mouse" (type: MOUSE, id 10)
[     8.863] (**) Option "AccelerationScheme" "none"
[     8.863] (**) Logitech G502 HERO Gaming Mouse: (accel) selected scheme none/0
[     8.863] (**) Logitech G502 HERO Gaming Mouse: (accel) acceleration factor: 2.000
[     8.863] (**) Logitech G502 HERO Gaming Mouse: (accel) acceleration threshold: 4
[     8.923] (II) event4  - Logitech G502 HERO Gaming Mouse: is tagged by udev as: Mouse
[     8.923] (II) event4  - Logitech G502 HERO Gaming Mouse: device set to 2400 DPI
[     8.923] (II) event4  - Logitech G502 HERO Gaming Mouse: device is a pointer
[     8.926] (II) config/udev: Adding input device Logitech G502 HERO Gaming Mouse (/dev/input/mouse0)
[     8.926] (II) No input driver specified, ignoring this device.
[     8.926] (II) This device may have been added with another device file.
[     8.928] (II) config/udev: Adding input device Logitech G502 HERO Gaming Mouse Keyboard (/dev/input/event5)
[     8.928] (**) Logitech G502 HERO Gaming Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
[     8.928] (**) Logitech G502 HERO Gaming Mouse Keyboard: Applying InputClass "system-keyboard"
[     8.928] (II) Using input driver 'libinput' for 'Logitech G502 HERO Gaming Mouse Keyboard'
[     8.928] (**) Logitech G502 HERO Gaming Mouse Keyboard: always reports core events
[     8.928] (**) Option "Device" "/dev/input/event5"
[     8.931] (II) event5  - Logitech G502 HERO Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[     8.932] (II) event5  - Logitech G502 HERO Gaming Mouse Keyboard: device is a keyboard
[     8.933] (II) event5  - Logitech G502 HERO Gaming Mouse Keyboard: device removed
[     8.956] (II) libinput: Logitech G502 HERO Gaming Mouse Keyboard: needs a virtual subdevice
[     8.956] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:046D:C08B.0002/input/input5/event5"
[     8.956] (II) XINPUT: Adding extended input device "Logitech G502 HERO Gaming Mouse Keyboard" (type: MOUSE, id 11)
[     8.957] (**) Option "AccelerationScheme" "none"
[     8.957] (**) Logitech G502 HERO Gaming Mouse Keyboard: (accel) selected scheme none/0
[     8.957] (**) Logitech G502 HERO Gaming Mouse Keyboard: (accel) acceleration factor: 2.000
[     8.957] (**) Logitech G502 HERO Gaming Mouse Keyboard: (accel) acceleration threshold: 4
[     8.960] (II) event5  - Logitech G502 HERO Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[     8.961] (II) event5  - Logitech G502 HERO Gaming Mouse Keyboard: device is a keyboard
[     8.963] (II) config/udev: Adding input device SONiX USB DEVICE (/dev/input/event10)
[     8.964] (**) SONiX USB DEVICE: Applying InputClass "libinput keyboard catchall"
[     8.964] (**) SONiX USB DEVICE: Applying InputClass "system-keyboard"
[     8.964] (II) Using input driver 'libinput' for 'SONiX USB DEVICE'
[     8.964] (**) SONiX USB DEVICE: always reports core events
[     8.964] (**) Option "Device" "/dev/input/event10"
[     8.967] (II) event10 - SONiX USB DEVICE: is tagged by udev as: Keyboard
[     8.967] (II) event10 - SONiX USB DEVICE: device is a keyboard
[     8.968] (II) event10 - SONiX USB DEVICE: device removed
[     8.993] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:0C45:5004.0003/input/input12/event10"
[     8.993] (II) XINPUT: Adding extended input device "SONiX USB DEVICE" (type: KEYBOARD, id 12)
[     8.993] (**) Option "xkb_layout" "latam"
[     8.997] (II) event10 - SONiX USB DEVICE: is tagged by udev as: Keyboard
[     8.997] (II) event10 - SONiX USB DEVICE: device is a keyboard
[     9.000] (II) config/udev: Adding input device SONiX USB DEVICE Keyboard (/dev/input/event18)
[     9.000] (**) SONiX USB DEVICE Keyboard: Applying InputClass "libinput keyboard catchall"
[     9.000] (**) SONiX USB DEVICE Keyboard: Applying InputClass "system-keyboard"
[     9.000] (II) Using input driver 'libinput' for 'SONiX USB DEVICE Keyboard'
[     9.000] (**) SONiX USB DEVICE Keyboard: always reports core events
[     9.000] (**) Option "Device" "/dev/input/event18"
[     9.004] (II) event18 - SONiX USB DEVICE Keyboard: is tagged by udev as: Keyboard
[     9.004] (II) event18 - SONiX USB DEVICE Keyboard: device is a keyboard
[     9.005] (II) event18 - SONiX USB DEVICE Keyboard: device removed
[     9.030] (II) libinput: SONiX USB DEVICE Keyboard: needs a virtual subdevice
[     9.030] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:0C45:5004.0004/input/input20/event18"
[     9.030] (II) XINPUT: Adding extended input device "SONiX USB DEVICE Keyboard" (type: MOUSE, id 13)
[     9.030] (**) Option "AccelerationScheme" "none"
[     9.030] (**) SONiX USB DEVICE Keyboard: (accel) selected scheme none/0
[     9.030] (**) SONiX USB DEVICE Keyboard: (accel) acceleration factor: 2.000
[     9.030] (**) SONiX USB DEVICE Keyboard: (accel) acceleration threshold: 4
[     9.034] (II) event18 - SONiX USB DEVICE Keyboard: is tagged by udev as: Keyboard
[     9.034] (II) event18 - SONiX USB DEVICE Keyboard: device is a keyboard
[     9.037] (II) config/udev: Adding input device SONiX USB DEVICE (/dev/input/event19)
[     9.037] (II) No input driver specified, ignoring this device.
[     9.037] (II) This device may have been added with another device file.
[     9.038] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event11)
[     9.038] (II) No input driver specified, ignoring this device.
[     9.038] (II) This device may have been added with another device file.
[     9.039] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event12)
[     9.039] (II) No input driver specified, ignoring this device.
[     9.039] (II) This device may have been added with another device file.
[     9.039] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event13)
[     9.039] (II) No input driver specified, ignoring this device.
[     9.039] (II) This device may have been added with another device file.
[     9.040] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event14)
[     9.040] (II) No input driver specified, ignoring this device.
[     9.040] (II) This device may have been added with another device file.
[     9.041] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event15)
[     9.041] (II) No input driver specified, ignoring this device.
[     9.041] (II) This device may have been added with another device file.
[     9.042] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event16)
[     9.042] (II) No input driver specified, ignoring this device.
[     9.042] (II) This device may have been added with another device file.
[     9.043] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event17)
[     9.043] (II) No input driver specified, ignoring this device.
[     9.043] (II) This device may have been added with another device file.
[     9.044] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[     9.044] (II) No input driver specified, ignoring this device.
[     9.044] (II) This device may have been added with another device file.
[     9.057] (**) Logitech G502 HERO Gaming Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
[     9.057] (**) Logitech G502 HERO Gaming Mouse Keyboard: Applying InputClass "system-keyboard"
[     9.057] (II) Using input driver 'libinput' for 'Logitech G502 HERO Gaming Mouse Keyboard'
[     9.058] (**) Logitech G502 HERO Gaming Mouse Keyboard: always reports core events
[     9.058] (**) Option "Device" "/dev/input/event5"
[     9.058] (II) libinput: Logitech G502 HERO Gaming Mouse Keyboard: is a virtual subdevice
[     9.058] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:046D:C08B.0002/input/input5/event5"
[     9.058] (II) XINPUT: Adding extended input device "Logitech G502 HERO Gaming Mouse Keyboard" (type: KEYBOARD, id 14)
[     9.058] (**) Option "xkb_layout" "latam"
[     9.058] (**) SONiX USB DEVICE Keyboard: Applying InputClass "libinput keyboard catchall"
[     9.058] (**) SONiX USB DEVICE Keyboard: Applying InputClass "system-keyboard"
[     9.058] (II) Using input driver 'libinput' for 'SONiX USB DEVICE Keyboard'
[     9.058] (**) SONiX USB DEVICE Keyboard: always reports core events
[     9.058] (**) Option "Device" "/dev/input/event18"
[     9.058] (II) libinput: SONiX USB DEVICE Keyboard: is a virtual subdevice
[     9.058] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:0C45:5004.0004/input/input20/event18"
[     9.058] (II) XINPUT: Adding extended input device "SONiX USB DEVICE Keyboard" (type: KEYBOARD, id 15)
[     9.058] (**) Option "xkb_layout" "latam"
[   178.349] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): connected
[   178.349] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): Internal TMDS
[   178.349] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): 600.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.349] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   178.349] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   178.349] (--) NVIDIA(GPU-0): DFP-1: 2660.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.349] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   178.349] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   178.349] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.349] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   178.349] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   178.349] (--) NVIDIA(GPU-0): DFP-3: 2660.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.349] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   178.349] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   178.349] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.349] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   178.349] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   178.349] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.349] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   178.349] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   178.349] (--) NVIDIA(GPU-0): DFP-6: 2660.0 MHz maximum pixel clock
[   178.349] (--) NVIDIA(GPU-0): 
[   178.794] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): connected
[   178.794] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): Internal TMDS
[   178.794] (--) NVIDIA(GPU-0): LG Electronics 24GL600F (DFP-0): 600.0 MHz maximum pixel clock
[   178.794] (--) NVIDIA(GPU-0): 
[   178.794] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   178.794] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   178.794] (--) NVIDIA(GPU-0): DFP-1: 2660.0 MHz maximum pixel clock
[   178.794] (--) NVIDIA(GPU-0): 
[   178.795] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   178.795] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   178.795] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   178.795] (--) NVIDIA(GPU-0): 
[   178.795] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   178.795] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   178.795] (--) NVIDIA(GPU-0): DFP-3: 2660.0 MHz maximum pixel clock
[   178.795] (--) NVIDIA(GPU-0): 
[   178.795] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   178.795] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   178.795] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   178.795] (--) NVIDIA(GPU-0): 
[   178.795] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   178.795] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   178.795] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[   178.795] (--) NVIDIA(GPU-0): 
[   178.795] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   178.795] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   178.795] (--) NVIDIA(GPU-0): DFP-6: 2660.0 MHz maximum pixel clock
[   178.795] (--) NVIDIA(GPU-0): 
[   178.808] (II) NVIDIA(0): Setting mode "HDMI-0: 1920x1080_144 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[   264.067] (II) event4  - Logitech G502 HERO Gaming Mouse: Enabling spurious button debouncing, see https://wayland.freedesktop.org/libinput/doc/1.25.0/button-debouncing.html for details

My life was going well until I started using Arch Linux.

Offline

#4 2024-03-04 16:09:03

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Remove xf86-video-vesa, but I don't think this is a problem.
You're running a single GPU on the nvidia driver, KMS is enabled, the simpeldrm device blocked - looks all fine.
And your single output is FullHD, so no stress there either.

First of all, when suspending the compositor (SHIFT+Alt+F12), things run at normal pace?
Second, what if you actually switch to 60Hz ("xrandr --output HDMI-0 --rate 60")?
Third, how does "picom --backend=glx" behave?


and the mouse and everything runs slow

is kinda weird, since the cursor should™ be in hardware and unrelated to eg. the compositor…

Offline

#5 2024-03-04 16:19:45

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Remove xf86-video-vesa, but I don't think this is a problem.

Removed it.

First of all, when suspending the compositor (SHIFT+Alt+F12), things run at normal pace?

Nothing happens when doing SHIFT+Alt+F12.

Second, what if you actually switch to 60Hz ("xrandr --output HDMI-0 --rate 60")?

The slowness keeps being there.

Third, how does "picom --backend=glx" behave?

"picom --backend=glx" output:

[aurelio3351@PCAurelioArch ~]$ picom --backend=glx
[ 04/03/24 13:16:40.007 session_init FATAL ERROR ] Another composite manager is already running

I need to run it before loading X11?


My life was going well until I started using Arch Linux.

Offline

#6 2024-03-04 16:36:28

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

SHIFT+Alt+F12 is KDEs  default compositor toggle, it'll remove shadows, transparency etc.

loginctl session-status
qdbus org.kde.KWin /KWin supportInformation
qdbus org.kde.KWin /KWin toggleCompositing

Offline

#7 2024-03-04 17:04:00

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

"loginctl session-status" output:

[aurelio3351@PCAurelioArch ~]$ loginctl session-status
2 - aurelio3351 (1000)
  Since: Mon 2024-03-04 13:12:43 -03; 47min ago
  State: active
 Leader: 660 (sddm-helper)
   Seat: seat0; vc2
    TTY: tty2
 Remote: no
Service: sddm
   Type: x11
  Class: user
Desktop: KDE
   Idle: no
   Unit: session-2.scope
         ├─660 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-88a6eb99-259a-4402-8dc3-73f019f0c738 --id 1 --start /usr/bin/startplasma-x11 --user aurelio3351
         ├─681 /usr/bin/kwalletd5 --pam-login 12 14
         └─682 /usr/bin/startplasma-x11

mar 04 13:12:44 PCAurelioArch systemd[1]: Started Session 2 of User aurelio3351.
mar 04 13:12:44 PCAurelioArch sddm-helper[680]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket

"qdbus org.kde.KWin /KWin supportInformation" output:

[aurelio3351@PCAurelioArch ~]$ qdbus org.kde.KWin /KWin supportInformation
Información sobre KWin:
La siguiente información se debe usar al solicitar ayuda, por ejemplo en https://forum.kde.org.
Proporciona información sobre la instancia que se ejecuta actualmente, qué opciones se están usando,
qué controlador OpenGL y qué efectos están activos.
Por favor, envíe la información proporcionada a continuación de este texto de introducción a un
servicio de bandeja de pegar como https://paste.kde.org en lugar de pegarla en hilos de ayuda.

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

Version
=======
KWin version: 5.27.10
Qt Version: 5.15.12
Qt compile version: 5.15.12
XCB compile version: 1.16

Operation Mode: X11 only

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

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12101011
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__Materia-Dark
Plugin recommends border size: No
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: KWin::X11StandaloneBackend

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: 0
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement: 
activationDesktopPolicy: 0
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 99
glPlatformInterface: 1
windowsBlockCompositing: true
latencyPolicy: 
renderTimeEstimator: 
allowTearing: true

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

Screens
=======
Active screen follows mouse:  yes
Number of Screens: 1

Screen 0:
---------
Name: HDMI-0
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 144000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 550.54.14
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 550.54.14
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.21.1
Linux kernel version: 6.7.8
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
colorpicker
outputlocator
screenshot
screenedge
zoom
blur
contrast
kwin4_effect_login
kwin4_effect_logout
kwin4_effect_sessionquit
slidingpopups
kwin4_effect_windowaperture
slide
kwin4_effect_maximize
kwin4_effect_morphingpopups
kwin4_effect_fadingpopups
kwin4_effect_fullscreen
kwin4_effect_frozenapp
kwin4_effect_squash
kwin4_effect_scale
kwin4_effect_dialogparent
desktopgrid
highlightwindow
overview
tileseditor
windowview
blendchanges
startupfeedback
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
colorpicker:

outputlocator:

screenshot:

screenedge:

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

blur:

contrast:

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 212
slideOutDuration: 353

kwin4_effect_windowaperture:
pluginId: kwin4_effect_windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_fullscreen:
pluginId: kwin4_effect_fullscreen
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

kwin4_effect_squash:
pluginId: kwin4_effect_squash
isActiveFullScreenEffect: false

kwin4_effect_scale:
pluginId: kwin4_effect_scale
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

desktopgrid:
activeView: 
gridRows: 1
gridColumns: 1
animationDuration: 424
layout: 1
partialActivationFactor: 0
gestureInProgress: false
showAddRemove: true
desktopNameAlignment: 0
desktopLayoutMode: 0
customLayoutRows: 2

highlightwindow:

overview:
activeView: 
animationDuration: 424
layout: 1
ignoreMinimized: false
blurBackground: true
partialActivationFactor: 0
gestureInProgress: false
searchText: 

tileseditor:
activeView: 
animationDuration: 200

windowview:
activeView: 
animationDuration: 424
layout: 1
ignoreMinimized: false
mode: 0
partialActivationFactor: 0
gestureInProgress: false
searchText: 

blendchanges:

startupfeedback:
type: 1

kscreen:


Loaded Plugins:
---------------
kwin5_plugin_krunner
kwin5_plugin_nightcolor

Available Plugins:
------------------
kwin5_plugin_buttonrebinds
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor

"qdbus org.kde.KWin /KWin toggleCompositing" output:

[aurelio3351@PCAurelioArch ~]$ qdbus org.kde.KWin /KWin toggleCompositing
Error: org.freedesktop.DBus.Error.UnknownMethod
No such method 'toggleCompositing' in any interface at object path '/KWin' (signature '')

My life was going well until I started using Arch Linux.

Offline

#8 2024-03-04 17:20:45

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Datd knowledge
Check

qdbus org.kde.KWin /KWin

for what functions are actually still there.

You're running kwin on KDE and the kwin compositor is active (and as long as that's the case you cannot start picom either)

Offline

#9 2024-03-04 17:22:57

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

"qdbus org.kde.KWin /KWin" output:

[aurelio3351@PCAurelioArch ~]$ qdbus org.kde.KWin /KWin
property read bool org.kde.KWin.showingDesktop
signal void org.kde.KWin.reloadConfig()
signal void org.kde.KWin.showingDesktopChanged(bool showing)
method QString org.kde.KWin.activeOutputName()
method Q_NOREPLY void org.kde.KWin.cascadeDesktop()
method int org.kde.KWin.currentDesktop()
method QVariantMap org.kde.KWin.getWindowInfo(QString)
method Q_NOREPLY void org.kde.KWin.killWindow()
method void org.kde.KWin.nextDesktop()
method void org.kde.KWin.previousDesktop()
method QVariantMap org.kde.KWin.queryWindowInfo()
method Q_NOREPLY void org.kde.KWin.reconfigure()
method void org.kde.KWin.replace()
method bool org.kde.KWin.setCurrentDesktop(int desktop)
method void org.kde.KWin.showDebugConsole()
method Q_NOREPLY void org.kde.KWin.showDesktop(bool showing)
method bool org.kde.KWin.startActivity(QString)
method bool org.kde.KWin.stopActivity(QString)
method QString org.kde.KWin.supportInformation()
method Q_NOREPLY void org.kde.KWin.unclutterDesktop()
signal void org.freedesktop.DBus.Properties.PropertiesChanged(QString interface_name, QVariantMap changed_properties, QStringList invalidated_properties)
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()

My life was going well until I started using Arch Linux.

Offline

#10 2024-03-04 17:26:09

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

rien.

"qdbus org.kde.KWin" has probably a dedicated interface for the compositor and in that possibly a function to toggle it.
Don't post the outputs, look around.

Also check your global shortcuts, did you explicitly disable the toggle?

Offline

#11 2024-03-04 17:35:55

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Ok, i went to System Settings, shortcuts, and KWin, and i found the "Suspend composition" shortcut, and it was "Alt+Shift+F12", not "Shift+Alt+F12". Disabled it, and all the animations and things turned off, but when opening any windows there isn't any lag, so, is this the right way?

Last edited by Aurelio3351 (2024-03-04 17:36:21)


My life was going well until I started using Arch Linux.

Offline

#12 2024-03-04 17:41:09

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Alt+Shift+F12 and Shift+Alt+F12 are the exact same thing, unless you're using some keymap that alters the 2nd level shift of alt.
We'll maybe look at that later.

animations and things turned off, but when opening any windows there isn't any lag

So it's the kwin compositor, tried picom?

Offline

#13 2024-03-04 17:55:00

Aurelio3351
Member
From: Argentina
Registered: 2024-02-19
Posts: 23

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Disabled the compositor at start, and ran picom. The same error shows but picom seems to work, altough every animation seems a little bit strange, but this may be cause of picom not running from start. I just realized that page scrolling is slow, like if it was 60Hz.
Found this to make Picom run with Plasma at start: https://www.reddit.com/r/kde/comments/p … win_picom/.
Should i do it?


My life was going well until I started using Arch Linux.

Offline

#14 2024-03-04 18:23:20

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

No, we're just using picom as test device

I just realized that page scrolling is slow, like if it was 60Hz.

There's no  way for you to actually spot a difference here, even if you could spot fps slightly above 60fps, you cannot track them.
You'd have to be way below that (eg. at 30fps)
Also there's a good change that whatever scrolls the page (browser) has a limited fps, but most likely you're witnessing a double sync, possibly because of some smoothscrolling feature in your browser.
You could enable "Option "TripleBuffer" "True"" in the xorg config but I guess that's not the subject of this thread atm.

For the OT: The windows show up normally w/ picom?
How does picom behave w/ the xrender output?
How does picom behave if you force the refresh rate to be 144?
See ~/.config/picom.conf

Stupid question: when you open a window and it's slow w/ the kwin compositor, is there also a bouncing cursor?
Or is the slowness actually just the "opening" animation? (zoom, I guess) Did you try to disable that or alter its features?

Offline

#15 2024-03-13 21:01:59

RyLoS78
Member
Registered: 2024-01-08
Posts: 6

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

I've the exact same problem. Nvidia package with standard linux kernel (Nvidia RTX 4070).
On wayland animations are ok. On X11 if I overlap in circle movements the windows on the panel things start to get choppy. Disabling Kwin it all become super smooth. My monitor is a qhd at 180hz, all nvidia settings are default (with gsync enabled).
My kwin is not customized, out of the box effects.
Any clue?
About one month ago when we were on plasma 5 and nvidia 535 all was super smooth under x11.

Offline

#16 2024-03-13 21:03:57

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

What if you disable vsync in the compositor or globally export "__GL_SYNC_TO_VBLANK=0" ?

Offline

#17 2024-03-14 07:53:18

RyLoS78
Member
Registered: 2024-01-08
Posts: 6

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

I've tried with both "__GL_SYNC_TO_VBLANK=0" and "KWIN_X11_NO_SYNC_TO_VBLANK=1" and also "KWIN_X11_FORCE_SOFTWARE_VSYNC=1", nothing work.
I tested the behavior better and enabled the FPS display; the problem is that the FPS drops from 180 even up to 50/40 when the bottom edge of a window (I tried with Dolphin) overlaps the edge of the bottom panel. I tried deactivating the floating panel and also disabling the magnetic docking but the problem is still present.
If the bottom edge of Dolphin has passed the edge of the panel and the window is halfway below the panel, even if I move it the FPS goes back to 180.

Offline

#18 2024-03-14 09:20:50

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Disable the blur effect?

Offline

#19 2024-03-14 10:49:52

RyLoS78
Member
Registered: 2024-01-08
Posts: 6

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Disabling the blur effect seems slightly better, I can lose FPS down to 75 (with blur 40/50) but the stuttering is still present and noticeable. It also appears that this stuttering happens when restoring a maximized window (like a browser) from the panel, instead of seeing the smooth animation only 2 or 3 frames of the animation are shown.
I tried deactivating various effects (those that can be deactivated), but this drop at 75 FPS remains.
Ah I use a single monitor. Under wayland all is perfectly smooth like x11 in the past (blur included). But wayland+nvidia is then a disaster for some apps in my case.

Offline

#20 2024-03-14 16:56:18

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

monitor is a qhd at 180hz, all nvidia settings are default (with gsync enabled).

Disable gsync (the OP doesn't have a VRR cabable output) and try to run the output at static 60Hz (a 250ms animation would then still have 15 frames)

Make sure the environment was actually appleid to kwin_x11

tr '\0' '\n' < /proc/$(pidof kwin_x11)/environ

and enable

Section "Device"                                                                                                                
    Identifier "nvidia"                                                                                                          
    Driver  "nvidia"                                                                                                            
#…
    Option  "TripleBuffer"          "True"                                                                                      
#…
EndSection

Offline

#21 2024-03-15 07:24:26

RyLoS78
Member
Registered: 2024-01-08
Posts: 6

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

KWIN_X11 variables are set correctly. I've tried every single combination of them and also TripleBuffer. Problem is still not resolved, there is definitively something wrong with X11 and the new Plasma6 panel using nvidia drivers (something that was working very well on plasma5 before).
For now I'll have to live with this choppy behavior hoping it gets fixed sooner or later
Anyway thank you for your help.

Offline

#22 2024-03-15 08:38:58

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

The problem is *exclusively* the panel?
Overlapping w/ other ARGB windows (eg. "urxvt -depth 32 -bg 'rgba:3f00/3f00/3f00/d000'") doesn't do anything like this?

The panel has apparently some sort of crumble mode where it shrinks or whatever when contacting a window - can you disable that and does it have any impact?

Offline

#23 2024-03-18 07:33:43

RyLoS78
Member
Registered: 2024-01-08
Posts: 6

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

The problem is exclusively the plasma6 new panel. Disabling "floating effect" doesn't resolve the issue. I've tried all I can right now, no way to fix it. Maybe I can make a video to show better this annoying thing.

Offline

#24 2024-03-18 15:06:50

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

Does the CPU load go up when you cause the collision?
If so, in which process - plasma or kwin?

Offline

#25 2024-03-18 19:21:08

RyLoS78
Member
Registered: 2024-01-08
Posts: 6

Re: Bad X11 performance with Plasma + NVIDIA Propietary Driver

It's completely (with a workaroud) solved following this post https://bugs.kde.org/show_bug.cgi?id=482717 (last comments) AND disabling panel floating mode and setting it to opaque. definitely a problem of the new plasma6 panel.
Will stick with these 2 settings for now....

Offline

Board footer

Powered by FluxBB