You are not logged in.

#1 2022-12-15 22:12:20

Quattro83
Member
Registered: 2022-12-15
Posts: 2

Assign hdmi output on laptop to dGPU?

Today, I was setting up KVM with gpu passthrough on my laptop. I have an hdmi port on the side and want to assign it only to the dGPU so that I only see the vm, how can I do this?

Offline

#2 2022-12-16 00:35:03

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: Assign hdmi output on laptop to dGPU?

you need to see if the dgpu is connected directly to the hdmi port:

xrandr --listproviders

if the dgpu has "0 outputs" then your out of luck as far as im aware.

Offline

#3 2022-12-16 03:26:04

Quattro83
Member
Registered: 2022-12-15
Posts: 2

Re: Assign hdmi output on laptop to dGPU?

jonno2002 wrote:

you need to see if the dgpu is connected directly to the hdmi port:

xrandr --listproviders

if the dgpu has "0 outputs" then your out of luck as far as im aware.

I check the output of that command and it has four outputs. Here is the output of the command. How would I assign the port to the dgpu if I have already set up vfio?

Providers: number : 1
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:modesetting

Offline

#4 2022-12-16 04:02:30

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: Assign hdmi output on laptop to dGPU?

that provider will be the intel gpu, you need to run the command with the nvidia gpu available, im guessing its missing here cause its assigned to the vm

Offline

Board footer

Powered by FluxBB