Comments (13)
Logs please.
Of course the library gets loaded, but it doesn't really say anything since what matters is if the functions get hooked. And there is no dlsym hooking, so that might be the reason.
from obs-vkcapture.
dlsym hook still doesnt work. let me know what/how you'd like me to capture logs and I can provide them.
from obs-vkcapture.
Standard terminal output.
It works for me with glmark2 now, I don't really have any native opengl games unfortunately. You need to use 32/64bit library accordingly.
from obs-vkcapture.
Standard terminal output.
It works for me with glmark2 now, I don't really have any native opengl games unfortunately. You need to use 32/64bit library accordingly.
I am using the 64 bit library with the 64 bit games mentioned in my first comment:
LD_PRELOAD=/usr/lib64/libobs_glcapture.so %command%
Here is the log from Last Epoch:
Last Epoch]$ LD_PRELOAD=/usr/lib64/libobs_glcapture.so "$PWD/Last Epoch.x86_64" | tee lastepoch.log
Found path: /mnt/Games/SteamGames/Steam/steamapps/common/Last Epoch/Last Epoch.x86_64
[obs-vkcapture] Init 0.5
[obs-vkcapture] Failed to load GL
64 bit check:
$ file Last\ Epoch.x86_64
Last Epoch.x86_64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=2a1da7a4ffbc16bad3cab634551563522905febf, stripped
from obs-vkcapture.
Even supertuxkart fails -- which is free and available on most distros.
LD_PRELOAD=/usr/lib64/libobs_glcapture.so supertuxkart | tee tuxkart.log
[obs-vkcapture] Init 0.5
[obs-vkcapture] Failed to load GL
[info ] IrrDriver: OpenGL version: 4.6
[info ] IrrDriver: OpenGL vendor: AMD
[info ] IrrDriver: OpenGL renderer: AMD Radeon RX 6900 XT (SIENNA_CICHLID, DRM 3.40.0, 5.11.18-200.fc33.x86_64, LLVM 11.0.0)
64 bit check:
$ file $(which supertuxkart)
/usr/bin/supertuxkart: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=c395cff8e9332e390ec114151eba198f164c8d16, for GNU/Linux 3.2.0, stripped
from obs-vkcapture.
Alright, I can reproduce it with supertuxkart.
Btw does it work for you with glmark2?
from obs-vkcapture.
Sorry I don't have the 32 bit library built locally (requires running the rpm build in a chroot) so I can't check glmark2 at this moment. Last Epoch captures with the latest change, however the picture is very dark:
Also the mouse cursor is not captured.
The darkness issue seems to be specific to Last Epoch. supertuxcart, 0ad, and Mad Max are all fine. Filters can be used to adjust it in OBS. The mouse cursor does not capture on any of them however.
from obs-vkcapture.
There is no cursor support at all. It would require hooking the windowing system to get the geometry of the window (if not fullscreen) to calculate the cursor position. And also it would probably only work on X11.
For the Last Epoch issue, I would need the game to see what's going on. Or perhaps if it is related to engine, does it happen with other Unity games too?
from obs-vkcapture.
Since version 0.7 don't work for me.
Tried vkcube. OBS stdout:
info: [linux-vkcapture] Creating texture from dmabuf 1276x1391 modifier:144115188085734146
info: [linux-vkcapture] [0] fd:39 stride:5120 offset:0
info: [linux-vkcapture] [1] fd:40 stride:1536 offset:7208960
error: Cannot create EGLImage: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
error: [linux-vkcapture] Could not create texture from dmabuf source
from obs-vkcapture.
Do you have multiple GPUs? Also, please open new issue.
from obs-vkcapture.
Yes I do. What tittle do I start the issue?
from obs-vkcapture.
Doesn't matter :D
from obs-vkcapture.
@GloriousEggroll Any chance you can try the Last Epoch again? It should be fixed now.
from obs-vkcapture.
Related Issues (20)
- 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
- VkCapture will not capture games HOT 3
- OpenGL capture not working after update of steam..? HOT 5
- unable to capture HDR. HOT 1
- Not working for game capture after Gnome 46 update HOT 2
- Help with building 32bit version of VKCapture HOT 1
- OBS Vulkan Capture stopped working for games running via Proton HOT 3
- What's the point of `linux-firmware-git` as a dependency? HOT 1
- Plans to make obs-vkcapture more quiet?
- Plans to make obs-vkcapture more quiet? HOT 1
- Does an environment variable exist for obs-gamecapture? HOT 2
- Severe degradation using obs-vkcapture together with gamescope on Steam games HOT 17
- Feature request: Possible environment variable to capture? HOT 1
- game capture will capture game video, but not audio HOT 1
- [Crash bug] Using vkcapture on Helldivers 2 will hard crash the system, leading to a black screen. You cannot recover. HOT 2
- Plugin loaded, OBS_USE_EGL is set, source can't be added HOT 2
- build fails even with dependencies HOT 3
- Black Screen when Streaming with OBS specifically in Steamdeck's Gaming Mode HOT 1
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.