Closed zetok closed 8 years ago
Backtrace looks like a driver issue (and possibly glium). Which graphics card and driver are you using, exactly (including versions)?
It seems like @zetok uses radeon:
8 0x00007ffff12bedd4 in radeon_llvm_compile (M=M@entry=0x7fffe3e65c80, binary=binary@entry=0x7fffe6eb1a90,
gpu_family=<optimized out>, tm=tm@entry=0x7ffff6d33c00, debug=debug@entry=0x7ffff6ca58f0) at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeon/radeon_llvm_emit.c:235
Does plantex use any non standard shader code?
Does plantex use any non standard shader code?
We actually never ran a GLSL validator on all shader files, but I don't know of any special shader code :confused: So far we tested with Nvidia cards (OpenGL implementations which permit many strange things) and Intel cards (so far it seemed like those OpenGL implementations reject all shader code that is not valid by the GLSL standard).
Whatever it is, a segfault is never expected behavior. Since plantex doesn't use any unsafe
code at all, I'm pretty sure it's either a bug in glium
or a bug in the OpenGL implementation of Radeon that glium
did not prevent.
Which graphics card and driver are you using, exactly (including versions)?
GPU: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290] Kernel: 4.6.3 with with a custom patch revert that makes freeze during gaming ~non-existent Driver: radeon Mesa: 12.0.1 Xorg: 1.17.4
Any other info I could supply?
If you want, you could test a few glium examples:
git clone https://github.com/tomaka/glium.git
cd glium
cargo run --example <name>
Interesting examples would be teapot
, instancing
and tessellation
. Does one of those fail with the same error?
Could you print the local vars of frame #11?
@bjorn3 sure, but I don't really use gdb much, so would you mind supplying a command?
@LukasKalbertodt looks like tessellation
one segfaults too :s
Well, I guess then there is nothing we can do about it...
As it seems to have something to do with tessellation, you can try starting plantex without tessellation, as described here: #199
Rust 1.11 Plantex 0be02cfd9789d67c2d4969f9c13348e219ed2a1e