Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Sep 2014 10:51:52 +0200
From:      =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@FreeBSD.org>
To:        freebsd-x11@FreeBSD.org
Subject:   [CFT] i915: add HW context support (for Mesa 9.2+)
Message-ID:  <540C1CA8.603@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Wn8Wm8TvgEbs3N7bcaQ8bUCNk0SPT47de
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello!

Mesa 9.2+ requires "hardware context support" [1] in the i915 driver to
work on Intel GPUs found in Sandy Bridge and later. Our driver lacks
this feature, that's why we're stuck with Mesa 9.1 in the ports tree.

If you have one of those GPUs and you try Mesa 10.2 for instance
(available from the xorg-dev's experimental branch [2]), it will
complain with the following message:

  # glxinfo
  name of display: :0.0
  Gen6+ requires Kernel 3.6 or later.
  Assertion failed: (ctx->Version > 0), (...)
  Abort (core dumped)

I prepared a patch to add this feature to our i915 driver; the goal is
to have it in 10.1-RELEASE:
https://wiki.freebsd.org/Graphics/Add%20HW%20context%20support%20to%20i91=
5

The article above explains how to test the patch. We're interested in
success/failure reports for any GPU, not just Intel ones. So please test
it! :)

Thank you!

[1]
https://bwidawsk.net/blog/index.php/2013/01/i915-hardware-contexts-and-so=
me-bits-about-batchbuffers/
[2] https://wiki.freebsd.org/Graphics#experimental

--=20
Jean-S=C3=A9bastien P=C3=A9dron


--Wn8Wm8TvgEbs3N7bcaQ8bUCNk0SPT47de
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQJ8BAEBCgBmBQJUDBy0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz
OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMRnMQAIkEFtY5mOJDLgYLii6TgZb0
rU+oPmgHA+ItJrclUWXKCoTr/MQh2C8RHMXGoQ3RyrTVdma4jVkUUWeOOB93TytX
QnQMHDgbYsMEYWPof8Ay4yTz+nP1U+DQ2rGSDj/YMe7YxRVCiKA1D00nGdqPxD6o
VR/0k494R+OquWon1mNdoGP4iMbU3nTrBDBwsTS2YPXZaXYeztj/zFmGkPFD+71s
ybkhOqbvFxcj4GfaF/hTd86NLKU7frOhpLxdzJSt6xDpHojP8mYlFwRuzIoyS8sQ
ZXTaQ7peaw6KXa/0zxFzNe5CGmiu+7kFSKDofXd5ki7FaZT+IGCoIpFS7MWABxKM
Foa8oIqgom2A3ixC64ZUKV6AG5c1+zqS5can5djND6htXaq3HCs+4vqMs/v3NHPq
WZBk6BjaBY+BE99wa2IXmHRg+fhTMcmSIpFhNmtSufOod0cJzSeTYU8Cr1XevOjH
pe4CZj95DKSnYFaGr3IQXUOsnrwW6byX2qTBXRY1gopxWb7RZI4RkZ5gYs7afuvx
oxYGrXg55sVpx3Y1MtVpk0Ey6s4+vbrG0/19m/hJkjK+o3klHvv9g2743XGXxy+x
tV1221wCMe9lilNXLdd5K3ZHIyIqO5VCPiW5ty26Xc4VMaVN1CPsflRRHjP2f4SN
mqe2jLEAt+2ieNod17Ms
=hE53
-----END PGP SIGNATURE-----

--Wn8Wm8TvgEbs3N7bcaQ8bUCNk0SPT47de--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540C1CA8.603>