Nvidia Optimus Driver for FreeBSD

This is not going to work no matter what.
I can get it to output to individual screens, but not both at the same time.
I have modified the xorg.conf as follows:

Code:
Section "ServerLayout"
        Identifier "Xorg"
        Screen  0 "Screen0"
        Screen  1 "Screen1"
EndSection

Section "Module"
        Load "modesetting"
EndSection

Section "Device"
        Identifier "Card0"
        Driver "intel"
        BusID "PCI:0:2:0"
EndSection

Section "Device"
        Identifier "Card1"
        Driver "nvidia"
        BusID "PCI:1:0:0"
        Option "AllowEmptyInitialConfiguration"
EndSection

Section "Monitor"
        Identifier "eDP1"
        Option "Primary" "true"
EndSection

Section "Monitor"
        Identifier "HDMI-1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Option "Monitor-eDP1" "eDP1"
EndSection

Section "Screen"
        Identifier "Screen1"
        Device "Card1"
EndSection

when I change the Intel driver to vesa I will get eDP1 to output, but it will not load the nvidia driver. and if left configured as above it will load the nvidia driver and I will get HDMI-1 output.
I've been searching heavily through the forums and I am not sure what the differences in implementation between a Linux host and a FreeBSD host are.
 
I am able to get Xinerama to use dual screen, but at a performance cost.
Without Xinerama I can get xorg to create a screen for integrated graphics, and one for dedicated however I can only display on one at a time.
An improvement from before as the dedicated GPU screen will detect and display a black desktop over HDMI, however my display manager will not load a desktop, a weird thing is that TWM will allow use of both desktops but not XFCE or KDE.
 
Back
Top