[Bug 229995] [panic, regression] radeonkms "timed sleep before timers are working"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 30 17:48:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229995

--- Comment #3 from Andrew Daugherity <andrew.daugherity at gmail.com> ---
(In reply to Alexey Dokuchaev from comment #2)
I'm running 12.1 on a similar server (also an embedded Radeon R100) and using
the drm-kmod package.  It was installed as 12.0, which had the same issue with
the included drivers as 11.x, as noted in comment 1.  However, prompted by the
deprecation notice I installed drm-legacy-kmod.  I don't recall if I ever tried
loading that via /boot/loader.conf, but as the package message suggests using
the kld_list setting in rc.conf, I'm following that method.  (Although it
neglects to mention that you must also load drm2.ko that way [1], or else it
will use the kernel's [deprecated] drm2.ko with the radeonkms from the package,
and still generate deprecation warnings.)

I've since switched to the non-legacy drm-kmod package, which also works fine,
at least in 16 bpp modes.  Other depths had issues with both the legacy/kernel
drivers (they defaulted to 8 bpp, which was grayscale for some reason; 24 bpp
had an incorrect console palette) and the new ones (display corruption in some
depths; sorry, I forget which, but at least the new drivers default to 16 bpp,
which works).

[ Aside: the vt(4) man page only mentions kern.vt.fb.default_mode="<X>x<Y>" and
nothing about setting depth, which is apparently done by appending it to the
resolution, e.g. "1280x1024-16".  I found that in a mailing list; seems like an
oversight to not include it in the man page... ]

So... while it _is_ a bug that it panics if you load the drivers on boot,
loading the drivers later is an easy workaround (and maybe even the preferred
method?), so it's not that big of a problem.  I was unaware of the kld_list
rc.conf setting until the package told me to use it -- that's a cleaner method,
for sure. 

[1]
https://github.com/FreeBSDDesktop/drm-legacy/issues/7#issuecomment-658407985

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list