#1081947 libgl1-mesa-dri: llvmpipe exists but does not work on powerpc

Package:
libgl1-mesa-dri
Source:
libgl1-mesa-dri
Description:
free implementation of the OpenGL API -- DRI modules
Submitter:
Simon McVittie
Date:
2026-01-10 11:06:38 UTC
Severity:
normal
#1081947#5
Date:
2024-09-16 12:26:38 UTC
From:
To:
Similar to the situation on sparc64.

To reproduce:
- install gtk4 build-dependencies on powerpc porterbox with no access to a
  real GPU
- get gtk4 source
- edit debian/rules to remove the special case that forces use of softpipe
  on powerpc
- build and run tests

Expected result: either of these:
- llvmpipe exists, is used, and works
- llvmpipe doesn't exist and softpipe is automatically used instead

Actual result:
- all tests that use OpenGL fail with message "LLVM ERROR: Relocation
  type not implemented yet!" and a SIGABRT

I would suggest special-casing llvmpipe (and anything else requiring LLVM
JIT: lavapipe?) to be built on most of the $(LLVM_ARCHS), but not powerpc.

    smcv

#1081947#14
Date:
2024-09-16 18:55:11 UTC
From:
To:
I currently do not have a powerpc machine to test,but I could test it using
QEMU's powerpc emulation.

And for those who don't know softpipe and LLVMPipe (unlikely)

Softpipe:Software rasterizer with no LLVM,compliant with OpenGL 3.3,slow
LLVMpipe:Software rasterizer accelerated with LLVM,compliant with OpenGL
4.5,fast

That's how it works.

#1081947#19
Date:
2026-01-10 10:10:54 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.