<div dir="ltr">All solved, ASUS returned, bought Sapphire <a href="https://www.techpowerup.com/vgabios/185767/sapphire-rx480-8192-160809">https://www.techpowerup.com/vgabios/185767/sapphire-rx480-8192-160809</a><div><br></div><div>blocked amdgpu, put there the RX480 ids, booted up with same script, did clean install of drivers (just to be sure) according to <a href="https://community.amd.com/thread/180667">https://community.amd.com/thread/180667</a> and all works.</div><div><br></div><div>I will not touch anything in wattman and probably just use the silent bios.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 11, 2017 at 10:54 PM, Tomáš M. <span dir="ltr"><<a href="mailto:pulec.mcm@gmail.com" target="_blank">pulec.mcm@gmail.com</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">Update: Card behaves completely same on native windows on motherboard ASUS H61-MK (didn't find any good LGA1155 MB in 2016).<div>Same behaviour, freezing in certain new games either to same whole PC freeze or in some games just app crash.</div><div><br></div><div>So card will go back to the seller.<br><div><br></div><div>Is there any chance I might have "bricked" the card somehow during my tries to get it running? I didn't test out the card running in native environment neither in Linux or Windows.</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 11, 2017 at 6:23 PM, Tomáš M. <span dir="ltr"><<a href="mailto:pulec.mcm@gmail.com" target="_blank">pulec.mcm@gmail.com</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">I am using HD 7950 on MB Asus P8Z77-V Pro with i7-3770 on Windows 7 and Windows 10 for many months now using this script <a href="http://pastebin.com/SeyXWH3E" target="_blank">http://pastebin.com/Sey<wbr>XWH3E</a> and these boot options: i915.enable_hd_vgaarb=1 intel_iommu=on intel_iommu=igfx_off<div><br></div><div>Only issues I had were with few games like Heroes of the Storm, Mad Max, which caused BSOD (maybe I didn't had "options kvm ignore_msrs=1" in /etc/modprobe.d/vfio.conf back then)<div><br></div><div>I decided to try out out RX480, from ASUS <a href="https://www.techpowerup.com/vgabios/185508/asus-rx480-8192-160628" target="_blank">https://www.techpowerup.c<wbr>om/vgabios/185508/asus-rx480-8<wbr>192-160628</a></div></div><div><br></div><div>Isolating gpu was simple, just blacklist amdgpu instead of radeon in /etc/modprobe.d/blacklist.conf and edit the ids in /etc/modprobe.d/vfio.conf:</div><div><br></div><div>options vfio-pci ids=1002:67df,1002:aaf0,8086:1<wbr>e31</div><div>options kvm ignore_msrs=1</div><div><br></div><div> and do mkinitcpio -p linux-vfio</div><div><br></div><div>I tested that out on linux-vfio 4.8.4 kernel from <a href="https://aur.archlinux.org/pkgbase/linux-vfio/" target="_blank">https://aur.archlinux.org<wbr>/pkgbase/linux-vfio/</a></div><div><br></div><div>I tried to run via OVMF, but I only got to UEFI menu on screen connected to gpu.</div><div>I was passing <span style="font-size:12.8px">   "-drive if=pflash,format=raw,readonly,</span><span style="font-size:12.8px"><wbr>file=ovmf_x64.bin"</span><span style="font-size:12.8px"> and tried number of bin files from <a href="https://aur.archlinux.org/packages/ovmf-git/" target="_blank">https://aur.archlinux.org<wbr>/packages/ovmf-git/</a></span></div><div><span style="font-size:12.8px">Should I have tried passing different rom for gpu or try to reinstall the system?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">But afaik Alex said there is no real advantage of using OVMF so I just used the same script for HD7950 and that worked, both Windows upgraded the drivers without problems.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">But only 2d games or older DX9 and lower games like: Unreal Tournament 2004, Freedom Fighters, Original War, Torchlight, Hearthstone worked.</span></div><div><span style="font-size:12.8px">All newer games like Witcher 3, DOOM, Planet Coaster, Overwatch caused whole PC freeze.</span><br></div><div><span style="font-size:12.8px">After 4-15s of the game screen went to some weird solid color and everything froze. I sometimes had to force shutdown, because restart button was not working.</span></div><div>I watched dmesg -w and vfio process output on host screen and I didn't see any related errors, just some usb messages after starting the VM.<span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Menus were okay, but Planet Coaster and Overwatch render something there so that was quick freeze.</span></div><div><span style="font-size:12.8px">Only newer game that seemed to work for few minutes was ABZU.</span></div><div><span style="font-size:12.8px">MSRS messages were ignored, there were a few of them right after Windows login. I am not sure if that means anything good or bad.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">According to MB manual first PCI 3.0 with 16 links shared some IRQ with USB controllers, so I tried to use 2nd with 8 links which had less IRQ, which didn't changed anything.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">When it was in there the IOMMU Group was:<br></span><div>IOMMU Group 1 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)</div><div>IOMMU Group 1 00:01.1 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0155] (rev 09)</div><div>IOMMU Group 1 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] [1002:67df] (rev c7)</div><div>IOMMU Group 1 02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf0]<br><br>In 1st PCI-E it was one PCI Bridge less, that should be OK afaik.</div></div><div><br></div><div>Right now I will try the RX480 in other PC with native Arch and Windows to verify if there is nothing wrong with it, but I doubt it.</div><div><br></div><div>I tried turning off the i915 patch, not passing the usb controller (the 8086:1e31) but it was always the same on Windows 7 (16.12 drivers) Windows 10 (17.1 divers).</div><div>Any ideas what else to try out?</div><div><br></div><div>Thanks</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>