nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
519 stars 25 forks source link

Recordings very dark suddenly #98

Closed ghost closed 1 year ago

ghost commented 1 year ago

My recordings with Game Capture on Arch Linux with Gnome have been very dark in select games and I'm not sure why. It isn't all of them, it seems to be random, for example the native of version of the new game Isonzo appears dark while Proton version works fine, but Apex with any Proton version is dark. This started happening about over a week ago and it may have been related to an xdg-desktop-portal or qt-wayland update I am not sure. I'll provide an example with Apex. None of these issues happen with Window Capture, they only appear dark recently when using the Game Capture plugin. My OBS color profile settings are at their defaults and switching them around doesn't seem to solve the issue. Using AMD Ryzen hardware. 2 1

ghost commented 1 year ago

Thanks for the work you do. This plugin is really make-or-break for my use case on Linux. Having seen this not reported elsewhere I can only assume it's something with my particular setup, but I don't tinker around I just install and forget and use with pacman. My hardware is also pretty generic. I wish there was more I could give to help narrow it down but I'm not sure where to look. RX580 Ryzen 5 2600 Arch 5.19.9-zen 144hz Freesync monitor (VRR not yet supported in GNOME) obs-vkcapture is the only application I use from AUR. The packages I have installed related to obs are qt5-wayland qt6-wayland xdg-desktop-portal-gnome obs-vkcapture-git lib32-obs-vkcapture-git. Reinstalling Arch altogether did not fix the issue.

nowrep commented 1 year ago

Can you please upload log from the game? Also are you running latest git master? Does reverting 88ffc3fb74f8a78904781eb3a23cedb1ba5a46a7 help?

ghost commented 1 year ago

I installed from https://aur.archlinux.org/packages/obs-vkcapture-git using yay -S obs-vkcapture-git, and according to pacman that's up to date Running pacman -Qe says it is obs-vkcapture-git r213.96c6a25-1

ghost commented 1 year ago

GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with "" Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) fsync: up and running. wine: Using setpriority to control niceness in the [-10,10] range Fossilize INFO: Setting autogroup scheduling. Fossilize INFO: Setting autogroup scheduling. Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Fossilize INFO: Setting autogroup scheduling. Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to SynchronizingCloud with "" Installing breakpad exception handler for appid(steam)/version(1663887315) GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to SynchronizingControllerConfig with "" GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with "" GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to CreatingProcess with "" GameAction [AppID 1172470, ActionID 1] : LaunchApp waiting for user response to CreatingProcess "" GameAction [AppID 1172470, ActionID 1] : LaunchApp continues with user response "CreatingProcess" /bin/sh\0-c\0obs-vkcapture DXVK_ASYNC=1 gamemoderun /home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1172470 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/compatibilitytools.d/GE-Proton7-35'/proton waitforexitandrun '/home/user/.local/share/Steam/steamapps/common/Apex Legends/EasyAntiCheat_launcher.exe' -steam\0 Game process added : AppID 1172470 "obs-vkcapture DXVK_ASYNC=1 gamemoderun /home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1172470 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/compatibilitytools.d/GE-Proton7-35'/proton waitforexitandrun '/home/user/.local/share/Steam/steamapps/common/Apex Legends/EasyAntiCheat_launcher.exe' -steam", ProcID 80942, IP 0.0.0.0:0 chdir /home/user/.local/share/Steam/steamapps/common/Apex Legends ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to WaitingGameWindow with "" ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. WARNING: Please use obs-gamecapture instead. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. GameAction [AppID 1172470, ActionID 1] : LaunchApp changed task to Completed with "" ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. gamemodeauto: ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. gamemodeauto: ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. gamemodeauto: ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. gamemodeauto: pid 80952 != 80949, skipping destruction (fork without exec?) gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory ProtonFixes[81059] INFO: Running protonfixes ProtonFixes[81059] INFO: Running checks ProtonFixes[81059] INFO: All checks successful ProtonFixes[81059] INFO: Using global defaults for "Apex Legends" (1172470) ProtonFixes[81059] INFO: No protonfix found for "Apex Legends" (1172470) gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory fsync: up and running. wine: Using setpriority to control niceness in the [-10,10] range gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory ThreadGetProcessExitCode: no such process 81064 ThreadGetProcessExitCode: no such process 81062 ThreadGetProcessExitCode: no such process 81061 ThreadGetProcessExitCode: no such process 81060 ThreadGetProcessExitCode: no such process 80950 gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory Game process updated : AppID 1172470 "obs-vkcapture DXVK_ASYNC=1 gamemoderun /home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1172470 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/compatibilitytools.d/GE-Proton7-35'/proton waitforexitandrun '/home/user/.local/share/Steam/steamapps/common/Apex Legends/EasyAntiCheat_launcher.exe' -steam", ProcID 81063, IP 0.0.0.0:0 Setting breakpad minidump AppID = 1172470 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198013365710 [API loaded no] [obs-vkcapture] Init Vulkan 1.2.0 gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory [obs-vkcapture] Init Vulkan 1.2.0 Installing breakpad exception handler for appid(steam)/version(1663887315) ThreadGetProcessExitCode: no such process 81067 gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory ThreadGetProcessExitCode: no such process 81140 Game process updated : AppID 1172470 "obs-vkcapture DXVK_ASYNC=1 gamemoderun /home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1172470 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/compatibilitytools.d/GE-Proton7-35'/proton waitforexitandrun '/home/user/.local/share/Steam/steamapps/common/Apex Legends/EasyAntiCheat_launcher.exe' -steam", ProcID 81148, IP 0.0.0.0:0 Game process updated : AppID 1172470 "obs-vkcapture DXVK_ASYNC=1 gamemoderun /home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1172470 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/compatibilitytools.d/GE-Proton7-35'/proton waitforexitandrun '/home/user/.local/share/Steam/steamapps/common/Apex Legends/EasyAntiCheat_launcher.exe' -steam", ProcID 81148, IP 0.0.0.0:0 Setting breakpad minidump AppID = 1172470 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198013365710 [API loaded no] [obs-vkcapture] Init Vulkan 1.2.0 [obs-vkcapture] Injecting VK_KHR_bind_memory2 extension [obs-vkcapture] Injecting VK_KHR_get_memory_requirements2 extension [obs-vkcapture] Injecting VK_EXT_image_drm_format_modifier extension [obs-vkcapture] DRM format modifier support not available Fossilize INFO: Overriding serialization path: "/home/user/.local/share/Steam/steamapps/shadercache/1172470/fozpipelinesv6/steamapprun_pipeline_cache". warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite Installing breakpad exception handler for appid(gameoverlayui)/version(20220921201353) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory ThreadGetProcessExitCode: no such process 81230 Installing breakpad exception handler for appid(steam)/version(1663887315) [obs-vkcapture] Texture VK_FORMAT_B8G8R8A8_SRGB 1920x1080 [obs-vkcapture] Converting to VK_FORMAT_B8G8R8A8_UNORM [obs-vkcapture] ------------------ vulkan capture started ------------------ Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite warning: Unknown nb_ctl request: 30 warning: The VAD has been replaced by a hack pending a complete rewrite [obs-vkcapture] ------------------- vulkan capture freed ------------------- [obs-vkcapture] Texture VK_FORMAT_B8G8R8A8_SRGB 1920x1080 [obs-vkcapture] Converting to VK_FORMAT_B8G8R8A8_UNORM [obs-vkcapture] ------------------ vulkan capture started ------------------ Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) src/clientdll/applicationmanager.cpp (8313) : Assertion Failed: BStartUpdateDepotsJob: 393380 missing required app 0 src/clientdll/applicationmanager.cpp (8313) : Assertion Failed: BStartUpdateDepotsJob: 393380 missing required app 0 Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315) Installing breakpad exception handler for appid(steam)/version(1663887315)

[obs-vkcapture] Texture VK_FORMAT_B8G8R8A8_SRGB 1920x1080 [obs-vkcapture] Converting to VK_FORMAT_B8G8R8A8_UNORM these catch my eye

nowrep commented 1 year ago

Yes, it's probably the conversion to blame. Can you try https://aur.archlinux.org/packages/obs-vkcapture ?