Open kayprish opened 9 months ago
The no usable encoding entrypoint is a red herring, it's just a warning that it doesn't support the low_power flag (probably should just not attempt that at all on AMD, as it's an Intel thing).
The bug is that it freezes up--can you send me:
wl-screenrec -vvv
strace wl-screenrec
wf-recorder -c h264_vaapi -d /dev/dri/renderD128
worksI should probably clarify that when I say it freezes, I mean that I can't end the process. It does keep producing lines of output that say 0 fps
or 1 fps
, but the biggest problem is that it doesn't produce any video.
The output for wl-screenrec -vvv
is:
Using output eDP-1
[file @ 0x631e00ebd2c0] Setting default whitelist 'file,crypto,data'
Opening libva device from DRM device /dev/dri/renderD128
[AVHWDeviceContext @ 0x631e00ec5dc0] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x631e00ec5dc0] libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x631e00ec5dc0] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x631e00ec5dc0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x631e00ec5dc0] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x3231564e -> nv12.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x30313050 -> p010le.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x36313050 -> unknown.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x30323449 -> yuv420p.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x32315659 -> yuv420p.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x56595559 -> unknown.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x32595559 -> yuyv422.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x59565955 -> uyvy422.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x30303859 -> gray.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x50343434 -> yuv444p.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x50424752 -> unknown.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x41524742 -> bgra.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x41424752 -> rgba.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x42475241 -> argb.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x58524742 -> bgr0.
[AVHWDeviceContext @ 0x631e00ec5dc0] Format 0x58424752 -> rgb0.
[AVHWDeviceContext @ 0x631e00ec5dc0] VAAPI driver: Mesa Gallium driver 24.0.1-arch1.1 for AMD Radeon Graphics (radeonsi, renoir, LLVM 16.0.6, DRM 3.57, 6.7.5-artix1-1).
[AVHWDeviceContext @ 0x631e00ec5dc0] Driver not found in known nonstandard list, using standard behaviour.
[AVHWFramesContext @ 0x631e010c5b40] Created surface 0x1.
[AVHWFramesContext @ 0x631e010c5b40] Direct mapping possible.
[AVHWFramesContext @ 0x631e010c5b40] Created surface 0x2.
[AVHWFramesContext @ 0x631e010c5b40] Created surface 0x3.
[AVHWFramesContext @ 0x631e010c5b40] Created surface 0x4.
[AVHWFramesContext @ 0x631e010c5b40] Created surface 0x5.
detected 12 logical cores
[in @ 0x631e01195e40] Setting 'video_size' to value '2840x2160'
[in @ 0x631e01195e40] Setting 'pix_fmt' to value '44'
[in @ 0x631e01195e40] Setting 'time_base' to value '1/1000000000'
[in @ 0x631e01195e40] w:2840 h:2160 pixfmt:vaapi tb:1/1000000000 fr:0/1 sar:0/1
[AVFilterGraph @ 0x631e011936c0] Setting 'out_w' to value '1920'
[AVFilterGraph @ 0x631e011936c0] Setting 'out_h' to value '1080'
[AVFilterGraph @ 0x631e011936c0] Setting 'x' to value '0'
[AVFilterGraph @ 0x631e011936c0] Setting 'y' to value '0'
[AVFilterGraph @ 0x631e011936c0] Setting 'exact' to value '1'
[AVFilterGraph @ 0x631e011936c0] Setting 'format' to value 'nv12'
[AVFilterGraph @ 0x631e011936c0] Setting 'w' to value '1920'
[AVFilterGraph @ 0x631e011936c0] Setting 'h' to value '1080'
[AVFilterGraph @ 0x631e011936c0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[Parsed_crop_0 @ 0x631e010f1040] w:1920 h:1080 sar:0/1 -> w:1920 h:1080 sar:0/1
[AVHWFramesContext @ 0x631e0118e400] Created surface 0x7.
[AVHWFramesContext @ 0x631e0118e400] Direct mapping possible.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0x8.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0x9.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0xa.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0xb.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0xc.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0xd.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0xe.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0xf.
[AVHWFramesContext @ 0x631e0118e400] Created surface 0x10.
[AVHWFramesContext @ 0x631e011603c0] Created surface 0x12.
[AVHWFramesContext @ 0x631e011603c0] Direct mapping possible.
[AVHWFramesContext @ 0x631e011603c0] Created surface 0x13.
[AVHWFramesContext @ 0x631e011603c0] Created surface 0x14.
[AVHWFramesContext @ 0x631e011603c0] Created surface 0x15.
[AVHWFramesContext @ 0x631e011603c0] Created surface 0x16.
+----------+
| in |default--[1920x1080 0:1 vaapi]--Parsed_crop_0:default
| (buffer) |
+----------+
+--------------+
Parsed_scale_vaapi_1:default--[1920x1080 0:1 vaapi]--default| out |
| (buffersink) |
+--------------+
+---------------+
in:default--[1920x1080 0:1 vaapi]--default| Parsed_crop_0 |default--[1920x1080 0:1 vaapi]--Parsed_scale_vaapi_1:default
| (crop) |
+---------------+
+----------------------+
Parsed_crop_0:default--[1920x1080 0:1 vaapi]--default| Parsed_scale_vaapi_1 |default--[1920x1080 0:1 vaapi]--out:default
| (scale_vaapi) |
+----------------------+
[h264_vaapi @ 0x631e01112cc0] Input surface format is nv12.
[h264_vaapi @ 0x631e01112cc0] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x631e01112cc0] No usable encoding entrypoint found for profile VAProfileH264High (7).
failed to open encoder in low_power mode (Function not implemented), trying non low_power mode. if you have an intel iGPU, set enable_guc=2 in the i915 module to use the fixed function encoder. pass --low-power=off to suppress this warning
[h264_vaapi @ 0x631e01112cc0] Input surface format is nv12.
[h264_vaapi @ 0x631e01112cc0] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x631e01112cc0] Using VAAPI entrypoint VAEntrypointEncSlice (6).
[h264_vaapi @ 0x631e01112cc0] Using VAAPI render target format YUV420 (0x1).
[h264_vaapi @ 0x631e01112cc0] Driver supports RC modes CQP, CBR, VBR.
[h264_vaapi @ 0x631e01112cc0] Driver does not support AVBR RC mode.
[h264_vaapi @ 0x631e01112cc0] RC mode: VBR.
[h264_vaapi @ 0x631e01112cc0] RC target: 50% of 80000000 bps over 500 ms.
[h264_vaapi @ 0x631e01112cc0] RC buffer: 40000000 bits, initial fullness 30000000 bits.
[h264_vaapi @ 0x631e01112cc0] RC framerate: 7501/125 (60.01 fps).
[h264_vaapi @ 0x631e01112cc0] Driver does not report any additional prediction constraints.
[h264_vaapi @ 0x631e01112cc0] Using intra and P-frames (supported references: 1 / 0).
[h264_vaapi @ 0x631e01112cc0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[h264_vaapi @ 0x631e01112cc0] Using nv12 as format of reconstructed frames.
[AVHWFramesContext @ 0x631e01161b00] Created surface 0x18.
[AVHWFramesContext @ 0x631e01161b00] Direct mapping possible.
Output #0, mp4, to 'screenrecord.mp4':
Metadata:
encoder : Lavf60.16.100
Stream #0:0, 0, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi, 1920x1080 (0x0), 0/1, q=2-31, 40000 kb/s, 90k tbn
[Parsed_crop_0 @ 0x631e010f1040] n:0 t:0.000000 x:0 y:0 x+w:1920 y+h:1080
[Parsed_scale_vaapi_1 @ 0x631e010f13c0] Filter input: vaapi, 1920x1080 (0).
[Parsed_scale_vaapi_1 @ 0x631e010f13c0] Mapped colour properties unknown gbr/unknown/unknown unspecified to VA standard 0 chroma siting 0 range 0.
[Parsed_scale_vaapi_1 @ 0x631e010f13c0] Mapped colour properties unknown unknown/unknown/unknown unspecified to VA standard 0 chroma siting 0 range 0.
[Parsed_scale_vaapi_1 @ 0x631e010f13c0] Filter frame from surface 0x5 to 0x10.
[Parsed_scale_vaapi_1 @ 0x631e010f13c0] Pipeline parameter buffer is 0x1a.
[Parsed_scale_vaapi_1 @ 0x631e010f13c0] Filter output: vaapi, 1920x1080 (0), mode: HQ.
[h264_vaapi @ 0x631e01112cc0] Input frame: 1920x1080 (0).
[h264_vaapi @ 0x631e01112cc0] Pick forced IDR-picture to encode next.
[h264_vaapi @ 0x631e01112cc0] Issuing encode for pic 0/0 as type IDR.
[h264_vaapi @ 0x631e01112cc0] No reference pictures.
[h264_vaapi @ 0x631e01112cc0] Input surface is 0x10.
[h264_vaapi @ 0x631e01112cc0] Recon surface is 0x18.
[h264_vaapi @ 0x631e01112cc0] Allocated output buffer 0x1a
[h264_vaapi @ 0x631e01112cc0] Output buffer is 0x1a.
[h264_vaapi @ 0x631e01112cc0] Param buffer (22) is 0x1b.
[h264_vaapi @ 0x631e01112cc0] Param buffer (27) is 0x1c.
[h264_vaapi @ 0x631e01112cc0] Param buffer (27) is 0x1d.
[h264_vaapi @ 0x631e01112cc0] Param buffer (27) is 0x1e.
[h264_vaapi @ 0x631e01112cc0] Param buffer (23) is 0x1f.
[h264_vaapi @ 0x631e01112cc0] Packed header buffer (1) is 0x20/0x21 (384 bits).
[h264_vaapi @ 0x631e01112cc0] Slice 0: 0-67 (68 rows), 0-8159 (8160 blocks).
[h264_vaapi @ 0x631e01112cc0] Param buffer (24) is 0x22.
1 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
0 fps
The output of strace is very long so I've put it in an attachment.
The wf-recorder
command works.
Also probably important thing to clarify, I actually didn't use the low_power flag, when I turned it off explicitly just now, I didn't get that error message, but the bug persists and it doesn't produce video.
It seems I can't upload the attachment in the first comment since it's too long, so I'll do it here. strace.txt
I have the same problem too.
The following output is from wl-screenrec -g "$(slurp)"
:
Thank you in advance!
I've just pushed a commit adding a bunch more debug logging around this--I have some ideas on what could be gong on. Could someone post output with -vvv
?
Here's the output (hopefully this is the right commit):
zwlr-output-manager event: ObjectId(zwlr_output_manager_v1@7, 7) Head { head: ZwlrOutputHeadV1 { id: ObjectId(zwlr_output_head_v1@4278190080, 11), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Name { name: "eDP-1" }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Description { description: "Chimei Innolux Corporation 0x14D4 (eDP-1)" }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) PhysicalSize { width: 310, height: 170 }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Make { make: "Chimei Innolux Corporation" }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Model { model: "0x14D4" }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190081, 12), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190082, 13), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190083, 14), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190084, 15), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190085, 16), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190086, 17), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190087, 18), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190088, 19), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190089, 20), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Enabled { enabled: 1 }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) CurrentMode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190081, 12), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Position { x: 0, y: 0 }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Transform { transform: Value(Normal) }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Scale { scale: 1.0 }
zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) AdaptiveSync { state: Value(Disabled) }
zwlr-output-manager event: ObjectId(zwlr_output_manager_v1@7, 7) Done { serial: 1 }
output probe not yet complete, still waiting for (ObjectId(wl_output@9, 9), PartialOutputInfo { name: None, loc: None, logical_size: None, size_pixels: None, refresh: None, output: WlOutput { id: ObjectId(wl_output@9, 9), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } }, has_recvd_done: false })
zwp-drm-lease-device event: ObjectId(wp_drm_lease_device_v1@8, 8) DrmFd { fd: OwnedFd { fd: 4 } }
zwp-drm-lease-device event: ObjectId(wp_drm_lease_device_v1@8, 8) Done
wl-output event: ObjectId(wl_output@9, 9) Geometry { x: 0, y: 0, physical_width: 310, physical_height: 170, subpixel: Value(Unknown), make: "Chimei Innolux Corporation", model: "0x14D4", transform: Value(Normal) }
wl-output event: ObjectId(wl_output@9, 9) Mode { flags: Value(Mode(Current)), width: 1920, height: 1080, refresh: 60008 }
wl-output event: ObjectId(wl_output@9, 9) Scale { factor: 1 }
wl-output event: ObjectId(wl_output@9, 9) Name { name: "eDP-1" }
wl-output event: ObjectId(wl_output@9, 9) Description { description: "Chimei Innolux Corporation 0x14D4 (eDP-1)" }
wl-output event: ObjectId(wl_output@9, 9) Done
zxdg-output event: ObjectId(zxdg_output_v1@10, 10) Name { name: "eDP-1" }
zxdg-output event: ObjectId(zxdg_output_v1@10, 10) Description { description: "Chimei Innolux Corporation 0x14D4 (eDP-1)" }
zxdg-output event: ObjectId(zxdg_output_v1@10, 10) LogicalPosition { x: 0, y: 0 }
zxdg-output event: ObjectId(zxdg_output_v1@10, 10) LogicalSize { width: 1920, height: 1080 }
wl-output event: ObjectId(wl_output@9, 9) Done
output probe complete: {ObjectId(wl_output@9, 9): Some(OutputInfo { name: "eDP-1", loc: (0, 0), logical_size: (1920, 1080), size_pixels: (1920, 1080), refresh: Rational(60008/1000), fractional_scale: 1.0, output: WlOutput { id: ObjectId(wl_output@9, 9), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } })}
Using output eDP-1
zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Buffer { format: Value(Xbgr8888), width: 1920, height: 1080, stride: 7680 }
zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) LinuxDmabuf { format: 875713112, width: 1920, height: 1080 }
[file @ 0x5b95247512c0] Setting default whitelist 'file,crypto,data'
Opening libva device from DRM device /dev/dri/renderD128
[AVHWDeviceContext @ 0x5b9524759dc0] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x5b9524759dc0] libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x5b9524759dc0] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x5b9524759dc0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x5b9524759dc0] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x3231564e -> nv12.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x30313050 -> p010le.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x36313050 -> unknown.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x30323449 -> yuv420p.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x32315659 -> yuv420p.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x56595559 -> unknown.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x32595559 -> yuyv422.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x59565955 -> uyvy422.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x30303859 -> gray.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x50343434 -> yuv444p.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x50424752 -> unknown.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x41524742 -> bgra.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x41424752 -> rgba.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x42475241 -> argb.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x58524742 -> bgr0.
[AVHWDeviceContext @ 0x5b9524759dc0] Format 0x58424752 -> rgb0.
[AVHWDeviceContext @ 0x5b9524759dc0] VAAPI driver: Mesa Gallium driver 24.0.1-arch1.1 for AMD Radeon Graphics (radeonsi, renoir, LLVM 16.0.6, DRM 3.57, 6.7.5-artix1-1).
[AVHWDeviceContext @ 0x5b9524759dc0] Driver not found in known nonstandard list, using standard behaviour.
[AVHWFramesContext @ 0x5b9524959f80] Created surface 0x1.
[AVHWFramesContext @ 0x5b9524959f80] Direct mapping possible.
[AVHWFramesContext @ 0x5b9524959f80] Created surface 0x2.
[AVHWFramesContext @ 0x5b9524959f80] Created surface 0x3.
[AVHWFramesContext @ 0x5b9524959f80] Created surface 0x4.
[AVHWFramesContext @ 0x5b9524959f80] Created surface 0x5.
detected 12 logical cores
[in @ 0x5b9524a4e680] Setting 'video_size' to value '2840x2160'
[in @ 0x5b9524a4e680] Setting 'pix_fmt' to value '44'
[in @ 0x5b9524a4e680] Setting 'time_base' to value '1/1000000000'
[in @ 0x5b9524a4e680] w:2840 h:2160 pixfmt:vaapi tb:1/1000000000 fr:0/1 sar:0/1
[AVFilterGraph @ 0x5b9524a04580] Setting 'out_w' to value '1920'
[AVFilterGraph @ 0x5b9524a04580] Setting 'out_h' to value '1080'
[AVFilterGraph @ 0x5b9524a04580] Setting 'x' to value '0'
[AVFilterGraph @ 0x5b9524a04580] Setting 'y' to value '0'
[AVFilterGraph @ 0x5b9524a04580] Setting 'exact' to value '1'
[AVFilterGraph @ 0x5b9524a04580] Setting 'format' to value 'nv12'
[AVFilterGraph @ 0x5b9524a04580] Setting 'w' to value '1920'
[AVFilterGraph @ 0x5b9524a04580] Setting 'h' to value '1080'
[AVFilterGraph @ 0x5b9524a04580] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[Parsed_crop_0 @ 0x5b9524998fc0] w:1920 h:1080 sar:0/1 -> w:1920 h:1080 sar:0/1
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0x7.
[AVHWFramesContext @ 0x5b9524961a40] Direct mapping possible.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0x8.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0x9.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0xa.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0xb.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0xc.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0xd.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0xe.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0xf.
[AVHWFramesContext @ 0x5b9524961a40] Created surface 0x10.
[AVHWFramesContext @ 0x5b9524938f40] Created surface 0x12.
[AVHWFramesContext @ 0x5b9524938f40] Direct mapping possible.
[AVHWFramesContext @ 0x5b9524938f40] Created surface 0x13.
[AVHWFramesContext @ 0x5b9524938f40] Created surface 0x14.
[AVHWFramesContext @ 0x5b9524938f40] Created surface 0x15.
[AVHWFramesContext @ 0x5b9524938f40] Created surface 0x16.
+----------+
| in |default--[1920x1080 0:1 vaapi]--Parsed_crop_0:default
| (buffer) |
+----------+
+--------------+
Parsed_scale_vaapi_1:default--[1920x1080 0:1 vaapi]--default| out |
| (buffersink) |
+--------------+
+---------------+
in:default--[1920x1080 0:1 vaapi]--default| Parsed_crop_0 |default--[1920x1080 0:1 vaapi]--Parsed_scale_vaapi_1:default
| (crop) |
+---------------+
+----------------------+
Parsed_crop_0:default--[1920x1080 0:1 vaapi]--default| Parsed_scale_vaapi_1 |default--[1920x1080 0:1 vaapi]--out:default
| (scale_vaapi) |
+----------------------+
[h264_vaapi @ 0x5b9524a0df00] Input surface format is nv12.
[h264_vaapi @ 0x5b9524a0df00] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x5b9524a0df00] No usable encoding entrypoint found for profile VAProfileH264High (7).
failed to open encoder in low_power mode (Function not implemented), trying non low_power mode. if you have an intel iGPU, set enable_guc=2 in the i915 module to use the fixed function encoder. pass --low-power=off to suppress this warning
[h264_vaapi @ 0x5b9524a0df00] Input surface format is nv12.
[h264_vaapi @ 0x5b9524a0df00] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x5b9524a0df00] Using VAAPI entrypoint VAEntrypointEncSlice (6).
[h264_vaapi @ 0x5b9524a0df00] Using VAAPI render target format YUV420 (0x1).
[h264_vaapi @ 0x5b9524a0df00] Driver supports RC modes CQP, CBR, VBR.
[h264_vaapi @ 0x5b9524a0df00] Driver does not support AVBR RC mode.
[h264_vaapi @ 0x5b9524a0df00] RC mode: VBR.
[h264_vaapi @ 0x5b9524a0df00] RC target: 50% of 80000000 bps over 500 ms.
[h264_vaapi @ 0x5b9524a0df00] RC buffer: 40000000 bits, initial fullness 30000000 bits.
[h264_vaapi @ 0x5b9524a0df00] RC framerate: 7501/125 (60.01 fps).
[h264_vaapi @ 0x5b9524a0df00] Driver does not report any additional prediction constraints.
[h264_vaapi @ 0x5b9524a0df00] Using intra and P-frames (supported references: 1 / 0).
[h264_vaapi @ 0x5b9524a0df00] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[h264_vaapi @ 0x5b9524a0df00] Using nv12 as format of reconstructed frames.
[AVHWFramesContext @ 0x5b9524a0cc80] Created surface 0x18.
[AVHWFramesContext @ 0x5b9524a0cc80] Direct mapping possible.
Output #0, mp4, to 'screenrecord.mp4':
Metadata:
encoder : Lavf60.16.100
Stream #0:0, 0, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi, 1920x1080 (0x0), 0/1, q=2-31, 40000 kb/s, 90k tbn
zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) BufferDone
zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Flags { flags: Value(Flags(0x0)) }
zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Damage { x: 0, y: 0, width: 1936, height: 1096 }
zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Ready { tv_sec_hi: 0, tv_sec_lo: 46302, tv_nsec: 597784839 }
[Parsed_crop_0 @ 0x5b9524998fc0] n:0 t:0.000000 x:0 y:0 x+w:1920 y+h:1080
[Parsed_scale_vaapi_1 @ 0x5b95249992c0] Filter input: vaapi, 1920x1080 (0).
[Parsed_scale_vaapi_1 @ 0x5b95249992c0] Mapped colour properties unknown gbr/unknown/unknown unspecified to VA standard 0 chroma siting 0 range 0.
[Parsed_scale_vaapi_1 @ 0x5b95249992c0] Mapped colour properties unknown unknown/unknown/unknown unspecified to VA standard 0 chroma siting 0 range 0.
[Parsed_scale_vaapi_1 @ 0x5b95249992c0] Filter frame from surface 0x5 to 0x10.
[Parsed_scale_vaapi_1 @ 0x5b95249992c0] Pipeline parameter buffer is 0x1a.
[Parsed_scale_vaapi_1 @ 0x5b95249992c0] Filter output: vaapi, 1920x1080 (0), mode: HQ.
[h264_vaapi @ 0x5b9524a0df00] Input frame: 1920x1080 (0).
[h264_vaapi @ 0x5b9524a0df00] Pick forced IDR-picture to encode next.
[h264_vaapi @ 0x5b9524a0df00] Issuing encode for pic 0/0 as type IDR.
[h264_vaapi @ 0x5b9524a0df00] No reference pictures.
[h264_vaapi @ 0x5b9524a0df00] Input surface is 0x10.
[h264_vaapi @ 0x5b9524a0df00] Recon surface is 0x18.
[h264_vaapi @ 0x5b9524a0df00] Allocated output buffer 0x1a
[h264_vaapi @ 0x5b9524a0df00] Output buffer is 0x1a.
[h264_vaapi @ 0x5b9524a0df00] Param buffer (22) is 0x1b.
[h264_vaapi @ 0x5b9524a0df00] Param buffer (27) is 0x1c.
[h264_vaapi @ 0x5b9524a0df00] Param buffer (27) is 0x1d.
[h264_vaapi @ 0x5b9524a0df00] Param buffer (27) is 0x1e.
[h264_vaapi @ 0x5b9524a0df00] Param buffer (23) is 0x1f.
[h264_vaapi @ 0x5b9524a0df00] Packed header buffer (1) is 0x20/0x21 (384 bits).
[h264_vaapi @ 0x5b9524a0df00] Slice 0: 0-67 (68 rows), 0-8159 (8160 blocks).
[h264_vaapi @ 0x5b9524a0df00] Param buffer (24) is 0x22.
1 fps
0 fps
0 fps
Wasn't enough, just pushed even more logging...Also if it would be possible to get a backtrace for where the main thread is during execution... (depending on your ptrace_scope sysctl you may need to run with sudo):
gdb a $(pidof wl-screenrec) -ex bt
(needs to be a debug build, cargo run
is good
Here's the -vvv with the new debug build:
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_display@1.get_registry (wl_registry@2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_display@1.sync (wl_callback@3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (1, Some("wl_shm"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (2, Some("wl_drm"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (3, Some("zwp_linux_dmabuf_v1"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (4, Some("wl_compositor"), 6)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (5, Some("wl_subcompositor"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (6, Some("wl_data_device_manager"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (7, Some("zwlr_export_dmabuf_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (8, Some("zwlr_data_control_manager_v1"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (9, Some("zwp_primary_selection_device_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (10, Some("wp_viewporter"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (11, Some("zwlr_gamma_control_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (12, Some("zwlr_output_power_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (13, Some("xdg_wm_base"), 6)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (14, Some("wl_seat"), 9)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (15, Some("wp_presentation"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (16, Some("ext_idle_notifier_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (17, Some("zwlr_layer_shell_v1"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (18, Some("org_kde_kwin_server_decoration_manager"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (19, Some("zxdg_decoration_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (20, Some("zwlr_output_manager_v1"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (21, Some("zwp_keyboard_shortcuts_inhibit_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (22, Some("zwp_pointer_constraints_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (23, Some("zwp_relative_pointer_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (24, Some("zwp_virtual_keyboard_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (25, Some("zwlr_virtual_pointer_manager_v1"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (26, Some("zwlr_foreign_toplevel_manager_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (27, Some("wp_drm_lease_device_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (28, Some("zwp_tablet_manager_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (29, Some("zwp_idle_inhibit_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (30, Some("zxdg_exporter_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (31, Some("zxdg_importer_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (32, Some("zxdg_exporter_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (33, Some("zxdg_importer_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (34, Some("zwp_pointer_gestures_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (35, Some("zwp_text_input_manager_v3"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (36, Some("zwp_input_method_manager_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (37, Some("xdg_activation_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (38, Some("ext_session_lock_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (39, Some("wp_cursor_shape_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (40, Some("wp_tearing_control_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (41, Some("wp_single_pixel_buffer_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (42, Some("xwayland_shell_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (43, Some("hyprland_toplevel_export_manager_v1"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (44, Some("wp_fractional_scale_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (45, Some("zwp_text_input_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (46, Some("hyprland_global_shortcuts_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (47, Some("zwlr_screencopy_manager_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (48, Some("zxdg_output_manager_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@2.1 (49, Some("wl_output"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_callback@3.1 (72059)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_registry@2.bind (47, Some("zwlr_screencopy_manager_v1"), 3, zwlr_screencopy_manager_v1@3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_registry@2.bind (3, Some("zwp_linux_dmabuf_v1"), 4, zwp_linux_dmabuf_v1@4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_display@1.get_registry (wl_registry@5)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_registry@2.bind (48, Some("zxdg_output_manager_v1"), 3, zxdg_output_manager_v1@6)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_registry@2.bind (20, Some("zwlr_output_manager_v1"), 4, zwlr_output_manager_v1@7)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_registry@2.bind (27, Some("wp_drm_lease_device_v1"), 1, wp_drm_lease_device_v1@8)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_registry@5.bind (49, Some("wl_output"), 4, wl_output@9)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zxdg_output_manager_v1@6.get_xdg_output (zxdg_output_v1@10, wl_output@9)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (1, Some("wl_shm"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (2, Some("wl_drm"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (3, Some("zwp_linux_dmabuf_v1"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (4, Some("wl_compositor"), 6)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (5, Some("wl_subcompositor"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (6, Some("wl_data_device_manager"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (7, Some("zwlr_export_dmabuf_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (8, Some("zwlr_data_control_manager_v1"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (9, Some("zwp_primary_selection_device_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (10, Some("wp_viewporter"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (11, Some("zwlr_gamma_control_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (12, Some("zwlr_output_power_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (13, Some("xdg_wm_base"), 6)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (14, Some("wl_seat"), 9)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (15, Some("wp_presentation"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (16, Some("ext_idle_notifier_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (17, Some("zwlr_layer_shell_v1"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (18, Some("org_kde_kwin_server_decoration_manager"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (19, Some("zxdg_decoration_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (20, Some("zwlr_output_manager_v1"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (21, Some("zwp_keyboard_shortcuts_inhibit_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (22, Some("zwp_pointer_constraints_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (23, Some("zwp_relative_pointer_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (24, Some("zwp_virtual_keyboard_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (25, Some("zwlr_virtual_pointer_manager_v1"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (26, Some("zwlr_foreign_toplevel_manager_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (27, Some("wp_drm_lease_device_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (28, Some("zwp_tablet_manager_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (29, Some("zwp_idle_inhibit_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (30, Some("zxdg_exporter_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (31, Some("zxdg_importer_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (32, Some("zxdg_exporter_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (33, Some("zxdg_importer_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (34, Some("zwp_pointer_gestures_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (35, Some("zwp_text_input_manager_v3"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (36, Some("zwp_input_method_manager_v2"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (37, Some("xdg_activation_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (38, Some("ext_session_lock_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (39, Some("wp_cursor_shape_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (40, Some("wp_tearing_control_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (41, Some("wp_single_pixel_buffer_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (42, Some("xwayland_shell_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (43, Some("hyprland_toplevel_export_manager_v1"), 2)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (44, Some("wp_fractional_scale_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (45, Some("zwp_text_input_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (46, Some("hyprland_global_shortcuts_manager_v1"), 1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (47, Some("zwlr_screencopy_manager_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (48, Some("zxdg_output_manager_v1"), 3)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_registry@5.1 (49, Some("wl_output"), 4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_manager_v1@7.4 (zwlr_output_head_v1@4278190080)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (Some("eDP-1"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (Some("Chimei Innolux Corporation 0x14D4 (eDP-1)"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (310, 170)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (Some("Chimei Innolux Corporation"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (Some("0x14D4"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190081)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190081.4 (1920, 1080)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190081.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190081.4 ()
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190082)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190082.4 (1680, 1050)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190082.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190083)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190083.4 (1280, 1024)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190083.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190084)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190084.4 (1440, 900)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190084.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190085)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190085.4 (1280, 800)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190085.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190086)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190086.4 (1280, 720)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190086.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190087)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190087.4 (1024, 768)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190087.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190088)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190088.4 (800, 600)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190088.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190089)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190089.4 (640, 480)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_mode_v1@4278190089.4 (60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (zwlr_output_mode_v1@4278190081)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (0, 0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (256)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_head_v1@4278190080.4 (0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_output_manager_v1@7.4 (1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wp_drm_lease_device_v1@8.1 (4)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wp_drm_lease_device_v1@8.1 ()
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 (0, 0, 310, 170, 0, Some("Chimei Innolux Corporation"), Some("0x14D4"), 0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 (1, 1920, 1080, 60008)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 (1)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 (Some("eDP-1"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 (Some("Chimei Innolux Corporation 0x14D4 (eDP-1)"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 ()
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zxdg_output_v1@10.3 (Some("eDP-1"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zxdg_output_v1@10.3 (Some("Chimei Innolux Corporation 0x14D4 (eDP-1)"))
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zxdg_output_v1@10.3 (0, 0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zxdg_output_v1@10.3 (1920, 1080)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_output@9.4 ()
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-manager event: ObjectId(zwlr_output_manager_v1@7, 7) Head { head: ZwlrOutputHeadV1 { id: ObjectId(zwlr_output_head_v1@4278190080, 11), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Name { name: "eDP-1" }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Description { description: "Chimei Innolux Corporation 0x14D4 (eDP-1)" }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) PhysicalSize { width: 310, height: 170 }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Make { make: "Chimei Innolux Corporation" }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Model { model: "0x14D4" }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190081, 12), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190082, 13), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190083, 14), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190084, 15), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190085, 16), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190086, 17), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190087, 18), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190088, 19), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Mode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190089, 20), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Enabled { enabled: 1 }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) CurrentMode { mode: ZwlrOutputModeV1 { id: ObjectId(zwlr_output_mode_v1@4278190081, 12), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Position { x: 0, y: 0 }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Transform { transform: Value(Normal) }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) Scale { scale: 1.0 }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-head event: ObjectId(zwlr_output_head_v1@4278190080, 11) AdaptiveSync { state: Value(Disabled) }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-output-manager event: ObjectId(zwlr_output_manager_v1@7, 7) Done { serial: 1 }
output probe not yet complete, still waiting for (ObjectId(wl_output@9, 9), PartialOutputInfo { name: None, loc: None, logical_size: None, size_pixels: None, refresh: None, output: WlOutput { id: ObjectId(wl_output@9, 9), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } }, has_recvd_done: false })
16:21:03 [DEBUG] (1) wl_screenrec: zwp-drm-lease-device event: ObjectId(wp_drm_lease_device_v1@8, 8) DrmFd { fd: OwnedFd { fd: 4 } }
16:21:03 [DEBUG] (1) wl_screenrec: zwp-drm-lease-device event: ObjectId(wp_drm_lease_device_v1@8, 8) Done
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Geometry { x: 0, y: 0, physical_width: 310, physical_height: 170, subpixel: Value(Unknown), make: "Chimei Innolux Corporation", model: "0x14D4", transform: Value(Normal) }
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Mode { flags: Value(Mode(Current)), width: 1920, height: 1080, refresh: 60008 }
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Scale { factor: 1 }
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Name { name: "eDP-1" }
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Description { description: "Chimei Innolux Corporation 0x14D4 (eDP-1)" }
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Done
16:21:03 [DEBUG] (1) wl_screenrec: zxdg-output event: ObjectId(zxdg_output_v1@10, 10) Name { name: "eDP-1" }
16:21:03 [DEBUG] (1) wl_screenrec: zxdg-output event: ObjectId(zxdg_output_v1@10, 10) Description { description: "Chimei Innolux Corporation 0x14D4 (eDP-1)" }
16:21:03 [DEBUG] (1) wl_screenrec: zxdg-output event: ObjectId(zxdg_output_v1@10, 10) LogicalPosition { x: 0, y: 0 }
16:21:03 [DEBUG] (1) wl_screenrec: zxdg-output event: ObjectId(zxdg_output_v1@10, 10) LogicalSize { width: 1920, height: 1080 }
16:21:03 [DEBUG] (1) wl_screenrec: wl-output event: ObjectId(wl_output@9, 9) Done
16:21:03 [INFO] output probe complete: {ObjectId(wl_output@9, 9): Some(OutputInfo { name: "eDP-1", loc: (0, 0), logical_size: (1920, 1080), size_pixels: (1920, 1080), refresh: Rational(60008/1000), fractional_scale: 1.0, output: WlOutput { id: ObjectId(wl_output@9, 9), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } })}
16:21:03 [INFO] Using output eDP-1
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwlr_screencopy_manager_v1@3.capture_output (zwlr_screencopy_frame_v1@11, 1, wl_output@9)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_screencopy_frame_v1@11.3 (875709016, 1920, 1080, 7680)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_screencopy_frame_v1@11.3 (875713112, 1920, 1080)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_screencopy_frame_v1@11.3 ()
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Buffer { format: Value(Xbgr8888), width: 1920, height: 1080, stride: 7680 }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) LinuxDmabuf { format: 875713112, width: 1920, height: 1080 }
[file @ 0x617dc51ea2c0] Setting default whitelist 'file,crypto,data'
Opening libva device from DRM device /dev/dri/renderD128
[AVHWDeviceContext @ 0x617dc51fca80] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x617dc51fca80] libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
[AVHWDeviceContext @ 0x617dc51fca80] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x617dc51fca80] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x617dc51fca80] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x3231564e -> nv12.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x30313050 -> p010le.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x36313050 -> unknown.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x30323449 -> yuv420p.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x32315659 -> yuv420p.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x56595559 -> unknown.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x32595559 -> yuyv422.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x59565955 -> uyvy422.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x30303859 -> gray.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x50343434 -> yuv444p.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x50424752 -> unknown.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x41524742 -> bgra.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x41424752 -> rgba.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x42475241 -> argb.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x58524742 -> bgr0.
[AVHWDeviceContext @ 0x617dc51fca80] Format 0x58424752 -> rgb0.
[AVHWDeviceContext @ 0x617dc51fca80] VAAPI driver: Mesa Gallium driver 24.0.1-arch1.1 for AMD Radeon Graphics (radeonsi, renoir, LLVM 16.0.6, DRM 3.57, 6.7.5-artix1-1).
[AVHWDeviceContext @ 0x617dc51fca80] Driver not found in known nonstandard list, using standard behaviour.
[AVHWFramesContext @ 0x617dc543fa00] Created surface 0x1.
[AVHWFramesContext @ 0x617dc543fa00] Direct mapping possible.
[AVHWFramesContext @ 0x617dc543fa00] Created surface 0x2.
[AVHWFramesContext @ 0x617dc543fa00] Created surface 0x3.
[AVHWFramesContext @ 0x617dc543fa00] Created surface 0x4.
[AVHWFramesContext @ 0x617dc543fa00] Created surface 0x5.
detected 12 logical cores
[in @ 0x617dc5463080] Setting 'video_size' to value '2840x2160'
[in @ 0x617dc5463080] Setting 'pix_fmt' to value '44'
[in @ 0x617dc5463080] Setting 'time_base' to value '1/1000000000'
[in @ 0x617dc5463080] w:2840 h:2160 pixfmt:vaapi tb:1/1000000000 fr:0/1 sar:0/1
[AVFilterGraph @ 0x617dc5429000] Setting 'out_w' to value '1920'
[AVFilterGraph @ 0x617dc5429000] Setting 'out_h' to value '1080'
[AVFilterGraph @ 0x617dc5429000] Setting 'x' to value '0'
[AVFilterGraph @ 0x617dc5429000] Setting 'y' to value '0'
[AVFilterGraph @ 0x617dc5429000] Setting 'exact' to value '1'
[AVFilterGraph @ 0x617dc5429000] Setting 'format' to value 'nv12'
[AVFilterGraph @ 0x617dc5429000] Setting 'w' to value '1920'
[AVFilterGraph @ 0x617dc5429000] Setting 'h' to value '1080'
[AVFilterGraph @ 0x617dc5429000] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[Parsed_crop_0 @ 0x617dc54232c0] w:1920 h:1080 sar:0/1 -> w:1920 h:1080 sar:0/1
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0x7.
[AVHWFramesContext @ 0x617dc5522e40] Direct mapping possible.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0x8.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0x9.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0xa.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0xb.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0xc.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0xd.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0xe.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0xf.
[AVHWFramesContext @ 0x617dc5522e40] Created surface 0x10.
[AVHWFramesContext @ 0x617dc545d7c0] Created surface 0x12.
[AVHWFramesContext @ 0x617dc545d7c0] Direct mapping possible.
[AVHWFramesContext @ 0x617dc545d7c0] Created surface 0x13.
[AVHWFramesContext @ 0x617dc545d7c0] Created surface 0x14.
[AVHWFramesContext @ 0x617dc545d7c0] Created surface 0x15.
[AVHWFramesContext @ 0x617dc545d7c0] Created surface 0x16.
16:21:03 [INFO] +----------+
| in |default--[1920x1080 0:1 vaapi]--Parsed_crop_0:default
| (buffer) |
+----------+
+--------------+
Parsed_scale_vaapi_1:default--[1920x1080 0:1 vaapi]--default| out |
| (buffersink) |
+--------------+
+---------------+
in:default--[1920x1080 0:1 vaapi]--default| Parsed_crop_0 |default--[1920x1080 0:1 vaapi]--Parsed_scale_vaapi_1:default
| (crop) |
+---------------+
+----------------------+
Parsed_crop_0:default--[1920x1080 0:1 vaapi]--default| Parsed_scale_vaapi_1 |default--[1920x1080 0:1 vaapi]--out:default
| (scale_vaapi) |
+----------------------+
[h264_vaapi @ 0x617dc54e29c0] Input surface format is nv12.
[h264_vaapi @ 0x617dc54e29c0] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x617dc54e29c0] No usable encoding entrypoint found for profile VAProfileH264High (7).
failed to open encoder in low_power mode (Function not implemented), trying non low_power mode. if you have an intel iGPU, set enable_guc=2 in the i915 module to use the fixed function encoder. pass --low-power=off to suppress this warning
[h264_vaapi @ 0x617dc54e29c0] Input surface format is nv12.
[h264_vaapi @ 0x617dc54e29c0] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x617dc54e29c0] Using VAAPI entrypoint VAEntrypointEncSlice (6).
[h264_vaapi @ 0x617dc54e29c0] Using VAAPI render target format YUV420 (0x1).
[h264_vaapi @ 0x617dc54e29c0] Driver supports RC modes CQP, CBR, VBR.
[h264_vaapi @ 0x617dc54e29c0] Driver does not support AVBR RC mode.
[h264_vaapi @ 0x617dc54e29c0] RC mode: VBR.
[h264_vaapi @ 0x617dc54e29c0] RC target: 50% of 80000000 bps over 500 ms.
[h264_vaapi @ 0x617dc54e29c0] RC buffer: 40000000 bits, initial fullness 30000000 bits.
[h264_vaapi @ 0x617dc54e29c0] RC framerate: 7501/125 (60.01 fps).
[h264_vaapi @ 0x617dc54e29c0] Driver does not report any additional prediction constraints.
[h264_vaapi @ 0x617dc54e29c0] Using intra and P-frames (supported references: 1 / 0).
[h264_vaapi @ 0x617dc54e29c0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[h264_vaapi @ 0x617dc54e29c0] Using nv12 as format of reconstructed frames.
[AVHWFramesContext @ 0x617dc54e28c0] Created surface 0x18.
[AVHWFramesContext @ 0x617dc54e28c0] Direct mapping possible.
Output #0, mp4, to 'screenrecord.mp4':
Metadata:
encoder : Lavf60.16.100
Stream #0:0, 0, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), vaapi, 1920x1080 (0x0), 0/1, q=2-31, 40000 kb/s, 90k tbn
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwp_linux_dmabuf_v1@4.create_params (zwp_linux_buffer_params_v1@12)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwp_linux_buffer_params_v1@12.add (9, 0, 0, 7680, 0, 0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwp_linux_buffer_params_v1@12.create_immed (wl_buffer@13, 1920, 1080, 875713112, 0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwlr_screencopy_frame_v1@11.copy_with_damage (wl_buffer@13)
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) BufferDone
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_screencopy_frame_v1@11.3 (0)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_screencopy_frame_v1@11.3 (0, 0, 1936, 1096)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching zwlr_screencopy_frame_v1@11.3 (0, 56172, 361083159)
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Dispatching wl_buffer@13.4 ()
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Flags { flags: Value(Flags(0x0)) }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Damage { x: 0, y: 0, width: 1936, height: 1096 }
16:21:03 [DEBUG] (1) wl_screenrec: zwlr-screencopy-frame event: ObjectId(zwlr_screencopy_frame_v1@11, 21) Ready { tv_sec_hi: 0, tv_sec_lo: 56172, tv_nsec: 361083159 }
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwp_linux_buffer_params_v1@12.destroy ()
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending zwlr_screencopy_frame_v1@11.destroy ()
16:21:03 [DEBUG] (1) wayland_backend::rs::client_impl: Sending wl_buffer@13.destroy ()
[Parsed_crop_0 @ 0x617dc54232c0] n:0 t:0.000000 x:0 y:0 x+w:1920 y+h:1080
[Parsed_scale_vaapi_1 @ 0x617dc5423640] Filter input: vaapi, 1920x1080 (0).
[Parsed_scale_vaapi_1 @ 0x617dc5423640] Mapped colour properties unknown gbr/unknown/unknown unspecified to VA standard 0 chroma siting 0 range 0.
[Parsed_scale_vaapi_1 @ 0x617dc5423640] Mapped colour properties unknown unknown/unknown/unknown unspecified to VA standard 0 chroma siting 0 range 0.
[Parsed_scale_vaapi_1 @ 0x617dc5423640] Filter frame from surface 0x5 to 0x10.
[Parsed_scale_vaapi_1 @ 0x617dc5423640] Pipeline parameter buffer is 0x1a.
[Parsed_scale_vaapi_1 @ 0x617dc5423640] Filter output: vaapi, 1920x1080 (0), mode: HQ.
[h264_vaapi @ 0x617dc54e29c0] Input frame: 1920x1080 (0).
[h264_vaapi @ 0x617dc54e29c0] Pick forced IDR-picture to encode next.
[h264_vaapi @ 0x617dc54e29c0] Issuing encode for pic 0/0 as type IDR.
[h264_vaapi @ 0x617dc54e29c0] No reference pictures.
[h264_vaapi @ 0x617dc54e29c0] Input surface is 0x10.
[h264_vaapi @ 0x617dc54e29c0] Recon surface is 0x18.
[h264_vaapi @ 0x617dc54e29c0] Allocated output buffer 0x1a
[h264_vaapi @ 0x617dc54e29c0] Output buffer is 0x1a.
[h264_vaapi @ 0x617dc54e29c0] Param buffer (22) is 0x1b.
[h264_vaapi @ 0x617dc54e29c0] Param buffer (27) is 0x1c.
[h264_vaapi @ 0x617dc54e29c0] Param buffer (27) is 0x1d.
[h264_vaapi @ 0x617dc54e29c0] Param buffer (27) is 0x1e.
[h264_vaapi @ 0x617dc54e29c0] Param buffer (23) is 0x1f.
[h264_vaapi @ 0x617dc54e29c0] Packed header buffer (1) is 0x20/0x21 (384 bits).
[h264_vaapi @ 0x617dc54e29c0] Slice 0: 0-67 (68 rows), 0-8159 (8160 blocks).
[h264_vaapi @ 0x617dc54e29c0] Param buffer (24) is 0x22.
1 fps
And here's the output of gdb, although I'm not sure if the output is somewhat different because I'm using gdb with gef:
GNU gdb (GDB) 14.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
a: No such file or directory.
Attaching to process 4703
[New LWP 4706]
[New LWP 4710]
--Type <RET> for more, q to quit, c to continue without paging--
[New LWP 4711]
[New LWP 4712]
[New LWP 4713]
[New LWP 4714]
[New LWP 4715]
[New LWP 4716]
[New LWP 4717]
[New LWP 4718]
[New LWP 4719]
[New LWP 4720]
[New LWP 4721]
[New LWP 4722]
[New LWP 4723]
[New LWP 4724]
[New LWP 4725]
[New LWP 4726]
[New LWP 4727]
[New LWP 4728]
--Type <RET> for more, q to quit, c to continue without paging--
[New LWP 4729]
[New LWP 4730]
[New LWP 4731]
[New LWP 4732]
[New LWP 4733]
[New LWP 4734]
[New LWP 4735]
[New LWP 4736]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x000078e6e2a36082 in ?? () from /usr/lib/dri/radeonsi_drv_video.so
warning: File "/home/kappa/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /home/kappa/.gdbinit
line to your configuration file "/root/.config/gdb/gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.config/gdb/gdbinit".
For more information about this security protection see the
--Type <RET> for more, q to quit, c to continue without paging--
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /home/kappa/down/wl-screenrec/target/debug/wl-screenrec.
Use `info auto-load python-scripts [REGEXP]' to list them.
#0 0x000078e6e2a36082 in ??? () at /usr/lib/dri/radeonsi_drv_video.so
#1 0x000078e6e2a407a7 in ??? () at /usr/lib/dri/radeonsi_drv_video.so
#2 0x000078e6e2a33d0a in ??? () at /usr/lib/dri/radeonsi_drv_video.so
#3 0x000078e6f834ab9c in vaRenderPicture () at /usr/lib/libva.so.2
#4 0x000078e6f6af6782 in ??? () at /usr/lib/libavcodec.so.60
#5 0x000078e6f6b0c5c7 in ??? () at /usr/lib/libavcodec.so.60
#6 0x000078e6f667f0ec in ??? () at /usr/lib/libavcodec.so.60
#7 0x000078e6f6680444 in avcodec_send_frame () at /usr/lib/libavcodec.so.60
#8 0x000064d453a8e2e8 in ffmpeg_next::codec::encoder::encoder::Encoder::send_frame
(self=0x7fff332546a8, frame=0x7fff33252768) at src/codec/encoder/encoder.rs:64
#9 0x000064d453832806 in wl_screenrec::EncState::process_ready
(self=0x7fff33254630) at src/main.rs:1505
#10 0x000064d453834013 in wl_screenrec::EncState::push
(self=0x7fff33254630, surf=...) at src/main.rs:1642
#11 0x000064d45382879a in wl_screenrec::{impl#8}::event
(state=0x7fff33254620, capture=0x7fff33253ab0, event=..., _data=0x64d4547c5478, --Type <RET> for more, q to quit, c to continue without paging--
_conn=0x7fff33254948, qhandle=0x7fff33254940) at src/main.rs:519
#12 0x000064d45389994d in wayland_client::event_queue::queue_callback<wayland_protocols_wlr::screencopy::v1::generated::client::zwlr_screencopy_frame_v1::ZwlrScreencopyFrameV1, (), wl_screenrec::State>
(handle=0x7fff33254948, msg=..., data=0x7fff33254620, odata=..., qhandle=0x7fff33254940)
at /home/kappa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-client-0.31.2/src/event_queue.rs:656
#13 0x000064d45389c1d9 in wayland_client::event_queue::EventQueue<wl_screenrec::State>::dispatching_impl<wl_screenrec::State>
(backend=0x7fff33254948, qhandle=0x7fff33254940, data=0x7fff33254620)
at /home/kappa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-client-0.31.2/src/event_queue.rs:478
#14 0x000064d45389c0c7 in wayland_client::event_queue::EventQueue<wl_screenrec::State>::dispatch_pending<wl_screenrec::State>
(self=0x7fff33254940, data=0x7fff33254620)
at /home/kappa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-client-0.31.2/src/event_queue.rs:384
--Type <RET> for more, q to quit, c to continue without paging--
#15 0x000064d45389c598 in wayland_client::event_queue::EventQueue<wl_screenrec::State>::blocking_dispatch<wl_screenrec::State>
(self=0x7fff33254940, data=0x7fff33254620)
at /home/kappa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-client-0.31.2/src/event_queue.rs:406
#16 0x000064d453835a4b in wl_screenrec::main () at src/main.rs:1800
This is a pretty bizarre bug, and it's hard to imagine that it's my fault--does
ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -f lavfi -i testsrc=duration=10:size=1280x720 -filter_complex 'hwupload,scale_vaapi=format=nv12' -c:v h264_vaapi -loglevel 80 test.mp4
work and produce a valid file?
Yes, it does work.
I have same issue,but wf-recorder works very well
This is a pretty bizarre bug, and it's hard to imagine that it's my fault--does
ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -f lavfi -i testsrc=duration=10:size=1280x720 -filter_complex 'hwupload,scale_vaapi=format=nv12' -c:v h264_vaapi -loglevel 80 test.mp4
work and produce a valid file?
Is this a valid file? I use AMD and Hyprland on NixOS
https://github.com/user-attachments/assets/1310f430-a3bc-4edf-b110-d710452300fd
Yeah that's pretty messed up, but clearly a different symptom, but maybe same root cause.
Can you post the full output as well as mesa & ffmpeg versions?
Whenever I run
wl-screenrec
I get this sort of output:After which it locks, produces a file with no meaningful video, and I have to
kill -9
it.My CPU and GPU are: CPU: AMD Ryzen 5 PRO 4650U with Radeon Graphics (12) @ 2.100GHz GPU: AMD ATI Radeon RX Vega 6
and my output for
vainfo
is:This is an Artix Linux machine, running Hyprland, and I have
libva-mesa-driver
installed.