-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Describe the bug
Game source black after starting Factorio. Tried with obs-gamecapture %command% and OBS_VKCAPTURE=1 %command% in Steam. On Plasma 6 and wayland option enabled in Factorio. Other games (proton) work without issues.
AFAIK Factorio uses opengl (not sure) and recording works when I run it via proton.
Screenshots or video
n/a
System (please complete the following information):
- OS: NixOS
- GPU: 7900XTX
- Mesa version: 25.2.0
- obs-vkcapture version: 1.5.2
OBS log:
15:42:04.345: Platform: Wayland
15:42:04.345: CPU Name: AMD Ryzen 7 7800X3D 8-Core Processor
15:42:04.345: CPU Speed: 3657.316MHz
15:42:04.345: Physical Cores: 8, Logical Cores: 8
15:42:04.345: Physical Memory: 31171MB Total, 12407MB Free
15:42:04.345: Kernel Version: Linux 6.16.0
15:42:04.345: Distribution: NixOS "25.11"
15:42:04.345: Desktop Environment: KDE (KDE)
15:42:04.345: Session Type: wayland
15:42:04.347: Current Date/Time: 2025-08-24, 15:42:04
15:42:04.347: Browser Hardware Acceleration: true
15:42:04.347: Qt Version: 6.9.1 (runtime), 6.9.1 (compiled)
15:42:04.347: Portable mode: false
15:42:04.373: OBS 31.1.2 (linux)
15:42:04.373: ---------------------------------
15:42:04.374: ---------------------------------
15:42:04.374: audio settings reset:
15:42:04.374: samples per sec: 48000
15:42:04.374: speakers: 2
15:42:04.374: max buffering: 960 milliseconds
15:42:04.374: buffering type: dynamically increasing
15:42:04.374: ---------------------------------
15:42:04.374: Initializing OpenGL...
15:42:04.374: Using EGL/Wayland
15:42:04.381: Initialized EGL 1.5
15:42:04.394: Loading up OpenGL on adapter AMD AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.64, 6.16.0)
15:42:04.394: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 25.2.0, shading language 4.60
15:42:04.420: ---------------------------------
15:42:04.420: video settings reset:
15:42:04.420: base resolution: 2560x1440
15:42:04.420: output resolution: 2560x1440
15:42:04.420: downscale filter: Bicubic
15:42:04.420: fps: 60/1
15:42:04.420: format: NV12
15:42:04.420: YUV mode: Rec. 709/Partial
15:42:04.420: NV12 texture support enabled
15:42:04.420: P010 texture support not available
15:42:04.422: Audio monitoring device:
15:42:04.422: name: Default
15:42:04.422: id: default
15:42:04.422: ---------------------------------
15:42:04.428: Failed to load 'en-US' text for module: 'decklink-captions.so'
15:42:04.434: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
15:42:04.438: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
15:42:04.438: Failed to initialize module 'decklink.so'
15:42:04.605: [pipewire] Available capture sources:
15:42:04.605: [pipewire] - Monitor source
15:42:04.606: [pipewire] - Window source
15:42:04.623: v4l2loopback not installed, virtual camera not registered
15:42:04.630: [obs-browser]: Version 2.25.3
15:42:04.630: [obs-browser]: CEF Version 138.0.7204.97 (runtime), 138.0.17+gac9b751+chromium-138.0.7204.97 (compiled)
15:42:04.645: VAAPI: API version 1.22
15:42:04.645: FFmpeg VAAPI H264 encoding supported
15:42:04.648: FFmpeg VAAPI AV1 encoding supported
15:42:04.652: FFmpeg VAAPI HEVC encoding supported
15:42:04.675: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
15:42:04.675:
15:42:04.675: NVENC not supported
15:42:04.675: Failed to initialize module 'obs-nvenc.so'
15:42:04.748: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.6.2 | RPC Version: 1)
15:42:04.748: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.9.1 | Qt version (run-time): 6.9.1
15:42:04.748: [obs-websocket] [obs_module_load] Linked ASIO Version: 102400
15:42:04.748: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
15:42:04.751: [obs-websocket] [obs_module_load] Module loaded.
15:42:04.777: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
15:42:04.798: [linux-vkcapture] plugin loaded successfully (version 1.5.2)
15:42:04.836: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.13)
15:42:04.836: [obs-backgroundremoval] Failed to open config file /home/tetius/.config/obs-studio/plugin_config/obs-backgroundremoval/config.ini
15:42:04.836: [obs-backgroundremoval] Failed to open config file /home/tetius/.config/obs-studio/plugin_config/obs-backgroundremoval/config.ini
15:42:05.047: [obs-backgroundremoval] Latest release is
15:42:05.063: [obs-gstreamer] build: 0.4.1, gst-runtime: 1.26.0
15:42:05.073: [obs-vaapi] version: undefined, gst-runtime: 1.26.0
15:42:05.074: [obs-vaapi] found vah265enc
15:42:05.074: [obs-vaapi] found vaav1enc
15:42:05.074: [obs-vaapi] found vah264enc
15:42:05.074: [obs-vaapi] found varenderD129h265enc
15:42:05.074: [obs-vaapi] found varenderD129h264enc
15:42:05.074: [obs-vaapi] found vaapih264enc
15:42:05.074: [obs-vaapi] found vaapih265enc
15:42:05.074: ---------------------------------
15:42:05.074: Loaded Modules:
15:42:05.074: obs-vaapi.so
15:42:05.074: obs-gstreamer.so
15:42:05.074: obs-backgroundremoval.so
15:42:05.074: linux-vkcapture.so
15:42:05.074: linux-pipewire-audio.so
15:42:05.074: libwlrobs.so
15:42:05.074: vlc-video.so
15:42:05.074: text-freetype2.so
15:42:05.074: rtmp-services.so
15:42:05.074: obs-x264.so
15:42:05.074: obs-websocket.so
15:42:05.074: obs-webrtc.so
15:42:05.074: obs-vst.so
15:42:05.074: obs-transitions.so
15:42:05.074: obs-qsv11.so
15:42:05.074: obs-outputs.so
15:42:05.074: obs-libfdk.so
15:42:05.074: obs-filters.so
15:42:05.074: obs-ffmpeg.so
15:42:05.074: obs-browser.so
15:42:05.074: linux-v4l2.so
15:42:05.074: linux-pulseaudio.so
15:42:05.074: linux-pipewire.so
15:42:05.074: linux-jack.so
15:42:05.074: linux-capture.so
15:42:05.074: linux-alsa.so
15:42:05.074: image-source.so
15:42:05.074: frontend-tools.so
15:42:05.074: decklink-output-ui.so
15:42:05.074: decklink-captions.so
15:42:05.074: ---------------------------------
15:42:05.074: ---------------------------------
15:42:05.074: Available Encoders:
15:42:05.074: Video Encoders:
15:42:05.074: - ffmpeg_svt_av1 (SVT-AV1)
15:42:05.074: - ffmpeg_aom_av1 (AOM AV1)
15:42:05.074: - ffmpeg_vaapi_tex (FFmpeg VAAPI H.264)
15:42:05.074: - av1_ffmpeg_vaapi_tex (FFmpeg VAAPI AV1)
15:42:05.074: - hevc_ffmpeg_vaapi_tex (FFmpeg VAAPI HEVC)
15:42:05.074: - obs_x264 (x264)
15:42:05.080: - obs-va-vah265enc (VAAPI H.265 on Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M])
15:42:05.085: - obs-va-vaav1enc (VAAPI AV1 on Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M])
15:42:05.090: - obs-va-vah264enc (VAAPI H.264 on Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M])
15:42:05.095: - obs-va-varenderD129h265enc (VAAPI H.265 on Raphael)
15:42:05.100: - obs-va-varenderD129h264enc (VAAPI H.264 on Raphael)
15:42:05.100: - obs-vaapi-vaapih264enc (VAAPI H.264 (Legacy))
15:42:05.100: - obs-vaapi-vaapih265enc (VAAPI H.265 (Legacy))
15:42:05.100: Audio Encoders:
15:42:05.100: - ffmpeg_aac (FFmpeg AAC)
15:42:05.100: - ffmpeg_opus (FFmpeg Opus)
15:42:05.100: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
15:42:05.100: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
15:42:05.100: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
15:42:05.100: - ffmpeg_alac (FFmpeg ALAC (24-bit))
15:42:05.100: - ffmpeg_flac (FFmpeg FLAC (16-bit))
15:42:05.101: - libfdk_aac (libfdk AAC)
15:42:05.101: ==== Startup complete ===============================================
15:42:05.143: All scene data cleared
15:42:05.143: ------------------------------------------------
15:42:05.146: pulse-input: Server name: 'PulseAudio (on PipeWire 1.4.6) 15.0.0'
15:42:05.146: pulse-input: Audio format: s24le, 48000 Hz, 2 channels
15:42:05.146: pulse-input: Sample format s24le not supported by OBS,using float32le instead for recording
15:42:05.146: pulse-input: Started recording from 'alsa_output.usb-Corsair_CORSAIR_VIRTUOSO_XT_Wireless_Gaming_Receiver_196c7dcf00010215-00.iec958-stereo.monitor' (default)
15:42:05.146: [Loaded global audio device]: 'Desktop Audio'
15:42:05.146: pulse-input: Server name: 'PulseAudio (on PipeWire 1.4.6) 15.0.0'
15:42:05.147: pulse-input: Audio format: s24le, 48000 Hz, 1 channels
15:42:05.147: pulse-input: Sample format s24le not supported by OBS,using float32le instead for recording
15:42:05.147: pulse-input: Started recording from 'alsa_input.usb-Corsair_CORSAIR_VIRTUOSO_XT_Wireless_Gaming_Receiver_196c7dcf00010215-00.mono-fallback' (default)
15:42:05.147: [Loaded global audio device]: 'Mic/Aux'
15:42:05.149: [pipewire] Created stream 0x2c670160
15:42:05.150: [pipewire] 0x2c670160 streaming from 63
15:42:05.150: [pipewire] Created stream 0x2c8389a0
15:42:05.151: [pipewire] 0x2c8389a0 streaming from 63
15:42:05.152: ext_screencopy_manager_v1 not available
15:42:05.153: Switched to scene 'Scene'
15:42:05.153: ------------------------------------------------
15:42:05.153: Loaded scenes:
15:42:05.153: - scene 'Scene':
15:42:05.153: - source: 'Mic' (pipewire_audio_input_capture)
15:42:05.153: - source: 'System' (pipewire_audio_input_capture)
15:42:05.153: - source: 'Game Capture' (vkcapture-source)
15:42:05.153: ------------------------------------------------
15:42:05.330: [pipewire] 0x2c670160 Got format: rate 48000 - channels 1 - format 8
15:42:05.333: [pipewire] 0x2c8389a0 Got format: rate 48000 - channels 1 - format 8
15:42:05.355: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Mic)
15:42:05.355:
15:42:05.910: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
15:42:05.910:
Game log:
0.000 2025-08-24 15:42:13; Factorio 2.0.60 (build 83512, linux64, steam, space-age)
0.000 Operating system: Linux
0.000 Initializing Steam API.
0.000 Program arguments: "/home/tetius/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio"
0.000 Config path: /home/tetius/.factorio/config/config.ini
0.000 Read data path: /home/tetius/.local/share/Steam/steamapps/common/Factorio/data
0.000 Write data path: /home/tetius/.factorio [891802/1886990MB]
0.000 Binaries path: /home/tetius/.local/share/Steam/steamapps/common/Factorio/bin
0.005 System info: [CPU: AMD Ryzen 7 7800X3D 8-Core Processor, 8 cores, RAM: 31171 MB]
0.005 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.006 Display options: [FullScreen: true] [VSync: true] [UIScale: manual-display-points (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
0.024 Video driver: wayland
0.024 Available displays: 1
0.024 [0]: GSM LG ULTRAGEAR - {[0,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 144Hz}
0.063 Initialised OpenGL:[0] AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 19.1.7, DRM 3.64, 6.16.0); driver: 4.6 (Core Profile) Mesa 25.2.0
0.063 [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
0.063 [Version] 4.6
0.118 Graphics settings preset: very-high
0.118 Dedicated video memory size 24560 MB (detected from AMD Radeon RX 7900 XTX (RADV NAVI31); VendorID: 0x1002; DeviceID: 0x744c)
0.128 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
0.128 [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
0.146 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
0.240 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
0.240 Info ModManager.cpp:444: FeatureFlag freezing = true
0.240 Info ModManager.cpp:444: FeatureFlag quality = true
0.240 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
0.240 Info ModManager.cpp:444: FeatureFlag segmented-units = true
0.240 Info ModManager.cpp:444: FeatureFlag space-travel = true
0.240 Info ModManager.cpp:444: FeatureFlag spoiling = true
0.253 Loading mod core 0.0.0 (data.lua)
0.263 Loading mod base 2.0.60 (data.lua)
0.349 Loading mod elevated-rails 2.0.60 (data.lua)
0.362 Loading mod quality 2.0.60 (data.lua)
0.371 Loading mod space-age 2.0.60 (data.lua)
0.492 Loading mod base 2.0.60 (data-updates.lua)
0.502 Loading mod quality 2.0.60 (data-updates.lua)
0.520 Loading mod space-age 2.0.60 (data-updates.lua)
0.576 Checksum for core: 4171658704
0.576 Checksum of base: 1534080171
0.576 Checksum of elevated-rails: 3379156108
0.576 Checksum of quality: 3594706471
0.576 Checksum of space-age: 1185576405
0.855 Prototype list checksum: 790204923
0.889 Loading sounds...
1.062 Info PlayerData.cpp:66: Local player-data.json unavailable
1.062 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1756042814
1.063 Post-data load graphics options: [Light occlusion: YES]
1.223 Initial atlas bitmap size is 16384
1.233 Created an atlas bitmap (size 16384x16368) [none]
1.246 Created an atlas bitmap (size 16384x16380) [none]
1.261 Created an atlas bitmap (size 16384x16384) [none]
1.262 Created an atlas bitmap (size 16384x15084) [none]
1.265 Created an atlas bitmap (size 16384x16384) [low-object]
1.265 Created an atlas bitmap (size 4096x2496) [low-object]
1.265 Created an atlas bitmap (size 16384x14140) [corpse-decay]
1.265 Created an atlas bitmap (size 16384x9316) [decal]
1.265 Created an atlas bitmap (size 16384x5596) [none]
1.265 Created an atlas bitmap (size 1676x79) [not-compressed]
1.265 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
1.266 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
1.269 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
1.269 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
1.270 Created an atlas bitmap (size 8192x5760) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
1.270 Created an atlas bitmap (size 8192x2608) [mipmap]
1.270 Created an atlas bitmap (size 3504x768) [mipmap]
1.270 Created an atlas bitmap (size 4096x3152) [mipmap]
1.270 Created an atlas bitmap (size 4096x3152) [mipmap]
1.270 Created an atlas bitmap (size 4096x3152) [mipmap]
1.270 Created an atlas bitmap (size 8192x3888) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
1.271 Created an atlas bitmap (size 16384x6120) [alpha-mask]
1.286 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
1.288 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
1.288 Created an atlas bitmap (size 16384x3880) [shadow, linear-magnification, alpha-mask]
1.288 Created an atlas bitmap (size 8192x4016) [shadow, mipmap, linear-magnification, alpha-mask]
1.289 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
1.289 Loading 3D bitmaps.
1.296 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
1.380 Parallel sprite loader initialized (threads: 7, bitmaps: 8395)
22.799 Sprites loaded
22.805 Generated mipmaps (4) for atlas [4] of size 16384x16384
22.806 Generated mipmaps (4) for atlas [5] of size 4096x2496
22.807 Generated mipmaps (3) for atlas [10] of size 16384x4240
22.807 Generated mipmaps (3) for atlas [11] of size 4096x3040
22.809 Generated mipmaps (3) for atlas [12] of size 16384x16352
22.810 Generated mipmaps (3) for atlas [13] of size 16384x4944
22.810 Generated mipmaps (3) for atlas [14] of size 8192x5760
22.988 Generated mipmaps (3) for atlas [15] of size 8192x2608
22.988 Generated mipmaps (3) for atlas [16] of size 3504x768
22.989 Generated mipmaps (3) for atlas [17] of size 4096x3152
23.001 Generated mipmaps (3) for atlas [18] of size 4096x3152
23.001 Generated mipmaps (3) for atlas [19] of size 4096x3152
23.002 Generated mipmaps (5) for atlas [20] of size 8192x3888
23.003 Generated mipmaps (3) for atlas [25] of size 8192x4016
23.014 Custom mipmaps uploaded (3490)
23.047 Video memory usage: 3609.54 MB (Atlases: 3479.24 MB, Textures: 130.30 MB)
23.088 Factorio initialised
23.089 Steam Storage Quota: 23280/23841
39.639 Quitting: user-quit.
39.806 Steam API shutdown.
39.807 Goodbye
Metadata
Metadata
Assignees
Labels
No labels