Comments (7)
It requires VK_EXT_external_memory_dma_buf
which is currently unsupported in NVIDIA proprietary driver.
from obs-vkcapture.
Actually I am not sure if this is Optimus specific or just NVIDIA proprietary driver not supporting the required extensions to get dmabuf from vkmemory/eglimage/xpixmap.
I've only myself tested it on AMD.
from obs-vkcapture.
for optimus its often recommended to use some enviornment variables to prevent GLX/VK being loaded on the intel gpu
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-0
same issue happens in steam-proton for example.
YMMV, and im sure you can search for the nvidia manual what those settings do exactly
i specifically use nvidia-prime to force the d-gpu (nvidia) to always be used
plus these enviornment variables.
from obs-vkcapture.
@arrowgent So does it work for you? You are able to capture an app rendered by the NVIDIA GPU on your Optimus laptop using obs-vkcapture?
I have already tried with PRIME Render Offload and also with a reverse/output PRIME setup (when everything is rendered on the NVIDIA GPU, the Intel GPU just displays the result).
from obs-vkcapture.
I tried a few days ago explicitly with the nvidia gpu and I just got dmabuf errors. Pretty sure there is missing driver support but if I am wrong please correct me. Also the upcoming 470 driver might fix it so be on the lookout. I got it working though with the intel gpu and it was running just fine.
from obs-vkcapture.
I am assuming my issues is the same. output complains about:
[obs-vkcapture] missing device extension: VK_EXT_external_memory_dma_buf
I have:
CPU: AMD 1920x Threadripper
GPU: nvidia rtx 3080 with nvidia drivers 460.73.01
Distro: PopOs 20.10
from obs-vkcapture.
Should be working now with 515.43.04 driver.
from obs-vkcapture.
Related Issues (20)
- env: 'obs-gamecapture': No such file or directory HOT 5
- Git version not capturing Vulkan games HOT 1
- I have a question HOT 2
- How can I use this plugin stand alone or by command line? HOT 1
- out of date version of vk capture for flatpak beta HOT 7
- OBS Game Capture option is not appearing. HOT 4
- The plugin displays a single application for several outputs HOT 2
- High CPU Usage HOT 8
- Blank screen with flatpak OBS and non-flatpak steam HOT 11
- Feature request: mutiple OBS instances for the same captured game HOT 4
- Some OpenGL programs don't work. HOT 13
- Black screen when recording, shows mouse and resolution but nothing else HOT 2
- symbol lookup error: /usr/lib/libobs_glcapture.so: undefined symbol: glDeleteFramebuffers
- Clone Hero doesn't fully launch on latest release HOT 1
- Failed to resolve glXGetProcAddress HOT 3
- after recent update obs-gamecapture stopped to work with a native OpenGL steam game HOT 13
- Request: Reduce or provide option to reduce verbosity HOT 5
- Feature Request: Exclude multiple windows from being captured HOT 2
- OBS crashes (it might take some time but eventually) when Advanced Scene Switcher checks if vkcapture has output HOT 1
- cannot install vkcapture 1.4.8 even with dependencies HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-vkcapture.