Setting up dual mode graphics in FreeBSD


This was tested on a Lenovo Thinkpad P1 Gen3 with internal Intel and an Nvidia Quadro T2000 using both the laptops display and two Dell 4K 24" screens. I've had it working with both XFCE4 and KDE Plasma 5. Login manager is sddm. I found lightdm to not work particularly well with the multiple screens.

Install drm kernel modules

pkg install drm-kmod nvidia-drm-kmod

Configuration of xorg

This should be automatic. In my experience when I added the drivers to xorg I couldn't get it working with both the laptop display and my external screens.

Startup - /etc/rc.conf

kld_list="i915kms acpi_ibm acpi_video nvidia-drm cuse"

xfce4 configuration

  1. When configuring multiple screens, adjust them as you see fit. Note: I have the laptop display set as the primary. jsdom

  2. Once you have it the way you want you can create a profile. This should remember the layout when you reconnect the screens. jsdom

Copyright © 2020 | Ben Hutton