obs-vkcapture
obs-vkcapture copied to clipboard
Unable to capture GL window with Nvidia prime offload
On Wayland:
glxgears crashes immediately after start:
$ obs-gamecapture prime-run glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
[obs-vkcapture] Init GLX 1.4.0
[obs-vkcapture] Texture GL_RGBA 951x1026
Xlib: extension "NV-GLX" missing on display ":1".
X Error of failed request: GLXBadPixmap
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 0
Current serial number in output stream: 139
On Xorg:
glxgears able to run, but the result looks really messed up. It's trying to capture other windows which are running under iGPU.
I'm using hybrid configuration via optimus-manager
iGPU: Intel UHD Graphics 620 dGPU: Nvidia GeForce MX150