Re: [vfio-users] Stutter in games

2017-01-23 Thread Quentin Deldycke
Hello, This is how I build a cpuset shield at vm boot: https://github.com/qdel/scripts/blob/master/vfio/scripts/shieldbuild And how I break it: https://github.com/qdel/scripts/blob/master/vfio/scripts/shieldbreak They are called threw libvirt hooks. In conjunction to tickles cpu, 1kHz frequ

Re: [vfio-users] Stutter in games

2017-01-23 Thread Okky Hendriansyah
On Mon, Jan 23, 2017 at 11:48 PM, Tiit Talts wrote: > QEMU 2.8+ > Kernel 4.8 @ Debian 8 > > Guest OS: Windows 10 > > H/W: CPU: AMD FX-8300, MB: GA-990XA-UD3, GPU: GTX 1080 > > FPS in games are great 150+/- @ normal details, but i have periodic fps > drops from 150 to 30-20fps when i move in game.

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] Stutter in games

2017-01-23 Thread Scott
You did the msi interrupt thing for hdmi audio right? scott On Jan 23, 2017 3:34 PM, "Alex Williamson" wrote: > On Mon, Jan 23, 2017 at 12:50 PM, Laszlo Ersek wrote: > >> On 01/23/17 20:02, Alex Williamson wrote: >> >> > isolcpus >> > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.

Re: [vfio-users] Stuck at Tiano Core Splash Screen

2017-01-23 Thread Alex Williamson
On Sun, 22 Jan 2017 18:24:54 +0100 "fenix23 ." wrote: > Hi, > > I have working vm with passedthrough GTX 980 Ti. I run it with command > below. > > QEMU_ALSA_DAC_BUFFER_SIZE=1881 QEMU_ALSA_DAC_PERIOD_SIZE=940 > QEMU_AUDIO_DRV=alsa exec \ > qemu-system-x86_64 \ > -enable-kvm \ > -smp cores=2

Re: [vfio-users] Stutter in games

2017-01-23 Thread Alex Williamson
On Mon, Jan 23, 2017 at 12:50 PM, Laszlo Ersek wrote: > On 01/23/17 20:02, Alex Williamson wrote: > > > isolcpus > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/ > linux.git/tree/Documentation/admin-guide/kernel-parameters.txt#n1669 > > BTW, do you know a method to massage isolcpus witho

Re: [vfio-users] No HDMI audio from AMD RX480 when passed through to Windows 8.1 VM.

2017-01-23 Thread Luke Yelavich
On Mon, Jan 23, 2017 at 09:22:54PM AEDT, Marcin Falkiewicz wrote: > Seems like you have to keep it. RX 4xx doesn't support legacy BIOS, only > UEFI firmware. Seems that way indeed. I'm not too bothered, one can turn displays off in Windows easily enough, and I still want the virtual machine manag

Re: [vfio-users] Stutter in games

2017-01-23 Thread Andrei Grigore
I had the same issues and I solved them by installing Windows 10 on bare metal. I am really interested if there is a fix for this. From my research, (I've spent 2 full months in trying to find all kinds of causes and fixes) I've just come to the conclusion that somehow the AMD CPU and/or the Mother

Re: [vfio-users] Stutter in games

2017-01-23 Thread Laszlo Ersek
On 01/23/17 20:02, Alex Williamson wrote: > isolcpus > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt#n1669 BTW, do you know a method to massage isolcpus without a host reboot? The last paragraph of the linked section doesn't lo

Re: [vfio-users] Stutter in games

2017-01-23 Thread Alex Williamson
[Please copy the mailing list, use reply-all. The mailing list is not intended to spawn private conversations] On Mon, Jan 23, 2017 at 11:30 AM, wrote: > I have no clue what to Google even. All cpu pinning topics are for virt > isolcpus http://git.kernel.org/cgit/linux/kernel/git/torvalds/linu

Re: [vfio-users] Stutter in games

2017-01-23 Thread Zachary Boley
Make sure you pin your cpus and possibly set huge pages, also don't use qcow2 use raw with no cache and native thread On Jan 23, 2017 11:18 AM, "Alex Williamson" wrote: > [re-adding vfio-users] > > On Mon, Jan 23, 2017 at 10:11 AM, wrote: > >> QEMU command is : >> >> >> >> #!/bin/bash >> >> >>

Re: [vfio-users] Stutter in games

2017-01-23 Thread Alex Williamson
[re-adding vfio-users] On Mon, Jan 23, 2017 at 10:11 AM, wrote: > QEMU command is : > > > > #!/bin/bash > > > > ## PARAMS## > ## > > CMD="-name vm2 -enable-kvm" > > CMD="$CMD -machine type=pc,accel=kvm,kernel_irqchip=on,mem-merge=of

Re: [vfio-users] Stutter in games

2017-01-23 Thread Alex Williamson
On Mon, Jan 23, 2017 at 9:48 AM, Tiit Talts wrote: > QEMU 2.8+ > Kernel 4.8 @ Debian 8 > > Guest OS: Windows 10 > > H/W: CPU: AMD FX-8300, MB: GA-990XA-UD3, GPU: GTX 1080 > > FPS in games are great 150+/- @ normal details, but i have periodic fps > drops from 150 to 30-20fps when i move in game.

[vfio-users] Stutter in games

2017-01-23 Thread Tiit Talts
QEMU 2.8+ Kernel 4.8 @ Debian 8 Guest OS: Windows 10 H/W: CPU: AMD FX-8300, MB: GA-990XA-UD3, GPU: GTX 1080 FPS in games are great 150+/- @ normal details, but i have periodic fps drops from 150 to 30-20fps when i move in game. i noticed that when i stand still in Battlefield 4 no fps drops ever

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] No HDMI audio from AMD RX480 when passed through to Windows 8.1 VM.

2017-01-23 Thread Marcin Falkiewicz
Seems like you have to keep it. RX 4xx doesn't support legacy BIOS, only UEFI firmware. On 22.01.2017 00:37, Luke Yelavich wrote: On Wed, Jan 18, 2017 at 08:21:05PM AEDT, Luke Yelavich wrote: Greetings. I'm writing with a rather annoying problem. I am unable to get audio output through HDMI on