DRM_IOCTL_WAIT_VBLANK on RTX2060 with V470.63.01 Ubuntu 20.04.3 Driver does not work

Hi Folks! The NUC 11 PH7iKC Kit has the integrated NVIDIA GeForce RTX 2060. After setting up Ubuntu 20.04.3, and installing the latest NVIDIA 470.63.01 drivers, we found an application we have that monitors the VBLANK signal using drmIoctl(…, DRM_IOCTL_WAIT_VBLANK) ) also tried drmWaitVBlank(). It now returns “Operation not supported”. As a note, the 460 version of the driver did not work (no picture at all). The NVIDIA GTX1060 works fine, as do Intel 915 and Radeon devices. This seems to be new with the RTX 2060 (and NUC 11). Does anyone know of a way to accurately determine when a VBlank occurs on the RTX2060 under Ubuntu 20.04? (I also tried under Ubuntu 18.04 using the V470 driver and it does not work there either.)

1 Like

secure boot should be disabled.

Nvidia does not support vblank through drm. In fact, they aren’t even using the kernel builtin drm if I understand correctly; I had the exact same problem, the details of which you can read here: How to use drmWaitVBlank for nvidia (linux) - #9 by Aleric

Thanks for the info @Aleric, but we have decided to move away from nVidia products due to the apparent lack of support sigh. As you said, I don’t see what the big deal is about adding this functionality, but, apparently it IS a big deal. The bigger companies get, it seems, the stupider they get too… I don’t think these newer “video graphics” cards are designed with graphics in mind, rather, they appear to be designed for Crypto calculations, so they let the graphics stuff fall between the cracks. FWIW, I did find, in my research months ago, that, believe it or not, the Nouveau driver does appear to support the vblank drm call, however, the Nouveau driver is lacking in many other areas, like optimal pipelining, etc. If you only plan to do a little bit of work during VBLANK, then perhaps it will work for your purposes…