Date: Thu, 21 Jul 2011 01:28:05 +0300 From: m irya <xmirya@gmail.com> To: Kevin Oberman <kob6558@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: freebsd-current + nvidia GeForce GT 520M Message-ID: <CAK8LArOv4PbXS3NV6uDuSNoG3hOCbe7k7jLwqXi0spr_QmsC=A@mail.gmail.com> In-Reply-To: <CAN6yY1uXByS-dOsShXkx6h9b14-jDTCPuFijWaq9xZQKNnNtXQ@mail.gmail.com> References: <CAK8LArMYufuHfx_=xsZLKdhjD6tA%2BYr8oxH1nxE3p1fJ4Y4%2BTA@mail.gmail.com> <20110717131723.GA64621@bsdpad.com> <CAN6yY1uXByS-dOsShXkx6h9b14-jDTCPuFijWaq9xZQKNnNtXQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK8LArOv4PbXS3NV6uDuSNoG3hOCbe7k7jLwqXi0spr_QmsC=A>