Code: Select all
pciconf -lv | grep -B 4 VGA
vgapci0@pci0:8:0:0: class=0x030000 card=0x6b761002 chip=0x687f1002 rev=0xc1 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Vega 10 XL/XT [Radeon RX Vega 56/64]'
class = display
subclass = VGA
Code: Select all
cat /etc/X11/xorg.conf | grep Driver
Vega64 (discrete) card is problematic. Well, it's that with vanilla FreeBSD as well. LiveCD works only with either Vesa or SCFB graphics. Selecting AMDGPU in installer will blank the screen and silence the fans (seems to take system completely offline in fact because not even keyboard leds blink after pushing CAPS/SCROLL/NUMLOCK).
4.16-based drm does not work in vanilla either, it's not GhostBSD-specific issue. I can get picture only with 5.0-based drm in vanilla FreeBSD, haven't even gotten up to trying Xorg neither here or in vanilla.
https://forums.freebsd.org/threads/amd- ... ost-455723
Currently trying to implement it on GhostBSD install and see if I can get graphics to work. (pulling GhostBSD sources from github atm in order to compile kms-drm-drm-v5.0-fbsd12.1 ). Will update progress later.
EDIT: Compiling drm-v5 finished without errors. 'make install' went without hitch, as expected.
Loading Xorg+amdgpu failed with 'no screens found'. Even tried to define BusID - which was double-checked with "scfb" driver.
Can post error log if there's any interest.
should have gone to sleep earlier, made some stupid mistakes (like trying to load radeonkms driver instead of amdgpu)
EDIT3: after reinstalling from 0, compiling-installing drm v5, adding "amdgpu" into /etc/rc.conf kld_list and replacing scfb driver with amdgpu in /etc/X11/xorg.conf graphics is functional on Vega discrete graphics card.
Users with Polaris card should get theirs working much the same way.