[Bug 250522] After upgrading to 12.2-BETA3 and mesa-dri-20.2.0_1 OpenCL (clover) stopped working

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 5 10:23:58 UTC 2020


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

--- Comment #7 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to shamaz.mazum from comment #6)
> -  Device Name                                     Radeon RX 580 Series (POLARIS10, DRM 3.23.0, 12.2-RELEASE, LLVM 8.0.1)
> +  Device Name                                     Radeon RX 580 Series (POLARIS10, DRM 3.23.0, 12.2-RELEASE, LLVM 10.0.1)

Can you try forcing LLVM_DEFAULT=80 in graphics/mesa-dri/Makefile.common then
rebuilding lang/clover? I suspect it won't help but who knows.

> I am reluctant to upgrade to CURRENT

Try upgrading only kernel (keep COMPAT_FREEBSD12 from GENERIC) but leave
userland (base and ports) intact, so it's easy to go back even without
bectl(8).

  $ make kernel-toolchain
  $ make buildkernel
  $ make installkernel INSTKERNNAME=kernel.current
  $ nextboot -k kernel.current

> I can try to cherry-pick related linux KPI commits on top of releng/12.2
> if you can say which commits are relevant.

Each X.Y -> X.Y+1 update of GPU drivers spans *hundreds* of commits. And I've
never had an AMD GPU, so can't make a guess. Besides, it'd be a waste of time
looking through kernel commits if the issue can be reproduced on -CURRENT.

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


More information about the freebsd-x11 mailing list