GPU accelleration on container desktops

have you try my method, if not please try.

here is the profile for nvidia, you need to tweak it to fit your need. and I don’t have a nvidia gpu, I don’t know whether it will work:

config: 
  nvidia.runtime: true
  nvidia.driver.capabilities: all
  nvidia.require.cuda: true
description: Hardware acceleration
devices:
  mygpu:
    type: gpu
    gputype: physical
    pci: '0000:00:02.0'
    gid: '44'