Repository navigation
fix(linux): skip h264_vulkan on RADV Raven, whose takes come out corrupt - #1542
Conversation
On a Ryzen 5 3550H (Vega 8, VCN 1.0) the Vulkan encoder opens but the take holds stale blocks of older content and few distinct frames, while libopenh264 records the same screen cleanly. Refuse the rung on Mesa's RAVEN/RAVEN2 devices so the ladder falls through to software. Refs #1465
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Merged: on Raven-family AMD iGPUs the Linux recorder now skips the Vulkan encoder and records with the software encoder. |
Refs #1465
What
The Linux helper no longer picks
h264_vulkanon RADV Raven devices (Raven, Picasso, Raven2: VCN 1.0). The encoder ladder falls through to libopenh264 there.Why
On the reporter's Ryzen 5 3550H (Vega 8 iGPU + GTX 1650, niri):
OPENSCREEN_LINUX_ENCODER=softwarerecords cleanly, so software is the right rung on this device.The device is identified by Mesa's name (
… (RADV RAVEN)/(RADV RAVEN2)), read throughvkGetPhysicalDevicePropertiesthe same wayvulkan_can_encode_h264reads its queues.Not covered
avcodec_open2, so it would not reach renderD129 as written.Checks
vulkan_is_skipped_on_vcn1_radv_only.🤖 Generated with Claude Code
Summary by CodeRabbit