rix

Community Developer
  • Posts

    423
  • Joined

Everything posted by rix

  1. Sorry, I intended to open this in the KVM section IOMMU Groups Warning: Your system has booted with the PCIe ACS Override setting enabled. The below list doesn't not reflect the way IOMMU would naturally group devices. To see natural IOMMU groups for your hardware, go to the VM Settings page and set the PCIe ACS Override setting to No. /sys/kernel/iommu_groups/0/devices/0000:00:00.0 /sys/kernel/iommu_groups/1/devices/0000:00:01.0 /sys/kernel/iommu_groups/2/devices/0000:00:02.0 /sys/kernel/iommu_groups/3/devices/0000:00:03.0 /sys/kernel/iommu_groups/4/devices/0000:00:14.0 /sys/kernel/iommu_groups/5/devices/0000:00:16.0 /sys/kernel/iommu_groups/6/devices/0000:00:19.0 /sys/kernel/iommu_groups/7/devices/0000:00:1a.0 /sys/kernel/iommu_groups/8/devices/0000:00:1b.0 /sys/kernel/iommu_groups/9/devices/0000:00:1c.0 /sys/kernel/iommu_groups/10/devices/0000:00:1c.3 /sys/kernel/iommu_groups/11/devices/0000:00:1c.4 /sys/kernel/iommu_groups/12/devices/0000:00:1c.7 /sys/kernel/iommu_groups/13/devices/0000:00:1d.0 /sys/kernel/iommu_groups/14/devices/0000:00:1f.0 /sys/kernel/iommu_groups/14/devices/0000:00:1f.2 /sys/kernel/iommu_groups/14/devices/0000:00:1f.3 /sys/kernel/iommu_groups/15/devices/0000:01:00.0 /sys/kernel/iommu_groups/15/devices/0000:01:00.1 /sys/kernel/iommu_groups/16/devices/0000:03:00.0 /sys/kernel/iommu_groups/17/devices/0000:05:00.0 /sys/kernel/iommu_groups/18/devices/0000:06:00.0 The VM just booted fine with the above settings and the override enabled. Did I set up my pass through devices correctly? And would there be any way passing through the PCIe controllers without enabling the override?
  2. Thanks for the quick reply. I will check that later. For now, wouldn't it be easier to pass through: /sys/kernel/iommu_groups/9/devices/0000:00:1c.0 /sys/kernel/iommu_groups/9/devices/0000:00:1c.3 /sys/kernel/iommu_groups/9/devices/0000:00:1c.4 /sys/kernel/iommu_groups/9/devices/0000:00:1c.7 /sys/kernel/iommu_groups/9/devices/0000:03:00.0 /sys/kernel/iommu_groups/9/devices/0000:05:00.0 /sys/kernel/iommu_groups/9/devices/0000:06:00.0 entirely? I just have no Idea how to do the 00:1c.X devices. (the PCI bridges, that the webui set up as a hub for my NVIDIA card)
  3. These are the devices I want to pass through: 00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller 01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1) 05:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) 06:00.0 USB controller: Fresco Logic Device 1100 (rev ff) Setting up the VM through the WebUI correctly set up one of my PCI buses (for the GPU) and enabled me to use my onboard audio device. These are all of my System devices: PCI Devices 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller 00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V 00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0) 00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0) 00:1c.4 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 5 (rev d0) 00:1c.7 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 8 (rev d0) 00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family H97 Controller 00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] 00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller 01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1) 03:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41) 05:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) 06:00.0 USB controller: Fresco Logic Device 1100 (rev ff) What I have gathered from multipe guides here is that IOMMU Groups disable me from properly passing through single PCIe devices. Both the SATA and the USB controller are in group 9 of which I assume passing through all others (All PCI bridges) would not harm my Unraid setup. IOMMU Groups /sys/kernel/iommu_groups/0/devices/0000:00:00.0 /sys/kernel/iommu_groups/1/devices/0000:00:01.0 /sys/kernel/iommu_groups/1/devices/0000:01:00.0 /sys/kernel/iommu_groups/1/devices/0000:01:00.1 /sys/kernel/iommu_groups/2/devices/0000:00:02.0 /sys/kernel/iommu_groups/3/devices/0000:00:03.0 /sys/kernel/iommu_groups/4/devices/0000:00:14.0 /sys/kernel/iommu_groups/5/devices/0000:00:16.0 /sys/kernel/iommu_groups/6/devices/0000:00:19.0 /sys/kernel/iommu_groups/7/devices/0000:00:1a.0 /sys/kernel/iommu_groups/8/devices/0000:00:1b.0 /sys/kernel/iommu_groups/9/devices/0000:00:1c.0 /sys/kernel/iommu_groups/9/devices/0000:00:1c.3 /sys/kernel/iommu_groups/9/devices/0000:00:1c.4 /sys/kernel/iommu_groups/9/devices/0000:00:1c.7 /sys/kernel/iommu_groups/9/devices/0000:03:00.0 /sys/kernel/iommu_groups/9/devices/0000:05:00.0 /sys/kernel/iommu_groups/9/devices/0000:06:00.0 /sys/kernel/iommu_groups/10/devices/0000:00:1d.0 /sys/kernel/iommu_groups/11/devices/0000:00:1f.0 /sys/kernel/iommu_groups/11/devices/0000:00:1f.2 /sys/kernel/iommu_groups/11/devices/0000:00:1f.3 And this the currently relevant qemu section from my Windows 10 VM. I have manually added the SATA/USB controller, but have no Idea how to pass through the rest of group 9: <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=00:1b.0,bus=root.1,addr=01.0'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=05:00.0,bus=root.1,addr=02.0'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=06:00.0,bus=root.1,addr=03.0'/> </qemu:commandline> The VM starts with or without an enable ACS override, but only the override enables me to use the SATA/USB cards. With the override, however, my VM gets unstable. Could you help me setting up the qemu args for the whole IOMMU group (9) or explain in any other way how I can pass through all four devices (audio, gpu, sata, usb)?
  4. Exactly what I did. The log posts something along the lines of "no subdomain specified" and continues as before the implementation of subdomains.
  5. That's what i figured but thanks for looking into it. So far this plugin is the most essential in my entire setup!
  6. This is indeed very awesome! Could you perchance implement resumption of paused VMs via magic packet as well? Sometimes my VM gets paused and I have to use the webui to resume it..
  7. New Years kept me busy I have just replaced your nginx with this docker. It works perfectly well! Just had to move my previous www/ dir and my site.conf and THAT's IT! Thank you so very much. Never again am I paying a dime for a basic SSL certificate. No more hassle to get through startssl's procedure. It works perfectly well (see attachment)!
  8. I get the adblock part being the users fault. Not being able to set a cache drive with vanilla Chrome, however...
  9. Hey, just a disclaimer. As others have noted: using Chrome (Desktop) with Adblock, the shares page does not work properly. Shares do not show up. To fix this one needs to add the unraid url to ones Adblock whitelist. Also, assigning drives (in my case a new cache drive) does also not work properly using Chrome (Desktop/Android alike). Only using Firefox was I able to assign a drive to the cache and keep that setting after a reboot. If there is no way to fix this on Unraid's side in one of the next versions, please add a warning to your UI for Chrome users, this would've spared me a lot of confusion.
  10. Sooo, I have tried this out again, neither direct installs to the share or a mapped drive, or even a symlink to either the share or the mapped drive seem to be working for me (ip or netbios name). Since the only portion of my games not running are the EA Origin ones, I will keep my VM setup as my daily driver. Anyone with a working Origin path on a network share, could you please post your exact setup? For now, I have managed to get Origin working on a VHD on my games share https://technet.microsoft.com/en-us/library/gg318052(v=ws.10).aspx For my 250GB of Origin games I have created a VHD of 500 GB that is dynamically expanding. This was extremely easy to do and uses microsofts own tools. (the VHD only takes up the space actually taken by the data put onto it, so the 500GB VHD holding my entire Origin library is only slightly larger than 250GB). For BF4 (which I deem only playable running off an SSD) I have created a secondary VHD half the size of the main Origin one, that is located on the cache. My gaming VM now is set up using a -50 GB vHD run on Unraid. -4TB dedicated games share on unraid that is symlinked to C:\Games -500GB Windows VHD (Dynamic size) on the share (windows path: C:\Games\Origin\Origin.vhd) that is mounted as O:\ -250GB Windows VHD (Dynamic size) on the cache (windows path: C:\Games\Origin\Origin_SSD.vhd) that is mounted as P:\ This way all my games, even the Origin ones can easily be moved to and from the cache drive and are accessible from the VM. If there is any update on the Origin part, I will of course stop using the VHD. Thanks, limetech for making this possible! TLDR: I have succesfully set this up as follows: Steam/Uplay/Other Games run fine from a local Symlink e.g. in CMD (admin) go to C:\ there mklink /D Games \\unraid\games\ Origin was resistant to running of a share. I created two VHDs in Windows' own drive management tool. The smaller of which sits on my cache drive, the larger on the array. This way all games I own (3+ TB) run fine in a VM on unraid!?
  11. Hey, that might actually be it. Ill try this out later. Thanks for the help and merry Christmas
  12. Its in the first post because of the img size limitation. Sorry for that. Feel free to move this immediately
  13. Since Steam and Origin were advertised as working in the linked video I do think this is an unraid issue of some sort.. not a fatal one, howerver. My vdisk has 20 Gb free space left. Installing Jade Empire (a 6 Gb download) fails when installing (see images). Steam notices that its folder behind the symlink has 2tb free space left. So there seems to be something else producing this error. On the Games share there is splendid space and the vdisk space should suffice for installing the games I tested the process with.
  14. As written here: http://lime-technology.com/forum/index.php?topic=40777.msg427949#msg427949 Feel free to move this thread to Support if this is not the right place. Being advertised as working I found this section appropriate I have just succesfully merged my gaming system and my low-power Unraid Server. I can play games with my passed through GPU (only thing necessary to get it working was setting my igfx as primary video source in UEFI). My 3tb steam library enticed me to do go virtual. With the technique shown here I am finally able to administer my files right (on/off SSDs). Steam works well from a mapped network drive. Uplay accepts network paths when run as admin. Working fine also. Origin does neither. I have tried symlinks, mapping a network drive and also just the direct network paths. All are not accepted. Any suggestions? Could it be that my small vdisk size conflicts with some Kind of disk space check? As in: origin is fooled by the symlink but does check my small C drive that has insufficient space for a 40gb download. A tiny vdisk being the whole point of using a VM in Unraid with a huge array... Any help would be greatly appreciated! EDiT: Meanwhile I have removed the mapped network drive, it is not necessary for the whole project. Even steam accepts a symlink, so why not have all programs use the same path? Working/How: Dolphin-Emulator/Symlink Steam/Symlink Uplay/Network Path 3rd Party/Symlink Not Working: Origin
  15. Alright, seems like WoL it is Ill do the migration this weekend.
  16. Currently I have two separate systems (unraid and a win10 machine). My Win10 desktop has two user accounts, so If my girlfriend wants to access the pc she only needs to press the I/O button, enter her password and is good to go. I plan to merge both systems into one Unraid PC that runs a virtualized Windows 10 instance with device pass-through. Unraid itself would then be running 24/7. Now the options to start Windows 10 become more limited to the none-techy: -Windows VM is always on, but if someone were to shut it down -Only me (with access to the Webinterface) will be able to turn the VM on Has anyone thought of a more elegant solution to this?
  17. This may be closed. Setting a static ip under \flash\config\network.cfg enabled me to set up a bridge. No idea what conflicted with my just using dchp...
  18. Please update us on this. I am all set to give up my bare-metal system and merge my celeron based Unraid box into my gaming system. What really worries me though is: since it is the only PC in the house: how can my girlfriend retain access to the system without me giving up the webinterface root password? Always on is not an option to me.
  19. Just a small update. Network settings in general do not seem to apply on my unRAID box. Neither assigning a static IP, nor enabling the bridge is successful DHCP is done by my router, everything else (Docker, VMs etc. works fine). Odd that just this part of the settings is not working.. When entering "ifconfig br0 up" my UNRAID responds with: "br0: ERROR while getting interface flags: No such device"
  20. This sounds super cool! Care to share a working template? The git page links to 5 different docker images that vary from recently updated to months old with only one referencing lets encrypt at all...
  21. Since this seems to be an uncommon issue: Any idea how to enable bridge in the config/from ssh?
  22. Thank you for replying! I cannot post useful logs, because the system becomes unreachable after enabling the bridge. Only resetting works and after that meaningful logs are gone.. the output of Tools/Diagnostics gives me only info on the freshly booted OS Could I output logs to a permanent directory to see whats happening?
  23. For setting up VMs I have tried to set up a public network bridge. This was unsuccessful: whenever I try to enable br0 (or br1 or whatever I call it) the webinterface gets stuck and nothing happens. Any Idea what might go wrong? Could there be a conflict with docker's bridge? (hence I have tried br1 out, br0 was also not working). I have waited a good 10 Minutes and nothing happened
  24. Thanks for the reply, this seems the most elegant solution for me. Can I let the VM hibernate/sleep and wake it up using my keyboard? Seems the case if WOL does work too, but would be great to know beforehand!
  25. Has this question never come up? Is leaving the VM always on economical? Any comment would help me deciding to migrate my system. I have added a poll to get a feel for the way you guys have set this up.