My laptop keeps freezing randomly with capslock blicking, sometimes even more than twice a day

I recently moved from arch and it was fine so it’s probably not a hardware issue but I did break my laptop charger after switching and now it connects and disconnects multiple times after I move the wire a bit.
My config, flake.nix

my last few systemd logs:
https://pastebin.com/DzCa4KAh
https://pastebin.com/Y2GpxPTF
https://pastebin.com/PudXUtSk

also my kernel logs:
https://pastebin.com/CfEUL7qz
https://pastebin.com/DkNUk0jH

after some crashes I started seeing this on boot https://i.imgur.com/3GIZ36t.jpeg

I did manually create a swap partition idk if that matters.
thanks for the help

If the caps lock blinks, that’s a kernel panic. You’ll have to figure out why they happen; they’re not normal.

Given that your kernel is tainted by the nvidia driver, that’s the first suspect and no kernel developer will help you if your kernel is tainted like this. Disable it and see whether your kernel still panics.

The error you see on boot means that your filesystem is in an inconsistent state which can happen after a few unclean shutdowns. I’d say that’s a consequence of the panics you’ve been getting.

2 Likes

It would help if you gave us hardware information. But if you can run the open driver, either nouveau or the open kernel driver from nvidia both solved segfaults for me. Or if you cant you will have to downgrade to 6.1… since i strated experiencing panics after 6.5 which is EOL

I am using this asus vivobook with rtx3050 and a Ryzen 5 5600H. Is there any better way to provide more information?

Thats enough, please test with the nouveau and open nvidia drivers and see if it fixes your problem

1 Like

That ain’t it, as I was on arch just before this and it worked just fine but I did try it and it didn’t work.