<div dir="ltr"><div><div><div>Hello all,<br><br></div>I also had problems with installing Catalyst higher than 14.12 for my r9 290 on both win 8.1 and 10.<br>BSOD and rebooting cycle after installing Catalyst.<br></div>The solution was to add ioh3420 and pass the GPU through it.<br>I using qemu from commandline with following parameters for GPU:<br><br>   -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \<br>   -device vfio-pci,host=02:00.0,bus=root.1,addr=00.0 \<br><br></div><div>Afterwards win10 automatically installed the latest non-beta drivers without problems.<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 19, 2015 at 7:11 AM, Brian Chow <span dir="ltr"><<a href="mailto:brianchow@digitaldescent.net" target="_blank">brianchow@digitaldescent.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Konstantin,<div>  Thank you so much.  I had been struggling with this for 2 weeks now, where I could get bios to post / MS Basic Adapter working, but both Win8.1 and Win10 would crash as soon as I installed the AMD drivers.  Your method worked for me!  Win10 accepted the driver.</div><div><br></div><div>Just to add to Konstantin's post -- this is the qemu script I used to start/install windows 10.</div><div><br></div><div><div>qemu-system-x86_64 \</div><div>        -name starscream \</div><div>        -enable-kvm \</div><div>        -m 8192 \</div><div>        -cpu host,kvm=off \</div><div>        -smp 4,sockets=1,cores=4,threads=1 \</div><div>        -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF-pure-efi.fd \</div><div>        -drive if=pflash,format=raw,file=/home/bchow/kvm/starscream/OVMF-starscream.fd \</div><div>        -drive file=/home/bchow/kvm/starscream/starscream.img,if=virtio,format=raw \</div><div>        -drive file=/home/bchow/Win10_English_x64.iso,format=raw,id=win10cd,if=none -device ide-cd,bus=ide.1,drive=win10cd \</div><div>        -drive file=/home/bchow/virtio-win-0.1.110.iso,format=raw,id=virtiocd,if=none -device ide-cd,bus=ide.1,drive=virtiocd \</div><div>        -device vfio-pci,host=01:00.0 \</div><div>        -device vfio-pci,host=01:00.1 \</div><div>        -usb -usbdevice host:24f0:0141 \</div><div>        -usb -usbdevice host:046d:c00e \</div><div>        -usbdevice tablet \</div><div>        -vga qxl \</div><div>        -boot menu=on \</div><div>        -show-cursor</div></div><div><br></div><div>---</div><div><br></div><div>After the OS install and unpacking the AMD drivers, and then killing the VM, I modified the script to read -vga none instead of -vga qxl.</div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 18, 2015 at 2:10 PM, Konstantin Weber <span dir="ltr"><<a href="mailto:konstantin-weber@gmx.de" target="_blank">konstantin-weber@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
first time posting on a mailinglist, so I hope this works out.<br>
<br>
<br>
A couple of days ago I had a simmilar issue with an amd gpu and windows<br>
8.1. Maybe my notes could be helpful.<br>
<br>
<br>
Background:<br>
Hardware used:<br>
Xeon E3-1246v3<br>
MSI H97 Guard Pro<br>
Asus R9 280 DC2T<br>
24 GB Ram (2x8 GB, 2x4 GB)<br>
<br>
Arch Linux with kenel 4.1.6-1<br>
<br>
I have a working Windows 8.1 virtual machine with gpu passthrough with<br>
an asus r9 280 dc2t.<br>
This one was created with a <4.0 kernel (3.18 I think), pci-stub,<br>
libvirt in qemu:\\\system over a year ago and has been running mostly<br>
without problems. I could update the gpu driver and the ccc without<br>
problems.<br>
After I recently read at aw's blog that libvirt now supports passthrough<br>
in user-session, i used vfio instead of pci-stub and could use the<br>
virtual machine in user mode.<br>
<br>
<br>
Actual issue:<br>
For testing purposes I then wanted to create another virtual machine,<br>
which then had the issue, that after installation of the gpu driver, the<br>
vm would not boot unless the gpu was removed from it.<br>
I used the same iso for installation, that I used for the working<br>
virtual machine. After some attempts I even copied the installer of the<br>
driver from one vm to the other, but it did not work.<br>
<br>
<br>
Some of the steps I tried were:<br>
- Installation of Catalyst 15.7.1 gave a bluescreen with<br>
"system_thread_exception_not_handled (atikmdag.sys)".<br>
- Attempted installation of the driver over the device manager resulted<br>
in an immediate restart without installing the driver.<br>
- Installation of the driver over the device manager in safe mode<br>
worked, but a restart without safe mode resultet in permanent restarts<br>
until the vm was forced shutdown.<br>
- Copying the installed files (not the installer) from the windows/...<br>
directories from the working one to the other one let me choose the<br>
driver in the device manager, but also resulted in permanent restarts<br>
until the gpu was removed from the vm.<br>
- Starting the virtual machine over the command line without<br>
virt-manager, installing the driver over device manager and rebooting<br>
worked once and then resulted in restarts.<br>
<br>
I tried for some days a couple of combinations of the above and some<br>
suggestions I found through google, but nothing helped.<br>
<br>
<br>
What finally did help was this:<br>
<br>
Start a fresh installation of windows 8.1 in qemu without libvirt. It<br>
contained only the minimum needed to start (cpu, ram ...; ovmf image;<br>
installation iso; virtual disk; qxl vga; gpu for passthrough with audio).<br>
During installation I disabled the windows setting for loading new<br>
drivers. After the installation I didn't restart, update or change any<br>
setting. The gpu had only the microsoft basic driver with a code 10 and<br>
did not show anything.<br>
I downloaded the 15.7.1 driver from amd, extracted it and stopped the<br>
installation.<br>
I opened the settings for resolution and disabled the output on the qxl<br>
gpu, which left me with no output.<br>
After that I killed and restarted the virtual machine, so the output was<br>
only on the r9 280 and installed the driver manually over the device<br>
manager. This worked fine and I had no bluescreen or restarts.<br>
After the installation I was able to reboot the virtual machine without<br>
problems and install the ccc including the hdmi driver. I could also<br>
enable the qxl gpu, install new drivers for it and install virtio drivers.<br>
<br>
<br>
My qemu start script now looks like this:<br>
<br>
qemu-system-x86_64 -enable-kvm -m 4096 -cpu host,kvm=off -smp<br>
4,sockets=1,cores=4,threads=1 \<br>
-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/OVMF-pure-efi.fd \<br>
-drive<br>
if=pflash,format=raw,file=/home/MYUSERNAME/.config/libvirt/qemu/nvram/WinTest_ovmf.fd<br>
\<br>
-drive<br>
file=/media/Daten/VirtuelleMaschinen/WinTest_ovmf.qcow2,if=virtio,format=qcow2<br>
\<br>
-vga qxl \<br>
-device vfio-pci,host=01:00.0 -device vfio-pci,host=01:00.1<br>
<div><div><br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>