#single gpu passthrough on qemu
1 messages · Page 1 of 1 (latest)
ok so looking at this im pretty sure it is already mounted
unless im looking at the wrong thing
that seems right to me
that's how it was, iv'e made no changes
should I leave sata disk 1 checked?
yeah but move it below the cd
alright done
do I press escape still or let it boot normally?
escape where
in the video she presses escape when it turns on, and then types exit and selects the dvd rom
ion think u needa press escape
ok
right yeah, did that and I picked the dvd rom
and It still just flashes without booting
dafuq
ur sure this iso works right?
cuz i rly have no idea why else it wouldnt be booting
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?
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
there was like 4 options
I think id have to make a fresh vm cause the drop down isn't there anymore
but i'll do that
you can still change it but in the xml
oh
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
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
hmmm thats pretty weird
is there any downside to me just using "bios" instead of the one she did?
that's weird af, is there a way I can just get a working bios or figure out what's wrong with this one?
no, some updates came out a few hours ago I haven't gotten yet, but it's up to date as of yesterday
that should be fine then
it doesnt seem like there are any other ovmf loaders in the repos
only edk2
and since it boots off the default bios setting that means I didn't mess up anything else right?
i would assume so yeah
is edk2 something I can just download and put in a folder somewhere?
its alr installed
yeah thats what i was trying
(that's what userbyte wanted)
oh maybe it's a hu thing here? I just assumed anyone could tag?
your kvm options look so pretty, mine look so bad
looks like nordic to me
yeah my theme gives it weird icons
thats just default adwaita and i think it looks fine
ok so basically ill sum up whats going on so you dont have to read back
the ISO just wont start when using UEFI mode
weird
windows ISO?
it is mounted, and they are selecting dvdrom in the boot loader
yeah
what would it say?
it just flashes black and reverts to the bootloader as if the ISO has nothing on it
have they tried booting directly from the uefi firmware of the vm?
have a vid of it?
i can probably recreate it quickly
its the same behavior that happens when it tries to boot a disk with nothing on it
yeah thats whats not working i think
the boot menu appears after the tianocore shell exits so id assume its the firmware
it looks like it can see the disc's existence perfectly fine so i highly doubt its a mounting issue
have they tried a different iso?
the ISO works in normal BIOS mode
the iso does work with a different bios
and apparently on boxes and real hardware
this iso is the latest just from microsoft's site it's not custom or off of 4chan or some weird shit
yeah i assumed that by the file name lol
lol
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
does it work with the gpu passthrough?
yes it's uefi
if its uefi it should yeah
ok lemme see
what is it?
ia32
32 bit
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
perhaps the uefi option defaults to that which is why
thats the one you want
yes
I just picked the same one that she did quite litterally without reading it
understandable
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
it uh did some weird stuff
such as?
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
uh, also sorry if my music is loud lol
hit a key
press enter on the thing
then hit a key when it says "Press any key to boot ......"
did that, then it spun the windows logo for a bit then guest not running
just crashes and does guest not running, lemme get a better recording
aight
it also just freezes my pc a slight bit as it crashes, and I just running out of ram or something?
how much ram you got?
hmm
mabye my cpu settings are weird?
try giving it half the ram it should be fine
and you can always change it once the VM is completely setup
ok
and show ur cpu settings aswell
yea looks fine to me
dope
16 is usually fine especially when running linux
you probably just have a lot of cache shit in ur ram
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?
now that you got into the installer you can probably return to the part in the video where it boots the iso
ok
I'm having more problems but I need a break honestly
I think there are specific discords for gpu passthrough because it's so difficult?
What was the last stand?
Did you get it to work?
the last message as them saying they're taking a break
The thing now is I can't remove the desktop spices
Which is required to get the gpu pass through working
Nope, gives me an error
And when I try to remove it from the xml I also get an error
pretty sure you've seen this but just in case,
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
ok trying it now
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
ok, lemme remove that real quick
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
single gpu passthrough on qemu
@junior flume
My pc just closes my kde and freezes on the windows 10 install for the vm
Single or multi?
single
Iv'e been following guides and tutorials people send me all day, what's this one got?
This one is the best
yeah but like does it pertain to my specifc issue?
What are you booting from?
Hmmmm
dvd rom first I mean
I know for sure I setup the passthrough properly, it doesn't use my 3070 anymore
Damn
^
no, this is just an iso im using
im just saying the iso works cause I use it for that partition
Ohhh
and it's worked in other vms today
Do you have another drive?
I have 2 nvme's
Are you passing it through?
why would I pass that through?
For a better experience you want to passthrough the other nvme
You'll have alot of issues with qcow2
so I can pass that through to my vm?
Ye
didn't know that was possible but alright
on virtmanager?
Yes
yeah one sec, gotta remake the vm cause everytime it crashes it just deletes itself
like when I run it to install windows it just crashes and freezes my kde
looks like this on both monitors when it happens
That's just the hooks
ok here it is, and there's my 980 pro nvme
Don't do it that way
Send me your lsblk
That can corrupt the drive btw
also does it matter that my 980 pro has both a linux and windows partition on it?
yeah, I have my first nvme which has linux on it and my games, then I have a 2nd one for more linux games on a 1.3 tb partition, and a 500gb windows parition
here's the lbslk
am I gonna need to format it?
Yes
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?
You'd have to dedicate the drive
that's a whole 2 tb for windows when I only want it for like 4 anti cheat games
💀
the rest of my stuff works fine on proton
im just wanting this to not have to constantly dual boot
Ohhhh
is there any way we could make this work?
oi,
You don't do that
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?
You should follow the archwiki one and go troubleshooting and return to it.