OBS Studio Black Screen at recording games with obs-vkcapture

You could install Wayland. You could also try reverting to the 6.1 LTS kernel, or maybe try the newly released 6.6 kernel. I can’t say whether these options will improve the situation, but they might.

I have [the repo version of] OBS installed (KDE, Wayland, amdgpu, 6.6 kernel) with no apparent issues. The obvious common denominator between your issue and those on the thread previously linked, is the use of Nvidia graphics. Some highlights:

This user has a less than desirable solution, but it worked:

Remember, these issues were from back in January; the cause in your situation might be entirely different; although it seems to tick all the boxes.

I completely forgot the kernel change in my mind thanks for giving me some fresh new ideas.

But yeah I do believe its my RTX3070 is at fault here. My pc does have hard freezes when browsing with Firefox and Brave until I had to put in GRUB boot parameter pci=nommconf to stop that. I checked the logs and the error was PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID).

The same freezes were also on Linux Mint Ubuntu.

But yeah I will jump to 6.6 kernel and if nothing I will jump to 6.1LTS, and if that won’t work then will try to use Wayland session. :sweat_smile:

Another popular resolution (again, in the other thread) was to remove the libva-vdpau-driver completely. That might also be a valid option if there is an updated version forthcoming.

I mentioned reverting to the nvidia-linux driver earlier. This post (in the other thread) was also well received, with several claiming it solved their issue.

I did remove libva-vdpau-driver and nothing helped after that I installed libva-nvidia-driver also and still nothing.

I tried to change kernal to 6.6 and later to 6.1LTS and nothing helped. Just in case I also reinstalled nvidia driver to for each kernel.

About reverting to the nvidia-linux also did not helped my situation.

I tried to install plasma-wayland-session and I couldn’t even log in to Wayland session so back to x11.

Like the only thing I could think of is to do BIOS update.

What was preventing you logging in?

Did you remember to select ‘Wayland’ (bottom left corner of SDDM)?

To be frankly honest I don’t know. When I installed Wayland, the system required a reboot. Once the system was booting it was stuck at Linux BIOS/bootting(sorry I can’t tell what it is) screen where is says bunch of OK OK OK for each line. In there the system couldn’t boot. I had to do a hard reset for the system and it booted normally as usually.

In the Login screen I selected Wayland session and all I see is a black screen for about 4 seconds and then returns back to the Login screen.

Disturbing, in itself. :slight_smile:

You might have better luck installing it outside of the GUI. This tutorial explains how to perform an update in that way; it’s the same principle:

1 Like

I also tried this to check regarding my ffmpeg with:

ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \                                                                                    ✔ 
      -f lavfi -i testsrc -t 50 \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 5M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 7M -f null -

And this is what I got:

ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.1 (GCC) 20230801
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: wrapped_avframe, rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #1:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #2:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #3:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #4:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #5:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (Main), cuda(pc, gbr/unknown/unknown, progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 4000 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.3.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 0/0/4000000 buffer size: 8000000 vbv_delay: N/A
Output #1, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #1:0: Video: h264 (Main), cuda(pc, gbr/unknown/unknown, progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 1000 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.3.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 0/0/1000000 buffer size: 2000000 vbv_delay: N/A
Output #2, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #2:0: Video: h264 (Main), cuda(pc, gbr/unknown/unknown, progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 8000 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.3.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 0/0/8000000 buffer size: 16000000 vbv_delay: N/A
Output #3, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #3:0: Video: h264 (Main), cuda(pc, gbr/unknown/unknown, progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 6000 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.3.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 0/0/6000000 buffer size: 12000000 vbv_delay: N/A
Output #4, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #4:0: Video: h264 (Main), cuda(pc, gbr/unknown/unknown, progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 5000 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.3.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 0/0/5000000 buffer size: 10000000 vbv_delay: N/A
[h264_nvenc @ 0x5624e69380c0] OpenEncodeSessionEx failed: out of memory (10): (no details)
zsh: segmentation fault (core dumped)  ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -f lavfi -i  -t

I have no idea what this means but it seems I have an issue with ffmpeg

I will check about the updates as well thank you for the help :smiley:

Out of interest, what’s the resolution of whatever you’re trying to encode?

I am trying to record at 1920x1080 60fps.

So far I found about this https://github.com/keylase/nvidia-patch and trying to figure out if my NVIDIA has some sort of limitations placed in.

I found this similar issue with nvenc on StackOverflow. A workaround suggested was to use libx264 instead of h.264. You could also try encoding at a lower resolution, for the sake of testing, to see if it completes without:

[h264_nvenc @ 0x5624e69380c0] OpenEncodeSessionEx failed: out of memory (10): (no details)
zsh: segmentation fault (core dumped)  ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -f lavfi -i  -t

Also, can you post the output of:

inxi --admin --verbosity=7 --filter --no-host --width

Update:-

This appears to be a known issue: OBS studio crashes upon clicking Start Recording #9764. No indication of a fix, however.

“A workaround: setting software encoder instead of NVENC HEVC/H.264 (both cause crash).”

So, it’s not just you; that’s some consolation, at least. :slight_smile:

Well how to say I don’t want to sound greedy or anything just I need best performance for recording heavier demanding games.

I can record Screen Capture with (Xcomposite) on OBS but with all kinds of settings the quality is just not good.

Screen Capture with (Pipewire) does not even see any windows to select just blank.

So I wanted to use obs-vkcapture since people say its easier for the system to record with minimal loses of quality especially when recording heavy performance demanding games.

So yeah anyway from the inxi --admin --verbosity=7 --filter --no-host --width:

System:
  Kernel: 6.1.62-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=15f65287-75bf-4c55-9878-320da4bd56e1 rw quiet pci=nommconf
    splash udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: LENOVO product: 90RT00GAMW v: Legion T5 26IOB6
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: LENOVO model: 3733 v: SDK0T76461 WIN 3422082981805
    serial: <superuser required> UEFI: LENOVO v: O54KT1CA date: 11/16/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Gaming Mouse
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 16 GiB note: est. available: 15.35 GiB
    used: 3.62 GiB (23.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 11th Gen Intel Core i7-11700F bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x59
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 812 high: 900 min/max: 800/4800:4900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
    5: 900 6: 900 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800
    15: 800 16: 800 bogomips: 79888
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma
    avx512vbmi avx512vl bmi1 bmi2 bts clflush clflushopt cmov constant_tsc
    cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms
    est f16c flexpriority flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp
    hwp_act_window hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
    rdtscp rep_good sdbg sep sha_ni smap smep ss ssbd sse sse2 sse4_1 sse4_2
    ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
    tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid x2apic xgetbv1 xsave
    xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070 Lite Hash Rate] vendor: Lenovo
    driver: nvidia v: 535.129.03 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-11; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0
    chip-ID: 10de:2488 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.70x13.50")
    s-diag: 693mm (27.28")
  Monitor-1: DP-0 res: 1920x1080 hz: 120 dpi: 82
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: EGL Message: No EGL data available.
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.129.03 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    memory: 7.81 GiB
  API: Vulkan v: 1.3.269 layers: 6 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3070 driver: nvidia v: 535.129.03
    device-ID: 10de:2488 surfaces: xcb,xlib
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8
    class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-3: Corsair VOID ELITE Wireless Gaming Dongle
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-8:5 chip-ID: 1b1c:0a51 class-ID: 0300
  API: ALSA v: k6.1.62-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:6 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.29 TiB used: 348.21 GiB (14.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HBJQ-000L7
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5M2QEXF7 temp: 33.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM001-1ER164
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC26 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%)
    used: 49.34 GiB (10.5%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 15f65287-75bf-4c55-9878-320da4bd56e1
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 31B5-1EE2
  ID-3: /run/media/roy/LocalDisk raw-size: 1.82 TiB size: 1.79 TiB (98.37%)
    used: 298.87 GiB (16.3%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
    label: LocalDisk uuid: 44fd6518-ca0d-4eaa-ba8f-ae62983afb21
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-1.1:4 info: Logitech Cordless Mouse Receiver type: mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c537 class-ID: 0300
  Device-2: 1-6:3 info: HP HyperX Alloy Elite 2 type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 03f0:058f class-ID: 0300
  Device-3: 1-8:5 info: Corsair VOID ELITE Wireless Gaming Dongle
    type: audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4
    rev: 1.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 1b1c:0a51 class-ID: 0300
  Device-4: 1-14:6 info: Intel AX201 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0026 class-ID: e001
  Hub-3: 2-0:1 info: super-speed hub ports: 6 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A gpu: nvidia temp: 31 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 35%
Info:
  Processes: 330 Uptime: 8m wakeups: 0 Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: 1393
  pm: pacman pkgs: 1354 libs: 455 tools: pamac pm: flatpak pkgs: 39 Shell: Zsh
  v: 5.9 default: Bash v: 5.2.15 running-in: konsole inxi: 3.3.31

And software encoder also does not seem to work with obs-vkcapture.

I tried to record with different resolutions and so on but same problem.

Just to let people know I tried setting launch parameters in the game as obs-gamecapture #command# and obs_vkcapture=1 #command#. And all get is black screen with sounds.

At face value, it seems there’s nothing we can now suggest, until the OBS Project have addressed the linked issue #9764, and a fix filters down to the lower levels. The best you can do is keep monitoring there for a possible workaround in the meantime. It’s not a Manjaro issue.

1 Like

Sine I saw OBS as native on Linux that’s pretty much why I jumped from Windows since I just don’t like their’s crazy terms of service agreements policies.

I don’t know who is at fault here is it obs or nvidia or both.

Thanks anyway for all your time and help. I will still keep on trying to find out anything. If I do I will report back.

1 Like

Just an Update

I checked my Proton logs when launching steam game via proton.

I see this issue

[obs-vkcapture] missing device extension: VK_EXT_external_memory_dma_buf

This vulkan extension was implemented in 515 version for the driver, mine is 535 so not sure what is the deal here.

On the obs-vkcapture GitHub page it states that the “Nvidia Driver version >= 515.43.04 and nvidia-drm.modeset=1 kernel parameter are required” for game capture. So, the theory is that any higher version will support it.

You are currently using Nvidia 535 drivers. If there is any issue with them, a new version is in the pipeline. Nvidia 545 drivers are currently in Testing (or, at least, they were yesterday) – See Nvidia 545 drivers might have issues – They typically won’t reach the Stable branch until any current issues are resolved. Hopefully, that won’t take too long.

However, I could find nothing that positively suggests Nvidia drivers are at fault; they may contribute to some extent, but nothing more. An internet search revealed many references to VK_EXT_external_memory_dma_buf but I found nothing that seemed significant.

As mentioned, the culprit appears to be the NVENC HEVC/H.264 crash referenced by OBS Project issue #9764 (and also present in your logs), which triggers a segmentation fault when attempting to record.

Leave this unsolved for a while if you like, but there’s no guarantee how long the OBS Project may take to reproduce the error, and push a fix. When that happens, it will no doubt filter down to all relevant packages. It’s probably best to start a new thread at that time.

Cheers.

Okay I GOT IT TO WORK.

Not sure if OpenGL programs will work with NVIDIA but this is good enough.

You reminded me of nvidia-drm.modeset=1 again. I have tried this before but my games did not launch at all that time.

But since I thought I am now on Kernel 6.1 LTS I put back nvidia-drm.modeset=1 in GRUB file, and it WORKS.

There is a possibility that there could be other factors that came to play to make things work, so for people you might have problems(these are probably just optional steps).

I uninstalled libva-vdpau-driver and installed libva-nvidia-driver instead.

in /etc/environment text file I put OBS_USE_EGL=1 obs setting. (This is for X11)

Great. That saves a lot of wild geese. :wink:

Cheers. :partying_face:

Thank you for all the help and guides. I was about to give up until you mentioned about changing the modest.

God bless you. :partying_face:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.