Open Zirias opened 4 years ago
This branch is not supported, and not properly updated. Do you get the same panic on CURRENT with drm-devel-kmod?
Is there any branch that should work on 12.1 except for the default one? Moving to -CURRENT just for working gfx acceleration seems a bit excessive ...
drm-fbsd12.0-kmod is the correct one, although currently it requires building it from ports on FreeBSD 12.1. Just use drm-kmod, it will pick the correct version for your version of FreeBSD.
See the second paragraph above: the official package/port is broken for me (and long was on 12.0 as well, but now on 12.1, the ages old drm-stable-kmod doesn't work any more either). That's the reason I modified the port to build a different branch in the first place.
Of course, fixing the issue in PR #237223 would help me as well, I just thought that's less likely, because it seems the problem was just fixed upstream (in Linux) in newer versions.
So, are you telling me it's planned to stick with v4.16 for 12.1?
drm-stable-kmod is long gone. It was a very old version. Can you create a new issue for the isse you have with drm-fbsd12.0-kmod, that one is actually supported, but the PR was closed since there was no feedback.
Of course I can just copy it here. Nothing has changed since that, except that drm-stable-kmod indeed doesn't work on 12.1 any more. My assumption was that Linux 4.16 would show the same breakage, therefore having a 5.0 drm seemed to be more promising ;) anyways, feel free to close this issue then, if there are no plans to bring 5.0 to FreeBSD 12.1.
There are currently no plans to bring 5.0 to FreeBSD 12.1. There are regressions with the 5.0 version on CURRENT still, and we have to spend our resources there and elsewhere. Since 4.16 mostly works on 12.0 and 12.1, this feels to me the best way to spend our resources.
Hello @Zirias , is this on BIOS or on EFI? I can reproduce but only with BIOS boot, so this might actually be related to vt vga?
In any case from the backtrace this might be a duplicate of #130 , should this be the case, then the bug might be unrelated to the actual Linux (radeon) or FBSD version.
@zeising , I have some hardware and a few hours to run some tests over the next days, I can now reproduce on 12.1 STABLE, would you recommend I switch to CURRENT?
@BSDer yes, it boots in "legacy" mode, the machine is probably too old, didn't get it to boot successfully from EFI.
I'm trying to use the branch drm-v5.0-fbsd12.1 here with the following graphics chip:
This is part of an old AMD APU. Unfortunately, I can't use the stable branch built by
graphics/drm-fbsd12.0-kmod
because this doesn't find any displays and the screen goes black, see FreeBSD PR #237223.The branch works fine for me if I disable acceleration in
radeon(4)
(Option "Accel" "off"
).With acceleration enabled, I get crashes like the following: