OpenGL 4 Shader Subroutines - NVIDIA/OSX bug?

Started by JeGX, October 17, 2014, 07:32:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeGX

I struggled many hours recently with subroutines and I didn't manage to make them ok under OS X with a GeForce GPU.
I added a new simple demo that shows a pqtorus rendered three times, each time with a different subroutine (texture, phong, phong+texture).

The demo is available in the code sample pack:
host_api/gl-400-arb-shader-subroutine/demo_gl4_v3.xml

The latest GLSL Hacker 0.7.2.0 is recommended.

The demo works fine on Windows. On OS X, the demo works fine for Intel and AMD GPUs but not for NVIDIA GPUs. With the GT650M / OSX, the same subroutine is used to shade all meshes and that's the bug. I suspect a bug on OSX with GeForce GPUs because the demo works fine everywhere else. But since it's a NVIDIA related issue, my code can be also guilty...


OK - NVIDIA GeForce GTX 660 - R337.50 - Win7 64-bit


OK - Intel HD 4000 - OS X 10.9


OK - AMD Radeon HD 6870 - OS X 10.9 (Hackintosh)


ERROR - NVIDIA GeForce GT 650M (Macbook Retina Mid-2012) - OS X 10.9


oscarbg

you know there is new MacOS 10.10 ready and even a big jump in Nvidia Web drivers to 343:
http://us.download.nvidia.com/Mac/Quadro_Certified/343.01.01f01/WebDriver-343.01.01f01.pkg
can you test if fixes the issues?
will be good to know..

JeGX

I will try to update the NV driver, but I don't know if the Quadro driver will be ok for the GT650M.

Will try also OSX 10.10 asap...

JeGX

OS X 10.10 Yosemite + NVIDIA R343.01: not better!


JeGX

Linux Mint 17 64-bit + R331.104 + GTX 680: works fine!