Gpu pass through


Hanako

Recommended Posts

Hello people,

i am new to unraid,

 

first off all my hardware

amd ryzen 7 3700x

16gb ddr4 3600mhz corsair vengeance

gigabyte aorus 1080ti

asus rog strix gaming-x x570

 

unraid trial

i want to run a windows 10 vm

i folowed this video 


 

but somehow it go different for me,

windows vm don’t want to run i get the errors ,

i also tried binding but result stay the same, i gave it multiple tries,

as you see the vm screen shots had gtx in front of file name ,

 

i don’t know what is wrong , the error screenshot is the gpu adress,

i also tried to re-create gpu bios with enabled binding but that don’t work, 

 

i need some support fellas,

unknown.png

unknown.png

image0.png

unknown.png

unknown.png

Link to comment

If you are booting unraid in uefi mode, most probably the gpu is in use by unraid itself, by efifb, if you want to check run "cat /proc/iomem" in terminal and check why qemu cannot write to that addresses highlighted in yellow.

If you find efifb is using that, one way is to disable efifb in syslinux:

video=efifb:off

Note that you will need remote access to unraid because you will not have a video output anymore.

Link to comment

yes  i had to enable uefi when creating the usb because i got kicked into bios when i wanted to load unraid, and i didn't know why  ,
but since you mentioned that , i checked bios again, and i think i disabled uefi in bios since the vm runs now but it wont reconize the gpu  , it do see the

gpu, but it disabled it or stopped because it reports problems

 

i tried all bios files i have modded

 

 

err.png.3032504a57d9be33758c9ec974feacfc.png

Edited by Hanako
Link to comment

Sorry but I don't understand:

2 minutes ago, Hanako said:

i had to enable uefi when creating the usb because i got kicked into bios

Bios with uefi enabled, unraid boots, otherwise bios screen

3 minutes ago, Hanako said:

i checked bios again, and i think i disabled uefi in bios since the vm runs now

uefi is disable in bios, and unraid boots?it's not what you were writing in the sentence above.

4 minutes ago, Hanako said:

but it wont reconize the gpu  , it do see the gpu, but it disabled it or stopped because it reports problems

which problems?uefi/legacy?...

Link to comment

i re-created the unraid usb with uefi disabled, booted into unraid with uefi off in bios, or so i think it is off because it boots , unraid started just fine, started trial again , gone to the vm, swapped vbios files to see witch one would not give problems, but windows keep saying there is a problem, but atleast it shows video , at a lovely 800x600

image.thumb.png.e9d781417229943d7e7b289aeb3d65bd.png

 

this is what vm log says

Edited by Hanako
Link to comment

Screenshot above doesn't show any error.

So you are able to boot unraid in legacy bios mode, run the windows 10 vm and you get a video signal, at 800x600, but in the gpu device status some problem is reported (which problem)?

 

1. does your vm is configured with ovmf?

2. are you passing through all the components of the gpu?video, audio, (usb controller)?If you don't know what I'm talking about attach the diagnostics file.

3. are you using a proper vbios for the gpu?Dump your own, do not use a downloaded one.

Link to comment
On 10/16/2021 at 11:09 AM, ghost82 said:

Screenshot above doesn't show any error.

So you are able to boot unraid in legacy bios mode, run the windows 10 vm and you get a video signal, at 800x600, but in the gpu device status some problem is reported (which problem)?

 

1. does your vm is configured with ovmf?

2. are you passing through all the components of the gpu?video, audio, (usb controller)?If you don't know what I'm talking about attach the diagnostics file.

3. are you using a proper vbios for the gpu?Dump your own, do not use a downloaded one.

i sloved it, with support of discord people and forums,
i had to change my mobo settings to legacy,
i recreated the usb with no uefi,

 

and yes it all works fine for now, 

iommu checked gpu audio/video

and the vbios i used is created with that script from that youtube video,

i assume he knows what he created ,

 

so far so good it all works except i wont get full resolution of 5120x1440,

but i think thats because the hdmi cable i use,

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.