[vfio-users] Passthru of one GPU with a PC with 2 identical GPUs installed

2019-05-19 Thread James Courtier-Dutton
Hi, I have a PC with two identical GPUs. One I wish to hand over to vfio and do passthru with, the other I wish the host to use. I know about commands like: echo 1002 687f >/sys/bus/pci/drivers/vfio-pci/new_id But those will cause both GPUs to be claimed by vfio. I would prefer to do it by slot,

Re: [vfio-users] Passthru of one GPU with a PC with 2 identical GPUs installed

2019-05-21 Thread James Courtier-Dutton
On Sun, 19 May 2019 at 09:30, James Courtier-Dutton wrote: > Hi, > > I have a PC with two identical GPUs. > One I wish to hand over to vfio and do passthru with, the other I wish the > host to use. > I know about commands like: > echo 1002 687f >/sys/bus/pci/drivers

Re: [vfio-users] Passthru of one GPU with a PC with 2 identical GPUs installed

2019-05-22 Thread James Courtier-Dutton
On Wed, 22 May 2019 at 00:11, Alex Williamson wrote: > > I think a better approach would be to extend the pci= kernel command > line option to include driver_override support, perhaps something like: > > pci=...,driver_overrides==;=, > > > OK, lets assume for a moment, that I will try to implemen

[vfio-users] Passthru problems with a Vega GPU

2019-05-30 Thread James Courtier-Dutton
lspci -vvv on host: 43:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c3) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Vega 10 XT [Radeon RX Vega 64] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV-

Re: [vfio-users] Passthru problems with a Vega GPU

2019-05-30 Thread James Courtier-Dutton
On Thu, 30 May 2019 at 18:54, James Courtier-Dutton wrote: > lspci -vvv on host: > 43:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] > Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c3) (prog-if 00 [VGA controller]) > Subsystem: ASUSTeK Computer Inc. Vega 1

Re: [vfio-users] Question about integrated GPU passthrough and initialization

2019-06-03 Thread James Courtier-Dutton
Hi, I have had fun recently trying to get vega gpu passthru working. After a lot of testing and some kernel patching I would say: 1) if you want vega gpu reset working, use kernel 5.1.5 or above in the guest as well as the host. 2) if you want passthru working instead of a blank screen at vm start

Re: [vfio-users] Why Windows response so late to USB mouse cursor in VFIO VM?

2019-06-10 Thread James Courtier-Dutton
Hi, Another approach is via events. ... You will need to edit the above to match your specific keyboard and mouse. You then press left-CTRL and right-CTRL at the same time to switch mouse/key control between VM and not. On Mon, 10 Jun 2019 at 05:45, Acewind wrote:

[vfio-users] driver_override

2019-06-11 Thread James Courtier-Dutton
Hi, What became of this: https://lkml.org/lkml/2014/10/20/295 It might help with my "Passthru of one GPU with a PC with 2 identical GPUs installed" problem. Kind Regards James ___ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/m

[vfio-users] Question about iommu groups

2019-06-18 Thread James Courtier-Dutton
Hi, In the following list of iommu groups, I am wondering why sub-functions on the same PCIe card are not being given the same IOMMU group as I would expect. For example, I would have expected the GPU and the HMDI Audio for that GPU to be in the same IOMMU group. I am asking, because, with the c

Re: [vfio-users] Question about iommu groups

2019-06-18 Thread James Courtier-Dutton
On Tue, 18 Jun 2019 at 16:18, Alex Williamson wrote: > [cc +vfio-users] > > You need a version of the hot reset unit test that accepts multiple > devices since each is in a separate group. The grouping on the Asus > system you provided is preferred, it's not a problem. Thanks, > > Do you have s

Re: [vfio-users] remote display + vfio gpu?

2019-06-30 Thread James Courtier-Dutton
On Sun, 30 Jun 2019 at 19:30, José Ramón Muñoz Pekkarinen < koali...@gmail.com> wrote: > On Sun, 30 Jun 2019 at 18:55, Patrick O'Callaghan wrote: > > > > On Sun, 2019-06-30 at 16:35 +0300, José Ramón Muñoz Pekkarinen wrote: > > > Hi vfio users, > > > > > > I've been taking a look recently

Re: [vfio-users] No IOMMU Groups seen in /sys/kernel/iommu_groups/

2019-11-23 Thread James Courtier-Dutton
Hi, You have a BIOS dated: DMI: HP ProLiant DL360 Gen9, BIOS P89 11/03/2014 It looks very old to me. I would update it to the latest and try again. On Fri, 22 Nov 2019 at 20:32, Venumadhav Josyula wrote: > > Yes, it is that way and I have enabled it. > > On Fri, 22 Nov, 2019, 11:39 pm A de Beus,

Re: [vfio-users] new video card. vm wont boot

2020-06-03 Thread James Courtier-Dutton
On Mon, 1 Jun 2020 at 14:38, Roger Lawhorn wrote: > > ok. > > $ grep VFIO config-5.4.43-050443-generic > CONFIG_KVM_VFIO=y > CONFIG_VFIO_IOMMU_TYPE1=y > CONFIG_VFIO_VIRQFD=y > CONFIG_VFIO=y > CONFIG_VFIO_NOIOMMU=y > CONFIG_VFIO_PCI=y > CONFIG_VFIO_PCI_VGA=y > CONFIG_VFIO_PCI_MMAP=y > CONFIG_VFIO_P

Re: [vfio-users] rtx 2080

2020-10-27 Thread James Courtier-Dutton
Hi, I have a threadripper cpu. I had some problems some time ago with passthru of a AMD Vega GPU. I was doing a passthru to a Linux VM. I don't know if the below fix will help a Nvidia GPU, but thought I would mention it in case. A change was needed to qemu to get it working. With the AMD Vega GPU

Re: [vfio-users] rtx 2080

2020-10-27 Thread James Courtier-Dutton
Hi, A quick google found this for code 43 so it might help. https://passthroughpo.st/apply-error-43-workaround/ On Tue, 27 Oct 2020 at 11:49, James Courtier-Dutton wrote: > Hi, > > I have a threadripper cpu. > I had some problems some time ago with passthru of a AMD Vega GPU. >