kyouten

Members
  • Posts

    7
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

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

kyouten's Achievements

Noob

Noob (1/14)

0

Reputation

  1. I am going to be going back to Windows and just finding some way to raid my drives together. Unraid simply is too unstable to be a primary operating system yet. Maybe in a couple years. Thanks for your help everbody
  2. On an unrelated note, whenever I run OpenVPN in docker the HTTP page always refuses my connection over port 943. I cant get into OpenVPN at all, a few months ago however it was point and click no problem. Any ideas?
  3. I tried this and I can't get the XML editor to take the edits. I get this error: unsupported configuration: CPU topology doesn't match maximum vcpu count Do you have any idea about this? I'm pretty new to VM and unraid in general so id love some education on the matter. As of right now, even with PCI ACS override enabled, the Onboard Audio being passed through will make Windows refuse to boot. I get stuck on the Windows logo after POST. This passthrough is infuriating If it makes any difference, the way Windows refuses to boot is peculiar. It boots and POSTs, then the Windows logo appears. Once this happens the VM goes into the 'paused' state on the VM page for my tower. But the actual HTTP page doesnt actually load completely most of the time, the webpage loads until the Windows Entry in the VM manager, and the webpage is blank below that. The only way to reset my VM in this state is 'destroying' it with virsh over SSH. As soon as the VM is destroyed the HTTP page loads the rest of the way and shows the Windows VM entry. Also the Windows logo stays on my display even though the VM is not running. I suspect that this behavior has to do with this line in the log: 2016-12-17T19:15:53.629077Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:14.0, no available reset mechanism. 2016-12-17T19:15:53.629104Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism. Where one of those PCI devices is my graphics card.
  4. Looking at your signature, you don't know how close they are! My build is also in a Fractal Node 804 I figured that the WebUI and other services were getting slowed down from the isolcpu in the syslinux so I already went ahead and deleted the entry in my syslinux. Small update: So, even over HDMI audio running to my monitor, there are still problems. Some programs work fine with no audio distortion (games, youtube video, vlc video player) some video playback programs simply do not work. MPC-HC is my favorite video player which, among other things, can do stuff like offload the frames of video to post process on the GPU and bitstream high definition audio (DTS, Dolby Digital, DTS-HD, etc.). Videos in MPC-HC get out of sync almost immediately and after a while will just play 5 seconds of audio over and over again over the video stream. Using latencymon, I can tell that without even my onboard audio passed through, the HDMI audio is still having serious latency problems. I will try this fix out momentarily, but I don't have high hopes. Also: I think it's worth mentioning that I have a couple of unidentified flying objects in my Device Manager. Theres: 1. HID Button over Interrupt Driver 2. PCI Device 3. PCI Simple Communications Controller I heard the HID Button was a bug, but I'm curious as to other's thought about these. This is without my onboard audio passed through BTW. Also, thanks for the help so far gents. Ill reply back shortly.
  5. Still no progress.. I have tried what feels like everything, but the only time I get any onboard audio to work it gets out of sync. HDMI audio works fine, and the MSI fix makes it so the audio delay goes away, but my speakers aren't digital, they run on analog. Any thoughts or help would be nice
  6. Okay, so a few months ago in the summer I was on unraid 6.2 and it was stable as hell, never let me down. Computer died and so I had to give unraid a rest for a few months, but now my PC is back and better than before. However, I have never had so many problems configuring a build. Before I get into everything I'd like to sum of the goal of this post: To get my Intel Sunrise-Point HD Audio Controller (Onboard) to pass through correctly to my Windows 10 VM. As of now, I am passing through a USB 3 controller and a GTX 1070 without issues. I passed through the USB controller with stubbing in my syslinux.cfg , and the 1070 thankfully worked out of the box. After following advice from this thread: https://lime-technology.com/forum/index.php?topic=50193.15 And added the line: modprobe.blacklist=i2c_i801,i2c_smbus to my syslinux.cfg to stub what I believe is the SMBus. In addition to this I turned PCI ACS override on. This worked for a while, but it quickly became apparent that the audio was being delayed on any sort of video playback. So, I did my research, and applied the MSI Fix to both the Audio Controller and the GTX 1070. This did not fix any issues. The other night I was downloading torrents and my cache drive filled to 100% while my VM was running, resulting in a crash of my VM, Plex, and Deluge. After infuriatingly dealing with the mover settings and invoking the mover manually I could boot my Windows 10 VM, but since then I have nearly given up on what to do to get the audio issue fixed. At the moment, the pass through is not working at all, I have ACS override turned off. In any case when I turn the VM on with the Audio Controller attached, it takes a while for the VM to bootup and then it hangs on boot. At the same time, any time I run a Windows VM the Unraid WebUI basically freezes entirely. I can't access Plex or Deluge or the WebUI until the Windows VM either loads completely or is destroyed through virsh in ssh. While the VM is running the WebUIs are very unresponsive and it is infuriating. I have tried stubbing some CPU cores in the syslinux.cfg to the first 3 physical cores + their hyperthreads to leave those for the Windows VM, so the Unraid VM gets 1 physical core + 1 hyperthread. This does not help the WebUI freezing or any VM audio issues in any way. Here's my IOMMU groupings ( ACS Turned Off): IOMMU group 0 00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:191f] (rev 07) IOMMU group 1 00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) 01:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1) IOMMU group 2 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06) IOMMU group 3 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31) IOMMU group 4 00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31) IOMMU group 5 00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31) IOMMU group 6 00:1b.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Root Port #17 [8086:a167] (rev f1) IOMMU group 7 00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1) IOMMU group 8 00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1) IOMMU group 9 00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1) IOMMU group 10 00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a145] (rev 31) 00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31) 00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31) 00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31) IOMMU group 11 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31) IOMMU group 12 04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] And here's a snippet from my Syslinux.cfg: default /syslinux/menu.c32 menu title Lime Technology, Inc. prompt 0 timeout 50 label unRAID OS menu default kernel /bzimage append vfio-pci.ids=8086:a12f modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot And for good measure, the XML on my Windows VM: <domain type='kvm' id='3'> <name>Windows 10</name> <uuid>50d9cf9f-afb0-bffb-0c08-ff8e207ed0a9</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>9961472</memory> <currentMemory unit='KiB'>9961472</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>6</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='4'/> <vcpupin vcpu='4' cpuset='5'/> <vcpupin vcpu='5' cpuset='6'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/50d9cf9f-afb0-bffb-0c08-ff8e207ed0a9_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='3' 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/vdisk1.img'/> <backingStore/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <controller type='usb' index='0' model='nec-xhci'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:8c:97:7d'/> <source bridge='br0'/> <target dev='vnet0'/> <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/0'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-3-Windows 10/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> <input type='mouse' bus='ps2'> <alias name='input0'/> </input> <input type='keyboard' bus='ps2'> <alias name='input1'/> </input> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <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='0x00' slot='0x14' function='0x0'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </memballoon> </devices> <seclabel type='none' model='none'/> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain> I would be forever grateful if someone would help me figure this out. Id be happy to write up some documentation for Skylake users after the fact if it turns out well. If it matters, here's my specs: Unraid 6.3.0 rc6 Asus Z170 Gene Motherboard 6700k Skylake 16 GB 2800mhz (XMP) 2 x 4TB WD Blue 1 x 1TB Seagate SSHD 1 x 1TB Sandisk SSD (Cache, VM Storage) Please let me know if there's any other information I can provide or remedies I can try. Thanks, Kyouten
  7. Hey guys. Figured I'd write this up because I had trouble with this myself. I am on Skylake and have been having issues passing through a USB controller to get my Xbox One controller to work. Simply put, I added a line to my syslinux.cfg to stub the USB controller, and pass through the controller with the edit VM menu for my Windows 10 VM. Here's a snippet of that: label unRAID OS menu default kernel /bzimage append vfio-pci.ids=8086:a12f pcie_acs_override=downstream modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot The bolded part being the part that was added to "stub" the USB controller. To get a better understanding of that command, vfio-pci.ids=8086:a12f, lets take a look at the last half of it. 8086:a12f is the ID of the device we want to stub. So here's a look at my IOMMU groups(keep in mind I have ACS enabled, so your results may vary): IOMMU group 2 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06) IOMMU group 3 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31) For me, it was simply a matter of taking this ID section, in my case 8086:a12f, and placing it into the syslinux.cfg file and rebooting. I rebooted twice to account for a bug in my version of unRaid, 6.3.0-rc5. This may be fixed by now but its just for precaution. After this, navigate to the VMs tab in the Web GUI and select your Windows VM, select 'Edit', and make sure under "Other Devices" at the bottom that USB controller is selected. You will know if the USB controller you desire is stubbed correctly, because it should no longer be recognized by unRaid and you should not see it in this Edit section. Lastly, a resync of the Xbox One Controller and the Xbox One Wireless Adapter was needed. Before this I manually reinstalled the drivers for the Wireless Adapter, but this step may not be necessary. Hope this helps! Cheers, Kyouten