glmark2 icon indicating copy to clipboard operation
glmark2 copied to clipboard

[RPi] needs LD_PRELOAD to run / some benchmarks fail ERROR:OPTIMIZER-3

Open 5schatten opened this issue 5 years ago • 0 comments

Have a look at the terminal output: https://pastebin.com/t6bPizew

I've compiled the latest glmark2 commit & added this patch https://github.com/glmark2/glmark2/commit/3b1a0f78d03ae126b78ee52a7c434809115e5993 which lets me basically start & run the benchmark but the last ones fail with:

Error: Failed to link program created from files None and None:  ERROR:OPTIMIZER-3 (vertex shader, line 16) Support for for loops is restricted : right side of condition expression must be constant
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: Set up failed

Also afaik GLAD should handle the EGL & GLES libs? Because I can run glmark2 on my generic system without lib preloading but it fails on my RPi.

My glmark2 package https://github.com/5schatten/LibreELEC-RR/commit/8e091831520df8a9f94877e678c5d26b10caa30b

5schatten avatar Jul 12 '19 11:07 5schatten