Solved Can't start x server with radeon and intel drivers on FreeBSD 12

Hi All, I need some help with configuring Xorg server cause it works only with 'vesa' driver (FreeBSD 12 + KDE5 desktop + HD6670).
I've installed drm-kmod and added kld_list="/boot/modules/radeonkms.ko" to rc.conf.
I also switched driver in xorg.conf from 'vesa' to 'radeon', but after that xorg can't start: log shows that Xorg can't open radeon driver, but kldstat shows it.

Also note that during configuration Xorg -configure lists only vesa, scfb, modesetting drivers.
And I have totally same story with Intel driver.

Xorg.0.log
Code:
[    78.161] (II) Module ABI versions:
[    78.161]    X.Org ANSI C Emulation: 0.4
[    78.161]    X.Org Video Driver: 20.0
[    78.161]    X.Org XInput driver : 22.1
[    78.161]    X.Org Server Extension : 9.0
[    78.161] (--) PCI:*(0:1:0:0) 1002:68d8:1043:0356 rev 0, Mem @ 0x90000000/268435456, 0xa0220000/131072, I/O @ 0x00003000/256, BIOS @ 0x????????/65536
[    78.161] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    78.161] (II) LoadModule: "glx"
[    78.161] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    78.162] (II) Module glx: vendor="X.Org Foundation"
[    78.162]    compiled for 1.18.4, module version = 1.0.0
[    78.162]    ABI class: X.Org Server Extension, version 9.0
[    78.162] (==) AIGLX enabled
[    78.162] (II) LoadModule: "radeon"
[    78.162] (WW) Warning, couldn't open module radeon
[    78.162] (II) UnloadModule: "radeon"
[    78.162] (II) Unloading radeon
[    78.162] (EE) Failed to load module "radeon" (module does not exist, 0)
[    78.162] (EE) No drivers available.
[    78.162] (EE)
Fatal server error:
[    78.162] (EE) no screens found(EE)

kldstat:
Code:
Id Refs Address                Size Name
1   54 0xffffffff80200000  243d228 kernel
2    1 0xffffffff82821000   1540c8 radeonkms.ko
3    2 0xffffffff82976000    76990 drm.ko


Packages:
FreeBSD 12.0-RELEASE-p10
xorg-7.7_3
drm-kmod-g20190710
kde5-5.16.2.19.04.2
 
Obsolete abandonware, see post #5

The AMD Radeon HD 6670 (TURKS) is supported by the radeon(4) FreeBSD base driver.

Unload previous radeon driver, load the base driver manually kldload /boot/kernel/radeonkms.ko, execute kldstat, check for radeonkms.ko and radeonkmsfw_TURKS_xxx.ko

Don't create a xorg.conf file, unless automatic configuration fails, use multiple files in /usr/local/share/etc/X11/xorg.conf.d/(see handbook). Create there a radeon.conf file, set
Code:
Section "Device"
     Identifier "Card0"
     Driver    "radeon"
EndSection
Disable other xorg configuration files, test the setting, execute startx.


If all goes well, delete graphics/drm-kmod, set in /etc/rc.conf
Code:
kld_list="radeonkms"
.
 
Back
Top