-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL isn't accelerated by default with Nvidia drivers #1773
Comments
I'm guessing the problem is that Xvnc is still using Mesa for indirect rendering, and hence it will say |
Does DRI3 even work with the nVidia proprietary drivers? My understanding was that they use DRI2, which is tied to the physical X server (via the NV-GLX extension) and can't work in a virtual X server such as Xvnc, Xvfb, etc. |
Works nicely during our testing here. I'm afraid I'm not at the machine presently, so I can't check which Nvidia driver version. I think it's the latest, though. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I've been able to come back to testing here, and superficially everything looks like it is working on Fedora 40 with RTX 4060 and Nvidia driver 555.58.02 installed from RPMFusion. But looking closer at it, rendering performance is not very good, and CPU usage is high. I think the Nvidia driver is falling back to software rendering, even if it presents everything the same as when things as GPU accelerated. So there does indeed seem to be things that need to be fixed on Nvidia's side, and solving the GLVND issue here will not be sufficient. |
That is consistent with my understanding. DRI3 allocates GPU buffers in the OpenGL front end (i.e. in the application), whereas DRI2 (what nVidia's drivers currently use) allocates GPU buffers in the OpenGL back end (i.e. in the X server.) Thus, they would need to change their driver architecture and release a Mesa-compatible DRI driver in order to support DRI3. By manipulating |
Describe the bug
If I run an OpenGL application with an Nvidia card for acceleration, then the application will still be unaccelerated. This can also be seen using
glxinfo
which showsllvmpipe
To Reproduce
Steps to reproduce the behavior:
glxinfo
OpenGL renderer string: llvmpipe (LLVM 18.1.6, 256 bits)
Expected behavior
See
OpenGL renderer string: NVIDIA GeForce RTX 4060/PCIe/SSE2
.Client (please complete the following information):
No client needed.
Server (please complete the following information):
Xvnc :2
Additional context
The issue seems to be that it still tries the mesa drivers. I get this error during startup of the application:
If I force glvnd to pick the Nvidia driver, then everything works:
No such issue appears for Vulkan. I guess there is a better mechanism there.
The text was updated successfully, but these errors were encountered: