Lxc wont start after adding GPU

Hi, I followed the youtube video on how to setup GPU on an lxc --vm … but after adding lxc config device add ubuntu gpu0 gpu gputype=physical pci=0000:01:00.0
the instance wont start … takes too long and notting happen untill i press ctrl+c !

What would be the problem?
I dont have such a problem with lxc containers but just VMs ( both desktop and cloud images tested for ubuntu 20.04 and 22.04)

I’m using the latest lxd 5.15 version and i’m on ubuntu 22.04 natively!

Best regards

here is the $ lxc info --resources
Card 0:
NUMA node: 0
Vendor: Intel Corporation (8086)
Product: 4th Gen Core Processor Integrated Graphics Controller (0416)
PCI address: 0000:00:02.0
Driver: i915 (5.19.0-46-generic)
ID: 0
Card: card0 (226:0)
Control: controlD64 (226:0)
Render: renderD128 (226:128)
Card 1:
NUMA node: 0
Vendor: NVIDIA Corporation (10de)
Product: GM107M [GeForce GTX 850M] (1391)
PCI address: 0000:01:00.0
ID: 1
Card: card1 (226:1)
Control: controlD65 (226:1)
Render: renderD129 (226:129)

here is the configs: $ lxc config edit ubuntu
gputype: physical
pci: “0000:01:00.0”
type: gpu

is there any other info needed?