Beancounter

Members
  • Posts

    30
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Beancounter's Achievements

Noob

Noob (1/14)

4

Reputation

  1. A fix has apparently been found for the Ryzen NPT issue. Source: Quick Fix: https://lists.linuxfoundation.org/pipermail/iommu/2017-October/024823.html Patch Link: https://marc.info/?l=kvm&m=150891016802546&w=2
  2. Unraid used to support Xen, prior to moving to KVM. I setup a number of Xen VM's and quite frankly it wasn't fun. Setting up a Xen VM was a level of magnitude more involved/difficult. Before doing anything rash I'd consider reading the following articles. There is a reason the move was made from Xen to KVM.
  3. Ryzen/TR run near native with no issues /w Xen The issue is not a hardware issue with AMD/Ryzen/TR. The issue is software/KVM related.
  4. At this rate who knows. I'm in a precarious situation here. I use the Windows VM to play games with my kids say 4-8 hours/week but it also runs my media server for my home theatre which is used 20+ hours/week. Since running QEMU I've started to experience audio issues such as popping/stalling/hissing and audio passthrough isn't working on my receiver. It is showing as "PCM" mode vs dolby atmos or dolby digital. I'm going to try a few things this weekend. to see if I can get the audio working property... otherwise i'm going to be looking at a dual boot system.
  5. Ok. THIS is how to successfully disable NPT on a Ryzen system: 1) Change the syslinux.cfg file to show: label unRAID OS menu default kernel /bzimage append initrd=/bzroot kvm-amd.npt=0 2) You will notice your windows VM will fail to load now. In order to get it to work properly you now have to go to the unraid GUI and click on VM's and shut down your windows gaming VM. Click edit and change the CPU mode from raw/physical to emulated (QEMU) . Thats it! I immediately noticed the CPU usage is higher but realistically jI can throw as many cores at this VM when I'm playing games as I want. Gaming FPS went from 10-25 to 60-140 in the same scene. WOOHOO!
  6. Ok.... forget the /etc/modprobe.d/kvm-amd.conf file... Change the syslinux.cfg file to show: label unRAID OS menu default kernel /bzimage append initrd=/bzroot kvm-amd.npt=0 Trying this now. Will let you know how I make out.
  7. I I had the same results as you. I was at work researching a solution for myself when I stumbled upon this thread. I added the following (which basically adds options kvm-amd npt=0 to kvm-amd.conf. echo "options kvm-amd npt=0" > /etc/modprobe.d/kvm-amd.conf I didn't notice any improvement so I putty'd back into the tower to see what other files were in /etc/modprobe.d. Sure enough there was a kvm.conf there as well. I added a line to the kvm.conf and rebooted the server just in case the server was only reading the kvm.conf and not the kvm-amd.conf. My understanding of the modprobe.d directory is minimal. I believe it runs any .conf files in that directory on boot and that file name does not matter (only what is contained within them). I didn't notice a difference either way. Quite frankly I don't know how to check that NPT is actually disabled. When I get the kids in bed I'm going to spend some time on this tonight. I'd gladly take a 20% hit on my CPU if it meant close to barebones GPU speeds.
  8. I ran a amd 270 before upgrading to a rx580 last week. I ran a b350 MB /w 32GB of ram and a stock 1700. I had no issues with sounds popping or videos. I did have a software issue with netflix green screening but no other issues. The gaming issue is a bug in KVM. This isn't a AMD issue or a Unraid issue. I actually bought a new video card so I could play some games with my kids in the home theater where the server is located... boy was I pissed when I installed the card only to see almost no increase in FPS. games that should run 60+ FPS on my amd 270 are running at 10-25FPS on my rx580. The issue is related to NPT (nested page tables) on AMD systems and has been a bug with KVM for 5+ years. The only work around at this point is to disable NPT. I haven't noticed any increase in FPS by disabling NPT but I also can't say for sure if I'm disabling NPT successfully.
  9. For those of you running gaming VM's who have disabled NPT. Which file did you add the options kvm-amd npt=0 too? kvm.conf or kvm-amd.conf (or is it amd-kvm.conf
  10. I am experiencing the same issue. From the reading I've done the issue is with KVM. Xen passthrough has no issues on Ryzen. (correct me if I'm wrong) Disabling NPT in the gaming VM fixes the GPU issue (near barebones speed), but this obviously hinders CPU performance. How to disable NPT: https://forums.lime-technology.com/topic/36553-how-do-i-disable-nested-page-tables/ NOTE: I'm not sure which syntax is correct. I've noticed some people write "kvm-amd npt=0" while others use "kvm-amd.npt=0" For more info see: http://www.spinics.net/lists/kvm/msg152112.html https://forum.level1techs.com/t/ryzen-gpu-passthrough/116458 And updates on the VFIO/KVM issue: https://www.reddit.com/r/VFIO/
  11. I'm out on business till Sunday but I recall the VM having an issue finding or saving to storage. My initial thought was that the update was causing the crash but I lnow believe unraid crashed before the win 10 vm went down. Win 10 VM has power management settings turned off. no screen saver sleep etc. IE the crash was not caused by a resume or sleep state. I have another pc monitoring unraid log. hope to have more info shortly. FWIW all of my crashes seem to take place in the AM.
  12. Update: Unraid died after 8 days at exactly 4:30AM. Event logs in my Windows 10 VM indicate that the crash took place just as the OS was trying to update. ill leave win10 VM running tonight without completing the update to see if it crashes at the same time for the same reason.
  13. Update: System Uptime: 7 days and counting. I should mention I have ACS override enabled. Not sure if it makes a difference or not. It was a carry over from my previous setup.
  14. Update: UnRaid was crashing randomly every 12-36 hrs or so. Since a recent Windows 10 patch unraid has been stable for 4 days and counting.
  15. I use a cheap usb addon card that I pass through to one of my VM'S. It's nice to have for importing data from USB HD or sd cards without having to worry about which ports are assigned to a vm.