From owner-freebsd-current@FreeBSD.ORG Sun Sep 21 02:54:24 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 AFAC2C83 for ; Sun, 21 Sep 2014 02:54:24 +0000 (UTC) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (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 68185B8C for ; Sun, 21 Sep 2014 02:54:24 +0000 (UTC) Received: from fortune.joker.local (180-198-225-68.nagoya1.commufa.jp [180.198.225.68]) (authenticated bits=0) by dec.sakura.ne.jp (8.14.3/8.14.2/[SAKURA-WEB]/20080708) with ESMTP id s8L1vlJ8061364 for ; Sun, 21 Sep 2014 10:57:48 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sun, 21 Sep 2014 10:57:46 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Subject: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT Message-Id: <20140921105746.ab225e27e03d1cbdea6b41d8@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sun, 21 Sep 2014 02:54:24 -0000 Hi. Very preliminary question, but not mentioned before if I haven't missed it. Have you disabled Optimus? If not, you need to disable it (or definately select nvidia discrete GPU) in BIOS / UEFI firmware, as currently any version of nvidia proprietary driver for FreeBSD does NOT support Optimus. Please read /usr/local/share/doc/NVIDIA_GLX-1.0/README for detail. (The location could be different if you installed nvidia driver WITHOUT using ports nor pkg.) At least, my ThinkPad T420 has an option to select Optimus / internal intel GPU / nvidia discrete GPU, and I need to select nvidia discrete GPU to use x11/nvidia-driver. Sat Sep 20 23:11:54 UTC 2014 O. Hartmann wrote: >Am Sat, 20 Sep 2014 21:21:46 +0200 >Koop Mast schrieb: > >> On Sat, 2014-09-20 at 20:13 +0200, O. Hartmann wrote: >> > Am Sat, 20 Sep 2014 19:15:30 +0200 >> > "O. Hartmann" schrieb: >> > >> > > Am Sat, 20 Sep 2014 08:27:27 -0600 (MDT) >> > > Warren Block schrieb: >> > > >> > > > On Sat, 20 Sep 2014, O. Hartmann wrote: >> > > > >> > > > > Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT) >> > > > > Warren Block schrieb: >> > > > > >> > > > >> On Fri, 19 Sep 2014, O. Hartmann wrote: >> > > > >> >> > > > >>> nVidia's BLOB from port x11/nvidia-driver seems to have problems >in FreeBSD >> > > > >>> 11.0-CURRENT #2 r271869: Fri Sep 19 13:28:03 CEST 2014 amd64, on >Lenovo >> > > > >>> ThinkPad Edge E540 laptop with CPU i5-4200M (Haswell) with >integrated HD4600 >> > > > >>> Intel iGPU and dedicated nVidia GT 740M (Optimus) working >correctly. >> > > > >> >> > > > >> Optimus is supposed to be full Intel graphics plus an Nvidia >GPU. The >> > > > >> extra GPU uses the same display memory and can be enabled to >speed up >> > > > >> the Intel graphics or disabled for power saving. I don't know if >> > > > >> versions where the Nvidia section is a full discrete video >adapter that >> > > > >> can be used alone are still called "Optimus". >> > > > >> >> > > > >> Some Optimus owners have reported being able to use the Intel >drivers >> > > > >> after disabling the Nvidia GPU in the BIOS or UEFI. If an option >to >> > > > >> disable the Nvidia GPU is not present, some people have reported >success >> > > > >> with an xorg.conf that uses only the intel driver and ignores the >Nvidia >> > > > >> hardware. >> > > > > >> > > > > Thanks Warren. >> > > > > >> > > > > But this sounds even more frustrating now. I look around the web >even at >> > > > > Lenovo's support forum. Many people report the GT 740M nVidia >adaptor as a >> > > > > discrete adaptor with Optimus technology and everything sounds to >me like it >> > > > > can be selected exclusively. What you describes is that I >definitely need to >> > > > > use the HD4600 iGPU on FreeBSD in the first place since the nVidia >hardware is >> > > > > a kind of "appendix" to the HD4600. >> > > > >> > > > Optimus started out that way, but they might use the same name now >for >> > > > models where the additional GPU is a full discrete adapter. >> > > >> > > I tried to retrieve informations about the settings and >implementations in the >> > > lenovo E540, but I guess the only answer can be given by developer >documentation. I >> > > can not figure out how the GPU is attached to the system. The technical >> > > specifications do not mention the requirement of a iGPU and shared >memory - as >> > > Optimus would require. >> > > >> > > But extrapolating from that "shit-covering" public relations talking >at nVidia's >> > > site I guess the GT 740M is definitely a shared memory solution and >requires the >> > > presence of the iGPU. That would explain why the nvidia BLOB is >detecting the GPU, >> > > but can not find any physical display socket, not even the built-in >LCD. They're >> > > maybe wired all throught the Haswell's HD4600 iGPU? >> > > >> > > > >> > > > > Anyway, I also tried to configure X11 as HD4600 only and X11 >doesn't work >> > > > > properly: it doesn't even start up and loading the "intel" driver >complains >> > > > > about a missing device >> > > > > - preceeded by a lot of /dev/dri errors. This indicates to me, in >a naiv manner, >> > > > > that this HD4600 isn't recodnized by the kernel, either. I do not >see any kind >> > > > > of vga0: entry in the kernel log when enabling "Integrated >Graphics" only in the >> > > > > laptop's UEFI/Firmware. When enabling "nVidia Optimus", a >recognized vga0: >> > > > > device shows up. >> > > > >> > > > Whoops, HD4600 is Haswell. The intel driver on FreeBSD does not >support >> > > > Haswell video yet. >> > > >> > > >> > > I suspected that :-( >> > > >> > > Thanks anyway, >> > > >> > > Oliver >> > >> > Oh, by the way, where is x11-drivers/xf86-video-noveau? I can only find >> > x11-drivers/xf86-video-nv, which covers old hardware and it is not >applicable to the >> > GT 740M (complains, rightfully, that the found device isn't supported by >the "nv" >> > driver). >> > >> > I face a mess here ... :-( >> >> It was removed, because we missing kernel support for the nouveau >> driver. > > >So, every new GPU not supported by xf86-video-nv has to use nVidia's >BLOB then? -- Tomoaki AOKI junchoon@dec.sakura.ne.jp