Closed blinry closed 7 months ago
I tried creating a symlink from /nix/store/252bgdkwhqkxkwqi5z5l7zi6in0bc4ld-mesa-23.1.9-drivers/lib/dri/i965_dri.so
to i915_dri.so
(which itself is a symlink to crocus_dri.so
, but then the error message is:
libGL error: MESA-LOADER: failed to open i965: /nix/store/252bgdkwhqkxkwqi5z5l7zi6in0bc4ld-mesa-23.1.9-drivers/lib/dri/i965_dri.so: wrong ELF class: ELFCLASS32 (search paths /nix/store/0lfnrz6nq5myv787cih78knzaqy9z9fc-mesa-23.1.9-drivers/lib/dri:/nix/store/252bgdkwhqkxkwqi5z5l7zi6in0bc4ld-mesa-23.1.9-drivers/lib/dri, suffix _dri)
And indeed, crocus_dri.so
is an "ELF 32-bit LSB shared object"...
I should mention that Blender starts, but renders extremely slowly.
I found my issue. I had set the environment variable MESA_LOADER_DRIVER_OVERRIDE=i965
several years ago, and then forgot about it. After removing that (and uninstalling xf86-video-intel, and switching from mesa-amber to mesa), nixGL now works perfectly! <3
I'm trying to use nixGLIntel under Arch Linux on a Thinkpad X1 Yoga Gen 5 (which seems to have a Intel UHD Graphics 620 graphics card).
Here's a flake describing my setup:
Then, after
nix develop
, I runnixGLIntel blender
. Here's the error message:The directory
/nix/store/252bgdkwhqkxkwqi5z5l7zi6in0bc4ld-mesa-23.1.9-drivers/lib/dri/
indeed does not contain ai965_dri.so
, but ai915_dri.so
.How could I approach this problem or find out more?