Skip to content

Update Mesa to v26.0.3 with softpipe for all non-macOS platforms#13380

Merged
ViralBShah merged 1 commit intomasterfrom
update-mesa-26.0.3
Mar 29, 2026
Merged

Update Mesa to v26.0.3 with softpipe for all non-macOS platforms#13380
ViralBShah merged 1 commit intomasterfrom
update-mesa-26.0.3

Conversation

@ViralBShah
Copy link
Copy Markdown
Member

@ViralBShah ViralBShah commented Mar 24, 2026

Summary

  • Update Mesa from v20.1.5 to v26.0.3 (latest stable)
  • Add all Linux, FreeBSD, and Windows platforms (exclude macOS which provides OpenGL natively)
  • Use softpipe software renderer (no LLVM dependency to avoid conflicts with Julia's LLVM)
  • Require GCC 10+ for C++17 support (Mesa 26 requirement)
  • Add X11 dependencies for Linux/FreeBSD (libX11, libXext, libxcb, xorgproto, libxshmfence, libXrandr, libXxf86vm)

Addresses #3012

Test plan

  • Built successfully for x86_64-linux-gnu — produces libGL.so.1.5.0
  • Built successfully for x86_64-w64-mingw32 — produces opengl32sw.dll
  • Built successfully for i686-w64-mingw32 — produces opengl32sw.dll
  • CI build for all platforms

🤖 Generated with Claude Code

@ViralBShah ViralBShah changed the title Update Mesa to v26.0.3, add Linux support Update Mesa to v26.0.3, add all platforms except macos Mar 24, 2026
@ViralBShah
Copy link
Copy Markdown
Member Author

@giordano Is the use of LLVM correct in here? The package uses LLVM internally to speed up the rendering pipeline - and does not (should not) interact with Julia's LLVM.

@giordano
Copy link
Copy Markdown
Member

I'm not sure. Statically linking llvm means that this library would bring yet another llvm in memory, which is potentially dangerous. Comments seem to suggest only llvmpipe is used? I don't know what that is though.

@ViralBShah
Copy link
Copy Markdown
Member Author

Ok let me see if I can make it link dynamically. This package is not really used anywhere for the moment, so there won't be a real issue anywhere.

@ViralBShah ViralBShah changed the title Update Mesa to v26.0.3, add all platforms except macos [Mesa] Update to v26.0.3, add all platforms except macos Mar 28, 2026
- Update Mesa from v20.1.5 to v26.0.3 (latest stable)
- Add all Linux, FreeBSD, and Windows platforms (exclude macOS which provides OpenGL natively)
- Use softpipe software renderer (no LLVM dependency to avoid conflicts with Julia's LLVM)
- Require GCC 10+ for C++17 support (Mesa 26 requirement)
- Add X11 dependencies for Linux/FreeBSD

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ViralBShah ViralBShah changed the title [Mesa] Update to v26.0.3, add all platforms except macos Update Mesa to v26.0.3 with softpipe for all non-macOS platforms Mar 29, 2026
@ViralBShah
Copy link
Copy Markdown
Member Author

I decided it isn't worth it to build with LLVM for now - since most users will have a real GPU anyways. Let's see if this package ends up being useful, and if necessary we can enable LLVM in the future.

@ViralBShah ViralBShah merged commit 67a95da into master Mar 29, 2026
20 checks passed
@ViralBShah ViralBShah deleted the update-mesa-26.0.3 branch March 29, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants