Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2015 12:01:17 +0100
From:      =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <jean-sebastien.pedron@dumbbell.fr>
To:        freebsd-x11@freebsd.org
Subject:   Re: [Call for testers] The i915 kernel driver as a port on FreeBSD 9.3
Message-ID:  <5512957D.1070801@dumbbell.fr>
In-Reply-To: <551275B5.4090107@netfence.it>
References:  <5511F27A.4010400@FreeBSD.org> <551275B5.4090107@netfence.it>

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

On 25.03.2015 09:45, Andrea Venturoli wrote:
> Forgive me for being so dumb, but I don't even know what an "hardware
> context" is (any link appreciated).

Hi!

Hardware context is a feature in the i915 driver which allows GL
applications to switch their context without resubmitting it each time.
It's quite internal to the driver and the hardware; no visible changes
are expected for i915 users.

https://bwidawsk.net/blog/index.php/2013/01/i915-hardware-contexts-and-so=
me-bits-about-batchbuffers/

This feature is required by Mesa 9.2 and later versions. That's why only
Mesa 9.1 is available on FreeBSD 9.x.

> Subject says this is for i915, but Radeon users should test this too.
> I'm confused, as I thought this driver was only for i3/i5/i7 integrated=

> graphic card.

Yes, the i915 driver is only for Intel GPUs. However, the packaged
kernel module (i915kms_port.ko) depends on a new drm2 module (also
packaged as drm2_port.ko). Because of that, we also need to ship a
Radeon kernel module (radeonkms_port.ko) just to set the dependency to
drm2_port.ko instead of drm2_port.ko. Radeon firmwares are not repackaged=
=2E

Radeon owners will see no difference. But this is required for users
having both an Intel GPU and a Radeon GPU in the same computer: drm2.ko
and drm2_port.ko can't be loaded at the same time.

> In any case, I have a Radeon card on an AMD Phenom based system. Should=

> I try this?

Yes, the goal is to verify that the dependency is set correctly and
nothing breaks.

> What benefits/differences should I expect?

Hopefully nothing changes.

However, the next step, getting rid of Mesa 9.1 and pushing Mesa 10.x on
all versions of FreeBSD, will greatly benefit you. Mesa 10.x is *way*
more stable and performs better than Mesa 9.x.

Sorry, the article lacks explanations...

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


--WCduhJFMbB3cGT47rdNRHJDluLgfQc6aI
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

iQJ8BAEBCgBmBQJVEpV9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz
OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTM9eIQAKEAkKOtP7t/+1hh/JhIgRhQ
+SztuRkM7VP4yrnvtFCqDmZLCMD1JVdacKIXxeI6wFvlv5owxPf0K0HR6mLDQepX
fn0IljGx4GWgrR8jMk9BXZjtMX+OQHuWxTfQ5wUziFYGPXxzeUj8WUlAZRPUlrB5
03uxNVQlSCGPNd4u4/ZDrI06TQeXWmuMo/TzEklvLWbfeXOew7cAjG+CYITpDhTQ
IMNWWB1ZSpqyTvtMcLmZBPptoroRMWp/aGtaiNBahLtQVqfTjF6NJ01+n/ckGJKF
ZQlkK+fU06jEI9qMH+XMMPAkaKF31sYzsvfqO8k3+TGZfwfNeDPZ+Nr00731mkYS
LyB/7gIlvCTr7SXrmGy4BxCi3O2PYuJED4ay2MJQLUIPny4JjRG0PNDqKkqfTdxv
J68/Ua1mM3fk69lxNpSHs6spcVrylveAsM2C9gmNhxlP8oNoeKDkplqe5qDeaDLq
LVnPTg4f2GExicPaf6ZbiMpdcf/5jEJuvS5A3VaN28IrSadddqukSlwHPMAsJ1S/
qe92ccjOeBXIeAgRrTPeKpoWJT3AqWJX1cu0sZkyhKJ9ULtLgJyNbdyNPnPJ9MT2
XZ//GxuoL74pNVbUPsYwcB496/SU+cybs+ZAmuXRySjDC2LC3QGnMAgavg0pxB27
H0mEplio7TSwMcKxFpd8
=a+od
-----END PGP SIGNATURE-----

--WCduhJFMbB3cGT47rdNRHJDluLgfQc6aI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5512957D.1070801>