Re: [Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-11-15 Thread Roger Lawhorn
Thanks. I will look into this. On 11/15/2017 10:56 AM, misairu wrote: > Does your Subsystem ID and Subsystem Vendor ID (of your GPU) show > correctly inside the WindowsVM? > > It should be the same ID shown in your host. Otherwise that will trigger > the Code 43 error. > > I once have this proble

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-11-15 Thread misairu
Does your Subsystem ID and Subsystem Vendor ID (of your GPU) show correctly inside the WindowsVM? It should be the same ID shown in your host. Otherwise that will trigger the Code 43 error. I once have this problem but now solve this by some vfio-pci option. Now I have a laptop that passthrough m

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
I meant to say you cannot run without the intel card in windows if you have optimus. I am glad seabios somehow hides optimus. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1680679 Title: qemu canno

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
It works using seabios. I assume that the nvidia driver cannot see optimus, and expect an intel card also, unless I use OVMF. I do know that you cannot run off the intel card in windows. It's a no-no. Thanks for the bios tip. Maybe I can hide the optimus feature from OVMF and windows. -- You rece

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Alex Williamson
I suspect the 'M' in GTX880M is the biggest contributor to the Code 43. The fact you can get it to work once per host boot on SeaBIOS is a fluke. If you can get custom ROMs, you might try playing with the vfio- pci x-pci-device-id option to masquerade as a discrete card, maybe that would avoid mob

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
ok, so I will research qemu and nvidia optimus. I have a custom BIOS made by an MSI employee. I have hundreds of bios options to play with. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1680679 Title

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
My uefi build script. If you see an error or issue that could cause error 43 please confirm it: #!/bin/bash cd /home/dad/qemu/qemu2 sudo ./up.sh tap0 configfile=./vfio-pci1.cfg vfiobind() { dev="$1" vendor=$(cat /sys/bus/pci/devices/$dev/vendor) device=$(cat /sys/bus/pci/dev

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
GTX880M - uefi firmware built in, confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1680679 Title: qemu cannot run twice Status in QEMU: Invalid Bug description: After using qemu with g

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Alex Williamson
Perhaps you get Code 43 because mobile NVIDIA chips make use of Optimus which requires significant proprietary firmware support. QEMU/VFIO has never claimed to work with such devices. The further speculation in the original report that QEMU corrupted something in Linux seems unjustified, the devi

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Alex Williamson
Comments #3 & #4 are not relevant to this bug and inaccurate speculation. There is no known incompatibility between NVIDIA drivers and OVMF. Many users, including myself, use this combination daily. The issue is far more likely to be a VM configuration issue or lack of UEFI support in the GPU ROM

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
NOTE: I only get gpu passthrough to work when using seabios. UEFI will not work with modern nvidia drivers. You get the 'code 43' error because whatever standards nvidia expects when talking to uefi are not met by the OVMF firmware used by qemu. This issue happens to windows users also. They had to

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
NOTE: Article showing windows users updating their motherboard uefi firmware to get around code 43: https://devtalk.nvidia.com/default/topic/861244/cuda-setup-and-installation/geforce-740m-asus-x550l-code-43-after-windows-10-update/3 -- You received this bug notification because you are a member

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Roger Lawhorn
I have been told that getting this to work with a laptop is rare. I own an MSI GT70-2PE. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1680679 Title: qemu cannot run twice Status in QEMU: New B

[Qemu-devel] [Bug 1680679] Re: qemu cannot run twice

2017-04-07 Thread Alex Williamson
If you get one boot where GPU assignment works with a mobile GeForce, you're doing better than most. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1680679 Title: qemu cannot run twice Status in QE