From owner-freebsd-current@FreeBSD.ORG Thu Sep 18 17:04:43 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B00D040E; Thu, 18 Sep 2014 17:04:43 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E6D2772; Thu, 18 Sep 2014 17:04:42 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1XUf8K-001wr1-HX>; Thu, 18 Sep 2014 19:04:40 +0200 Received: from g225156062.adsl.alicedsl.de ([92.225.156.62] helo=hermann.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1XUf8K-00328n-DE>; Thu, 18 Sep 2014 19:04:40 +0200 Date: Thu, 18 Sep 2014 19:04:03 +0200 From: "O. Hartmann" To: Nathan Whitehorn Subject: Re: UEFI/CURRENT: vt() and nVidia BLOB: not working on nVidia GT 740M Message-ID: <20140918190403.0faa25de.ohartman@zedat.fu-berlin.de> In-Reply-To: <541AEA01.4030604@freebsd.org> References: <20140918131839.09199df7.ohartman@zedat.fu-berlin.de> <541AEA01.4030604@freebsd.org> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/lPJW20ZHSjkb+ZUwt7Ttg29"; protocol="application/pgp-signature" X-Originating-IP: 92.225.156.62 X-ZEDAT-Hint: A Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 17:04:43 -0000 --Sig_/lPJW20ZHSjkb+ZUwt7Ttg29 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Thu, 18 Sep 2014 07:19:45 -0700 Nathan Whitehorn schrieb: >=20 > On 09/18/14 04:18, O. Hartmann wrote: > > Running FreeBSD 11.0-CURRENT #5 r271728: Thu Sep 18 01:18:25 CEST 2014 = amd64 on a > > Lenovo ThinkPad Edge E540 laptop with built-in nVidida GT 740M GPU (NV2= 08M) doesn't > > bring up X11 even with most recent nVidia BLOB 343.13. > > > > The system has been installed from a most recent FBSD CURRENT USB drive= image and uses > > UEFI and newcons/vt(). IN UEFI Firmware, the primary GPU selected is th= e nVidia GT > > 740M in favour of the Intel iGPU HD4600 of the Haswell CPU. > > > > While the system works well with console only after UEFI boot, I can no= t start X11 > > having driver "nvidia" enabled, the portion in xorg.conf reflecting thi= s is as > > follows: > > > > Section "Device" > > Identifier "Card0" > > VendorName "nVidia" > > BoardName "GT740M" > > Driver "nvidia" > > BusID "PCI:1:0:0" > > EndSection > > > > When starting X, the screen goes blank and black with a stuck mousepoin= ter showing up > > and a green (colour defined in my console) carret showing in the left h= and upper > > corner of the screen - and nothing happens anymore. > > > > Using driver "nv" from the regular xorg installation from the ports (ha= ving set > > WITH_NEW_XORG=3D YES > > WITH_KMS=3D YES > > WITH_GALLIUM=3D YES > > in /etc/make.conf) fails with the error, that the driver doesn't recogn= ises the GPU > > type. > > > > The only working solution is the very slow and unusable x11-drivers/xf8= 6-video-scfb > > unaccelerated software framebuffer. > > > > I'd like to use the accelerated nVidia GPU with the BLOB as I do on all= other FreeBSD > > boxes I use (systems still without UEFI and graphical vt()). > > > > What am I doing wrong here? > > > > Has someone successfully bootet FBSD CURRENT via EUFI and nVidia accele= rated GPU via > > nVidia's BLOB? > > > > Thanks in advance, > > > > Oliver >=20 > I'm using UEFI and the blob every day without issue. However, that is=20 > with an add-in card. It's possible that X11 or the nVidia driver is=20 > trying to reinitialize the card through the (potentially non-existant)=20 > video BIOS, which fails. Is there any option like "NoInt10" you can turn= =20 > on in X configuration? > -Nathan I tried Option "NoInt10" Option "PrimaryInt" both in all combinations possible without any success. It is good to hear t= hat at least one successful run of the BLOB with UEFI/vt can be reported, so the problem= might be of a minor issue - hopefully. The GPU is a dedicated PCIe GPU for the notebook, combined with the HD4600 = which can be used via nVidia's "Optimus" switching - if software supports it. In the UEF= I, I selected the nVidia dedicated GPU as the primary one. The way the "dead" screen shows up reminds me of a dead end screen: the lef= t-hand top carret and the console's mousepointer (at the position it was on the consol= e) look like as the whole output is now delegated towards another output socket. The key= board works surprisingly NOT as expected, since I have to switch this Lenovo FN key for= Ctrl - which then allows me to switch back to the console and terminate the X server or = xdm. I need to figure out what name's the sockets have (on the Dell Latitude I h= ave, they are called DPS-0 to DPS-2 for the internal display, the HDMI and the DisplayPor= t socket and VGA-0 for the VGA socket). Will report back ... Oliver --Sig_/lPJW20ZHSjkb+ZUwt7Ttg29 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUGxCJAAoJEOgBcD7A/5N8dQ4IAIZNaFEy8eTGtuIZCxiocwWC Z4hXNBWTertwHRP6pNfL3EKVgJ1g/Wdl48EoyYGpWq/AP/OIi7c+qb6BWmZtLGfT zSZQiZ5+28hH9w972JXVGhmHm859Ic8oZfKT7nNrR69Bcvj+GPRGALqiBlEsa9P+ 2C0L8nduHDk2+25A4wAV/L7Gdeeq015l8Ki4fJ4iVdoB9mLRbCAwXPhCVrrNDEAf itT+QHQDywwbu/bs0i8ZCGNGVHVSQ7bOuweqpKOlRpOvUaWE3mFEy79oDQvPXGb/ CQkHhvJABHOOvA7AMQXFSjU0MdrqImayhc7+htnwsGLipixVz2KDE7Yi4etjQLw= =WecA -----END PGP SIGNATURE----- --Sig_/lPJW20ZHSjkb+ZUwt7Ttg29--