Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 12:32:58 -0500
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org, Ashkan Rahmani <ashkan82r@gmail.com>
Subject:   Re: Optimus VGA support in new release 9.1
Message-ID:  <CAOFF%2BZ0KGZLcPf1-%2BrJ=JU_x%2Boa5=Je_u1FhnXq2cypGrjcW5A@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1212310913470.16625@wonkity.com>
References:  <CAFBRBcocnZoH=NP=eBLcSw=bcwrOMFH%2ByQThMyKX0ZVqikJYSA@mail.gmail.com> <alpine.BSF.2.00.1212310913470.16625@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> If the BIOS allows turning off the NVidia graphics, FreeBSD 9.1 has a KMS
> driver that will support the Intel graphics.


You don't even need bios to support turning off the nvidia card.. im
using a Asus N53SV-XR1
it has a nvidia optimus GT540M..
KMS works for the intel video card. so long as you dont use
packages... you have to compile xorg with
a few settings in your /etc/make.conf
as well as use the xorg intel driver, the vesa driver doesn't work and
will hard lock your system.

these settings go in /etc/make.conf
WITH_NEW_XORG=YES
WITH_KMS=YES


here is my xorg.conf

cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "Not X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Synaptics_Touchpad" "AlwaysCore"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
	FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
	FontPath     "/usr/local/lib/X11/fonts/Droid/"
	FontPath     "/usr/local/lib/X11/fonts/Liberation/"
	FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
	FontPath     "/usr/local/lib/X11/fonts/LinLibertineG/"
        FontPath     "/usr/local/lib/X11/fonts/anonymous-pro/"
	FontPath     "/usr/local/lib/X11/fonts/GentiumBasic/"
EndSection

Section "Module"
	Load  "dri"
	Load  "freetype"
	Load  "extmod"
	Load  "glx"
	Load  "type1"
	Load  "synaptics"
EndSection

Section "InputDevice"
        Identifier "Synaptics_Touchpad"
        Driver "Synaptics"
        Option "UseShm" "true"
        Option "SHMConfig" "on"
        Option "Protocol" "psm"
        Option "Device" "/dev/psm0"
        Option "SendCoreEvents" "true"
        Option "ZAxisMapping" "4 5 6 7"
        Option "FingerLow" "26"
        Option "FingerHigh" "51"
        Option "FingerPress" "254"
        Option "HorizEdgeScroll" "1"
        Option "MinSpeed" "0.10"
        Option "MaxSpeed" "0.20"
        Option "RTCornerButton" "2"
        Option "RBCornerButton" "3"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Intel nVidia Thingy"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
        Modes "1366x768"
        Virtual 1366 768
EndSubSection
EndSection


Sam Fourman Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ0KGZLcPf1-%2BrJ=JU_x%2Boa5=Je_u1FhnXq2cypGrjcW5A>