[Mesa-dev] Wrong colors in 3D apps on big-endian systems

Tom Stellard tom at stellard.net
Fri Mar 21 09:51:37 PDT 2014


On Fri, Mar 21, 2014 at 05:47:56PM +0100, Christian Zigotzky wrote:
> Hi All,
> 
> I have compiled LLVM 3.4 and Mesa 10.0.4 without any changes.
> 
> Here is the result of this test.
> 
> -> glxinfo | grep OpenGL
> 
> terminate called after throwing an instance of 'std::bad_alloc'
>   what():  std::bad_alloc
> 

Can you get a backtrace?

> -> LIBGL_DEBUG=verbose glxinfo | grep OpenGL
> 
> libGL: OpenDriver: trying /usr/local/mesa-10.0.4-llvm/lib/dri/r600_dri.so
> libGL: driver does not expose __driDriverGetExtensions_r600():
> /usr/local/mesa-10.0.4-llvm/lib/dri/r600_dri.so: undefined symbol:
> __driDriverGetExtensions_r600
> terminate called after throwing an instance of 'std::bad_alloc'
>   what():  std::bad_alloc
> 
> -> LIBGL_DEBUG=verbose glxgears
> 
> libGL: OpenDriver: trying /usr/local/mesa-10.0.4-llvm/lib/dri/r600_dri.so
> libGL: driver does not expose __driDriverGetExtensions_r600():
> /usr/local/mesa-10.0.4-llvm/lib/dri/r600_dri.so: undefined symbol:
> __driDriverGetExtensions_r600
> Segmentation fault
> 
> -> export LIBGL_ALWAYS_SOFTWARE=1
> -> glxinfo | grep OpenGL
> 
> OpenGL vendor string: VMware, Inc.
> OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
> OpenGL version string: 2.1 Mesa 10.0.4
> OpenGL shading language version string: 1.30
> 
> -> glxgears
> 
> SplitVectorResult #0: 0x101e6f10: v4f32 = llvm.ppc.altivec.vmaxfp
> 0x101ea610, 0x101de510, 0x101eaa90 [ORD=226] [ID=0]
> 
> LLVM ERROR: Do not know how to split the result of this operator!

Either llvmpipe is using an illegal intrinsic, or this is a bug in LLVM's
PowerPC backend.

-Tom

> 
> --
> 
> Do you have any tips for me, please?
> 
> Rgds,
> 
> Christian
> 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list