PVRFrame Not Working With Latest Nvidia Drivers (572.16)

Hello,

I’ve noticed an issue with PVRFrame with latest NVidia driver. If I download latest and greatest Nvidia driver from Nvidia portal (currently 572.16)
And also from Nvidia control panel choose to use Preferred graphics processor: High-performance Nvidia processor.
OpenGL demos from Native_SDK using pvrframe libraries doesn’t start: for example OpenGLESHelloAPI.exe or OpenGLESGaussianBlur.exe.

If I revert to older version of Nvidia driver things work. Working Nvidia driver version: 561.03
System:
GPU: Nvidia RTX A2000 8GB Laptop GPU
Also have Intel(R) Iris(R) Xe Graphics

Regards,
Kalin

Hi kalin.ivanov,

Thanks for your message and welcome to the PowerVR Developer Forum!

I tested the SDK OpenGL ES examples with the latest SDK release and Nvidia driver version 572.42 on a RTX 2070 Super and they seem to be working fine.

Could you please try using the latest version of PVRVFrame ( under Native_SDK/lib at master · powervr-graphics/Native_SDK · GitHub ) and if possible try with a different Nvidia driver version?

Best regards,
Alejandro

A bit of old topic but I today tested also the newest NVidia drivers that DELL recommends for my system: NVIDIA-GeForce-RTX-3050-Ti-A1000-A2000-and-Quadro_FWMW2_WIN64_32.0.15.8195_A18_01.EXE

Result is the same. I’ve also once again downloaded the latest PVRFrame. But there was not difference.

Pasting also here the call stack:

nvoglv64.dll!00007ff890aa3ecc()	Unknown
nvoglv64.dll!00007ff890d10ced()	Unknown
libEGL.dll!00007ff856851a3b()	Unknown
libEGL.dll!00007ff85683ecd0()	Unknown
libEGL.dll!00007ff85683e6a6()	Unknown
libEGL.dll!00007ff85683e811()	Unknown
libEGL.dll!00007ff85682cbe2()	Unknown

OpenGLESHelloAPI.exe!eglGetDisplay(HDC__ * display_id) Line 285 C++
OpenGLESHelloAPI.exe!createEGLDisplay(HDC__ * deviceContext, void * & display) Line 177 C++
OpenGLESHelloAPI.exe!WinMain(HINSTANCE__ * applicationInstance, HINSTANCE__ * previousInstance, char * __formal, int __formal) Line 664 C++
[External Code]

So I again go back and install this Nvidia driver that is working fine:

NVIDIA-GeForce-RTX-3050-Ti-A1000-A2000-and-Quadro_0R4DM_WIN_32.0.15.6103_A14.EXE

Regards,

Kalin

I’ve dumped wgl and gl calls with API trace. It seems the issue happens when PVRFrame library make this call:

wglMakeContextCurrentARB(hDrawDC = NULL, hReadDC = NULL, hglrc = NULL)

I was even able to reproduce this with C++ application making wgl/gl calls without PVRFrame libraries.

In newer Nvidia drivers call of wglMakeContextCurrentARB(NULL, NULL, NULL) creates a crash. With older Nvidia drivers it seems passing fine.

I’m not sure if Khronos extension about wglMakeContextCurrentARB describe the usecase with NULL arguments.

But in general doesn’t sound right NVidia driver to crash.

I will try to create ticket to Nvidia about this.

Regards,

Kalin

And testing again with the latest driver from NVidia portal: 596.36-quadro-rtx-desktop-notebook-win10-win11-64bit-international-dch-whql.exe (in order to create a ticket) seems not reproducing this issue anymore.

So I will skip the ticket to NVidia and consider this already fixed.

For tracking will post the C++ example here that was reproducing the issue and also API trace logs from PVRFrame

Regards,

Kalin

ConsoleApplication4.txt (7.1 KB)

calls_bad.txt (44.6 KB)