Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 10:11:52 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-x11@freebsd.org, FreeBSD CURRENT <freebsd-current@freebsd.org>, owner-freebsd-current@freebsd.org
Subject:   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
Message-ID:  <20140921101152.0b95bf67.ohartman@zedat.fu-berlin.de>
In-Reply-To: <65cfbb363809ee6e1078c28390d02603@thebighonker.lerctr.org>
References:  <20140919201210.72650231.ohartman@zedat.fu-berlin.de> <alpine.BSF.2.11.1409200727510.96859@wonkity.com> <20140920161012.02844320.ohartman@zedat.fu-berlin.de> <65cfbb363809ee6e1078c28390d02603@thebighonker.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/4H7S9UKyopUs/XxFhxkTW3q
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Sat, 20 Sep 2014 09:21:34 -0500
Larry Rosenman <ler@lerctr.org> schrieb:

> On 2014-09-20 09:10, O. Hartmann wrote:
> > Am Sat, 20 Sep 2014 07:36:21 -0600 (MDT)
> > Warren Block <wblock@wonkity.com> schrieb:
> >=20
> >> On Fri, 19 Sep 2014, O. Hartmann wrote:
> >>=20
> >> > 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 Len=
ovo ThinkPad
> >> > Edge E540 laptop with CPU i5-4200M (Haswell) with integrated HD4600 =
Intel iGPU and
> >> > dedicated nVidia GT 740M (Optimus) working correctly.
> >>=20
> >> 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=20
> >> that
> >> can be used alone are still called "Optimus".
> >>=20
> >> 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=20
> >> success
> >> with an xorg.conf that uses only the intel driver and ignores the=20
> >> Nvidia
> >> hardware.
> >=20
> > Thanks Warren.
> >=20
> > 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.
> >=20
> > 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.
> >=20
> > From my server, equipted with a IvyBridge i3-class CPU with integrated
> > iGPU, I even get
> > this message from 11.0-CURRENT:
> >=20
> > vgapci0@pci0:0:2:0:     class=3D0x030000 card=3D0x01521849 chip=3D0x015=
28086
> > rev=3D0x09 hdr=3D0x00
> >     vendor     =3D 'Intel Corporation'
> >     device     =3D 'Xeon E3-1200 v2/3rd Gen Core processor Graphics=20
> > Controller'
> >     class      =3D display
> >     subclass   =3D VGA
> >     bar   [10] =3D type Memory, range 64, base 0xf7800000, size 4194304=
,=20
> > enabled
> >     bar   [18] =3D type Prefetchable Memory, range 64, base 0xe0000000,
> > size 268435456,
> > enabled bar   [20] =3D type I/O Port, range 32, base 0xf000, size 64,=20
> > enabled
> >     cap 05[90] =3D MSI supports 1 message
> >     cap 01[d0] =3D powerspec 2  supports D0 D3  current D0
> >     cap 13[a4] =3D PCI Advanced Features: FLR TP
> >=20
> >=20
> > The very same CURRENT (most recent as I built world on all system=20
> > 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 /=20
> DVI outputs off the Nvidia GPU, in addition to the
> Intel graphics on the local LCD.   This is under Windows, but.....
>=20
>=20

Fiddling around longer, I realizes now a console message popping up wheneve=
r 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: Ar=
gument #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
09:38:30 hermann kernel: ACPI Error: Field [TBF3] at 270336 exceeds Buffer =
[NULL] size
262144 (bits) (20130823/dsopcode-249) Sep 21 09:38:30 hermann kernel: ACPI =
Error: Method
parse/execution failed [\_SB_.PCI0.PEG_.VID_.GETB] (Node 0xfffff800044ef740=
),
AE_AML_BUFFER_LIMIT (20130823/psparse-553) Sep 21 09:38:30 hermann kernel: =
ACPI Error:
Method parse/execution failed [\_SB_.PCI0.PEG_.VID_._ROM] (Node 0xfffff8000=
44ef780),
AE_AML_BUFFER_LIMIT (20130823/psparse-553) 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)


I'm no ACPI expert, but could this message inform me about some ACPI issues=
 with
selecting the right device/display socket? I can also provide an ACPI dump,=
 if requested
and secure.

Oliver

--Sig_/4H7S9UKyopUs/XxFhxkTW3q
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUHohIAAoJEOgBcD7A/5N8UToIAOPClmhtbUy2F1C61f9Z4YFz
dqJzAXh1ndc126mGEHNasMwwzsgoqjr7nMtf07d3S0EleIkKgfSiiCM8+mtvgKiY
ptTCN92jb51LehcFgtfV12eeqqqT1rG7DNTpR1tx4PcyOlk+IimySavZ41xIswVk
l9tyF+UDwNsxHhOZsOv4rUIaPi4z8W95pc+70YiRrPXasKUm5XW7ry2khoBikZ8a
LYtRM58+3VVfEnaUfqS2OFBbCPGDnkiKx1z0rgvh9nzBzx7O2VwTsR4HyqJnrZY4
/ET9DTCfKudIls2Sbu72TiLKsdeaNv4SlQKRot3G6KoZkKvZZLCIRSUTSL4+Ijw=
=B9kD
-----END PGP SIGNATURE-----

--Sig_/4H7S9UKyopUs/XxFhxkTW3q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140921101152.0b95bf67.ohartman>