this post was submitted on 08 Jul 2024
41 points (88.7% liked)

Linux

48017 readers
724 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

all 28 comments
sorted by: hot top controversial new old
[–] eugenia@lemmy.ml 10 points 4 months ago

This looks like a hardware issue to me.

[–] just_another_person@lemmy.world 9 points 4 months ago (1 children)

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 4 points 4 months ago (1 children)

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 4 points 4 months ago

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

[–] titter@lemmy.world 4 points 4 months ago* (last edited 4 months ago) (1 children)

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 2 points 4 months ago

yeah probably this can be an issue.

[–] djsaskdja@reddthat.com 3 points 4 months ago (1 children)

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 1 points 3 months ago

sleep works fine.

[–] fnafdesktopfan111@lemmy.blahaj.zone 2 points 4 months ago (1 children)

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 1 points 4 months ago* (last edited 4 months ago)

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 1 points 4 months ago (1 children)

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

[–] awesome_guy@lemmy.ml 1 points 4 months ago (1 children)

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

[–] zolax@programming.dev 1 points 4 months ago* (last edited 4 months ago) (1 children)

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 1 points 3 months ago

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.

[–] Strit@lemmy.linuxuserspace.show 1 points 4 months ago (2 children)

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

[–] awesome_guy@lemmy.ml 4 points 4 months ago* (last edited 4 months ago) (1 children)

| 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 4 points 4 months ago (1 children)

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

[–] awesome_guy@lemmy.ml 0 points 4 months ago (1 children)

nope this is macbook pro 2012

[–] boredsquirrel@slrpnk.net 3 points 4 months ago (1 children)

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 1 points 3 months ago

Oh that makes sense. Thanks!

[–] awesome_guy@lemmy.ml -1 points 4 months ago (1 children)

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 2 points 4 months ago (1 children)

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 2 points 3 months ago

Oh yeah i totally agree!

[–] h0bbl3s@lemmy.world 1 points 3 months ago* (last edited 3 months ago) (1 children)

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 1 points 3 months ago (1 children)

Oh, thats very helpful. Thanks

[–] h0bbl3s@lemmy.world 2 points 3 months ago

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.