#single gpu passthrough on qemu

1 messages · Page 1 of 1 (latest)

junior flume
#

ok

#

so have you mounted the ISO yet

pulsar canopy
#

ok so looking at this im pretty sure it is already mounted

#

unless im looking at the wrong thing

junior flume
#

that seems right to me

pulsar canopy
#

that's how it was, iv'e made no changes

junior flume
#

check boot order rq

#

under boot options i think

pulsar canopy
#

should I check the cdrom? that's the one with windows mounted

junior flume
#

yeah

#

and also check enable boot menu

pulsar canopy
#

should I leave sata disk 1 checked?

junior flume
#

yeah but move it below the cd

pulsar canopy
#

alright done

junior flume
#

aight good

#

now give it a boot

#

see if u can get into the installer

pulsar canopy
#

do I press escape still or let it boot normally?

junior flume
#

escape where

pulsar canopy
#

in the video she presses escape when it turns on, and then types exit and selects the dvd rom

junior flume
#

ion think u needa press escape

pulsar canopy
#

ok

junior flume
#

but yeah u do wanna exit outta that shell

#

then it should bring up the boot menu

pulsar canopy
#

right yeah, did that and I picked the dvd rom

#

and It still just flashes without booting

junior flume
#

dafuq

#

ur sure this iso works right?

#

cuz i rly have no idea why else it wouldnt be booting

pulsar canopy
#

same iso I have on my windows partition, and this iso works on the boxes vm

#

is it because im using that weird bios she picked?

junior flume
#

tianocore?

#

nah thats needed

pulsar canopy
#

no uh

junior flume
#

yeah thats just the ovmf shit

#

if theres another option in that with uefi you can try that but i doubt this is the problem

pulsar canopy
#

there was like 4 options

junior flume
#

can you list them

#

idk if u can ss it since its a gtk dropdown

#

prolly not

pulsar canopy
#

I think id have to make a fresh vm cause the drop down isn't there anymore

#

but i'll do that

junior flume
#

you can still change it but in the xml

pulsar canopy
#

oh

junior flume
#

try going through the new vm creation thing real quick just to see the options and cancel the creation

#

or just recreate the vm, up to you

pulsar canopy
junior flume
#

ah i see its all edk2

#

so yeah the one you have already should be correct

pulsar canopy
#

idk what else I could have messed up, my qemu config matches the instructions and so does my whatever other configs there were, I went back and checked everything that was done, and my iommu is enabled

#

it was the bios

#

if I pick the default bios option it works

junior flume
#

hmmm thats pretty weird

pulsar canopy
#

is there any downside to me just using "bios" instead of the one she did?

junior flume
#

yeah it wont work with bios

#

the passthrough i mean, not the vm

pulsar canopy
#

that's weird af, is there a way I can just get a working bios or figure out what's wrong with this one?

junior flume
#

ye it is pretty weird

#

ur system is fully updated right

pulsar canopy
#

no, some updates came out a few hours ago I haven't gotten yet, but it's up to date as of yesterday

junior flume
#

that should be fine then

#

it doesnt seem like there are any other ovmf loaders in the repos

#

only edk2

pulsar canopy
#

and since it boots off the default bios setting that means I didn't mess up anything else right?

junior flume
#

i would assume so yeah

pulsar canopy
junior flume
#

its alr installed

dawn badge
#

you could just do this as well

#

@shadow shuttle please help!!!11!oneone

junior flume
#

yeah thats what i was trying

dawn badge
#

(that's what userbyte wanted)

#

oh maybe it's a hu thing here? I just assumed anyone could tag?

junior flume
#

nah its not lol

#

i just didnt think the ping would go through in here

dawn badge
junior flume
#

looks like nordic to me

dawn badge
#

look how nice their menu looks in comparison

pulsar canopy
#

yeah my theme gives it weird icons

shadow shuttle
#

aaaaaaaaaaaah

#

i just joined and you flash me with a light mode

junior flume
# dawn badge

thats just default adwaita and i think it looks fine

junior flume
#

the ISO just wont start when using UEFI mode

shadow shuttle
#

weird

dawn badge
#

windows ISO?

junior flume
#

it is mounted, and they are selecting dvdrom in the boot loader

junior flume
shadow shuttle
#

what would it say?

junior flume
#

it just flashes black and reverts to the bootloader as if the ISO has nothing on it

shadow shuttle
#

have they tried booting directly from the uefi firmware of the vm?

junior flume
#

i can probably recreate it quickly

#

its the same behavior that happens when it tries to boot a disk with nothing on it

pulsar canopy
#

I can get a video

junior flume
#

the boot menu appears after the tianocore shell exits so id assume its the firmware

junior flume
# pulsar canopy

it looks like it can see the disc's existence perfectly fine so i highly doubt its a mounting issue

shadow shuttle
#

have they tried a different iso?

junior flume
#

the ISO works in normal BIOS mode

pulsar canopy
junior flume
#

and apparently on boxes and real hardware

pulsar canopy
#

this iso is the latest just from microsoft's site it's not custom or off of 4chan or some weird shit

junior flume
#

yeah i assumed that by the file name lol

pulsar canopy
#

lol

shadow shuttle
# pulsar canopy

choose a different one
the one withour secureboot or csm
and is 64bit

try that one cus that's what i always use on my vms

#

see if it works

pulsar canopy
shadow shuttle
#

yes it's uefi

junior flume
#

if its uefi it should yeah

pulsar canopy
#

ok lemme see

junior flume
#

these are all OVMF-supporting images in your list

#

wait

#

i found the issue

pulsar canopy
#

what is it?

shadow shuttle
#

32 bit

junior flume
#

you are trying to use a itanium 32 bit bootloader

#

i dont even blame you for choosing that one its literally a 5 character difference in the file name

pulsar canopy
#

OHHHH FUCK WHY

#

ok would this one work? it's 64

shadow shuttle
junior flume
#

thats the one you want

shadow shuttle
pulsar canopy
#

I just picked the same one that she did quite litterally without reading it

junior flume
#

understandable

pulsar canopy
junior flume
#

holy shit

#

finally

#

now just run through the install, let it reboot itself a few times, then unmount the iso

#

then you should get put into OOBE

pulsar canopy
#

it uh did some weird stuff

junior flume
#

such as?

pulsar canopy
#

I picked the dvd rom and it kept saying press esc to boot from a dvd or whatever, and now it says guest not running, I got distracted with something really important right when i booted it so im not sure I saw it all properly

#

yeah kept saying this after picking it

junior flume
#

oh that should be fine

#

jus hit a key

#

while the vm has keyboard focus

pulsar canopy
junior flume
#

hit a key

pulsar canopy
#

oh instead of enter

#

whoops my bad

junior flume
#

press enter on the thing

#

then hit a key when it says "Press any key to boot ......"

pulsar canopy
#

did that, then it spun the windows logo for a bit then guest not running

junior flume
#

it just stops after the windows logo part?

#

doesnt say anything at all?

pulsar canopy
#

just crashes and does guest not running, lemme get a better recording

junior flume
#

aight

pulsar canopy
#

it also just freezes my pc a slight bit as it crashes, and I just running out of ram or something?

junior flume
#

thats very strange

pulsar canopy
#

16gb

#

I gave the vm 8

junior flume
#

hmm

pulsar canopy
#

mabye my cpu settings are weird?

junior flume
#

try giving it half the ram it should be fine
and you can always change it once the VM is completely setup

pulsar canopy
#

ok

junior flume
#

and show ur cpu settings aswell

pulsar canopy
junior flume
#

yea looks fine to me

pulsar canopy
#

ram fixed it

#

good thing im planning on buying more anyways

junior flume
#

dope

#

16 is usually fine especially when running linux

#

you probably just have a lot of cache shit in ur ram

pulsar canopy
#

so from here is there any more complicated sutff I gotta do or should it install windows fine and work with my single gpu passthrough?

junior flume
#

now that you got into the installer you can probably return to the part in the video where it boots the iso

pulsar canopy
#

ok

pulsar canopy
#

I'm having more problems but I need a break honestly

junior flume
#

we warned you lol

#

its quite the process to get working

dawn badge
bright cradle
#

What was the last stand?
Did you get it to work?

dawn badge
pulsar canopy
#

Which is required to get the gpu pass through working

junior flume
#

you cant remove the display thing?

pulsar canopy
#

And when I try to remove it from the xml I also get an error

shadow shuttle
#

what's the error?

#

make sure the vm isnt running btw

pulsar canopy
#

I'll show you guys when I get back home

#

I got dragged into something

bright cradle
pulsar canopy
#

ok trying it now

pulsar canopy
junior flume
#

hmm weird

#

what does it say under the details thing

#

oh wait i think i know what it is

#

you need to remove this first

pulsar canopy
#

it let me remove channel spice, but I still get the same error when removing display spice

#
Error Removing Device: unsupported configuration: chardev 'spicevmc' not supported without spice graphics

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/delete.py", line 338, in remove_devobj_internal
    vm.remove_device(devobj)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 641, in remove_device
    self._redefine_xmlobj(xmlobj)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 391, in _redefine_xmlobj
    self._redefine_xml_internal(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 374, in _redefine_xml_internal
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1137, in _define
    self.conn.define_domain(xml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 554, in define_domain
    return self._backend.defineXML(xml)
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 4456, in defineXML
    raise libvirtError('virDomainDefineXML() failed')
libvirt.libvirtError: unsupported configuration: chardev 'spicevmc' not supported without spice graphics

pulsar canopy
#

single gpu passthrough on qemu

pulsar canopy
#

@junior flume

#

My pc just closes my kde and freezes on the windows 10 install for the vm

silent spoke
#

Single or multi?

pulsar canopy
silent spoke
#

Follow this guide

pulsar canopy
#

Iv'e been following guides and tutorials people send me all day, what's this one got?

silent spoke
pulsar canopy
#

yeah but like does it pertain to my specifc issue?

silent spoke
#

What are you booting from?

pulsar canopy
#

cdrom first

#

then hard disk 2nd

silent spoke
#

Hmmmm

pulsar canopy
#

dvd rom first I mean

silent spoke
#

That's odd

#

Install windows on the host first

#

Than use the vm

pulsar canopy
#

I know for sure I setup the passthrough properly, it doesn't use my 3070 anymore

silent spoke
#

Damn

silent spoke
pulsar canopy
#

wdym install it on the host?

#

I have a windows 10 partition

silent spoke
#

Are you doing partition passthrough aswell?

#

Like with another drive

pulsar canopy
#

no, this is just an iso im using

#

im just saying the iso works cause I use it for that partition

silent spoke
#

Ohhh

pulsar canopy
#

and it's worked in other vms today

silent spoke
#

Do you have another drive?

pulsar canopy
#

I have 2 nvme's

silent spoke
#

Are you passing it through?

pulsar canopy
#

why would I pass that through?

silent spoke
#

For a better experience you want to passthrough the other nvme

#

You'll have alot of issues with qcow2

pulsar canopy
#

so I can pass that through to my vm?

silent spoke
#

Ye

pulsar canopy
#

didn't know that was possible but alright

silent spoke
#

Can you send me a image of the create storage thing?

#

I forgot what it looks like

pulsar canopy
#

on virtmanager?

silent spoke
#

Yes

pulsar canopy
#

yeah one sec, gotta remake the vm cause everytime it crashes it just deletes itself

silent spoke
#

?

#

That's odd

pulsar canopy
#

like when I run it to install windows it just crashes and freezes my kde

pulsar canopy
silent spoke
#

That's just the hooks

pulsar canopy
#

ok here it is, and there's my 980 pro nvme

silent spoke
#

Send me your lsblk

silent spoke
pulsar canopy
#

also does it matter that my 980 pro has both a linux and windows partition on it?

silent spoke
#

Yes

#

You said you have a second nvme

#

Right?

pulsar canopy
#

here's the lbslk

silent spoke
#

Ohhhh

#

Are you fine with passing through the other one?

pulsar canopy
#

am I gonna need to format it?

silent spoke
#

Yes

pulsar canopy
#

or like lose anything?

#

ugh, I got the thing so id have more space on linux, I really have to dedicate the entire drive to a windows partition?

silent spoke
#

You'd have to dedicate the drive

pulsar canopy
#

that's a whole 2 tb for windows when I only want it for like 4 anti cheat games

silent spoke
#

💀

pulsar canopy
#

the rest of my stuff works fine on proton

#

im just wanting this to not have to constantly dual boot

silent spoke
#

Ohhhh

pulsar canopy
#

is there any way we could make this work?

silent spoke
#

I don't know

#

Check dms

bright cradle
#

It's somewhat like cutting the branch whilst sitting on it.
Your kernel and stuff is running from that SSD. Probably why it shutdowned

#

Earlier you were doing the one with 0000:01.0 right?

bright cradle