Re: [vfio-users] amd rx480 invalid rom contents

2017-02-11 Thread P. Pronk
Unfortunately no, but I have to start the windows vm that uses the rx480 before I can use atiflash for linux. Not sure whether I use the correct terminology, but it seems the bios of the gpu needs to be initialized/loaded before atiflash can access the gpu. If I try to use AtiWinFlash in the

Re: [vfio-users] amd rx480 invalid rom contents

2017-02-10 Thread Scott
You flashed your card using a windows vm with pass through? scott On Feb 10, 2017 6:36 PM, "P. Pronk" wrote: > > Follow-up on the issues I was experiencing, it looks like they are fixed > by a new bios I got from MSI: https://www.techpowerup.com/vg > abios/188263/188263 > > With this bios my PC

Re: [vfio-users] amd rx480 invalid rom contents

2017-02-10 Thread P. Pronk
Follow-up on the issues I was experiencing, it looks like they are fixed by a new bios I got from MSI: https://www.techpowerup.com/vgabios/188263/188263 With this bios my PCIe Bus Errors are gone and I don't need to specify the rom file in the xml anymore. Not sure if this is known to ever

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-24 Thread P. Pronk
Thanks for checking. After adding nohz_full, rcu_nocbs, isolcpus parameters to my grub cmdline and switching to the Ubuntu lowlatency kernel it seems the sound is quite good when playing youtube video's or vlc. No crackles or noise anymore. Not sure if there is really causation with using the

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread Scott
I removed the rom file and my VM still functions the same. On Mon, Jan 23, 2017 at 8:54 PM, Scott wrote: > Hmm. No I pass through my usb headset for sound and microphone. Once I > adjusted the sample rate in was good to go. > > I pass through the hdmi audio PCIe device and set the msi interrupt

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread Scott
Hmm. No I pass through my usb headset for sound and microphone. Once I adjusted the sample rate in was good to go. I pass through the hdmi audio PCIe device and set the msi interrupt for good measure though I don't actually make use of it. scott On Jan 23, 2017 7:04 PM, "P. Pronk" wrote:

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread P. Pronk
Also for a ich6 sound device? Thought the msi interrupts was a 'pass through' setting when you use the hdmi audio device? Anyway, it's not listed in regedit in the PCI tree as the amd & virtio devices are so not sure what to do. I have to set it to CD quality, any better or worse and the cra

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread Scott
Also I had weird errors initially with my gpu.. turned out my power supply was failing and therefore not providing quite enough power. Got a new power supply and all was well. Just food for thought. scott On Jan 23, 2017 6:40 PM, "Scott" wrote: Change the sample rate in Windows to DVD quality

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread Scott
Change the sample rate in Windows to DVD quality.. that made my sound crackles go away. Also ensure msi Interrupts enabled. scott On Jan 23, 2017 6:24 PM, "P. Pronk" wrote: > > That would be interesting to see indeed. Actually I bought the RX460 > because first I wanted to use my old HD7850, b

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread P. Pronk
That would be interesting to see indeed. Actually I bought the RX460 because first I wanted to use my old HD7850, but then my pc didnt even want to boot (linux, didnt try windows). It just hanged seconds after grub loading with a lot of those PCIe Bus Error's. Then I tried a couple Nvidia NVS

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread Scott
Hi I downloaded a rom from the Internets. There is a common site that has a library of them. I have been meaning to try without the rom file too. Not sure it's necessary. I think you have a tougher time because you have two AMD cards. I am able to blacklist the AMD driver completely because my

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread P. Pronk
On 22/01/17 16:34, Rokas Kupstys wrote: I was not aware of ddc/i2c or ddccontrol before. You're welcome, but please let me update my advise. I just found an updated program (as ddccontrol has not been maintained for quite some time). Please also have a look at: http://www.ddcutil.com/ and th

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread P. Pronk
On 2017-01-23 12:13, Manuel Ullmann wrote: depending on the Polaris being a reference card Thanks for your comments, but it seems the MSI Gaming X series is not a reference card (its factory overclocked). So the vBios being bricked by the manufacturr should be also kept in mind. I dont think

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-23 Thread Manuel Ullmann
Hi, depending on the Polaris being a reference card, the Bios may be actually passed through from AMD itself. Sapphire told me that, when I was complaining about exactly your issue with an RX480 reference card from them. Since I bricked it the first time, I had a reference bios from sysfs, that wa

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-22 Thread Scott
Here is my xml in case it helps: dozer 989e9ee8-2e0a-asdf-asdf-00a41fdb1b31 dozer 8388608 8388608 4 hvm /usr/share/OVMF/OVMF_CODE.fd /var/lib/libvirt/qemu/nvram/dozer_VARS.fd

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-22 Thread P. Pronk
Thanks, that's good to know and I will try to specify the rom. In the mean time, do you know which bios revision your card has? The other revision is https://www.techpowerup.com/vgabios/185395/msi-rx480-8192-160719 So is it 113-MSITV341MH.151 or 113-MSITV341MH.152 ? Pim On 2017-01-22 20:

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-22 Thread Scott
I have that msi rx480 card working with pass through. Note I had a much easier time using the uefi bios. I am currently specifying a rom file in my XML for my video card but I don't think that's entirely necessary. scott On Jan 22, 2017 12:47 PM, "P. Pronk" wrote: > On Sun, 22 Jan 2017 11:55:5

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-22 Thread P. Pronk
On Sun, 22 Jan 2017 11:55:57 +1100, Luke Yelavich wrote: Who is the manufacturer of both your AMD cards? So far as I understand things, its up to the manufacturer of the card to provide the appropriate ROM to suit the configuration of the card. Its likely that a ROM/BIOS update may fix your RX

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-22 Thread Rokas Kupstys
> ddccontrol This is unrelated to your problem, but thank you very much for mentioning this software. I was not aware of ddc/i2c or ddccontrol before. After some tinkering i came up with full software kwm switch for VMs . Hope it

Re: [vfio-users] amd rx480 invalid rom contents

2017-01-21 Thread Luke Yelavich
On Sun, Jan 22, 2017 at 10:15:41AM AEDT, P. Pronk wrote: > Hi all, > > Hope you can help me with this. I've built a new pc specifically with vfio > in mind but unfortunately I can't get it too work. My pc consists of an Asus > X99-M motherboard, Intel E5-1620v4, AMD RX480 in PCIE slot 1 (for Windo

[vfio-users] amd rx480 invalid rom contents

2017-01-21 Thread P. Pronk
Hi all, Hope you can help me with this. I've built a new pc specifically with vfio in mind but unfortunately I can't get it too work. My pc consists of an Asus X99-M motherboard, Intel E5-1620v4, AMD RX480 in PCIE slot 1 (for Windows guest) and AMD RX460 in slot 3 (for Linux host). Both GPU's