Re: [Mesa-dev] FPE Invalid Operation

2016-09-05 Thread Ilia Mirkin
On Mon, Sep 5, 2016 at 2:32 PM, Bram Stolk wrote: > >>If you're able to, make a local build, adding -O0 to cflags, and don't >>strip the debug info. That should show you exactly where the issue >>lies. > > I built mesa 12.0.2 using: > ~/src/mesa-12.0.2$ CFLAGS=-O0 ./configure --prefix=$HOME --disa

Re: [Mesa-dev] FPE Invalid Operation

2016-09-05 Thread Bram Stolk
>If you're able to, make a local build, adding -O0 to cflags, and don't >strip the debug info. That should show you exactly where the issue >lies. I built mesa 12.0.2 using: ~/src/mesa-12.0.2$ CFLAGS=-O0 ./configure --prefix=$HOME --disable-dri3 If I LD_PRELOAD the resulting libGL.so then the cra

Re: [Mesa-dev] FPE Invalid Operation

2016-09-05 Thread Ilia Mirkin
On Mon, Sep 5, 2016 at 12:55 PM, Bram Stolk wrote: > Hey, > > Do you guys test with Floating-Point-Exceptions enabled? I think most people just test with whatever is the default. > Because on Intel-Haswell, I can trigger a FPE with a simple glClearColor and > glClear. > I think glClear is doing

[Mesa-dev] FPE Invalid Operation

2016-09-05 Thread Bram Stolk
Hey, Do you guys test with Floating-Point-Exceptions enabled? Because on Intel-Haswell, I can trigger a FPE with a simple glClearColor and glClear. I think glClear is doing bad FP math on Haswell. https://software.intel.com/en-us/forums/graphics-driver-bug- reporting/topic/681580 I recommend doi