KDE on Debian 12 randomly gets frozen / stuck
from awesome_guy@lemmy.ml to linux@lemmy.ml on 08 Jul 2024 08:44
https://lemmy.ml/post/17750757

Randomly on my laptop screen this appears and debian just freezes. Sometimes these vertical lines don’t appear and system freezes anyway. Its just random. How do i identify if this is hardware or software issue? and then how to identify exact piece of hardware or software causing this problem.

#linux

threaded - newest

Strit@lemmy.linuxuserspace.show on 08 Jul 2024 08:58 next collapse

What GPU and driver are you using? Looks gpu driver related to me.

awesome_guy@lemmy.ml on 08 Jul 2024 09:09 next collapse

What GPU and driver are you using? Looks gpu driver related to me.

for context, i have been using debian 12 for last 6 months perfectly fine. Its just from last week my laptop is randomly freezing and then I have to hard reset it everytime this happens, (pressing power off button for few seconds to force shutdown).

braindefragger@lemmy.world on 08 Jul 2024 14:05 collapse

You really should include the hardware you’re using in the main post. It’s common courtesy when requesting help from people.

awesome_guy@lemmy.ml on 12 Jul 2024 07:06 collapse

Oh yeah i totally agree!

awesome_guy@lemmy.ml on 08 Jul 2024 09:12 collapse

| What GPU and driver are you using? Looks gpu driver related to me.

	Subsystem: Apple Inc. 3rd Gen Core processor Graphics Controller [106b:00fa]
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at a0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 2000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
	Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:7270]```
boredsquirrel@slrpnk.net on 08 Jul 2024 09:52 collapse

That seems VERY important to note. Is that an Apple m3?

awesome_guy@lemmy.ml on 08 Jul 2024 10:03 collapse

nope this is macbook pro 2012

boredsquirrel@slrpnk.net on 08 Jul 2024 11:27 collapse

Ok. Please add these infos, also the ones you added in comments, to your main post.

Otherwise you need to understand that not many people can help you

awesome_guy@lemmy.ml on 12 Jul 2024 07:06 collapse

Oh that makes sense. Thanks!

titter@lemmy.world on 08 Jul 2024 09:35 next collapse

Idk how useful this is but that looks like when i had bad RAM, or like when RAM becomes unseated. You could try reseating your RAM, YMMV.

awesome_guy@lemmy.ml on 08 Jul 2024 10:07 collapse

yeah probably this can be an issue.

fnafdesktopfan111@lemmy.blahaj.zone on 08 Jul 2024 09:37 next collapse

That kind of looks like how a machine would look if the RAM is loose in the socket or otherwise have a bad contact. And since you mention that it’s random and sometimes there are no vertical lines, that’d be my guess rather than anything to do with graphical software. Is the RAM on your machine soldered on or is it detachable? If it’s the latter, I recommend taking the RAM out and reseating it to see if things improve (try this a couple of times, just to be sure the RAM is properly seated). If the RAM is soldered on then it might have something to do with out of memory. Does the system slow down a couple of seconds before freezing entirely? If it does then it’s likely it’s a OOM thing.

Oh, and for good measure, can you get to the tty (ctrl + alt + f2) when the system freezes? If you can then it’s probably a graphical thing and you can try restarting those processes. If the system is in a complete freeze then I’d say that’s another point for the OOM hypothesis.

awesome_guy@lemmy.ml on 08 Jul 2024 10:07 collapse

yeah, i think you might be right about RAM. Because one day i was holding my latop in my one hand and i saw this screen flickering thing. that was the first time this issue happened. And yeah i can not login to tty when the freeze happens this mean system is completely blocked and is not a graphical problem. I dont think its OOM issue as i have enough RAM and no system doesnt slow down a couple of seconds before freezing entirely. The freeze is random and instant and it happens sometimes when i slide laptop so i think its due to RAM loose connection. Not sure if the RAM is soldered one or is detachable. I will try to replug it and see if it fixes the problem. btw the machine in question is macbook pro 2012 and thanks for replying kind stranger!

Edit: the ram is detachable.

zolax@programming.dev on 08 Jul 2024 10:23 next collapse

yeah with what other people have said it’s most likely bad or unseated RAM

awesome_guy@lemmy.ml on 08 Jul 2024 11:07 collapse

have just replugged RAM and lets see if system gets frozen again.

zolax@programming.dev on 08 Jul 2024 11:26 collapse

that’s good then! i had this same issue (randomly freezing after turning it om for some time) though new RAM ended up fixing it

awesome_guy@lemmy.ml on 12 Jul 2024 07:08 collapse

Hmmm. I have also installed linux mint xfce from scratch. So far so good. It stuck only one time since this install. And its been 5 days or so i guess.

just_another_person@lemmy.world on 08 Jul 2024 10:47 next collapse

RAM or Video card issue. Are you SURE the entire machine actually locks up, or just the display? Try ssh’ing into the machine when this happens to see if it’s actually staying alive, though the display stops working.

awesome_guy@lemmy.ml on 08 Jul 2024 11:08 collapse

yeah, entire machine locks up. Yeah have tried ssh’ing from mobile and it was stuck one time when i did that during a freeze. have replugged RAM let’s see if system freezes again,

just_another_person@lemmy.world on 08 Jul 2024 12:07 collapse

May just be bad RAM as well on a 12 year old machine. Should be cheapish to replace. Try running a memtest

[deleted] on 08 Jul 2024 11:05 next collapse

.

awesome_guy@lemmy.ml on 08 Jul 2024 11:09 collapse

yeah, I have just reseated the RAM lets see if it fixed the problem,

eugenia@lemmy.ml on 08 Jul 2024 11:18 next collapse

This looks like a hardware issue to me.

djsaskdja@reddthat.com on 08 Jul 2024 14:20 next collapse

It’s not happening when you try to initiate sleep mode, is it? I have a computer that only ever does something like this when I try to use sleep. I’ve basically just stopped using that feature because nothing I tried ever fixed it. Works completely fine otherwise.

awesome_guy@lemmy.ml on 12 Jul 2024 07:05 collapse

sleep works fine.

h0bbl3s@lemmy.world on 12 Jul 2024 06:15 collapse

I have a similar issue specific to my Intel graphics, debian 12, and kde. It’s fixed in the newer kernel in debian Trixie. In my case I was able to set up a keybind to ctrl-alt-backspace which kills the graphics server. I have to catch it quick or it’ll lock up completely, but it’s something to try. I’m on 15 days uptime now I’ve probably had to do that about 5 times.

awesome_guy@lemmy.ml on 12 Jul 2024 07:05 collapse

Oh, thats very helpful. Thanks

h0bbl3s@lemmy.world on 12 Jul 2024 16:35 collapse

Np. Trying to find the exact page but I just checked the last logs in journalctl after each crash to determine that’s what it was. If you search Wayland + kwin + Intel GPU crash you get lots of hits. It can be fixed but now that I know it’s very specific to my setup and already fixed in future versions I’m not so worried.