[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-14 Thread dann frazier
fyi, passing both pci=realloc pci=nocrs works as a workaround for me for q35 guests. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Title: Unable to passthrough GPUs to guest To manage notif

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-15 Thread dann frazier
** Attachment added: "lspci.uefi.pci=realloc,pci=nocrs" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1849563/+attachment/5305739/+files/lspci.uefi.pci%3Drealloc%2Cpci%3Dnocrs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. h

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-15 Thread dann frazier
Attaching a boot log using an OVMF built w/ DEBUG enabled, which adds some more runes, such as: PciBus: HostBridge->NotifyPhase(AllocateResources) - Out of Resources PciBus: [01|00|00] was rejected due to resource confliction. ** Attachment added: "uefi boot log w/ OVMF DEBUG enabled" https:

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-15 Thread dann frazier
** Attachment added: "lspci.uefi" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1849563/+attachment/5305738/+files/lspci.uefi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Title: U

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-15 Thread dann frazier
** Attachment added: "lspci.seabios" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1849563/+attachment/5305737/+files/lspci.seabios -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Titl

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-18 Thread dann frazier
Discussion thread on edk2 list: https://edk2.groups.io/g/discuss/topic/ovmf_resource_assignment/59340711?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,59340711 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2020-02-17 Thread Guilherme G. Piccoli
Hi Dann, thanks a lot for your logs and pretty great bug report here. The thread with edk2 folks is really informative! I've been doing some research on this topic, and will share here in order to document it. So, first thing is about "pci=nocrs" "pci=realloc". When setting "pci=nocrs", we are t

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-06 Thread dann frazier
I retested w/ q35 and did not have an issue. Here's the command I used: virt-install --name q35 --machine q35 --memory 4096 --boot uefi --disk /home/ubuntu/q35.img --disk q35-seed.img --hostdev pci__34_00_0 --hostdev pci__36_00_0 --graphics none But, by default, virt-install placed the de

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-06 Thread dann frazier
Urgh, sorry - ignore comment #5. The only reason I didn't see issues is that I hadn't yet installed nvidia-dkms in the guest :( Even with q35 I see the "NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:" and following messages. Further, in q35 mode, pci=nocrs no longer seems to b

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-07 Thread Dimitri John Ledkov
What is host architecture? Does host support gpu passthrough? Was it enabled in Bios settings, and to the kernel commandline? I.e. VT-d enabled in BIOS + intel_iommu=on passed on the kernel commandline for an Intel based machine. Similarish things need to happen on other platforms, ie. AMD. As the

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-07 Thread dann frazier
** Changed in: edk2 (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Title: Unable to passthrough GPUs to guest To manage notifications about th

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-07 Thread dann frazier
As an experiment, I retried this test with focal host/guest (on the off- chance that e.g. we were missing something from QEMU or some topology logic in virtinst), but the results were the same. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to U

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-10-23 Thread dann frazier
** Attachment added: "dmesg when booting in non-UEFI mode (OK)" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1849563/+attachment/5299616/+files/dmesg.seabios -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-10-23 Thread dann frazier
** Attachment added: "dmesg of guest after hitting issue #2 (invalid I/O region)" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1849563/+attachment/5299615/+files/dmesg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:/

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-10-23 Thread dann frazier
** Attachment added: "guest XML (hits issue #1, no output)" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1849563/+attachment/5299614/+files/foo.xml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-10-24 Thread dann frazier
cpaelzer recommends that we retest w/ the q35 machine type as a next step. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Title: Unable to passthrough GPUs to guest To manage notifications a

Re: [Bug 1849563] Re: Unable to passthrough GPUs to guest

2019-11-07 Thread dann frazier
On Thu, Nov 7, 2019 at 7:50 AM Dimitri John Ledkov wrote: > > What is host architecture? amd64 - specifically, an Nvidia DGX2 system. > Does host support gpu passthrough? > Was it enabled in Bios settings, and to the kernel commandline? > > I.e. VT-d enabled in BIOS + intel_iommu=on passed on th

[Bug 1849563] Re: Unable to passthrough GPUs to guest, due to PCI64 aperture limitation

2021-07-28 Thread Brian Murray
The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release ** Changed in: edk2 (Ubuntu Groovy) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpa

[Bug 1849563] Re: Unable to passthrough GPUs to guest, due to PCI64 aperture limitation

2020-07-23 Thread Guilherme G. Piccoli
** Changed in: edk2 (Ubuntu Eoan) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Title: Unable to passthrough GPUs to guest, due to PCI64 aperture limita

[Bug 1849563] Re: Unable to passthrough GPUs to guest, due to PCI64 aperture limitation

2020-07-14 Thread Guilherme G. Piccoli
** Tags added: sts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849563 Title: Unable to passthrough GPUs to guest, due to PCI64 aperture limitation To manage notifications about this bug go to: h

[Bug 1849563] Re: Unable to passthrough GPUs to guest, due to PCI64 aperture limitation

2020-06-12 Thread Guilherme G. Piccoli
Upstream discussion: https://bugzilla.tianocore.org/show_bug.cgi?id=2796 ** Summary changed: - Unable to passthrough GPUs to guest + Unable to passthrough GPUs to guest, due to PCI64 aperture limitation ** No longer affects: edk2 (Ubuntu Disco) ** Also affects: edk2 (Ubuntu Groovy) Importanc