Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-30 Thread Allan Jude
On 2014-09-28 07:00, O. Hartmann wrote:
 Am Sun, 28 Sep 2014 12:05:36 +0200
 Jan Kokemüller jan.kokemuel...@gmail.com schrieb:
 

 And as far as I know: even the Linuxulator is ways behind the recent 
 development and
 still 32Bit (ancient, so to speak). I do not want myself having lots of 
 outdated hard-
 and software running and developing on outdated platforms.
 

There is a working 64bit linuxulator in dchagin's project branch.
Hopefully it will be merged into head soon, and we'll have full 64bit
linux emulation for FreeBSD 11.


-- 
Allan Jude
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-28 Thread O. Hartmann
Am Sat, 20 Sep 2014 21:21:46 +0200
Koop Mast k...@rainbow-runner.nl schrieb:

 On Sat, 2014-09-20 at 20:13 +0200, O. Hartmann wrote:
  Am Sat, 20 Sep 2014 19:15:30 +0200
  O. Hartmann ohart...@zedat.fu-berlin.de schrieb:
  
   Am Sat, 20 Sep 2014 08:27:27 -0600 (MDT)
   Warren Block wbl...@wonkity.com schrieb:
   
On Sat, 20 Sep 2014, O. Hartmann wrote:

 Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
 Warren Block wbl...@wonkity.com 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.
 
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Without nouveau driver, FreeBSD people do not have the slightes chance to play 
with
OpenCL/libclc on nVidia's hardware. I'm eager to watch the day when even the 
Radeon
driver gets ripped off due to lack of kernel support :-)


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-28 Thread Jan Kokemüller


On 28.09.2014 11:41, O. Hartmann wrote:

Without nouveau driver, FreeBSD people do not have the slightes chance to play 
with
OpenCL/libclc on nVidia's hardware.


Some time in the past it was possible to run CUDA/OpenCL Linux binaries 
with the Nvidia driver in Linux emulation mode on FreeBSD:


https://web.archive.org/web/20121015180221/http://blogs.freebsdish.org/jhb/2010/07/20/using-cuda-with-the-native-freebsdamd64-nvidia-driver

Not sure if that still works though.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-28 Thread O. Hartmann
Am Sun, 28 Sep 2014 12:05:36 +0200
Jan Kokemüller jan.kokemuel...@gmail.com schrieb:

 
 On 28.09.2014 11:41, O. Hartmann wrote:
  Without nouveau driver, FreeBSD people do not have the slightes chance to 
  play with
  OpenCL/libclc on nVidia's hardware.
 
 Some time in the past it was possible to run CUDA/OpenCL Linux binaries 
 with the Nvidia driver in Linux emulation mode on FreeBSD:
 
 https://web.archive.org/web/20121015180221/http://blogs.freebsdish.org/jhb/2010/07/20/using-cuda-with-the-native-freebsdamd64-nvidia-driver
 
 Not sure if that still works though.

Well, I went through this stuff that time and from the date, you can see its 
four years in
the past! There was also thast promising thing from Pathscale, HMPC ast 
promising thing
from Pathscale, HMPC or similar, now OpenACC. But at the end it was a 
dream-bubble.

And as far as I know: even the Linuxulator is ways behind the recent 
development and
still 32Bit (ancient, so to speak). I do not want myself having lots of 
outdated hard-
and software running and developing on outdated platforms.

And it is even worse: some new technology utilizing LLVM, libCLC, most recent 
MESA libs
and the most recent opensource graphics driver provide rudimentary OpenCL 
support for the
GPU - but as I stated in the thread concerning the missing WiFi Intel 7260 
support -
FreeBSD hasn't even the xf86-video-nouveau driver anymore which is supposed to 
work best
in that scenario.

I had very longish discussions in 2010 about this subject - from a naiv 
non-developer
point of view. I was always told, FreeBSD is an OS for servers and we all know, 
that
servers do not rely on graphics hardware that much as it is important for 
graphics
workstations and not at least desktop machines.
But what we faced five years ago in science regarding the rapid development of 
OpenCL and
GPGPU showed me very ckearly that GPU hardware is becoming dramatically 
important. With
AMD providing powerful iGPUs and now Intel doing the same, number crunching 
isn't the
domain of physicists and numerical geeks anymore, GEGL starts to incorporate 
OpenCL and
GIMP is about to utilize the GPU as well. BLENDER is utilizing CUDA in Linux 
and I guess
OpenCL is also on the way. And if this isn't convincing: I read about cloud 
computing
with massively parallelized TESLA backends, a typical domain of dump and 
unexciting
hardware and their operating systems. And guess what? The key is obviously the 
support of
the graphical functionality, not necessarily the X11 desktop it self.

The project that time in 2010, where we were supposed and inclined to use 
FreeBSD as the
development platform for a highly parallelized application for planetary 
science imaging
was then based on OpenSUSE and Ubuntu Linux and OpenCL. From a simple naive 
point of
view, I can not express deeply enough how excited I was when I saw, how fast the
combination of CPUs and GPUs using OpenCL coding could be. What was done in an 
expensive
and professional manner on expensive hardware was developed and tested on 
cheaper gaming
riggs and even on those platforms the boost was tremendous. But not with 
FreeBSD! All
Linux.

I think FreeBSD will find its niche in the embedded networking hardware market 
as long as
it still has the faster network stack. But since the Linux folks started to 
attack this
domain in a disgusting PR-ish way, I doubt that even this will last long. Or 
FreeBSD will
show its power with colourless databases.

One of the reasons why FreeBSD is still on top of the list of the OSes is the 
fact of its
deep ZFS incorporation - as Matthew Dillon once said: it saved FreeBSD's ass. 
Well,
Dillon developed then HAMMER and showed once again, that the effords in the BSD 
field are
spread all over the area and thinning out as times passes. For FreeBSD, the day 
when Linux
will have its ZFS in-kernel will be devastating - I guess.


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-27 Thread O. Hartmann
Am Sat, 20 Sep 2014 09:21:34 -0500
Larry Rosenman l...@lerctr.org schrieb:

 On 2014-09-20 09:10, O. Hartmann wrote:
  Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
  Warren Block wbl...@wonkity.com 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.
  
  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.
  
  From my server, equipted with a IvyBridge i3-class CPU with integrated
  iGPU, I even get
  this message from 11.0-CURRENT:
  
  vgapci0@pci0:0:2:0: class=0x03 card=0x01521849 chip=0x01528086
  rev=0x09 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Xeon E3-1200 v2/3rd Gen Core processor Graphics 
  Controller'
  class  = display
  subclass   = VGA
  bar   [10] = type Memory, range 64, base 0xf780, size 4194304, 
  enabled
  bar   [18] = type Prefetchable Memory, range 64, base 0xe000,
  size 268435456,
  enabled bar   [20] = type I/O Port, range 32, base 0xf000, size 64, 
  enabled
  cap 05[90] = MSI supports 1 message
  cap 01[d0] = powerspec 2  supports D0 D3  current D0
  cap 13[a4] = PCI Advanced Features: FLR TP
  
  
  The very same CURRENT (most recent as I built world on all system 
  today) doesn't
  recognize the Haswell's HD4600 iGPU (i5-4200M). So, it seems
  impossible to me that people
  can report having this GPU working if even the most recent FreeBSD
  CURRENT doesn't
  recognize it.
 for the record, on my Thinkpad W520+Docking Station, I get two HDMI / 
 DVI outputs off the Nvidia GPU, in addition to the
 Intel graphics on the local LCD.   This is under Windows, but.
 
 

Just for the record.

Another box, running as a server with CURRENT on-top of a Intel(R) Core(TM) 
i3-3220 CPU
with Ivy-Bridge HD2500 graphics, crashes/blanks screen when going into graphics 
mode with
vt() (having kernel modules drm2 and i915kms already loaded via loader.conf).

This hardware is now for two years in use and the CPU is much older.

The CPU is about to be replaced by a XEON E3-1245 v2 with P4000 iGPU graphics 
(only). At
this moment, I'm highly afraid of having hardware that is not working even with 
CURRENT.


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-27 Thread Marcin Cieslak



On Sat, 27 Sep 2014, O. Hartmann wrote:


Am Sat, 20 Sep 2014 09:21:34 -0500
Just for the record.

Another box, running as a server with CURRENT on-top of a Intel(R) Core(TM) 
i3-3220 CPU
with Ivy-Bridge HD2500 graphics, crashes/blanks screen when going into graphics 
mode with
vt() (having kernel modules drm2 and i915kms already loaded via loader.conf).


Seems to be a known problem. Can you try to start X without having i915kms 
loaded by
the third stage loader? This workaround works for me (i915kms gets loaded by X)

//Marcin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-21 Thread O. Hartmann
Am Sat, 20 Sep 2014 09:21:34 -0500
Larry Rosenman l...@lerctr.org schrieb:

 On 2014-09-20 09:10, O. Hartmann wrote:
  Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
  Warren Block wbl...@wonkity.com 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.
  
  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.
  
  From my server, equipted with a IvyBridge i3-class CPU with integrated
  iGPU, I even get
  this message from 11.0-CURRENT:
  
  vgapci0@pci0:0:2:0: class=0x03 card=0x01521849 chip=0x01528086
  rev=0x09 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Xeon E3-1200 v2/3rd Gen Core processor Graphics 
  Controller'
  class  = display
  subclass   = VGA
  bar   [10] = type Memory, range 64, base 0xf780, size 4194304, 
  enabled
  bar   [18] = type Prefetchable Memory, range 64, base 0xe000,
  size 268435456,
  enabled bar   [20] = type I/O Port, range 32, base 0xf000, size 64, 
  enabled
  cap 05[90] = MSI supports 1 message
  cap 01[d0] = powerspec 2  supports D0 D3  current D0
  cap 13[a4] = PCI Advanced Features: FLR TP
  
  
  The very same CURRENT (most recent as I built world on all system 
  today) doesn't
  recognize the Haswell's HD4600 iGPU (i5-4200M). So, it seems
  impossible to me that people
  can report having this GPU working if even the most recent FreeBSD
  CURRENT doesn't
  recognize it.
 for the record, on my Thinkpad W520+Docking Station, I get two HDMI / 
 DVI outputs off the Nvidia GPU, in addition to the
 Intel graphics on the local LCD.   This is under Windows, but.
 
 

Fiddling around longer, I realizes now a console message popping up whenever I 
try to
start the nVidia GPU. I have ignored that the whole time:

Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: 
Argument #4 type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21
09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 
type
mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) 
Sep 21

Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread Warren Block

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.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread O. Hartmann
Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
Warren Block wbl...@wonkity.com 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.

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.

From my server, equipted with a IvyBridge i3-class CPU with integrated iGPU, I 
even get
this message from 11.0-CURRENT:

vgapci0@pci0:0:2:0: class=0x03 card=0x01521849 chip=0x01528086 rev=0x09 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller'
class  = display
subclass   = VGA
bar   [10] = type Memory, range 64, base 0xf780, size 4194304, enabled
bar   [18] = type Prefetchable Memory, range 64, base 0xe000, size 
268435456,
enabled bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
cap 05[90] = MSI supports 1 message 
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP


The very same CURRENT (most recent as I built world on all system today) doesn't
recognize the Haswell's HD4600 iGPU (i5-4200M). So, it seems impossible to me 
that people
can report having this GPU working if even the most recent FreeBSD CURRENT 
doesn't
recognize it.


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread Larry Rosenman

On 2014-09-20 09:10, O. Hartmann wrote:

Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
Warren Block wbl...@wonkity.com 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.

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.

From my server, equipted with a IvyBridge i3-class CPU with integrated
iGPU, I even get
this message from 11.0-CURRENT:

vgapci0@pci0:0:2:0: class=0x03 card=0x01521849 chip=0x01528086
rev=0x09 hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v2/3rd Gen Core processor Graphics 
Controller'

class  = display
subclass   = VGA
bar   [10] = type Memory, range 64, base 0xf780, size 4194304, 
enabled

bar   [18] = type Prefetchable Memory, range 64, base 0xe000,
size 268435456,
enabled bar   [20] = type I/O Port, range 32, base 0xf000, size 64, 
enabled

cap 05[90] = MSI supports 1 message
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP


The very same CURRENT (most recent as I built world on all system 
today) doesn't

recognize the Haswell's HD4600 iGPU (i5-4200M). So, it seems
impossible to me that people
can report having this GPU working if even the most recent FreeBSD
CURRENT doesn't
recognize it.
for the record, on my Thinkpad W520+Docking Station, I get two HDMI / 
DVI outputs off the Nvidia GPU, in addition to the

Intel graphics on the local LCD.   This is under Windows, but.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread O. Hartmann
Am Sat, 20 Sep 2014 16:10:12 +0200
O. Hartmann ohart...@zedat.fu-berlin.de schrieb:

 Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
 Warren Block wbl...@wonkity.com 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.
 
 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.
 
 From my server, equipted with a IvyBridge i3-class CPU with integrated iGPU, 
 I even get
 this message from 11.0-CURRENT:
 
 vgapci0@pci0:0:2:0: class=0x03 card=0x01521849 chip=0x01528086 
 rev=0x09 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller'
 class  = display
 subclass   = VGA
 bar   [10] = type Memory, range 64, base 0xf780, size 4194304, enabled
 bar   [18] = type Prefetchable Memory, range 64, base 0xe000, size 
 268435456,
 enabled bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
 cap 05[90] = MSI supports 1 message 
 cap 01[d0] = powerspec 2  supports D0 D3  current D0
 cap 13[a4] = PCI Advanced Features: FLR TP
 
 
 The very same CURRENT (most recent as I built world on all system today) 
 doesn't
 recognize the Haswell's HD4600 iGPU (i5-4200M). So, it seems impossible to me 
 that
 people can report having this GPU working if even the most recent FreeBSD 
 CURRENT
 doesn't recognize it.

Sorry, on the laptop in question the integrated HD4600 does show up as a vga0: 
device in
the pciconf-listing (it is very early and I stoped looking at the very end ...).


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread Warren Block

On Sat, 20 Sep 2014, O. Hartmann wrote:


Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
Warren Block wbl...@wonkity.com 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.



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.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread Warren Block

On Sat, 20 Sep 2014, O. Hartmann wrote:


The very same CURRENT (most recent as I built world on all system today) doesn't
recognize the Haswell's HD4600 iGPU (i5-4200M). So, it seems impossible to me 
that
people can report having this GPU working if even the most recent FreeBSD 
CURRENT
doesn't recognize it.


Sorry, on the laptop in question the integrated HD4600 does show up as a vga0: 
device in
the pciconf-listing (it is very early and I stoped looking at the very end ...).


At this point, it's worth trying the vesa driver, which should work on 
Haswell.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread O. Hartmann
Am Sat, 20 Sep 2014 08:27:27 -0600 (MDT)
Warren Block wbl...@wonkity.com schrieb:

 On Sat, 20 Sep 2014, O. Hartmann wrote:
 
  Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
  Warren Block wbl...@wonkity.com 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


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread O. Hartmann
Am Sat, 20 Sep 2014 19:15:30 +0200
O. Hartmann ohart...@zedat.fu-berlin.de schrieb:

 Am Sat, 20 Sep 2014 08:27:27 -0600 (MDT)
 Warren Block wbl...@wonkity.com schrieb:
 
  On Sat, 20 Sep 2014, O. Hartmann wrote:
  
   Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
   Warren Block wbl...@wonkity.com 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 ... :-(


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread Koop Mast
On Sat, 2014-09-20 at 20:13 +0200, O. Hartmann wrote:
 Am Sat, 20 Sep 2014 19:15:30 +0200
 O. Hartmann ohart...@zedat.fu-berlin.de schrieb:
 
  Am Sat, 20 Sep 2014 08:27:27 -0600 (MDT)
  Warren Block wbl...@wonkity.com schrieb:
  
   On Sat, 20 Sep 2014, O. Hartmann wrote:
   
Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
Warren Block wbl...@wonkity.com 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.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread Nathan Whitehorn


On 09/20/14 07:27, Warren Block wrote:

On Sat, 20 Sep 2014, O. Hartmann wrote:


Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
Warren Block wbl...@wonkity.com 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.


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.




Is there any kind of status update on Haswell? The wiki has the last 
update 11 months ago and it's becoming a major useability issue for the 
operating system.

-Nathan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-20 Thread O. Hartmann
Am Sat, 20 Sep 2014 21:21:46 +0200
Koop Mast k...@rainbow-runner.nl schrieb:

 On Sat, 2014-09-20 at 20:13 +0200, O. Hartmann wrote:
  Am Sat, 20 Sep 2014 19:15:30 +0200
  O. Hartmann ohart...@zedat.fu-berlin.de schrieb:
  
   Am Sat, 20 Sep 2014 08:27:27 -0600 (MDT)
   Warren Block wbl...@wonkity.com schrieb:
   
On Sat, 20 Sep 2014, O. Hartmann wrote:

 Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
 Warren Block wbl...@wonkity.com 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?


signature.asc
Description: PGP signature


Re: x11/nvidia-driver (340.24/340.32/343.13): nvidia BLOB doesn't recognize any display socket on Lenovo E540/UEFI and FBSD CURRENT

2014-09-19 Thread Henry Hu
On Fri, Sep 19, 2014 at 2:12 PM, O. Hartmann ohart...@zedat.fu-berlin.de
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.

 The systems boots FreeBSD off via UEFI.

 First of all: I tried versions 340.24, 340.32 and Beta 343.13 all with the
 very same
 results.

 Symptoms:

 a) Loading kernel module nvidia via /boot/load.conf freezes the system
 after the
 UEFI/EFI loader message shows up. Loading the kernel module vi kld_load=
 in /etc/rc.conf[.local] works so far regarding loading and booting the
 kernel.

 b) No display socket is recognized by the nvidia driver resulting in a
 blank vt() screen
 after X has been started. I tried many different configurations, but at
 the end I suspect
 that nVidia's Optimus technology may be the culprit.

 The documentation of nVidia's driver for FreeBSD states that after the
 Xserver has
 started it logs in Xorg.0.log (or whatever display number is used) the
 available display
 sockets like (taken from the documents):

 (--) NVIDIA(0): Valid display device(s) on Quadro 6000 at PCI:10:0:0
 (--) NVIDIA(0): CRT-0
 (--) NVIDIA(0): CRT-1
 (--) NVIDIA(0): DELL U2410 (DFP-0) (connected)
 (--) NVIDIA(0): NEC LCD1980SXi (DFP-1) (connected)

 Nothing that similar shows up in my environment, but this:

 [...]
 [58.656] (--) PCI:*(0:0:2:0) 8086:0416:17aa:502a rev 6, Mem @
 0xf100/4194304,
 0xe000/268435456, I/O @ 0x6000/64, BIOS @ 0x/65536
 [58.659] (--) PCI: (0:1:0:0) 10de:1292:17aa:502a rev 161, Mem @
 0xf000/16777216,
 0xc000/268435456, 0xd000/33554432, I/O @ 0x5000/128
 [58.662] (II) extmod will be loaded. This was enabled by default and
 also specified
 in the config file.
 [58.662] (II) dbe will be loaded. This was enabled by default and
 also specified in
 the config file.
 [...]
 [60.055] (**) NVIDIA(0): Enabling 2D acceleration
 [60.485] (II) NVIDIA(0): NVIDIA GPU GeForce GT 740M (GK208) at
 PCI:1:0:0 (GPU-0)
 [60.486] (--) NVIDIA(0): Memory: 2097152 kBytes
 [60.486] (--) NVIDIA(0): VideoBIOS: 80.28.25.00.27
 [60.486] (II) NVIDIA(0): Detected PCI Express Link width: 8X
 [60.486] (--) NVIDIA(0): Valid display device(s) on GeForce GT 740M at
 PCI:1:0:0
 [60.487] (--) NVIDIA(0): none
 [60.487] (II) NVIDIA(0): Validated MetaModes:
 [60.487] (II) NVIDIA(0): NULL
 [60.487] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
 [60.488] (WW) NVIDIA(0): Unable to get display device for DPI
 computation.
 [60.488] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in
 default
 [60.488] (--) Depth 24 pixmap format is 32 bpp
 [60.489] (II) NVIDIA: Reserving 3072.00 MB of virtual memory for
 indirect memory
 [60.489] (II) NVIDIA: access.
 [60.492] (II) NVIDIA(0): Setting mode NULL
 [60.493] (EE) NVIDIA(0): Failed to initiate mode change.
 [60.493] (EE) NVIDIA(0): Failed to complete mode change
 [60.553] (II) NVIDIA(0): Built-in logo is bigger than the screen.
 [60.573] (II) Loading extension NV-GLX
 [...]

 Confusing is that in the lines
 [58.656] (--) PCI:*(0:0:2:0) 8086:0416:17aa:502a rev 6, Mem @
 0xf100/4194304,
 0xe000/268435456, I/O @ 0x6000/64, BIOS @ 0x/65536
 [58.659] (--) PCI: (0:1:0:0) 10de:1292:17aa:502a rev 161, Mem @
 0xf000/16777216,
 0xc000/268435456, 0xd000/33554432, I/O @ 0x5000/128

 both, the Intel iGPU HD4600 (PCI:*(0:0:2:0)) and the nVidia dedicated GPU
 GT
 740M (PCI: (0:1:0:0)) show up.

 The more scaring part is then (--) NVIDIA(0): Valid display device(s):

 No display device is shown although the notebook has a built-in display, a
 DisplayPort
 port as well as a VGA port. On all nVidia dedicated graphics boards I use
 on diffrent
 other machines with the very same driver EVERY possible connector/socket
 shows up.

 The laptop has EFI/UEFI

 EFI Version: 2.31
 EFI Firmware: Lenovo (re. 05648)

 The problem is present no matter whether the drm2 and i915kms kernel
 moules are loaded or
 not.

 What is wrong here? Any chance to get the nVidia GPU to work? I use at the
 moment
 xf86-video-scfb which is a pain in the ass and absolutely not usable, even
 with a faster
 CPU. Under average load the whole laptop screen is like a slide show.

 Please CC me.


My laptop has an integrated graphics (HD4000) and a nvidia GPU (GT650M). It
also has optimus.
 It has a VGA output, a HDMI output, and the internal LCD.

Using the intel driver, I can use the internal LCD and VGA. Using the
nvidia driver, I can use the HDMI.
To use the nvidia driver, I have to use acpi_call to turn on or initialize
the nvidia card first.

My guess is that my HDMI port is conencted to the nvidia card, and maybe
all the ports