You are not logged in.

#1 2023-03-01 15:35:17

igneel
Member
Registered: 2021-06-17
Posts: 10

Laptop freezes after boot completion.

This problem has begun recently with the newer 6.x kernels. I keep both bleeding edge and lts kernels installed and issue persists on both.

My laptop is an optimus enabled, MUXLESS Dell G3 3590 with i7 9750H, 16gb of RAM and Nvidia 1660ti MaxQ GPU. I run VFIO on my laptop and I use my nvidia gpu through a windows vm for gaming. The nvidia gpu is claimed by the vfio driver at boot and host has no access to it. When I want to game I simply launch my vm which has the gpu passed to it. I have been running this setup for a year now and this is the first time I am encountering a freezing issue. It began when the 6.x started rolling out but was fine for a little bit around 12 - 15th feb. But it began again recently.

Issue occurs randomly at different stages on each boot:
1) Black screen before sddm appears where it shows " Starting systemd-udevd on arch 253-1".  I will confirm after rebooting. Sometimes it will hang there. The cursor not blinking is only indication.
2) If it passes that screen then it may hang at sddm if I leave it idle for a few seconds. No input, fans spinning normally. But no way to interact with anything.
3) If it doesn't occur and I somehow manage to login then it might happen after a few seconds after login. All my programs load up and then the whole thing freezes. Even audio outputs.
4) If somehow I manage to get through all of that and nothing freezes then I can use arch as is but if I try to launch my VM it will instantly freeze.
5) It will sometimes lock up during shutdown too. Black screen it will show system is shutting down now and lock up.

Of note is that there is no way to access the other tty with ctrl + f(1-5). No response on any input. I logged in via ssh while the laptop was still running and launched my vm so I could try and get logs through ssh on my phone but even the ssh window became unresponsive. Only way to get out of the state is to hold down the power button to force shut down.

I even tried to login through tty and launching plasma through that using wayland with `startplasma-wayland` .  I managed to login but it hung on vm llaunch again.

I checked the journal through `sudo journalctl -b` but I could not see any mention of errors but I also don't understand the nuances of whats written in the terminal.

Edit: I forgot to mention that  I have also had it where I was inside my vm and it was fine but the moment I tried switching to the host.
Edit2: It locked up while logging into tty as well.

Last edited by igneel (2023-03-01 16:05:56)

Offline

#2 2023-03-01 16:10:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,358

Offline

#3 2023-03-01 18:05:53

igneel
Member
Registered: 2021-06-17
Posts: 10

Re: Laptop freezes after boot completion.

So adding `i915` to modconf doesn't actually work. Also my drives are not encrypted. Is there no other way to deal with this issue other than downgrading the kernel? I have tried to dynamically bind and launch vm but it never works. I can unbind from vfio without issues however.

Offline

#4 2023-03-01 21:09:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,358

Re: Laptop freezes after boot completion.

That's not what the post I linked is about - there seemms a regression in the later kernels (see the linked patch, luiscrjunior reverted to mend his situation)

Offline

Board footer

Powered by FluxBB