You are not logged in.

#1 2022-07-21 01:54:32

rajhlinux
Member
Registered: 2022-07-08
Posts: 58

How to permanently set "/renderD128" node paths to a specific GPU?

Hello,

I have two GPUs installed, one is AMD and other is Nvidia.

With this in mind, I now have two DRI nodes:

"/dev/dri/renderD128"

and

"/dev/dri/renderD129"


Every time I do a reboot, the DRI nodes switches between the GPUs.

Example:

D128 would either be AMD/Nvidia.

D129 would either be AMD/Nvidia.

How can I permanently set D128 so that it will always be fixed to AMD and permanently set D129 so that it will always be fixed to Nvidia?

I have a PC build which is solely used to act as a DVR/NVR security system and it is 24/7 transcoding, if the PC shuts off or reboots, I would like the DRI nodes to stay fixed to the certain GPU so that the PC can automatically start transcoding without having to manually set the DRI nodes again if they switched or what not.

Thanks.

Last edited by rajhlinux (2022-07-21 01:55:28)

Offline

#2 2022-07-21 02:22:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,756

Re: How to permanently set "/renderD128" node paths to a specific GPU?

Write a (systemd) service to set it up at boot would be my suggestion.
https://wiki.archlinux.org/title/System … unit_files

Sounds scary, but it is not.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-07-21 03:13:23

rajhlinux
Member
Registered: 2022-07-08
Posts: 58

Re: How to permanently set "/renderD128" node paths to a specific GPU?

Thanks will do this.

Will let you know if everything works out.

Offline

Board footer

Powered by FluxBB