Skip to content

[Feature Request] Block GPU, but with allowlists #202

Description

@BreiteSeite

Hi,

i have a Gaming PC that doubles as a 24/7 NAS. I would like to have the following if possible:

By default, everything should only be allowed to access my dGPU to make sure no game renders on my iGPU.

However, i also run a Plex Media Server which uses the iGPU from my intel processor for transcoding. This is basically the only process on my system, that should access the iGPU.

So ideally, i'd to represent a config as the following: Every process can only see/access one GPU. For all processes not in the allowlist for the iGPU (Plex, Jellyfin, etc), it would be the dGPU. For processes in the allowlist, it would be only the iGPU.

However, the limiting to Plex only seeing the iGPU is optional. It would be also sufficient to say "block access to the iGPU, but processes in the allowlist basically see the same system like there would be no "block" at all (i.e. hybrid).

$ cardwire gpu 1 --lsof
  /dev/dri/card1: []
  /dev/dri/renderD128: ["Plex Transcoder"]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions