From owner-freebsd-x11@FreeBSD.ORG Wed Jul 20 22:28:07 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E4491065688 for ; Wed, 20 Jul 2011 22:28:07 +0000 (UTC) (envelope-from xmirya@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D17878FC13 for ; Wed, 20 Jul 2011 22:28:06 +0000 (UTC) Received: by vws18 with SMTP id 18so716055vws.13 for ; Wed, 20 Jul 2011 15:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zBFE3fH8ZLvG+ktJ5UnchgSN3SHtGIxiZrnQMRtsTb8=; b=NKH6GD3zkguWNuUjFckS3Kw4NLdWRHsCjvPEfrqMGaSH596yhEh4HlPFdXqzTvke5l AtUgSU/gs3DaLi9sIRJixe9/ONNzDz+cPza3PG5yqg9MCsZDk6NKyDrW+QAW44H4B538 mj8pxhutvcWYoBScB+Lnj6jlCYBHnnaVK9AKI= MIME-Version: 1.0 Received: by 10.52.179.130 with SMTP id dg2mr2855879vdc.203.1311200886026; Wed, 20 Jul 2011 15:28:06 -0700 (PDT) Received: by 10.220.96.143 with HTTP; Wed, 20 Jul 2011 15:28:05 -0700 (PDT) In-Reply-To: References: <20110717131723.GA64621@bsdpad.com> Date: Thu, 21 Jul 2011 01:28:05 +0300 Message-ID: From: m irya To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-x11@freebsd.org Subject: Re: freebsd-current + nvidia GeForce GT 520M X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 22:28:07 -0000 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