[Bug 276985] crash in LinuxKPI/drm

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Sep 2024 00:32:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276985

--- Comment #54 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> ---
The rest of packages are installed with pkg.

Enlightenment WM works fine and smooth.
Firefox works fine and smooth, video playback in 4K works fine.
FreeCAD works fine and smooth.
Blender works fine and smooth.
KiCAD works fine and smooth.
PrusaSlicer works fine and smooth.
OBS works fine and seems to use VAAPI hardware encoder :-)

What I think of is maybe also VBox with 3D acceleration.. but not really
important here I only need USB passthrough (its easier than on bhyve where I
had to put whole PCI-E USB controller just for that).

gzdoom returns Bus Error (core dumped) on launch.. but it works on the laptop..
maybe a port problem (problem is at libfluidsynth.so.3 -> memset.c:119:26). Not
really important here.

OpenArena freezes the computer on launch when the screen resolution changes and
intro movie is supposed to display. No reaction to Ctrl+Alt+F1. No reaction to
Ctrl+Alt+Del. Machine needs a hardware reset. After that reset UFS is corrupted
(two consecutive runs of `fsck -fy /` in a single mode finds and fixes some
issues but that may as well result in hidden filesystem corruption as before).
I am really scared of that fs corruption and it jumped right here from start
with UFS (its really good to have ZFS now).

Other than that OpenArena problem I can switch resolutions and refresh rates at
Enlightenment WM on both screens with no problem while video playback in web
browser and recording with obs using vaapi hw enc. I would have to work on this
setup with my standard load which is quite heavy for several days to asses if
its stable. So far it works well but I did not stress test it. Do you have any
stress test scripts that I can run?

Also I am using linuxlator with latest debian base to work with some Linux only
stuff for work. Is there any risk that if Linux package would use DRM it could
also freeze whole machine just like OpenArena?

This desktop has fairly old AMD FX-8320 CPU and ASUS Sabertooth 990FX 2.0
mainboard with hardware serial port. Maybe I can set this serial port so it
spits out the dmesg on a screen / compuer freeze so I can pinpoint the cause?
Maybe some debug over serial port is it possible here on FreeBSD (I usually use
JTAG/SWD for that but on smaller non amd64/x86 RTOS platforms but remote gdb
should be similar right)?

Summing up I am happy that drm-61-kmod is some alternative to drm-515-kmod on
14.1-RELEASE that caused problems last time I used 14 branch (14.0-RELEASE).
Not sure about the long time stability but I would like to try 5.15 and even
5.10 here if that is okay? :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.