Viorel Munteanu fd8438899c
media-libs/mesa-amber: attempt to fix crash
media-libs/mesa became incompatible with media-libs/mesa-amber.
Rename mesa-amber libraries and install them alongside.
Rename 50_amber.json to 55_amber.json so 50_mesa.json has higher
priority.  Without this change, xorg can crash.

For Intel, Mesa provides crocus and iris, Mesa Amber provides the older i965.
Tested with an Intel HD 4600.
XOrg:
- modesetting driver uses crocus and works
- intel driver can use crocus and i965, works with both.
Wayland:
- i965 works, but lacks some features that crocus has.
- crocus works great.

For Radeon r200:
Mesa alone has no driver for this, Mesa Amber has a driver for r200.
XOrg:
- r200 works, glxinfo shows some OpenGL.
Wayland:
- does not work.  Even if the r200 driver works, it lacks a needed
  extension for wayland to start.
With -r3 eglinfo does not crash (it did crash with -r2).
Also we can run sway with pixman now, it was crashing with -r2.

Bug: https://bugs.gentoo.org/945373
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2025-11-24 18:58:44 +02:00
..