unraidrocks

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by unraidrocks

  1. Just an update on my Gigabyte RX Vega 64 OC, on Unraid 6.6, as long as I don't passthrough the GPU's sound card, the video card won't encounter the bug. Meaning, just have to use a different device for sound card. At least it's something. Thought I'd let everyone know in case you have an RX Vega Card.
  2. This is a case of Nested virtualization. I have the following hardware CPU 3039k 64GB Ram Asus x79 Sabertooth On Unraid 6.3.5 I was able to run Virtualbox inside a KVM machine. It worked could choose to create a 32 or 64 bit virtualbox machine. I'm now on Unraid 6.5.1 and I needed to create and test a Virtualbox machine and right now, it can only create 32 bit machines. It can't create 64 bit machines like before. I have a Ryzen Unraid 1800x, Asus Crosshair VI Hero. It also has Unraid 6.5.1 and I'm able to create 32 and 64 bit machines on that hardware. This would be an issue that can be fixed by going into the machine BIOS and enable virtualization but this is an unusual case. Can any else confirm? Is there a reason for my Intel CPU can't run nested VM inside KVM? Any assistance would help. Thanks
  3. Before you use Unraid extract the GPU BIOS using TechPowerUp GPU-Z and best to do it on a clean Win10 and then use the Hex editor to remove the headers from the BIOS file. Had to do that on my GTX 1060 because none of the online BIOS worked. On a side note, I finally got my RX Vega 64 to GPU passthrough but the Reset bug for AMD cards persists. I have to reboot the whole system to make it work again. I used this post and works with some success. Does anyone else have this struggle with the AMD reset bug?
  4. Bumping Topic. My Vega 64 will not run again after first boot and requires entire system to reboot for it to work again. Through trial and error, discovered that if you only GPU passthrough the Video Card only and no sound card, running that command will pause the machine when shutting down the computer. It was reliable and Forced Closed without issue. I have an RX 480 that behaves the same way but only when switching between Linux and Windows KVM. I read that Vega might play nicer with newer version of the linux kernel 4.16+ but we are using 4.14. It's going to be a while and I may just switch to an Nvidia.
  5. Bumping topic. I have a Gigabyte Radeon RX Vega 64 Gaming OC 8G I've dumped the BIOS using GPU-Z from Techpowerup site on Windows 10. None of the Gigabyte downloads work when trying to use GPU Passthrough. I attempted to use other manufacturer's BIOS but that resulted in Unraid crashing completely. I've had luck GPU passthrough with Sapphire RX 480, but not with Vega. Is anyone out there using this or a variant of this card? Doesn't help with Vega having limited releases. Any help or feedback would be nice. Thanks
  6. I've been using an Unraid Ryzen 1800x with asus crosshair vi hero. The system froze and unstable on Windows 10. It's the only reason I even went to Unraid, for stability. The last piece to the puzzle is the getting to GPU passthrough Gigabyte Radeon RX Vega 64 Gaming OC 8G. Has anyone tried or GPU passed any RX Vega cards? I can actually confirm the Ryzen Platform to be very stable. No issues or random freezes. I'm not big on overclocking so it's not big deal. For GPU, I'd recommend any any GTX 1060 or above. I've had EVGA. You'll need to extract the BIOS with GPU-Z from Techpowerup and just remove the header from the BIOS with a Hex editor. https://www.youtube.com/watch?v=1IP-h9IKof0 That's what I did with my card, GTX 1060 6GB. None of the online BIOS worked. Also don't get any AMD cards for Unraid. They will stop working if you ever reboot or turn off the VM. To fix it you need to reboot the server. You'll have less headaches. Funny that I have a Vega 64. If anyone can assist with dumping or getting that BIOS, I'd really appreciate it.
  7. I think you are on to something with linux VM crashing System. I swapped my motherboard to my existing Unraid Setup: Unraid 6.3.5 Old System Asus Sabertooth X79 3930k SUPERMICRO AOC-SAS2LP-MV8 PCI-Express 2.0 x8 SATA 64 GB RAM New Hardware Biostar x370gtn Ryzen 1800x G.SKILL Ripjaws V Series 16GB x 2 I intended to run headless and with the issues with C-State still going, I disabled it on my Ryzen system. I did a few trial and error to make sure the machine would run headless. And I was doing some simple bench tests on VM and was all fine until I launched the Ubuntu VM. I actually need those VM up always, and I didn't go on with experimenting because its my main server. I don't want to continue messing around but not at the expense of my data. I'm staying with my intel machine for now. I didn't want to upgrade to release candidate; the last time I upgraded versions of Unraid, I had major growing pains. I'm scavenging hard drives to use for experimenting on the Ryzen build. I don't plan to do any GPU passthrough, I'm going to verify the issue with Linux VM as well as see just how stable the RC are. I'll just import all the VMs and try to create the crash I had in 6.3.5
  8. I moved my unassigned drives from SATA connections to a USB 3.0 dock. The thing that bugged me is it appears on the list of usable drives for me to add to an existing array. I don't want to do that, at least not yet. 1. Does Unraid support adding USB 3.0 drives to an array (unassigned usb ports)? 2. Do USB 3.0 drives count towards the license count on of my Unraid license? Please let me know and if its even totally possible to run an array of USB 3.0 drives using Uraid because that to me is shocking.
  9. Just a follow up if anyone is interested in bridging a network adapter for virtualization, VirtualBox and VMWare. I've only tested this on VirtualBox in a KVM Windows 10 machine. I noticed the TAP-Windows Adapter V9 is used for OpenVPN or VPN applications that use that adapter. I had recently setup an OpenVPN server and the thought occurred to use adapter as the bridge instead of the Red Hat VirtIO. Results are in and it gave me internet access to my virtualbox VM. It's a workaround and I can live with it. I had previously tried to make a Loopback adapter and tried bridging that and couldn't make it work. So now, if ever I need to bridge an adapter, I can use the TAP-Windows Adapter, or use any other adapter that can be used for means of giving the virtualbox VM access. Although now since using Unraid I really find the exercise of using virtualization software very pointless.
  10. After more thorough testing, it turns out the sound lag is still there even pass through my physical machine's HD to the KVM. Its still bugs me but the sound bar with Bluetooth output is way better so I'm using that. Still I will have to test and see if this issue is related to AMD's GPU. I gave away my Nvidia 750ti before so I have no means of testing this. Thanks for all your help and input.
  11. Wanted to post my experiences with VMs and adjusting the CPU pinning. My issue had more to do with sound audio delay when streaming any kind of videos, if it is on Youtube, twitch, plex, ect. When assigning CPU cores to my VM there was a notable improved performance but the lag and delay with video streaming cause the audio and video to sync so bad that I literally made my bluetooth soundbar my PC speakers. And even that had an occasional hick up, but was tolerable. I discovered that this lag was really caused by the VM using the Cache Drive. Performance plummets when using the cache drive for other things like VMs, file transfers, or ther VMs running. I decided to continue using my physical machine's drive and just passthrough that drive and built a VM around it. All the audio issues were gone. Combine this with CPU pinning, I can't tell the difference between my VM and my original physical machine (before it had Unraid) Just thought I'd add my experience with CPU pinning and passing through the entire dedicated OS drive instead of using the cache drive.
  12. Your post was solid. In the end, the lag and sound latency is caused by using the Cache drive for running the VM. If instead you pass the full HD to the VM, the sound delay latency is gone. This is the issue. Not even all the extra VM and plugins and extra services, and Windows Updating all while doing this!!!!!!!! To Admins, if you are reading this, the lag delay in sound when streaming videos wasn't caused by AMD Video card, but more with running the OS inside Unraid cache drive. Even with an Evo 850 Pro, the sound suffers in virtualization. I'm posting my experiences to your main thread.
  13. Came to realize that the VirtualBox plugin does work as intended. However it will not run any Virtualbox VM if there are Unraid KVM running. It seems they can't share VT-X. Is there a way to make a Virtualbox VM and an Unraid VM run at the same time? Thanks
  14. I should have just followed your advice from the beginning. I did get VirtualBox to run through a plugin instead of inside the Unraid VM. Works beautiful but can't console into it and no Unraid VM can run while it's in use. Maybe there is a way to make them both play nice? Then I followed up on what you posted, created a SEABIOS machine and attached the VDI files from Virtualbox machine. It just works. I didn't even need to install no network drivers. At long last I can just completely adopt Unraid VM. Thanks again for the advice. Still learned alot from all this.
  15. I tried running one of the virtual machines and it appears to not run because of the following error: VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE). VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE) Does this mean that I can only run Virtualbox VM when none of the KVM of Unraid are running? Is there a way to fix and let them share resources? Just figuring things out. Also I tried disabling the VT-X and AMD-V on the machine and it won't start. It's hung. When I try to remove the machine I get this error: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'Ubuntu Server One' while it is locked (0x80bb0007) Thanks
  16. I got a popup that said the following: This version of phpVirtualBox (5.0-5) is incompatible with VirtualBox 5.1.8. You probably need to download the latest phpVirtualBox 5.1-x. See the Versioning section below the file list in the link for more information Is this something I should worry about? The version not being compatible? Just want to be on the safe side and again thanks so much for the prompt reply.
  17. Thanks, I installed Apache Plugin as you said and then extracted phpvirtualbox to the documentroot. I got to the link but it asks me for a user name and pass. The default config has (user: vbox )(pass: pass). It doesn't like that. Which user to I login to on the phpvirtualbox side? Do I have to create the users on the VirtualBox plugin side? Please let me know and thanks
  18. Totally new to this post and I'm struggling with steps. How would I go about installing phpVirtualBox after the plugin has been installed? If there is a post with step by step instructions? I'm struggling and I'd be over the moon to run some of my existing virtual appliances through here since I can't run them inside a Unraid VM because the Network Adapter can't be bridged. Again any pointers in the right direction would helpful. Thanks
  19. I had the same problem, you have to manually include the bios of the video card you own: http://lime-technology.com/wiki/index.php/UnRAID_6/VM_Management https://www.techpowerup.com/vgabios/ Try to find the bios for your video card and include it on your VM configuration. On your VM, once you install the drivers, the GPU passthrough will work. However you need to include the VGA Bios or else you'll never be able to see the boot sequence or any errors that might come up during bootup.
  20. As I added more services and dockers, the assigned cores just didn't cut it anymore. I did some testing and discovered that audio through bluetooth is very reliable. I ended up taking a Sound Bar that I never used and made that the new speakers for my main physical VM. It does still glitch but it's night and day compared to the GPU Audio passthrough. It was driving me crazy especially with Plex streaming. I was considering getting a bluetooth speaker but Soundbar was just a better idea. Sabertooth X79 3930k RX 480 Sapphire 64GB RAM 1 TB SSD Samsung Evo 850 I'll keep investigating to try and get to the bottom of this. Its really the only issue I have with my setup, that and trying to find some other Network Card to bridge with on virtualbox and VMWare. I run the VM on SSD and passthrough two hard drives, one for gaming and another for just data storage. Again, staying on topic, the audio just is a bummer. <domain type='kvm' id='4'> <name>Windows 10 Sabertooth</name> <uuid>2112d1e7-bdac-d300-25f4-06f1e748828e</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>12582912</memory> <currentMemory unit='KiB'>12582912</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='3'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='7'/> <vcpupin vcpu='6' cpuset='8'/> <vcpupin vcpu='7' cpuset='9'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/2112d1e7-bdac-d300-25f4-06f1e748828e_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor id='none'/> </hyperv> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='2'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 10 Sabertooth/vdisk1-WIND.img'/> <backingStore/> <target dev='hdc' bus='sata'/> <boot order='1'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-WDC_WD40EZRX-00SPEB0_WD-WCC4ECJVZKZ2'/> <backingStore/> <target dev='hdd' bus='virtio'/> <alias name='virtio-disk3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-WDC_WD40EZRX-00SPEB0_WD-WCC4E4VL5SE6'/> <backingStore/> <target dev='hde' bus='virtio'/> <alias name='virtio-disk4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/win-pe/WinPE-Win8.iso'/> <backingStore/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <alias name='ide0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/virtio-win-0.1.118-2.iso'/> <backingStore/> <target dev='hdb' bus='ide'/> <readonly/> <alias name='ide0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='sata' index='0'> <alias name='sata0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:44:09:84'/> <source bridge='br0'/> <target dev='vnet1'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/3'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/3'> <source path='/dev/pts/3'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-Windows 10 Sabertooth/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/isos/gpu/Sapphire.RX480.8192.160802.rom'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/> </source> <alias name='hostdev2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> </source> <alias name='hostdev3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </source> <alias name='hostdev4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </source> <alias name='hostdev5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </source> <alias name='hostdev6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </hostdev> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </memballoon> </devices> </domain>
  21. I looked at some guides and all point that the VirtualBox VDI files need to be converted to RAW image files. Do you happen to have a link that would show where to do this? I'm really interested with just making a KVM of the virtualbox machine I have. Thanks
  22. Just an update, when assigning paired cores to my VM, the lag in streaming video significantly reduced. It stutters just a bit but its an improvement. Audio syncs went from D- to now a B- Also the Dashboard helped in picking cores. In my case, 0+6, 1+7, 2+8, 3+9 It does still stutter but now it be start to happen at 10+ minutes of playing time. I assigned 8 cores to my VM, might reduce it to 4 maybe? I'll play around with that and RAM. I'm running 12GB of RAM to my main VM with GPU passthrough. I didn't unassign cores to Unraid. You know, make certain cores exclusive to the VM. I might experiment with that but thanks alot for your suggestion. Helped alot and now the annoyance isn't as obvious.
  23. Yes thats exactly right. Unraid => Win10 VM => Virtualbox It's weird, I get it, why even bother with with Virtualization apps when Unraid has better virtualization than VMWare or VirtualBox. I have a few important Ubuntu based VirtualBox VM that I need to run inside a Windows 10 VM. And my transition to going all in for Unraid was great until I hit this wall. Again, the problem is using the Red Hat VirtIO Adapter with VirtualBox in bridged mode causes that BSOD. I was able to reproduce it even on a clean Windows 10 KVM. I like having Virutualbox because I'm able to move my Ubuntu based VM and are so portable. It just doesn't play nice with the KVM network adapter in bridge mode.
  24. I looked at the notes you suggested and found that the MSI Interrupt is already enabled for my video card RX 480. Its very disappointing and annoying. It affects any application that streams audio. Video Files play fine without the issue. I got to keep the Playback devices up and handy to constantly switch. When I switch playback devices, syncs with video but eventually will need to constantly do this.
  25. I've adopted Unraid and even imported my physical machine into a Windows 10 KVM. I use VirtualBox for virtualization. I needed to fire up one of the Virtualbox VM and discovered that the Red Hat VirtIO Network adapter can't be bridged because if I do, I get a BSOD with the following error: Stop Code: driver_irql_not_less_or_equal What Failed: VMMMR0.r0 This error is reproducible. Windows 10 KVM pc-i440fx-2.5 OVMF Network Bridge: br0 Download and Install VirtualBox for Windows Create a virtual machine, I selected Ubuntu 64 In network settings, I selected Red Hat VirtIO Ethernet Adapter Selected Ubuntu Server ISO Is there a way that VirtualBox will work using the onboard NIC? If I don't select a network adapter, the VirtualBox machine boots and works, but without network. Please let me know.