freebsd-current + nvidia GeForce GT 520M

m irya xmirya at gmail.com
Wed Jul 20 22:28:07 UTC 2011


I've tried the KMS patches, according to the procedure described in
http://wiki.freebsd.org/Intel_GPU (including MESA update) . The chip
is "(II) intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge
Mobile (GT2)" FYI. The good news is that the driver itself works, and
i have 1366x768 resolution and GLX on my desktop. The bad news:
1) X starts with 640x480 resolution, adding Modeline in xorg.conf
doesn't help. The sections look like
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Modeline "1366x768"   69.30  1366 1398 1422 1432  768 771 775 806
-hsync -vsync
    Option         "DPMS"
EndSection
Section "Screen"
    Identifier     "IntelMainScreen"
    Device         "IntelMain"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes       "1366x768" "1024x768" "800x600" "720x576"
"720x480" "640x480" "640x400" "400x300" "320x240" "320x200"
        ViewPort    0 0
        Virtual     0 0
    EndSubSection
EndSection

, but they are like disregarded. However, adding the mode after X is
started works:
xrandr --newmode "1366x768"   69.30  1366 1398 1422 1432  768 771 775
806 -hsync -vsync
xrandr --addmode LVDS1 1366x768
xrandr --output LVDS1 --mode 1366x768

, so i've just added it to ~/.xinitrc

2) The linux stuff is like too old. Particularly, GoogleEarth crashes on start:
$ googleearth
drm_i915_getparam: -14
Google Earth has caught signal 11.

That would be nice if someone packaged the appropriate rpms to make it work too.

3) also, as a side note if someone will try to repeat the same trick
with the same Intel+Nvidia Lenovo notebook: don't forget to uninstall
nvidia-driver (useless) before trying the above procedure. The driver
installer replaces the mesa library files and the X GLX extension
module with its own, and those (especially the latter) won't work with
non-nvidia stuff.
The second issue is that GLX is unavailable. The line about it in Xorg.0.log is:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

meanwhile the Nvidia card is completely switched off in BIOS and the
Nvidia driver is unloaded


More information about the freebsd-x11 mailing list