Open colemickens opened 4 months ago
It's not much, but here's my branch: https://github.com/NixOS/nixpkgs/compare/master...colemickens:nixpkgs:colemickens/mesa-24.2
had to:
https://www.supergoodcode.com/long-road-to-DRIL/ explains what dril is meant to do
Also, great news:
How many of you have gotten the error
DRI driver not from this Mesa build
when trying to use your custom Mesa build?With this MR, that error is going away. Permanently. Now you can have as many Mesa builds on your system as you want. No longer do you need to set
LIBGL_DRIVERS_PATH
for any reason.
cc @K900
Rebased my libgbm thing, test PR here: https://github.com/NixOS/nixpkgs/pull/332413
Rebased my libgbm thing, test PR here: #332413
The libgbm part was split off into https://github.com/NixOS/nixpkgs/pull/338109.
Project description
Hi! I know I'm early on this, but wanted to open an issue for attention and/or as a rallying point.
I am (likely very temporarily) in possession of a Yoga 7x (a Snapdragon X1 Elite device). I am pretty close to having NixOS booted/installed on it. I think initial enablement for the device landed in 24.2.0, with a Gallium driver landing shortly after on
main
.Thus I of course became interested in 24.2.x builds of mesa. However, it seems it's not trivial. There's a new
dril
thing, and I neither understand what build adjustments need to be made (zink_dri.so
is not produced, at the very least), nor if there are runtime/loader implications.ref: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30296#note_2497661
and: https://gitlab.freedesktop.org/mesa/mesa/-/tree/staging/24.2?ref_type=heads
It builds everything, and then fails because it specifically patches
zink_dri.so
which no longer exists: