GithubHelp home page GithubHelp logo

Optimus laptop about obs-vkcapture HOT 7 CLOSED

nowrep avatar nowrep commented on August 24, 2024
Optimus laptop

from obs-vkcapture.

Comments (7)

nowrep avatar nowrep commented on August 24, 2024 4

It requires VK_EXT_external_memory_dma_buf which is currently unsupported in NVIDIA proprietary driver.

from obs-vkcapture.

nowrep avatar nowrep commented on August 24, 2024

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.

arrowgent avatar arrowgent commented on August 24, 2024

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.

Leeo97one avatar Leeo97one commented on August 24, 2024

@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.

danyeet avatar danyeet commented on August 24, 2024

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.

SmashleyG avatar SmashleyG commented on August 24, 2024

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.

nowrep avatar nowrep commented on August 24, 2024

Should be working now with 515.43.04 driver.

from obs-vkcapture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.