Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 2021 13:59:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 249357] graphics/drm-fbsd12.0-kmod: Doesn't work on AMD E-300 (Radeon HD 6310/PALM) laptop
Message-ID:  <bug-249357-7141-Tc9CnowAog@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249357-7141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249357-7141-Tc9CnowAog>