Code Monkey home page Code Monkey logo

Comments (8)

nowrep avatar nowrep commented on August 22, 2024

Start obs with OBS_USE_EGL=1 obs

from obs-vkcapture.

danyeet avatar danyeet commented on August 22, 2024

Thanks a lot.

from obs-vkcapture.

nowrep avatar nowrep commented on August 22, 2024

I'll add it to README, I forgot about this.

from obs-vkcapture.

danyeet avatar danyeet commented on August 22, 2024

BTW, running obs with this env variable seems to break Display capture and window capture and game capture doesn't seem to work also, so that's fun.
Does it work on your side with whatever you use?
EDIT:
I know this is probably an obs specifically, but do you perhaps have any idea why this might occur - here's part of the logs in the console
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 57967, resource id: 56623119, major code: 1 (CreateWindow), minor code: 0 error: Cannot get window EGL surface: EGL_BAD_NATIVE_WINDOW error: gl_platform_init_swapchain failed error: obs_display_init: Failed to create swap chain error: Cannot get window EGL surface: EGL_BAD_NATIVE_WINDOW error: gl_platform_init_swapchain failed error: obs_display_init: Failed to create swap chain qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 58000, resource id: 56623119, major code: 1 (CreateWindow), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 58213, resource id: 56623119, major code: 1 (CreateWindow), minor code: 0 error: Cannot get window EGL surface: EGL_BAD_NATIVE_WINDOW error: gl_platform_init_swapchain failed error: obs_display_init: Failed to create swap chain qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 58312, resource id: 56623119, major code: 1 (CreateWindow), minor code: 0

from obs-vkcapture.

nowrep avatar nowrep commented on August 22, 2024

Screen/Window capture needs glx, so it won't work with egl.

And no, I have no idea how to fix those errors, sorry.

from obs-vkcapture.

danyeet avatar danyeet commented on August 22, 2024

No worries - just one more question
Do you run NVIDIA or something else ?|
And thanks for at least making this even though I cant seem to make it work : D.

from obs-vkcapture.

nowrep avatar nowrep commented on August 22, 2024

No, I have AMD.

from obs-vkcapture.

danyeet avatar danyeet commented on August 22, 2024

Thanks.Well hopefully something happens so these get fixed - or at least I'll get something with linux in mind next time. Thanks for trying to tackle this issue - it would be great if it gets merged or at least getting OBS on linux to equal grounds with the other platforms.

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.