[Bug 249357] graphics/drm-fbsd12.0-kmod: Doesn't work on AMD E-300 (Radeon HD 6310/PALM) laptop

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Sep 2021 13:59:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249357

--- Comment #28 from Jason W. Bacon <jwb@freebsd.org> ---
FYI, I was able to get Xorg working on the X120e with the following
contortions:

1. Manually kldload amdgpu.  This was just a "Hail Mary".  For some reason,
this sometimes allows Xorg to start without freezing the system.  Adding it to
kld_list in rc.conf still causes a freeze during boot.

2. Run Xorg -configure as a shortcut for generating a driver config.

3. Extract Device section from Xorg.conf.new and replace "radeon" with "scfb". 
Install fragment to /etc/X11/xorg.conf.d/40-driver.conf (actual name not
important).

Section "Device"
  Identifier "Card0"
  Driver "scfb"
  BusID "PCI:0:1:0"
EndSection

BusID will be different for each machine.  I got it using Xorg -configure, but
it will also be reported by pciconf -lv.  Look for class=display.  Using
pciconf to get the BusID will avoid the need to run Xorg successfully before
forcing "scfb".

Radeonkms and related modules are auto-loaded when Xorg starts, but with scfb
forced in the config, Xorg does not freeze as it did with the radeon driver.

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