Would the installation of
x11-drivers/xf86-video-amdgpu bring any benefits?
For (non-ancient, that is: non ATI based)
AMD graphics and Xorg (don't know any Wayland specifics) you have basically two options to choose from if you want to use KMS (kernel mode setting) with graphics acceleration:
- in /etc/rc.conf use
kld_list="amdgpu"
combined with
in an appropriate Xorg .conf
file (for example /usr/local/etc/X11/xorg.conf.d/20-amdgpu.conf) in a Section "Device"
:
Code:
Section "Device"
Identifier "Device0"
Driver "amdgpu"
EndSection
- in /etc/rc.conf use
kld_list="amdgpu"
combined with
in an appropriate Xorg .conf
file in a Section "Device"
:
Code:
Section "Device"
Identifier "Device0"
Driver "modesetting"
EndSection
Where the Xorg
modesetting(4) driver is the Xorg default, so the second option need not be explicitly declared in a Xorg
.conf
file.
AFAIK (and hinted at by
kpedersen) the general trend is moving Xorg driver implementations from vendor specific to non-vendor specific (
modesetting(4) ), so the user will not have to rely upon explicitly declaring
Driver "amdgpu"
.
For some AMD graphics (mostly: very new) one might be confronted with the Xorg
modesetting
not working, then try using the Xorg vendor specific
amdgpu
driver instead, I'd say: try both.
If all these fail, you might fall back to the Xorg
vesa
or
scsb
driver ... without any hardware graphics acceleration of course. Then you just have to wait for driver development to pick up and incorporate support for your AMD discrete graphics card or AMD iGPU.
Edit: you'll likely need to add an appropriate
BusID
in
Section "Device"
when you have multiple graphics from a different vendor in your system, like when you have an iGPU (incorporated in the CPU) in addition to a discrete GPU as for exampe in a laptop.