Skip to content

Pin encode device to a DRM render node#23

Open
plasticchris wants to merge 1 commit into
hgaiser:mainfrom
plasticchris:main
Open

Pin encode device to a DRM render node#23
plasticchris wants to merge 1 commit into
hgaiser:mainfrom
plasticchris:main

Conversation

@plasticchris

Copy link
Copy Markdown

Select the Vulkan device whose VK_EXT_physical_device_drm render major:minor matches a caller-supplied node, so the encoder shares the compositor physical GPU. vendor:device ids cannot disambiguate identical GPUs, and importing a DMA-BUF across GPUs corrupts frames. Adds VideoContextBuilder::drm_render_node and a verify_drm_pin example.

Tested on a multi-gpu amd machine.

Select the Vulkan device whose VK_EXT_physical_device_drm render
major:minor matches a caller-supplied node, so the encoder shares the
compositor physical GPU. vendor:device ids cannot disambiguate identical
GPUs, and importing a DMA-BUF across GPUs corrupts frames. Adds
VideoContextBuilder::drm_render_node and a verify_drm_pin example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant