drm-kmod amd richland Radeon HD 8670D

Hello world!,

I installed my first Freebsd on zfs with geli encryption but I got some problems with graphic drivers.
Code:
$ uname -a
FreeBSD freebsd.localhost 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64

Code:
$ pciconf -lv|less
.....
vgapci0@pci0:0:1:0:     class=0x030000 card=0x85261043 chip=0x990c1002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Richland [Radeon HD 8670D]'
    class      = display
    subclass   = VGA
.....

I installed the drm_kmod.
If I use kld_list="amdgpu" in /etc/rc.conf, I got an horrible 1024x768 resolution.
If I use kld_list="/boot/modules/radeonkms.ko" I got a perfect resolution but frequently crashes (restart) and seldom desktop freezes+restart.
I have an amd a10-6700 cpu with integrated APU graphics: Radeon HD 8670D (Richland family).
Code:
$ sysctl hw.model
hw.model: AMD A10-6700 APU with Radeon(tm) HD Graphics
I use GNOME.

How can I use the Radeon KMS driver without crashes?
Please help me because I really like to use and learn more about FreeBSD.
 
My lord, if I may be so bold to apply, in supplementary to the above writing.
If I use kld_list="/boot/modules/radeonkms.ko" I got a perfect resolution but frequently crashes (restart) and seldom desktop freezes+restart.
If this annus horribilis makes an appearance using graphics/drm-fbsd12.0-kmod, perhaps you could try graphics/drm-fbsd11.2-kmod.

If I use kld_list="amdgpu" in /etc/rc.conf, I got an horrible 1024x768 resolution.
I am having trouble finding the GCN architecture generation for your card, generation
2 and onwards are supported in amdgpu. The symptom you experience may mean your gpu has no support in amdgpu.
 
Full drm-kmod graphics/drm-freebsd12.0-kmod is recommended for recent hardware.
It is explicitely written in the FreeBSD handbook.
For older hardwares, it is recommended to use the drm legacy kmod

If you run an old graphics chip, it is likely that you should use LEGACY KMOD (graphics/drm-legacy)

In fact drm legacy is roughly the same as the embedded kernel modules, but it is planned to remove all drm-kmod from kernel, and starting from FreeBSD 13, one should use the legacy port kmod.
DRM Legacy Kmod from port is also updated from time to time, this is not the case for the kernel modules, so in any case it is recommended to switch to the port version which will install the modules in /boot/modules, so you can keep you current settings.

Just give a try and choose the more stable option
  • Just note that in Legacy Kmod, XORG needs additionally x11-drivers/xf86-video-ati or x11-drivers/xf86-video-ati-legacy (for quite old ATI chips), and so the xorg configuration file must be setup accordingly through the video section to make reference to theses xorg drivers
  • In full drm-kmod, you must change the xorg configuration to deactivate the video section of xorg. In full drm-kmod you run a linux driver superseding any xorg video driver. Configuration is fully automatic, no video section is required in xorg.
Also note that in some cases amdgpu driver can supersede an ati driver. It is quite unclear when exactly, but amdgpu drivers drive also some very late Radeon branded Ati chips.
So make experiment ....

And no, I don't think that you will be able to install DRM Kmod Freebsd 11 on a FreeBSD 12 machine
 
I don't know how to define recent hardware. I cannot find my graphic family here https://wiki.freebsd.org/Graphics/AMD-GPU-Matrix
maybe it is Raedon HD 8000.
AMD Richland core, and the first microprocessors based on it, were launched in March 2013. The first announced products were A-Series mobile Accelerated Processing Units with 35 Watt TDP. Other Richland APUs, including desktop parts and ULV mobile parts, were introduced in May - June 2013. Richland core is manufactured on 32nm technology, and it combines 1 or 2 Piledriver modules (2 or 4 CPU cores), and Radeon HD 8000 series graphics. Compared to its predecessor, Richland core doesn't have any new CPU features, however the integrated GPU is upgraded to Radeon HD 8000 series graphics.
5 year ago is recent or not?
I installed drm-kmod by using this command "sudo pkg install drm-kmod", that installed drm-fbsd12.0-kmod too!
I don't think drm-legacy will work but I will give a try.
 
If I use kld_list="/boot/modules/radeonkms.ko" .......
I have an ..... Radeon HD 8670D (Richland family).
I belief you need to set kld_list="/boot/modules/amdgpu.ko" .

According to FreeBSD Graphics wiki:
“AMD GPU is the kernel module that can be used to support post-HD7000 or Tahiti GPUs.”
.....
“Radeon KMS is a distinct driver intended for older AMD based GPUs that are available in pre-HD7000 or Tahiti GPUs. “
 
$ dmesg
---<<BOOT>>---
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-RELEASE r341666 GENERIC amd64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
VT(vga): resolution 640x480
CPU: AMD A10-6700 APU with Radeon(tm) HD Graphics (3700.30-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x610f31 Family=0x15 Model=0x13 Stepping=1
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD Features2=0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,TCE,NodeId,TBM,Topology,PCXC,PNXC>
Structured Extended Features=0x8<BMI1>
SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536
TSC: P-state invariant, performance statistics
real memory = 4294967296 (4096 MB)
avail memory = 3507339264 (3344 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: unblocking device.
Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20181003/tbfadt-796)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
Launching APs: 3 1 2
Timecounter "TSC-low" frequency 1850151474 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff810f9770, 0) error 19
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM> on motherboard
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_ec0: <Embedded Controller: GPE 0xa> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf000-0xf0ff mem 0xc0000000-0xcfffffff,0xfeb00000-0xfeb3ffff irq 17 at device 1.0 on pci0
vgapci0: Boot video device
hdac0: <ATI (0x9902) HDA Controller> mem 0xfeb44000-0xfeb47fff irq 18 at device 1.1 on pci0
hdac0: hdac_get_capabilities: Invalid corb size (0)
device_attach: hdac0 attach returned 6
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfeb4a000-0xfeb4bfff irq 18 at device 16.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Unable to map MSI-X table
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfeb48000-0xfeb49fff irq 17 at device 16.1 on pci0
xhci1: 32 bytes context size, 64-bit DMA
xhci1: Unable to map MSI-X table
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
ahci0: <AMD Hudson-2 AHCI SATA controller> port 0xf140-0xf147,0xf130-0xf133,0xf120-0xf127,0xf110-0xf113,0xf100-0xf10f mem 0xfeb50000-0xfeb507ff irq 19 at device 17.0 on pci0
ahci0: AHCI v1.30 with 8 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich6: <AHCI channel> at channel 6 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
ohci0: <AMD FCH USB Controller> mem 0xfeb4f000-0xfeb4ffff irq 18 at device 18.0 on pci0
usbus2 on ohci0
usbus2: 12Mbps Full Speed USB v1.0
ehci0: <AMD FCH USB 2.0 controller> mem 0xfeb4e000-0xfeb4e0ff irq 17 at device 18.2 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
usbus3: 480Mbps High Speed USB v2.0
ohci1: <AMD FCH USB Controller> mem 0xfeb4d000-0xfeb4dfff irq 18 at device 19.0 on pci0
usbus4 on ohci1
usbus4: 12Mbps Full Speed USB v1.0
ehci1: <AMD FCH USB 2.0 controller> mem 0xfeb4c000-0xfeb4c0ff irq 17 at device 19.2 on pci0
usbus5: EHCI version 1.0
usbus5 on ehci1
usbus5: 480Mbps High Speed USB v2.0
hdac0: <AMD Hudson-2 HDA Controller> mem 0xfeb40000-0xfeb43fff irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 21.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 21.1 on pci0
pci3: <ACPI PCI bus> on pcib3
xhci2: <ASMedia ASM1042 USB 3.0 controller> mem 0xfea00000-0xfea07fff irq 17 at device 0.0 on pci3
xhci2: 32 bytes context size, 32-bit DMA
xhci2: Unable to map MSI-X table
usbus6 on xhci2
usbus6: 5.0Gbps Super Speed USB v3.0
pcib4: <ACPI PCI-PCI bridge> at device 21.2 on pci0
pci4: <ACPI PCI bus> on pcib4
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xd0004000-0xd0004fff,0xd0000000-0xd0003fff irq 18 at device 0.0 on pci4
re0: Using 1 MSI-X message
re0: turning off MSI enable bit.
re0: Chip rev. 0x48000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 08:60:6e:72:4f:c7
re0: netmap queues/slots: TX 1/256, RX 1/256
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
hdacc0: <Realtek ALC892 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC892 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa0
pcm1: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa0
pcm2: <Realtek ALC892 (Rear Digital)> at nid 30 on hdaa0
pcm3: <Realtek ALC892 (Onboard Digital)> at nid 17 on hdaa0
ugen4.1: <AMD OHCI root HUB> at usbus4
ugen5.1: <AMD EHCI root HUB> at usbus5
ugen3.1: <AMD EHCI root HUB> at usbus3
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen6.1: <0x1b21 XHCI root HUB> at usbus6
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub2: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
ugen2.1: <AMD OHCI root HUB> at usbus2
uhub3: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus6
uhub4: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen1.1: <0x1022 XHCI root HUB> at usbus1
uhub5: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
uhub6: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA HDWG11A 0603> ACS-3 ATA SATA 3.x device
ada0: Serial Number 98J0A0S1FATG
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 9537536MB (19532873728 512 byte sectors)
ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <Crucial CT750MX300SSD1 M0CR011> ACS-3 ATA SATA 3.x device
ada1: Serial Number 161412567D15
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 715404MB (1465149168 512 byte sectors)
ada2 at ahcich5 bus 0 scbus5 target 0 lun 0
ada2: <KINGSTON SV300S37A60G 505ABBF1> ATA8-ACS SATA 3.x device
ada2: Serial Number 50026B723C00D598
ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 57241MB (117231408 512 byte sectors)
Trying to mount root from zfs:zroot/ROOT/default []...
GEOM_ELI: Device ada2p4.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI: Crypto: hardware
Root mount waiting for: usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 5 ports with 5 removable, self powered
uhub5: 5 ports with 5 removable, self powered
uhub1: 4 ports with 4 removable, self powered
uhub3: 4 ports with 4 removable, self powered
uhub6: 4 ports with 4 removable, self powered
ugen0.2: <Dell Dell Universal Receiver> at usbus0
ukbd0 on uhub1
ukbd0: <Dell Dell Universal Receiver, class 0/0, rev 2.00/0.09, addr 1> on usbus0
kbd2 at ukbd0
Root mount waiting for: usbus5 usbus3
uhub4: 5 ports with 5 removable, self powered
uhub2: 5 ports with 5 removable, self powered
GEOM_ELI: Device ada1p3.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware
warning: total configured swap (10486272 pages) exceeds maximum recommended amount (3440096 pages).
warning: increase kern.maxswzone or reduce amount of swap.
[drm] amdgpu kernel modesetting enabled.
lo0: link state changed to UP
re0: link state changed to DOWN
hdac1: <ATI (0x9902) HDA Controller> mem 0xfeb44000-0xfeb47fff irq 18 at device 1.1 on pci0
hdac1: hdac_get_capabilities: Invalid corb size (0)
device_attach: hdac1 attach returned 6
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
ums0 on uhub1
ums0: <Dell Dell Universal Receiver, class 0/0, rev 2.00/0.09, addr 1> on usbus0
ums0: 5 buttons and [XYZT] coordinates ID=1
uhid0 on uhub1
uhid0: <Dell Dell Universal Receiver, class 0/0, rev 2.00/0.09, addr 1> on usbus0
re0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
pid 1152 (tracker-miner-fs), uid 1002: exited on signal 11 (core dumped)
WARNING pid 1185 (python2.7): ioctl sign-extension ioctl ffffffff80087467
pid 1215 (firefox), uid 1002: exited on signal 11 (core dumped)
I am using a sony vga monitor. How can I get a better resolution with amdgpu.ko? For example the better resolution that radeonkms.ko can give me with crashes.
Surfing on Xorg.<n>.log files I found this error in Xorg.6.log:
[ 62.618] (II) LoadModule: "vesa"
[ 62.619] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 62.619] (II) Module vesa: vendor="X.Org Foundation"
[ 62.619] compiled for 1.18.4, module version = 2.4.0
[ 62.619] Module class: X.Org Video Driver
[ 62.619] ABI class: X.Org Video Driver, version 20.0
[ 62.619] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 62.619] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 62.619] (II) VESA: driver for VESA chipsets: vesa
[ 62.619] (--) Using syscons driver with X support (version 2.0)
[ 62.619] (--) using VT number 10

[ 62.619] (EE)
Fatal server error:
[ 62.619] (EE) xf86OpenConsole: VT_SETMODE VT_PROCESS failed(EE)
[ 62.620] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 62.620] (EE) Please also check the log file at "/var/log/Xorg.6.log" for additional information.
[ 62.620] (EE)
[ 62.620] (EE) Server terminated with error (1). Closing log file.
I installed my FreeBSD 12 by gui using zfs+geli encryption. My swap partition is 2GB! Why I got nearly 40GB swap on terminal?
$ gpart show
=> 34 1465149101 ada1 GPT (699G)
34 2014 - free - (1.0M)
2048 319488 1 efi (156M)
321536 16771860 2 linux-swap (8.0G)
17093396 1260 - free - (630K)
17094656 83890176 3 linux-data (40G)
100984832 1364162560 4 linux-data (650G)
1465147392 1743 - free - (872K)

=> 40 117231328 ada2 GPT (56G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 984 - free - (492K)
411648 4194304 3 freebsd-swap (2.0G)
4605952 112623616 4 freebsd-zfs (54G)
117229568 1800 - free - (900K)

$ swapinfo -h
Device 1K-blocks Used Avail Capacity
/dev/ada1p3.eli 41945088 0B 40G 0%
 
Noble member, this is simply incorrect. The ports build machinery will not prevent this.
In my opinion, using radeonkms.ko from the graphics/drm-fbsd11.2-kmod port on FreeBSD 12, is ok.
Yeah! I tried that it is possible to install and use drm-fbsd11.2-kmod without installing drm-kmod on FREEBSD 12. I am testing this solution with radeonkms.ko. I will tell you if it works without crashes.
root@freebsd:/usr/home/mauriziosudo # pkg install drm-fbsd11.2-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
drm-fbsd11.2-kmod: 4.11g20181210

Number of packages to be installed: 1

The process will require 8 MiB more space.
1 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching drm-fbsd11.2-kmod-4.11g20181210.txz: 17% 256 KiB 262.1kB/s 0[1/1] Fetching drm-fbsd11.2-kmod-4.11g20181210.txz: 53% 792 KiB 548.9kB/s 0[1/1] Fetching drm-fbsd11.2-kmod-4.11g20181210.txz: 91% 1 MiB 581.6kB/s 0[1/1] Fetching drm-fbsd11.2-kmod-4.11g20181210.txz: 100% 1 MiB 506.9kB/s 00:03
Checking integrity... done (1 conflicting)
- drm-fbsd11.2-kmod-4.11g20181210 conflicts with drm-fbsd12.0-kmod-4.16.g20181215 on /boot/modules/amdgpu.ko
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 3 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
drm-kmod-g20181126
drm-fbsd12.0-kmod-4.16.g20181215

New packages to be INSTALLED:
drm-fbsd11.2-kmod: 4.11g20181210

Number of packages to be removed: 2
Number of packages to be installed: 1

The operation will free 2 MiB.

Proceed with this action? [y/N]: y
[1/3] Deinstalling drm-kmod-g20181126...
[2/3] Deinstalling drm-fbsd12.0-kmod-4.16.g20181215...
[2/3] Deleting files for drm-fbsd12.0-kmod-4.16.g20181215: 100%
[3/3] Installing drm-fbsd11.2-kmod-4.11g20181210...
[3/3] Extracting drm-fbsd11.2-kmod-4.11g20181210: 100%
Message from drm-fbsd11.2-kmod-4.11g20181210:

The drm-stable-kmod port can be enabled for amdgpu (for AMD GPUs starting with
the HD7000 series / Tahiti) or i915kms (for Intel APUs starting with HD3000 /
Sandy Bridge) through kld_list in /etc/rc.conf. radeonkms for older AMD GPUs
can be loaded and there are some positive reports if EFI boot is NOT enabled
(similar to amdgpu).

For amdgpu: kld_list="amdgpu"
For Intel: kld_list="/boot/modules/i915kms.ko"
For radeonkms: kld_list="/boot/modules/radeonkms.ko"

Please ensure that all users requiring graphics are members of the
"video" group.

Older generations are supported by the legacy kms modules (radeonkms /
i915kms) in base or by installing graphics/drm-legacy-kmod.
root@freebsd:/usr/home/mauriziosudo #
root@freebsd:/usr/home/mauriziosudo # pkg install drm-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
- drm-fbsd12.0-kmod-4.16.g20181215 conflicts with drm-fbsd11.2-kmod-4.11g20181210 on /boot/modules/amdgpu.ko
Checking integrity... done (0 conflicting)
The following 3 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
drm-fbsd11.2-kmod-4.11g20181210

New packages to be INSTALLED:
drm-kmod: g20181126
drm-fbsd12.0-kmod: 4.16.g20181215

Number of packages to be removed: 1
Number of packages to be installed: 2

The process will require 2 MiB more space.

Proceed with this action? [y/N]:
 
just installing drm-fbsd11.2-kmod and using kld_list="/boot/modules/radeonkms.ko" , for my APU graphic card Radeon HD 8670D, on FREEBSD 12 works PERFECTLY without crashes!! Thanks to all for the support.
 
Back
Top