Screen recording output is heavily corrupted / unreadable
System details
NVIDIA GeForce RTX 3050 Mobile, Omarchy 3.2
What's wrong?
Screen recordings produced on the system result in completely corrupted video output. The generated .mp4 file cannot be viewed normally — instead, it displays as a noisy, pixel-scrambled image (similar to heavy dithering or VRAM corruption). The actual screen content is not recognizable at all.
Steps to Reproduce
- Start a screen recording
- Stop the recording.
- Open the generated video file.
- Observe that the content is unreadable.
https://github.com/user-attachments/assets/4ac5e3d6-d25e-43c7-9fc4-cfdc3d6ebb4e
I am having the similar issue. GPU: RTX 4050 Mobile Omarchy: 3.2
I had the same issue, I think the problem is with -w flag in this line in omarchy-cmd-screenrecord
gpu-screen-recorder -w portal -f 60 -fallback-cpu-encoding yes -o "$filename" $audio_args -ac aac &
I changed the -w flag to eDP-1 and the issue was fixed for me.
Do you have the same issue if you record with obs studio instead (on the same machine on omarchy) (with screen capture (pipewire) option)?
same issue here:
im using an intel uhd 770 iGPU
@justin-omphithetse test if the same thing happens if you use obs studio with screen capture (pipewire) option. If it doesn't then run this from the terminal: gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4 and post the terminal output here. Then run obs from the terminal and use screen capture (pipewire) option and post the terminal output here.
Same issue here!
OBS still working fine w/ pipewire option.
-- Dell Inspiron 15 3530 - i5 12th - Iris Xe -- Omarchy 3.2
@dec05eba
screen recording obs studio with screen capture (pipewire)
the video file
https://github.com/user-attachments/assets/a6cf27fe-fd93-4930-b6b6-87ef422a8dad
terminal output
~ ❯ obs
debug: Found portal inhibitor
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
warning: Crash or unclean shutdown detected
warning: [Safe Mode] Normal launch selected, loading third-party plugins is enabled
info: Platform: Wayland
info: CPU Name: 12th Gen Intel(R) Core(TM) i5-12450H
info: CPU Speed: 887.554MHz
info: Physical Cores: 8, Logical Cores: 12
info: Physical Memory: 15718MB Total, 4234MB Free
info: Kernel Version: Linux 6.17.8-arch1-1
info: Distribution: "Arch Linux" Unknown
info: Desktop Environment: Hyprland (Hyprland)
info: Session Type: wayland
info: Current Date/Time: 2025-11-24, 08:38:02 PM
info: Browser Hardware Acceleration: true
info: Qt Version: 6.10.0 (runtime), 6.10.1 (compiled)
info: Portable mode: false
info: OBS 32.0.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter Intel Mesa Intel(R) Graphics (ADL GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 25.2.7-arch1.1, shading language 4.60
info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1920x1080
downscale filter: Bicubic
fps: 60/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support enabled
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] Available capture sources:
info: [pipewire] - Monitor source
info: [pipewire] - Window source
warning: v4l2loopback not installed, virtual camera not registered
info: VAAPI: API version 1.22
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI AV1 encoding not supported
info: FFmpeg VAAPI HEVC encoding supported
warning: [NVENC] Test process failed: cuda_init_100
info: NVENC not supported
warning: Failed to initialize module 'obs-nvenc.so'
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.6.3 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.10.1 | Qt version (run-time): 6.10.0
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 103600
info: [obs-websocket] [obs_module_load] Module loaded.
info: ---------------------------------
info: Loaded Modules:
info: text-freetype2.so
info: rtmp-services.so
info: obs-x264.so
info: obs-websocket.so
info: obs-webrtc.so
info: obs-vst.so
info: obs-transitions.so
info: obs-qsv11.so
info: obs-outputs.so
info: obs-libfdk.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: linux-alsa.so
info: image-source.so
info: frontend-tools.so
info: decklink-output-ui.so
info: decklink-captions.so
info: ---------------------------------
info: ---------------------------------
info: Available Encoders:
info: Video Encoders:
info: - ffmpeg_svt_av1 (SVT-AV1)
info: - ffmpeg_aom_av1 (AOM AV1)
info: - ffmpeg_vaapi_tex (FFmpeg VAAPI H.264)
info: - hevc_ffmpeg_vaapi_tex (FFmpeg VAAPI HEVC)
info: - obs_qsv11_v2 (QuickSync H.264)
info: - obs_qsv11_hevc (QuickSync HEVC)
info: - obs_x264 (x264)
info: Audio Encoders:
info: - ffmpeg_aac (FFmpeg AAC)
info: - ffmpeg_opus (FFmpeg Opus)
info: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
info: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
info: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
info: - ffmpeg_alac (FFmpeg ALAC (24-bit))
info: - ffmpeg_flac (FFmpeg FLAC (16-bit))
info: - libfdk_aac (libfdk AAC)
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.4.9) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.4.9) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo' (default)
info: [Loaded global audio device]: 'Mic/Aux'
info: PipeWire initialized
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: - source: 'Screen Capture (PipeWire)' (pipewire-screen-capture-source)
info: ------------------------------------------------
info: Device for 'Audio Output Capture' source is also used for audio monitoring:
Deduplication logic is being applied to all monitored sources.
info: [pipewire] Screencast session created
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
info: [pipewire] Asking for monitor and window
info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.4.9
info: [pipewire] Library version: 1.4.9
info: [pipewire] Header version: 1.4.9
info: [pipewire] Created stream 0x56232d952720
info: [pipewire] Stream 0x56232d952720 state: "connecting" (error: none)
info: [pipewire] Playing stream 0x56232d952720
info: [pipewire] Stream 0x56232d952720 state: "paused" (error: none)
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x0
info: [pipewire] Size: 2160x1440
info: [pipewire] Framerate: 0/1
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x100000000000008
info: [pipewire] Size: 2160x1440
info: [pipewire] Framerate: 0/1
info: [pipewire] Stream 0x56232d952720 state: "streaming" (error: none)
error: Cannot create EGLImage: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
info: [pipewire] Renegotiating stream
info: [pipewire] Stream 0x56232d952720 state: "paused" (error: none)
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x100000000000008
info: [pipewire] Size: 2160x1440
info: [pipewire] Framerate: 0/1
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x100000000000006
info: [pipewire] Size: 2160x1440
info: [pipewire] Framerate: 0/1
info: [pipewire] Stream 0x56232d952720 state: "streaming" (error: none)
error: Cannot create EGLImage: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
info: [pipewire] Renegotiating stream
info: [pipewire] Stream 0x56232d952720 state: "paused" (error: none)
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x100000000000006
info: [pipewire] Size: 2160x1440
info: [pipewire] Framerate: 0/1
info: [pipewire] Negotiated format:
info: [pipewire] Format: 8 (Spa:Enum:VideoFormat:BGRx)
info: [pipewire] Modifier: 0x100000000000002
info: [pipewire] Size: 2160x1440
info: [pipewire] Framerate: 0/1
info: [pipewire] Stream 0x56232d952720 state: "streaming" (error: none)
info: ---------------------------------
info: [x264 encoder: 'simple_video_recording'] preset: veryfast
info: [x264 encoder: 'simple_video_recording'] profile: high
info: [x264 encoder: 'simple_video_recording'] settings:
rate_control: CRF
bitrate: 0
buffer size: 0
crf: 23
fps_num: 60
fps_den: 1
width: 1920
height: 1080
keyint: 250
info: libfdk_aac encoder created
info: libfdk_aac bitrate: 192, channels: 2
info: ==== Recording Start ===============================================
info: [mp4 output: 'simple_file_output'] Writing Hybrid MP4/MOV file '/home/justin/2025-11-24 20-38-24.mp4'...
info: [mp4 muxer: 'simple_file_output'] Flushing final fragment...
info: [mp4 muxer: 'simple_file_output'] Number of fragments: 4
info: [mp4 muxer: 'simple_file_output'] Full moov size: 11 KiB
info: [mp4 muxer: 'simple_file_output'] Final mdat size: 1211 KiB
info: Output 'simple_file_output': stopping
info: Output 'simple_file_output': Total frames output: 646
info: Output 'simple_file_output': Total drawn frames: 678
info: [mp4 output: 'simple_file_output'] Waiting for file writer to finish...
info: [mp4 output: 'simple_file_output'] File output complete. Finalization took 1 ms.
info: ==== Recording Stop ================================================
info: libfdk_aac encoder destroyed
info: ==== Shutting down ==================================================
info: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: pulse-input: Got 2100 packets with 2520000 frames
info: pulse-input: Stopped recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
info: pulse-input: Got 2098 packets with 2517600 frames
info: [pipewire] Stream 0x56232d952720 state: "paused" (error: none)
info: [pipewire] Stream 0x56232d952720 state: "unconnected" (error: none)
'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:425 pw_thread_loop_wait()
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 7578.59 ms
info: ┣OBSApp::AppInit: 16.132 ms
info: ┃ ┗OBSApp::InitLocale: 0.658 ms
info: ┗OBSApp::OBSInit: 837.419 ms
info: ┣obs_startup: 9.585 ms
info: ┗OBSBasic::OBSInit: 808.648 ms
info: ┣OBSBasic::InitBasicConfig: 0.474 ms
info: ┣OBSBasic::ResetAudio: 0.212 ms
info: ┣OBSBasic::ResetVideo: 75.66 ms
info: ┃ ┗obs_init_graphics: 67.331 ms
info: ┃ ┗shader compilation: 24.497 ms
info: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
info: ┣OBSBasic::InitHotkeys: 0.03 ms
info: ┣obs_load_all_modules2: 670.769 ms
info: ┃ ┣obs_init_module(decklink-captions.so): 0 ms
info: ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms
info: ┃ ┣obs_init_module(decklink.so): 0.091 ms
info: ┃ ┣obs_init_module(frontend-tools.so): 63.332 ms
info: ┃ ┣obs_init_module(image-source.so): 0.005 ms
info: ┃ ┣obs_init_module(linux-alsa.so): 0.001 ms
info: ┃ ┣obs_init_module(linux-capture.so): 0 ms
info: ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info: ┃ ┣obs_init_module(linux-pipewire.so): 10.039 ms
info: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
info: ┃ ┣obs_init_module(linux-v4l2.so): 4.019 ms
info: ┃ ┣obs_init_module(obs-ffmpeg.so): 5.793 ms
info: ┃ ┣obs_init_module(obs-filters.so): 0.038 ms
info: ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info: ┃ ┣obs_init_module(obs-nvenc.so): 509.516 ms
info: ┃ ┃ ┗nvenc_check: 509.486 ms
info: ┃ ┣obs_init_module(obs-outputs.so): 0.003 ms
info: ┃ ┣obs_init_module(obs-qsv11.so): 33.837 ms
info: ┃ ┣obs_init_module(obs-transitions.so): 0.006 ms
info: ┃ ┣obs_init_module(obs-vst.so): 0.001 ms
info: ┃ ┣obs_init_module(obs-webrtc.so): 0.003 ms
info: ┃ ┣obs_init_module(obs-websocket.so): 3.214 ms
info: ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
info: ┃ ┣obs_init_module(rtmp-services.so): 0.194 ms
info: ┃ ┗obs_init_module(text-freetype2.so): 0.005 ms
info: ┣OBSBasic::InitService: 0.84 ms
info: ┣OBSBasic::ResetOutputs: 0.154 ms
info: ┣OBSBasic::CreateHotkeys: 0.024 ms
info: ┣OBSBasic::InitPrimitives: 0.072 ms
info: ┗OBSBasic::Load: 28.125 ms
info: obs_hotkey_thread(25 ms): min=0 ms, median=0.001 ms, max=0.048 ms, 99th percentile=0.003 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.017 ms, median=0.134 ms, max=2.382 ms, 99th percentile=1.013 ms
info: ┗receive_audio: min=0.002 ms, median=0.108 ms, max=0.447 ms, 99th percentile=0.388 ms, 0.212061 calls per parent call
info: ┣buffer_audio: min=0.001 ms, median=0.001 ms, max=0.02 ms, 99th percentile=0.006 ms
info: ┗do_encode: min=0.053 ms, median=0.105 ms, max=0.439 ms, 99th percentile=0.381 ms
info: ┣encode(simple_aac_recording0): min=0.047 ms, median=0.094 ms, max=0.361 ms, 99th percentile=0.325 ms
info: ┗send_packet: min=0.002 ms, median=0.008 ms, max=0.246 ms, 99th percentile=0.097 ms
info: obs_graphics_thread(16.6667 ms): min=0.012 ms, median=0.682 ms, max=21.604 ms, 99th percentile=2.364 ms, 99.9375% below 16.667 ms
info: ┣tick_sources: min=0 ms, median=0.014 ms, max=0.173 ms, 99th percentile=0.045 ms
info: ┣output_frame: min=0.009 ms, median=0.349 ms, max=3.332 ms, 99th percentile=1.685 ms
info: ┃ ┣gs_context(video->graphics): min=0.009 ms, median=0.285 ms, max=1.892 ms, 99th percentile=0.916 ms
info: ┃ ┃ ┣render_video: min=0.001 ms, median=0.109 ms, max=1.539 ms, 99th percentile=0.251 ms
info: ┃ ┃ ┃ ┣render_main_texture: min=0.001 ms, median=0.091 ms, max=1.038 ms, 99th percentile=0.211 ms
info: ┃ ┃ ┃ ┣render_convert_texture: min=0.015 ms, median=0.022 ms, max=0.835 ms, 99th percentile=0.072 ms, 0.212188 calls per parent call
info: ┃ ┃ ┃ ┗stage_output_texture: min=0.01 ms, median=0.015 ms, max=0.643 ms, 99th percentile=0.04 ms, 0.212188 calls per parent call
info: ┃ ┃ ┣gs_flush: min=0.006 ms, median=0.141 ms, max=1.095 ms, 99th percentile=0.471 ms
info: ┃ ┃ ┗download_frame: min=0 ms, median=0.06 ms, max=1.122 ms, 99th percentile=0.231 ms, 0.212188 calls per parent call
info: ┃ ┗output_video_data: min=0.497 ms, median=0.94 ms, max=2.875 ms, 99th percentile=1.766 ms, 0.211875 calls per parent call
info: ┗render_displays: min=0.001 ms, median=0.247 ms, max=15.107 ms, 99th percentile=1.027 ms
info: video_thread(video): min=1.103 ms, median=1.645 ms, max=13.22 ms, 99th percentile=3.834 ms
info: ┗receive_video: min=1.102 ms, median=1.644 ms, max=13.217 ms, 99th percentile=3.828 ms
info: ┗do_encode: min=1.102 ms, median=1.642 ms, max=13.216 ms, 99th percentile=3.827 ms
info: ┣encode(simple_video_recording): min=1.091 ms, median=1.612 ms, max=13.206 ms, 99th percentile=3.812 ms
info: ┗send_packet: min=0.002 ms, median=0.01 ms, max=1.929 ms, 99th percentile=0.175 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.019 ms, median=25.117 ms, max=25.996 ms, 99.5292% within ±2% of 25 ms (0% lower, 0.47081% higher)
info: obs_graphics_thread(16.6667 ms): min=11.633 ms, median=16.666 ms, max=21.611 ms, 97.9056% within ±2% of 16.667 ms (1.03157% lower, 1.06283% higher)
info: =================================================
info: Number of memory leaks: 0
[ble: elapsed 60.272s (CPU 48.8%)] obs
screen recording with gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4
the video file
https://github.com/user-attachments/assets/977fdbfb-a6f5-461a-8e2a-5707e1f2a1f7
the terminal output
~ ❯ gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4
gsr info: option '-w portal' was used without '-restore-portal-session yes'. The previous screencast session will be ignored
gsr info: gsr_capture_portal_setup_dbus: CreateSession
gsr info: gsr_capture_portal_setup_dbus: SelectSources
gsr info: gsr_capture_portal_setup_dbus: Start
gsr info: gsr_capture_portal_save_restore_token: saved restore token to cache (e56a94f1-b182-4452-a920-8f6ed15e2c2a)
gsr info: gsr_capture_portal_setup_dbus: OpenPipeWireRemote
gsr info: gsr_capture_portal_setup_dbus: desktop portal setup finished
gsr info: gsr_capture_portal_setup: setting up pipewire
gsr info: pipewire: server version: 1.4.9
gsr info: pipewire: library version: 1.4.9
gsr info: pipewire: header version: 1.4.9
gsr error: spa_video_format_get_modifiers: eglQueryDmaBufModifiersEXT failed with drm format 81, 808665688
gsr info: pipewire: stream 0x5649edd95140 previous state: "unconnected", new state: "connecting" (error: none)
gsr info: gsr_capture_portal_setup: pipewire setup finished
gsr info: gsr_capture_portal_start: waiting for pipewire negotiation
gsr info: pipewire: stream 0x5649edd95140 previous state: "connecting", new state: "paused" (error: none)
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x0
gsr info: pipewire: Size: 2160x1440
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000008
gsr info: pipewire: Size: 2160x1440
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: stream 0x5649edd95140 previous state: "paused", new state: "streaming" (error: none)
gsr error: gsr_pipewire_video_create_egl_image_with_fallback: failed to create egl image with modifiers, renegotiating with a different modifier
gsr info: pipewire: stream 0x5649edd95140 previous state: "streaming", new state: "paused" (error: none)
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000008
gsr info: pipewire: Size: 2160x1440
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000006
gsr info: pipewire: Size: 2160x1440
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: stream 0x5649edd95140 previous state: "paused", new state: "streaming" (error: none)
gsr error: gsr_pipewire_video_create_egl_image_with_fallback: failed to create egl image with modifiers, trying without modifiers
gsr info: gsr_capture_portal_start: pipewire negotiation finished
gsr info: using h264 encoder because a codec was not specified
[h264_vaapi @ 0x5649ede7fd00] ignoring invalid SAR: 0/0
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
update fps: 61, damage fps: 61
update fps: 61, damage fps: 61
update fps: 59, damage fps: 59
update fps: 61, damage fps: 61
update fps: 57, damage fps: 57
update fps: 60, damage fps: 60
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
^Cgsr info: pipewire: stream 0x5649edd95140 previous state: "streaming", new state: "paused" (error: none)
gsr info: pipewire: stream 0x5649edd95140 previous state: "paused", new state: "unconnected" (error: none)
@justin-omphithetse thank you, I see the issue now. I'll fix it in a moment. This issue happens specifically with some intel devices on some laptops
@justin-omphithetse I pushed the fix to aur. Since I cant test it on my machine, can you install gpu-screen-recorder from aur by running: yay -S aur/gpu-screen-recorder (it should be version r1216.059e3d). That will replace omarchy/gpu-screen-recorder (until the fix lands in omarchy). Then test recording again with: gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4 and see if that works. Even if it works can you still post the terminal output?
@dec05eba thank you for the hotfix. after install your new version, the video file looks normal now. hope the fix lands in omarchy soon
here is the terminal output:
~ ❯ gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4
gsr info: option '-w portal' was used without '-restore-portal-session yes'. The previous screencast session will be ignored
gsr warning: use of prime-run with -w portal option is currently not supported. Disabling prime-run
gsr info: gsr_capture_portal_setup_dbus: CreateSession
gsr info: gsr_capture_portal_setup_dbus: SelectSources
gsr info: gsr_capture_portal_setup_dbus: Start
gsr info: gsr_capture_portal_save_restore_token: saved restore token to cache (0b35adb5-dc99-42d4-9ce1-eeb5f73c7b5b)
gsr info: gsr_capture_portal_setup_dbus: OpenPipeWireRemote
gsr info: gsr_capture_portal_setup_dbus: desktop portal setup finished
gsr info: gsr_capture_portal_setup: setting up pipewire
gsr info: pipewire: server version: 1.4.9
gsr info: pipewire: library version: 1.4.9
gsr info: pipewire: header version: 1.4.9
gsr error: spa_video_format_get_modifiers: eglQueryDmaBufModifiersEXT failed with drm format 81, 808665688
gsr info: pipewire: stream 0x555bc2f62410 previous state: "unconnected", new state: "connecting" (error: none)
gsr info: gsr_capture_portal_setup: pipewire setup finished
gsr info: gsr_capture_portal_start: waiting for pipewire negotiation
gsr info: pipewire: stream 0x555bc2f62410 previous state: "connecting", new state: "paused" (error: none)
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x0
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000008
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: stream 0x555bc2f62410 previous state: "paused", new state: "streaming" (error: none)
gsr error: gsr_pipewire_video_create_egl_image_with_fallback: failed to create egl image with modifiers, renegotiating with a different modifier
gsr info: pipewire: stream 0x555bc2f62410 previous state: "streaming", new state: "paused" (error: none)
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000008
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000006
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000006
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000006
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: stream 0x555bc2f62410 previous state: "paused", new state: "streaming" (error: none)
gsr error: gsr_pipewire_video_create_egl_image_with_fallback: failed to create egl image with modifiers, renegotiating with a different modifier
gsr info: pipewire: stream 0x555bc2f62410 previous state: "streaming", new state: "paused" (error: none)
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000006
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: negotiated format:
gsr info: pipewire: Format: 8 (Spa:Enum:VideoFormat:BGRx)
gsr info: pipewire: Modifier: 0x100000000000002
gsr info: pipewire: Size: 770x147
gsr info: pipewire: Framerate: 0/1
gsr info: pipewire: stream 0x555bc2f62410 previous state: "paused", new state: "streaming" (error: none)
gsr info: gsr_capture_portal_start: pipewire negotiation finished
gsr info: using h264 encoder because a codec was not specified
[h264_vaapi @ 0x555bc304bb80] ignoring invalid SAR: 0/0
update fps: 61, damage fps: 61
update fps: 61, damage fps: 61
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 61, damage fps: 61
update fps: 60, damage fps: 60
update fps: 60, damage fps: 60
^Cgsr info: pipewire: stream 0x555bc2f62410 previous state: "streaming", new state: "paused" (error: none)
gsr info: pipewire: stream 0x555bc2f62410 previous state: "paused", new state: "unconnected" (error: none)
@justin-omphithetse I pushed the fix to aur. Since I cant test it on my machine, can you install
gpu-screen-recorderfrom aur by running:yay -S aur/gpu-screen-recorder(it should be version r1216.059e3d). That will replace omarchy/gpu-screen-recorder (until the fix lands in omarchy). Then test recording again with:gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4and see if that works. Even if it works can you still post the terminal output?
thanks it works
i just updated all packages and it seemed to fix itself
Yep, omarchy has version r1216.059e3d with the fix now. This issue can be closed now as resolved.
@justin-omphithetse I pushed the fix to aur. Since I cant test it on my machine, can you install
gpu-screen-recorderfrom aur by running:yay -S aur/gpu-screen-recorder(it should be version r1216.059e3d). That will replace omarchy/gpu-screen-recorder (until the fix lands in omarchy). Then test recording again with:gpu-screen-recorder -w portal -fallback-cpu-encoding yes -o video.mp4and see if that works. Even if it works can you still post the terminal output?
Thank you, it worked!