Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
haagch's avatar
haagch
Explorer
11 years ago

Linux SDK with mesa

I understand that officially it's experimental and only tested with nvidia.

In fact it does not work with mesa and I am interested why.

Running stuff doesn't show much:
./OculusWorldDemo_x86_64_Debug
Debug: [NetClient] Connected to a server running version 1.1.0 (my version=1.1.0)
Debug: GL_VERSION: 3.0 Mesa 10.4.0-devel (git-cfcd190)
Debug: GL_VERSION: 3.0 Mesa 10.4.0-devel (git-cfcd190)
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 29 (X_GLXGetDrawableAttributes)
Serial number of failed request: 56
Current serial number in output stream: 56

and looking at it in a debugger and reading some code still doesn't make it obvious what the actual problem is.

It's clear that this happens because some unsupported opengl functionality is used. But the files in LibOVR/Src/CAPI/GL/ aren't nice to read completely through and I haven't found this anywhere, so a quick question:

What opengl extensions are required to use the sdk and the demos?
Does anyone happen to know which of those are missing in mesa, maybe they can be implemented in a timely manner?
If it's known what the missing functionality is, can the SDK easily be patched for a temporary workaround (e.g. if it is some synchronization, just don't use it)?

14 Replies