Acceleration
Contents
Intel
The following instructions only apply to amd64 and x86 systems with Intel graphics. Skip ahead for Nvidia and Radeon GPUs.
You have two video driver choices below. Choose the drm-kmod driver. If this fails, go with the xf86-video-intel driver. The commands below switch to root, install a kernel module, either reboot or switch back to your normal login, and finally start a new X session. Time to decide:
$ su - (enter root password) # pkg install drm-kmod # sysrc kld_list="/boot/modules/i915kms.ko" # reboot
... or ...
$ su - (enter root password) # pkg install xf86-video-intel
Try the first. If X won't start, try the latter option as a last resort. If you need to switch drivers, be sure to remove the old one. Example: you tried drm-kmod which did not work so you remove it and install xf86-video-intel.
$ su - (enter root password) # pkg remove drm-legacy-kmod # sysrc kld_list-=/boot/modules/i915kms.ko # pkg install xf86-video-intel # reboot
Back to your ordinary login ...
$ startx
At this point you should have a working X session with accelerated Intel graphics.
Nvidia
TODO
Radeon
The following instructions only apply to amd64 and x86 systems with Radeon graphics.
You have two video driver choices below. Try the drm-kmod driver first. If this fails, go with the xf86-video-ati driver. The commands below switch to root, install a kernel module, either reboot or switch back to your normal login, and finally start a new X session. Time to decide:
$ su - (enter root password) # pkg install drm-kmod # sysrc kld_list="/boot/modules/radeonkms.ko" # reboot
... or ...
$ su - (enter root password) # pkg install xf86-video-ati
Try the first. If X won't start, try the latter as a last resort.