Friday, September 02, 2022

Re: OpenBSD hangs in X, but mouse can still move (ThinkPad T470)

On Wed, 31 Aug 2022 17:01:32 +0100
Hashim Mahmoud <hashimm06@outlook.com> wrote:

> (Sorry, I accidentally pressed Send in the middle of typing, ignore
> the previous message...)
>
> I've been using OpenBSD on a ThinkPad T470 for a couple of days now,
> and the experience is very nice. However, I've noticed an issue that
> occurred twice today: while I'm using cwm and a bunch of apps
> (Firefox, Claws Mail, KeepassXC, xterm, nothing special), OpenBSD
> completely freezes, but the mouse cursor can still move. I can't even
> switch to a different tty with ctrl+alt+F<number>. But it seems that
> function keys still work, as pressing the mute button activates the
> red LED light on it (though pressing the backlight keys does
> nothing). Closing the lid to try to suspend the laptop fails, but the
> green LED power light and red ThinkPad light on the cover blink as
> they do when about to suspend, though they never stop blinking as the
> laptop never suspends. Nothing strange in Xorg.0.log and
> Xorg.0.log.old, and I'm not sure what else I need to check.
>
> The first time this happened I was just using Firefox, and the second
> time this happened was immediately after I started picom (I don't
> usually use it but wanted to see it this time).
>
> Any idea what's going on?

In case anybody else comes across this problem, I was able to ssh into
the machine and get some logs (though shutting down would only stop the
cursor from moving and nothing else). I would get
`__await_execution: stub` on my console three times, and then
`Asynchronous wait on fence :Xorg[73369]:2e16 timed out (hint:0xffffffff81724fe0s)`
after about 10 seconds and then the freeze occurs. I looked around the
internet a bit and turns out that using the intel(4) driver on newer
hardware is not recommended, so I just removed my xorg.conf.d, which
reverted me back to the modesetting(4) driver, and everything works
fine now. Though there are some drm errors in the console, they seem to
have no effect on me whatsoever.

No comments:

Post a Comment