this post was submitted on 23 Sep 2024
8 points (100.0% liked)

KDE

5367 readers
72 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

According to nvtop, on both my nvidia and AMD computers, kscreenlocker_greet uses 200-400MB of VRAM while the screen is locked -- doesn't that feel excessive for a simple screen locker (I do realize that it's QML and thus in theory can use as much VRAM as say plasmashell).

This is kind of annoying as I was trying to set up a chatbot using my main desktop while it's idle, and would like that extra 400MB back for a higher context length.

Wasn't sure if this was a bug or just how software is nowadays so I opted to start a discussion rather than finishing filing a bug at bugs.kde.org.

Anyway, anyone know of an alternative screenlocker for kwin_wayland?

I thought I would disable kscreenlocker completely (by setting the screen to never lock?) and use something like swayidle and swaylock, but it doesn't look like kwin supports the wayland extensions required to use swaylock.

top 7 comments
sorted by: hot top controversial new old
[–] m4m4m4m4@lemmy.world 5 points 2 months ago (1 children)

I'd be surprised if there was any alternative, to be honest.

I'd file the bug - your case is not common. I run kscreenlocker just fine and it's not such a ram hog here.

[–] kelvie@lemmy.ca 3 points 2 months ago

VRAM or regular RAM? It doesn't use that much regular RAM.

[–] ExtremeDullard@lemmy.sdf.org 1 points 2 months ago* (last edited 2 months ago) (1 children)

I use the Cinnamon screen saver with i3wm. It's just a Python script, it's reasonably light in resources, it looks smart enough and it comes with a nice command to remote-control it if you need to start the screen saver, lock or unlock it programmatically.

I'm not sure it works in Wayland though. I only use Xorg. I suppose it should since Cinnamon works in Wayland too now.

[–] kelvie@lemmy.ca 2 points 2 months ago (1 children)

I'm specifically looking for something that works with kwin_wayland, this being the KDE instance and all.

[–] ExtremeDullard@lemmy.sdf.org 2 points 2 months ago (1 children)

The reason why I posted this is because there's nothing that prevents you from using any old screensaver / screenlocker out there in KDE. As I said, I use the Cinnamon screen saver in i3, which is not the Cinnamon environment.

That's the beauty of Linux: you can mix and match things to your heart's content.

[–] kelvie@lemmy.ca 1 points 2 months ago* (last edited 2 months ago) (1 children)

I actually did already mention, in Wayland you need to coordinate screen locking with the compositor (kwin), otherwise I'd be using swaylock.

[–] ExtremeDullard@lemmy.sdf.org 0 points 2 months ago* (last edited 2 months ago)

Ah okay, I didn't know that. I personally try to stay away from Wayland as long as possible so support for it gets better before I have to jump in. I'm not an early adopter for that sort of thing - even though Wayland is 16 years old at this point, but amazingly it's still too green for my taste.