Closed pftmclub closed 2 years ago
What version of OBS are you trying to build against?
What version of OBS are you trying to build against?
OBS v27.2.4 from Flathub
You can't build it against flatpak installation. It has to be installd system-wide.
But also, if you use OBS from flatpak you will need to use obs-vkcapture from flatpak too. And in that case, you only need to build the capture tools: cmake -DBUILD_PLUGIN=OFF
You can't build it against flatpak installation. It has to be installd system-wide. But also, if you use OBS from flatpak you will need to use obs-vkcapture from flatpak too. And in that case, you only need to build the capture tools:
cmake -DBUILD_PLUGIN=OFF
Hello i try to install OBS from official repo, and then i build obs-vkcapture successfuly , but nothing in OBS showing up
pftm@pftm-PC:~$ cd /home/pftm/obs-vkcapture/build
pftm@pftm-PC:~/obs-vkcapture/build$ make
-- Checking for module 'xcb-xfixes'
-- No package 'xcb-xfixes' found
-- Checking for module 'wayland-client'
-- No package 'wayland-client' found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pftm/obs-vkcapture/build
[ 30%] Built target VkLayer_obs_vkcapture
[ 80%] Built target obs_glcapture
[ 90%] Building C object CMakeFiles/linux-vkcapture.dir/src/vkcapture.c.o
[100%] Linking C shared module linux-vkcapture.so
[100%] Built target linux-vkcapture
check the video, the VK Capture is missing! https://user-images.githubusercontent.com/19551146/169045369-25f0f7a3-2341-4013-9e55-16856defab6f.mp4
here is my info:
pftm@pftm-PC:~/obs-vkcapture/build$ inxi -F
System:
Host: pftm-PC Kernel: 5.4.0-110-generic x86_64 bits: 64
Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una
Machine:
Type: Desktop System: Gigabyte product: N/A v: N/A
serial: <superuser/root required>
Mobo: Gigabyte model: B75M-D3H serial: <superuser/root required>
BIOS: American Megatrends v: F15 date: 10/23/2013
CPU:
Topology: Quad Core model: Intel Core i5-3470 bits: 64 type: MCP
L2 cache: 6144 KiB
Speed: 1597 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1597 2: 1596
3: 1597 4: 1597
Graphics:
Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nvidia v: 510.73.05
Display: x11 server: X.Org 1.20.13 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa
resolution: 1920x1080~75Hz, 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
v: 4.6.0 NVIDIA 510.73.05
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
driver: snd_hda_intel
Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
driver: snd_hda_intel
Sound Server: ALSA v: k5.4.0-110-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: 94:de:80:06:f3:e1
Drives:
Local Storage: total: 1.02 TiB used: 766.94 GiB (73.5%)
ID-1: /dev/sda vendor: Western Digital model: WDS120G2G0A-00JH30
size: 111.80 GiB
ID-2: /dev/sdb vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB
Partition:
ID-1: / size: 109.05 GiB used: 23.02 GiB (21.1%) fs: ext4 dev: /dev/sda5
Sensors:
System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 44 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 41%
Info:
Processes: 241 Uptime: 46m Memory: 7.71 GiB used: 2.06 GiB (26.8%)
Shell: bash inxi: 3.0.38
pftm@pftm-PC:~/obs-vkcapture/build$ nvidia-smi
Wed May 18 20:20:46 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.05 Driver Version: 510.73.05 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 40% 44C P0 2W / 46W | 303MiB / 1024MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 10874 G /usr/lib/xorg/Xorg 146MiB |
| 0 N/A N/A 11246 G cinnamon 23MiB |
| 0 N/A N/A 11571 G ...241876673528944523,131072 126MiB |
+-----------------------------------------------------------------------------+
pftm@pftm-PC:~/obs-vkcapture/build$
For ubuntu the libdir would be lib/x86_64-linux-gnu: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu
.
Or just manually move the installed plugin from /usr/lib/obs-plugins to /usr/lib/x86_64-linux-gnu/obs-plugins.
Whenever i start to make the build , it's always come to this
where can i find "obs-nix-plaform.h"?