KDE Freezes After Login (After Update) Help

Hello guys!

Please mind my manners, I am new and lack ettiquette, I never thought I would need to use the forums for help, this is a great OS.

After today’s update I rebooted but my sistem freezes after it loads my desktop, it starts populating the apps or windows I last used and then freezes about 5 seconds into loading.

If I move the mouse the system keeps loading fine, but the moment I stop moving the mouse it all freezes.

Cannot load my Desktop Environment neither with X11 nor Wayland.

Latop: ASUS TUF A16 (Ryzen 77735hs + RX7700s)
Running on KDE Wayland.

After rebooting many times, I manage to load the DE fine only once, using fallback Endeavour in the boot selector.

I restarted and no longer can I load my DE neither in regular EndeavourOS or Fallback

I can input my boot encryption password fine, I get to the Login Screen and can input my password fine, and it starts loadig fine, it is once it enters the desktop and starts loading browser and windows that it freezes.

I can enter to Terminal in the login screen using CTRL+ALT+F3 but I do not what to do there to revert the error.

Please do help me, I dont want to lose my files, given they are behind Boot PAssword and Session Password, I think I can only access them through Desktop boot.

Thank you very much

Hello,

This sounds like the same issue I was having.

Most likely is an issue with the latest version of ddcutils.

Have a look here: Computer freezing on loading screen after logging in on Plasma KDE - #8 by pjbcr

One way to fix it is when you get to the login screen do not put your password. Instead press ctrl +alt + F3 and that will take you to a console.

From there you can login as your user and downgrade the ddcutils or restore from a backup.

In some cases if you plug in an external monitor you will also get an working screen.

UPDATE:

I can boot the DE now, found a workaround for the bug:

In either regular EndeavourOS or Fallback, as long as I select X11 I can enter my password and start loading the desktop, in that moment, if I move the mouse constantly for about 15 seconds the system stays moving.

If I move the mouse just 5 seconds while it is loading and stop moving it, it all freezes. The workaround only works after 15 seconds of movement. Like something happens in the first 10 seconds of loading that causes the freeze if the mouse is not moving for some reason.

Thank you, I Saw your post but I do not know how to downgrade ddcutils from there, could you point me to a guide to do it? I have managed to enter the Terminal in the login window, I just do not know how to do that. What commands do I use?

sudo downgrade ddcutils

If downgrade is not installed, install it first.

1 Like

Hi @rabago

Unfortunately I never did it before :grimacing:

I restored my previous state from timeshift before I found what was the problem, but I found the arch wiki article how to do it.

But if you can, try plugging an external screen to see if it helps too.

Ok used google AI.
I had already installed the downgrade utility.
So I downgraded to the latest DDCUTILS version I had, restartd and now I can boot into regula Wayland Plasma (not fallback) and use it normally without having to use the mouse “hack”.

The downgrade worked!
My question is:
I did not blacklisted it to avoid it updating it again, I reckon it might be patched soon and I will be able to update normally?

Should I blacklist it?
What is this ddcutils thing and why is this happening tho?

If you don’t, the next time you upgrade it will upgraded again regardless of whether the issue has been fixed. You can addit to the ignorepkgs line in /etc/pacman.conf and keep an eye on the versions as you update.

It’s a bug.

WILCO, will block its updates then. I also downgraded WINE and blocked it because the new version breaks some games I installed.

I am afraid not updating DDCUTILS will break something if it stays outdated, which is why I wonder what it does or what is for, maybe it can stay downgraded for ever?

DDC is a protocol to talk with your display and do things like adjusting brightness and other settings.

And yeah it’s a bug in the last version

You can find more details in the bub report https://github.com/rockowitz/ddcutil/issues/581

1 Like

Much obliged!

1 Like

It will tell you which version it would update to when you upgrade. Keep an eye on that and remove it from ignorepkg line when it’s higher than the buggy one.

1 Like

You’re welcome @rabago

And one more thing, if you still don’t have it, I strongly recommend installing and setting up Timeshift. It’s like a backup tool but only for your system (not user data) so you can easily restore from a last good snapshot.

1 Like

The current buggy one is 2.2.5, correct?

Correct!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.