Hi
Sopsan a note about custom config files, by default xorg/xlibre will do automatic detection and will use modesetting unless a DDX driver picks up the hardware. The custom files are required if you want to force a specific driver.
The current list of supported drivers on a given install can be obtained by checking what is on the
/usr/local/lib/xorg/modules/drivers/ directory. For example for me:
A prerequisite of using modesetting is that you have the appropriate DRM driver installed (i.e. drm-612-kmod for intel and amdgpu/radeon) and loaded, otherwise it will try the scfb (UEFI) or vesa (BIOS) drivers. Also note that modesetting uses Glamour (i.e. OpenGL rendering) which require an OpenGL ES 2.0 or OpenGL 2.1 capable device.
If you install DDX drivers (i.e. the xf86-video-* packages) those may take precedence, on current hardware modesetting offers better results but for example on slighly older hardware the DDX driver maybe the way to go.
Important note for AMD users, GCN 1.0 a 1.1 cards are handled by the radeon drm driver not amdgpu unless forced (will be true until drm-74-kmod at least).
So if anyone comes here in the future and has issues:
- remove all
xf86-video packages other than vesa/scfb (BIOS/UEFI boot respectively)
- install the drm package for your hardware (just
drm-[B]xyz[/B]-kmod for intel/amd plus nvidia-drm-[B]xyz[/B]-kmod for nvidia)
- If x11 looks good you are done!
- install the
xf86-video-* package for your hardware (for example xf86-video-intel, xf86-video-ati, etc, check with pkg search xf86-video-*)
- If x11 looks good you are done!
- If you still have issues, force a driver with custom device configuration
- If x11 looks good you are done!
- If you still have issues, create a custom device configuration that uses the scfb or the vesa drivers and ask for help if needed