Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNVIDIA Linux drivers don't support GLX_BIND_TO_TEXTURE_RGBA_EXT #1185
Comments
|
Confirmed that Mesa with Intel graphics doesn't have this problem. |
|
The first part (GLX_BIND_TO_TEXTURE_RGBA_EXT) is a bug on our part. We were calling Fix: The second part on the mailing list, though, about getting BadAlloc on GPU rendering (and BadMatch on CPU, not mentioned there but present for RGBA) seems a bit trickier. BadAlloc indicates that we've already associated a GLX FBConfig with that X pixmap. Patch notes indicated maybe fixed in newer Nvidia drivers (Ubuntu is on 319; Nvidia is now on 331). Or we're still doing things wrong. |
|
Indeed, I've confirmed that when the BadAlloc crash happens, we are attempting to create a GLX pixmap against an X pixmap that has already had a GLX pixmap created and destroyed against it. That first creation/destruction happens outside of rust-layers and I'm still tracking that part down (since there are two other places apart from rust-layers where we call For future people debugging related issues, https://github.com/apitrace/apitrace is super useful. |
|
I can't tell you how happy I am that this is being looked at.... |
See mailing list discussion.