Re: [vfio-users] Boot using second GPU?

2016-08-04 Thread Nicolas Roy-Renaud
That's something you should fix in the BIOS. The boot GPU is special because the motherboard has to use it to display things such as POST messages and such, so it's already "tainted" by the time the kernel gets a hold of it. I had to put my guest GPU on my motherboard's second PCI slot because

Re: [vfio-users] Troubleshooting PCI Pass-through

2016-08-13 Thread Nicolas Roy-Renaud
Make sure to quote what's already been said next time. Makes it more conveinient to follow. It's pretty well guaranteed that a 500 series GeForce does not support UEFI. AFAIK, there's not a terribly high success rate with these cards either. The 600 series are generally what I consider the bo

Re: [vfio-users] Host can't wake from suspend after running a passthrough VM

2016-10-23 Thread Nicolas Roy-Renaud
I've had this problem for a while, and I just figured it was due to VFIO GPU passthroughs being generally incompatible with S3. I currently just set a sleep inhibitor while my VM is running so I don't accidentally put the host into sleep while it's still running. I've been trying to add it to m

[vfio-users] vendor_id spoofing broken in libvirt 3.2?

2017-04-06 Thread Nicolas Roy-Renaud
Since tuesday, I've been unable to boot into my Windows VM. It always fails to boot with the following error : error: unknown CPU feature __kvm_hv_vendor_id I thought this might be due to a config error at first, but people on reddit have been ge

[vfio-users] "Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff" when attempting to dump PCI ROM

2019-03-10 Thread Nicolas Roy-Renaud
I've seen a lot of people before reccomand VFIO newcomers to flash their GPU if they couldn't get their passthrough working right before, and since I know how potentially risky and avoidable this sort of procedure is (since QEMU lets you just pass your own ROM to the VM to be used instead), and

Re: [vfio-users] "Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff" when attempting to dump PCI ROM

2019-03-10 Thread Nicolas Roy-Renaud
s doing this no longer allows you to dump the ROM after the VM has shut down, with the same error message as before. - Nicolas On 03/10/2019 10:09 PM, Alex Williamson wrote: On Sun, 10 Mar 2019 18:06:37 -0400 Nicolas Roy-Renaud wrote: I've seen a lot of people before reccomand VFI

Re: [vfio-users] "Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff" when attempting to dump PCI ROM

2019-03-11 Thread Nicolas Roy-Renaud
of your help, I'll keep posting if I find new things. - Nicolas On 03/11/2019 01:46 AM, Nicolas Roy-Renaud wrote: Hey, Alex, thanks for replying. It seems like you're right on the Mem- part. [user@OCCAM ~]$ lspci -s 07:00.0 -vvv 07:00.0 VGA compatible controller: NVIDIA Corporation GM20

Re: [vfio-users] "Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff" when attempting to dump PCI ROM

2019-03-13 Thread Nicolas Roy-Renaud
Setpci combined with disabling D3 did the trick. Thank you. - Nicolas On 03/11/2019 10:08 AM, Alex Williamson wrote: On Mon, 11 Mar 2019 01:46:03 -0400 Nicolas Roy-Renaud wrote: Hey, Alex, thanks for replying. It seems like you're right on the Mem- part. [user@OCCAM ~]$ lspci -s 07

[vfio-users] "No signal" on dual Nvidia setup

2016-01-17 Thread Nicolas Roy-Renaud
For the last few days, now, I've been trying to get a gpu passthrough to work on my computer, but I haven't been able to get the VM to output anything on my passthrough monitor at all since I started (I've had to either rely on a QXL adapteror just boot on the drive bare metal). Here's my situa

Re: [vfio-users] "No signal" on dual Nvidia setup

2016-01-19 Thread Nicolas Roy-Renaud
least got this working. Thank you Will and Jonathan, and thank you vfio-users. On 2016-01-19 11:24, Nicolas Roy-Renaud wrote: On 2016-01-19 03:19, Jonathan Scruggs wrote: Hi, > Since the 970 is set at my primary GPU, it is responsible for displaying my bios and bootloader until linux b

Re: [vfio-users] How do i get rid of the emulated gpu?

2016-01-21 Thread Nicolas Roy-Renaud
You're probably talking about the QXL video adapter. Virt-manager won't let you remove it if your guest needs anything that relies on it (I'm guessing libvirt stops it from doing that, but neither of them is especially verbose). You can't remove it until you've also removed the Spice virtual di

Re: [vfio-users] VM doesn't boot if I use GPU passthrough

2016-01-28 Thread Nicolas Roy-Renaud
Have you checked what "dmesg -w" shows while you start up a VM with your GPU passed to it? I was having similar issues before, and it turned out that I had to get libvirt to append the GPU to the VM after it was done booting because of some invalid rom issues. Could be worth a shot. On 2016-01

Re: [vfio-users] VM doesn't boot if I use GPU passthrough

2016-01-28 Thread Nicolas Roy-Renaud
I had a problem similar to what you're experiencing with my ASUS 970. Again, can you check whether vfio-pci logs any invalid rom errors in dmesg when you start your VM (or when you try to dump your firmware like Alex does here : http://vfio.blogspot.ca/2014/08/does-my-graphics-card-rom-support-

Re: [vfio-users] VM doesn't boot if I use GPU passthrough

2016-01-28 Thread Nicolas Roy-Renaud
Ok, try to remove your passthrough from your guest configuration (either using virsh of virt manager). That is : remove the actual gpu (PCI:1:0.0) but keep the associated sound card (PCI:1:0.1) in there so virsh knows it needs to bind with this VFIO group. From there, create a file (let's say ./

Re: [vfio-users] VM doesn't boot if I use GPU passthrough

2016-01-31 Thread Nicolas Roy-Renaud
cessfully. Windows tells me, that the GPU has an error code 14 (that's new) and that I shall restart. After the restart, the GPU gives me Code 43 again. Best regards, Ruben Am 29.01.2016 um 01:56 schrieb Nicolas Roy-Renaud: Ok, try to remove your passthrough from yo

[vfio-users] [BUG, HELP NEEDED] No signal (Invalid ROM) with some Asus Nvidia cards

2016-02-16 Thread Nicolas Roy-Renaud
I've been wanting to report this one for a while, but I was hoping I could gather some more information first to have a clear idea of what's wrong. Hopefully some people on the mailing list will be able to help us solve this. The guest GPU I'm using on my current VFIO machine is an Asus-made G

Re: [vfio-users] [help] Passing or sharing host temperature and fan speeds to guest?

2016-03-19 Thread Nicolas Roy-Renaud
You'd need to passtrhough the virtual ISA bus your sensor IO chip is connected to, and that's pretty tightly integrated with your southbridge, so I don't see how that could be doable. Why would you want that, though? The host and an hypotheric guest with thermal management access would both use

Re: [vfio-users] nvidia GT 705 pass-through failed

2016-04-12 Thread Nicolas Roy-Renaud
What error are you getting in the Windows device manager? If you're getting error 43, you have to mask your hypervisor either by disabling the hypervclock (check part 4 on aw's guide ) or by spoofing your hv_vendor_id

[vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-12 Thread Nicolas Roy-Renaud
I'm currently planning a full rewrite of the article on Arch wiki about PCI passthroughs and, as per Arch wiki guidelines, I'm supposed get the approval of other users before undergoing such comlex edits. If anyone on this mailing

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-12 Thread Nicolas Roy-Renaud
On 2016-04-12 16:11, Garland Key wrote: Please add what to do if both of your gpus are identical. This is an issue that was a huge headache for me. I actually gave up and went to fedora over it. I missed Arch after two weeks and went back. I was able to get it to work in fedora on the first

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-12 Thread Nicolas Roy-Renaud
On 2016-04-12 18:32, Alex Williamson wrote: On 2016-04-12 17:24, Alex Williamson wrote: On Tue, Apr 12, 2016 at 2:30 PM, Bronek Kozicki mailto:b...@spamcop.net>> wrote: 2. does PCI bridge have to be in a separate IOMMU group than passed-through device? No. Blan

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-13 Thread Nicolas Roy-Renaud
On 2016-04-13 12:05, Will Marler wrote: On Wed, Apr 13, 2016 at 9:18 AM, Ivan Volosyuk mailto:ivan.volos...@gmail.com>> wrote: Windows specific sound tweaks can be useful (audio crackles is a pain) - enable MSI as per Alex blog. Might be out of scope for the article though. Oh t

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-18 Thread Nicolas Roy-Renaud
On 2016-04-15 18:51, Hristo Iliev wrote: On Tue, 12 Apr 2016 14:50:55 -0600 Will Marler wrote: "options kvm ignore_msrs=1" On the wiki page as it stands now there is a warning, "Silently ignoring unknown MSR accesses could potentially break other software within the VM or other VMs." I'm not

Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article

2016-04-18 Thread Nicolas Roy-Renaud
ed. Just my, manually crafted bridge, explicitly used in VM definitions. B. *From: *Garland Key *Sent: *Monday, 18 April 2016 22:21 *To: *Nicolas Roy-Renaud; vfio-users *Subject: *Re: [vfio-users] [FEEDBACK NEEDED] Rewriting the Arch wiki article I'm an int

[vfio-users] USB controller no longer being released properly by QEmu/vfio

2016-05-03 Thread Nicolas Roy-Renaud
Up until about a week ago, I could pass through the USB controller for my front panel to my gaming VM and it would work just fine. Since then, though, and I'm not exactly sure what triggered it, it appears as if said controller isn't properly being released by the VM when it shuts down on its o

[vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-08 Thread Nicolas Roy-Renaud
Hello everyone. I've spent the last month or so reworking the pci passthrough article on Arch Wiki , and I'm getting to the point where I'm starting to be pretty satisfied with it personally. While there are still a few things I n

Re: [vfio-users] Trying to get VFIO working on my laptop

2016-05-10 Thread Nicolas Roy-Renaud
Hard to tell what the problem is at a glance, although I believe Quadro cards are a special case because they are meant to be passed-through like that, unlike Geforce cards where the hv_vendor spoofing is more of a workaround to get the drivers to load even though the card being detected isn't

Re: [vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-10 Thread Nicolas Roy-Renaud
On 2016-05-09 13:13, Okky Hendriansyah wrote: Hi Nicolas, Appreciate your work on this. I appreciate all the help I can get. :) Besides, the wiki article was in dire need of rewriting, alongside the fact that it looked like the go-to source of information for newcomers. 1.) Avoid transparent

Re: [vfio-users] Hardware recommendation?

2016-05-13 Thread Nicolas Roy-Renaud
Wow, if it wasn't for the not-as-cheap motherboards and the lack of recent features meant to boost performance (like NUMA and APIC-V, though I can't say how effective those are in the real world), I'd probably go for it as well. 300+ USD for a new mobo - especially when my current setup doesn't

Re: [vfio-users] Bluescreen on Guest OS graphics driver installation

2016-05-13 Thread Nicolas Roy-Renaud
Ah, great! I was waiting for someone to test those instructions. Looks like adding the PCI root port is a common mistake here, I really should mention it somewhere. Same thing about the CPU model, I should probably reccomand that people use host-passthrough before they scroll down further and

Re: [vfio-users] vm becoming unresponsing after sleep

2016-05-19 Thread Nicolas Roy-Renaud
As far as I know, it's not reccomanded to put the guest into sleep at all. Virt-manager's default behavior when configuring a Windows VM is to disable S3 and S4 capabilities in ACPI, so Windows knows they won't work and doesn't try to go into sleep automatically. What does your VM's configurat

Re: [vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-20 Thread Nicolas Roy-Renaud
Did you have any issues with efifb or some other driver grabbing the gard before vfio-pci? What are your IOMMU groups like, which chard is your boot_vga, what script or method do you use to get vfio-pci to bind with your card, what's your kernel command line and what modules are included in you

Re: [vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-21 Thread Nicolas Roy-Renaud
...@gmail.com>> wrote: On Fri, May 20, 2016 at 11:38 AM, Nicolas Roy-Renaud mailto:nicolas.roy-renau...@ens.etsmtl.ca>> wrote: Did you have any issues with efifb or some other driver grabbing the gard before vfio-pci? What are your IOMMU groups like, which c

Re: [vfio-users] [FEEDBACK NEEDED] Additionnal tips to include in the Arch wiki article

2016-05-22 Thread Nicolas Roy-Renaud
I remember trying that before I ended up switching my guest GPU to secondary, and I'd get the exact same symptoms (no input on the guest monitor, everything still boots normally) except without any kind of error message this time around. Are you recommanding to simply avoid booting off the boot

Re: [vfio-users] vfio fails Guest FreeBSD9.3 host Fedora 23

2016-05-31 Thread Nicolas Roy-Renaud
Does your CPU even support those? https://wiki.debian.org/Hugepages#x86_64 On 2016-05-31 12:26, chintu hetam wrote: Strange for me both 2MB and 1GB hugepages are failing LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=spice /usr/bin/qemu-kvm -name generic -S -ma

Re: [vfio-users] Nvidia Error 43 and vendor_id state='on'

2016-06-12 Thread Nicolas Roy-Renaud
On 2016-06-11 18:25, David wrote: OK, here we go. Understand my XML is a little in pieces right now, as i am trying to re-add the settings and the one under . In order to get the VM to boot i had to remove the Nvidia card. I first tried putting back all 3 hyperv settings and the clock setting

[vfio-users] Preventing host from going into sleep

2016-06-21 Thread Nicolas Roy-Renaud
I've had my fair share of lockups because I forgot to turn off my VM before putting my host to sleep, and I've started looking into some sort of lock to prevent that kind of mistake. Normally, I'd use something like `systemd-inhibit

Re: [vfio-users] Preventing host from going into sleep

2016-06-22 Thread Nicolas Roy-Renaud
dbus when it's being launched by libvirt. - Nicolas On 2016-06-22 12:42, Laszlo Ersek wrote: On 06/22/16 07:01, Nicolas Roy-Renaud wrote: I've had my fair share of lockups because I forgot to turn off my VM before putting my host to sleep, and I've started looking into some sor

Re: [vfio-users] Preventing host from going into sleep

2016-07-03 Thread Nicolas Roy-Renaud
16 12:01 AM, Nicolas Roy-Renaud wrote: By the looks of it, I can't write a wrapper script for qemu-system either since libvirt doesn't launch it with the same capabilities as a regular user, and the dbus calls coming from sysd-inhibit fail. You should be able to change the permissions to

Re: [vfio-users] No reset on GT730

2016-07-04 Thread Nicolas Roy-Renaud
Are you passing through any other PCI devices, like USB controllers or soundcards? I'm guessing you've already checked your vm logs in /var/log/libvirt/qemu and the daemon logs in journalctl? - Nicolas On 2016-07-03 12:33, Gerhard de Clercq wrote: I am trying to set up PCI passthrough of m

Re: [vfio-users] No reset on GT730

2016-07-04 Thread Nicolas Roy-Renaud
it definitely impossible to reset a card when using vfio-vga and seabios? -------- *From:* Nicolas Roy-Renaud *Sent:* 04 July 2016 07:18:12 PM *To:* Gerhard de Clercq *Cc:* vfio-users *Subject:* Re: [vfio-users] No reset on GT730 Ar

Re: [vfio-users] No reset on GT730

2016-07-05 Thread Nicolas Roy-Renaud
rd vfio-pci. ---- *From:* Nicolas Roy-Renaud *Sent:* 04 July 2016 11:49:36 PM *To:* Gerhard de Clercq *Cc:* vfio-users *Subject:* Re: [vfio-users] No reset on GT730 You can't really reset a card using SeaBIOS because it uses VGA arbitration, which has little to do with how an actual PCI pa