obsproject / obs-studio Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] DRI devices are not persistent across reboots and should not be used to identify GPUs #2936
Comments
|
Do you have a suggestion on what else should be used? Is there a way to consistently identify graphics devices across reboots? |
|
Doesnt look like there is any persistent mapping to DRI devices. Maybe the best thing available currently is to identify devices by PCI slot. |
|
You can use |
|
I can confirm it with Intel hd 530/amd radeon rx 560. |
|
Any intention to work on this? Shouldn't be too difficult to point to |
|
I dont believe anyone is actively working on it, it is a good issue for anyone wanting to start with contributing though. |


Platform
Operating system and version: Arch Linu
OBS Studio version: OBS Studio - 25.0.8-1 (linux)
Expected Behavior
If there are several GPUs available at a host machine (e.g. dual GPU laptops, Intel+AMD/Intel+Nvidia), the same physical GPU should be used for encoding with ffmpeg-vaapi. Currently the same
/dev/dri/renderDXXXdevice is used for encoding instead.The mapping of physical devices to
/dev/dri/renderDXXXis not persistent across reboots, so some other information about the devices should be used to identify it instead.The text was updated successfully, but these errors were encountered: