-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quickemu Guide #14
Comments
no direct implementation yet, right now you need to use the extra args for the VMs quickemu config. And you will have to add the whole qemu pci passthrough argument for the configured graphic card like this example
or without a rom file the idea once things will be more finalized is to have a config file you can just drop into the quickemu VM folder and quickemu reads it and moves on from there. |
oh thx |
From the qqX settings file: Also guide on customising quickemu output here Not using a discrete GPU myself, some feed back from someone would be useful here. @LDprg does this help? @HikariKnight is this |
@TuxVinyards it is a variable, |
As long as no cards or devices get swapped, that would stay fairly constant for each system, I imagine? Plugging in a USB device wouldn't affect this ?? Just PCI. I do have a very old machine that has a 1G Nvidia and a basic on-board GPU. Maybe I could test on that ... ? It's not really any good for coding on. Very slow. |
yeah its only a variable in the sense of if you replace the card, the value will change and based on which slot you use, and that it is different for each system. for example on 1 system my RX6600XT is on pciaddr i do not believe bios updates can change these addresses but i do know that a bios update can change IOMMU groups which pci addresses go into. and yes plugging in an usb would not change anything as it would go through the usb controller(s) which would be on their own pci address, lets say
anything older than a 10 series is very hit and miss due to some cards lacking UEFI firmware, some have UEFI firmware but will cause other issues, |
👍 I was just having a quick look at lspci. I notice you use cpuinfo. Not on my machine. And lots of others. There's also a lot of other dependencies I noticed that get dragged into the build. Like bubble tea. I try to avoid dependencies where possible... But that's me. If you can find free mental time at some point 😂 and can post up some proof of concept snap shots of passthrough working with qqX via ExtraArgs then I will implement something. I reckon that I should be able to grep lspci output easily enough to find the host parameters and do some kind of auto-detect at my end of things. I am already committed on some other things right now though. Want to get qqX new release out, linking it up with a community quickemu release ... I think you saw that on Discord. 🚀 |
@TuxVinyards bubbletea is only there for the handy logging module (i was going to use the toolkit for making the ui but it was overkill for what i needed), the end binary is self contained with no dependencies (other than ls-iommu which it downloads the latest version of automatically) if you build it like described in the readme. also if you want something that is more tailored for this than it lets you find the gpus (skipping 3D controllers as they are not functional for passthrough) using If you need to list the graphic cards and everything in their respective iommu groups then you can just do need the pci address for the gpu in iommu group 16 because that is the only card that is isolated in it's own group? Need the vendor and device ids for adding the arguments to bind the gpu to the vfio driver? need just the pci address for the GPU not the other devices on it? lots of other things in it too, but i made it primarily just to get the information that mattered for passthrough while outputting in the same format as most However if you want to autodetect what card is being used for gpu passthrough, check which card is bound to the |
also no stress about implementing anything, things are hectic for me too these days |
I am confused, is it possible and if how to use this with quickemu?
The text was updated successfully, but these errors were encountered: