https://bugs.kde.org/show_bug.cgi?id=486788

            Bug ID: 486788
           Summary: kscreenlocker_greet 100% CPU on one thread after
                    unlocking [Nvidia + Wayland]
    Classification: Plasma
           Product: kscreenlocker
           Version: 6.0.4
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: geir.h...@mn.uio.no
  Target Milestone: ---

SUMMARY
When kscreenlocker_greet unlocks the machine, it goes to 100% CPU on one thread
and must be killed with -9

STEPS TO REPRODUCE
1.  Lock the machine
2.  Unlock the machine by giving the password

OBSERVED RESULT
Top shows that kscreenlocker_greet takes 100% CPU on one core and must be
killed -9

EXPECTED RESULT
kscreenlocker_greet goes back to sleep

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-10885H CPU @ 2.40GHz
Memory: 31,1 GiB of RAM
Graphics Processor: zink Vulkan 1.3
Manufacturer: Dell Inc.
Product Name: XPS 15 9500

ADDITIONAL INFORMATION

> /usr/libexec/kscreenlocker_greet --testing
libEGL warning: egl: failed to create dri2 screen
kscreenlocker_greet: Lockscreen QML outdated, falling back to default
Locked at 1715185885
MESA: warning: zink: PERF WARNING! > 100 copy boxes detected for 0x7ffb0c4a2680
Unlocked
wl_display@1: error 1: invalid arguments for wp_presentation@49.feedback
Failed to write to the pipe: Bad file descriptor.

> dnf list --installed *nvidia*
Installed Packages
akmod-nvidia.x86_64                                3:550.78-1.fc40           
@rpmfusion-nonfree-updates
kmod-nvidia-6.8.7-300.fc40.x86_64.x86_64           3:550.76-1.fc40           
@@commandline             
kmod-nvidia-6.8.8-300.fc40.x86_64.x86_64           3:550.78-1.fc40           
@@commandline             
libva-nvidia-driver.x86_64                         0.0.11-3.fc40             
@fedora                   
nvidia-modprobe.x86_64                             3:550.78-1.fc40           
@rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                         3:550.78-1.fc40           
@rpmfusion-nonfree-updates
nvidia-settings.x86_64                             3:550.78-1.fc40           
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                         3:550.78-1.fc40           
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64                    3:550.78-1.fc40           
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64               3:550.78-1.fc40           
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64                 3:550.78-1.fc40           
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64                    3:550.78-1.fc40           
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64                   3:550.78-1.fc40           
@rpmfusion-nonfree-updates

> cat /etc/environment 
QT_QPA_PLATFORM=wayland
QT_QPA_PLATFORMTHEME=wayland
# From the above bus addresses one can see that card 0 is the NVIDIA card
# ls -l /dev/dri/by-path/
DRI_PRIME=pci-0000_01_00_0
# This bus address is for the Intel GPU
# DRI_PRIME=pci-0000_00_02_0
#
# Other general graphics settings
#
__NV_PRIME_RENDER_OFFLOAD=0
GBM_BACKEND="nvidia-drm"
__VK_LAYER_NV_optimus=NVIDIA_only
__GLX_VENDOR_LIBRARY_NAME=nvidia
ENABLE_VKBASALT=1
LIBVA_DRIVER_NAME=nvidia
# 
# Some other ideas probably not working
#
XDG_SESSION_TYPE = "wayland"
WLR_DRM_DEVICES = "/dev/dri/card0"
#
# Software specific (seem not to matter)
#
KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
#ELECTRON_OZONE_PLATFORM_HINT=auto
WLR_NO_HARDWARE_CURSORS=1
WLR_DRM_NO_ATOMIC=1 
#MOZ_DISABLE_RDD_SANDBOX=1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to