High CPU Usage on Login Screen

Hello,

I just noticed that I have a higher CPU usage on when I log out and the PC is on the login screen than when I am logged in and doing nothing (see the spike in the screenshot). This results in about 15-20W more energy consumption (~80W instead of ~60W). Has anybody else noticed that?

ROME 24.12
KDE

Are you using the AMD Ryzen-specific version of ROME?

No, normal one on an Intel CPU

System:
  Host: mac-openmandriva Kernel: 6.13.0-desktop-0.rc5.1omv2490
    arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.2.4 Distro: OpenMandriva Lx 24.12 ROME
Machine:
  Type: Laptop System: Apple product: Macmini8,1 v: 1.0
    serial: <superuser required>
  Mobo: Apple model: Mac-7BA5B2DFE22DDD8C v: Macmini8,1
    serial: <superuser required> UEFI: Apple v: 2069.40.2.0.0 (iBridge:
    22.16.12093.0.0,0) date: 11/13/2024
CPU:
  Info: 6-core model: Intel Core i7-8700B bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 800 min/max: 800/4600 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Display: x11 server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4 driver:
    X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 2560x1440
  API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.2
    renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
  API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  Device-2: Apple Audio driver: N/A
  API: ALSA v: k6.13.0-desktop-0.rc5.1omv2490 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active
Network:
  Device-1: Broadcom BCM4364 802.11ac Wireless Network Adapter driver: N/A
  Device-2: Broadcom NetXtreme BCM57766 Gigabit Ethernet PCIe driver: tg3
  IF: enp4s0 state: down mac: f4:34:f0:e3:17:3b
  Device-3: MediaTek MT7612U 802.11a/b/g/n/ac Wireless Adapter
    driver: mt76x2u type: USB
  IF: wlp0s20f0u4 state: up mac: 00:c0:ca:b0:63:39
  Device-4: ASIX AX88179 Gigabit Ethernet driver: ax88179_178a type: USB
  IF: enp0s20f0u5u3u1 state: down mac: 00:0e:c6:de:38:69
  IF-ID-1: wt0 state: unknown speed: N/A duplex: N/A mac: N/A
Drives:
  Local Storage: total: 113 GiB used: 30.41 GiB (26.9%)
  ID-1: /dev/nvme0n1 vendor: Apple model: SSD AP0128M size: 113 GiB
Partition:
  ID-1: / size: 40.71 GiB used: 30.4 GiB (74.7%) fs: btrfs dev: /dev/nvme0n1p5
  ID-2: /boot size: 40.71 GiB used: 30.4 GiB (74.7%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 299.3 MiB used: 11.8 MiB (3.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 40.71 GiB used: 30.4 GiB (74.7%) fs: btrfs
    dev: /dev/nvme0n1p5
  ID-5: /var/log size: 40.71 GiB used: 30.4 GiB (74.7%) fs: btrfs
    dev: /dev/nvme0n1p5
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 13.5 MiB (0.2%) dev: /dev/zram0
  ID-2: swap-2 type: partition size: 2 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p4
Sensors:
  System Temperatures: cpu: 56.0 C pch: 51.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.21 GiB used: 6.26 GiB (20.1%)
  Processes: 366 Uptime: 3m Shell: Bash inxi: 3.3.36

Ok. I asked because I am using the Ryzen-optimized version of ROME and my fan is constantly running at high speed even when my laptop is idling. Hopefully someone else can read this thread and offer some help for you.

Just to be sure, is this happening on the login screen or the lock screen? What login manager do you use?

@LeeTalbert I would guess SDDM since he appears to be on Plasma.

I’m sitting here wondering how to test it and all I can figure is from the SDDM screen, switch to another tty and login to run htop to see what is running.

Pretty sure I read about that being a KDE issue.
Can’t say for certain, and unfortunately I can’t post the link to the bug report.
But it’s definitely not unique to OMLx.

Edit: Allowed to post links now.
https://bugs.kde.org/show_bug.cgi?id=484323#c16

1 Like

@asanDD
welcome1

Yes that’s default setting in Discourse for security and antispam reason for just registered users, as one can well understand, unless admins (considering trusted) manually elevate the user level before it’s automatically changed.
I suppose it’s not different -more or less- with other forum platforms.

1 Like

Hi.
Yes, that’s what I thought, and it is most certainly appropriate to combat spam.

2 Likes

Lock screen and the default login manager (how do I see that?)

Today I don’t have this problem. I don’t know why. I will keep an eye on it and report back if it happens again.

Thanks for the help up to this point.

2 Likes

As WP said earlier, it is safe to assume that if you are on Plasma then you are using SDDM as your display manager. As asanDD said, this is a known issue with SDDM. There are some config changes that might fix it for you, but save a backup of configs before changing anything.

Add the following to /etc/sddm.conf

[General]
GreeterEnvironment=QT_QUICK_BACKEND=software

I haven’t had this issue anymore since then. My power consumption is a lot better overall. I am now sitting on ~15-20W when idle on desktop or on the login screen. I don’t know what fixed it. Probably the distro upgrade. Can’t think of anything else.

Either way, this is solved. Thanks for the help.

1 Like

Can you please mark it as solved? Glad to hear it’s working. :smiley: