dunioo

Members
  • Posts

    10
  • Joined

  • Last visited

dunioo's Achievements

Noob

Noob (1/14)

0

Reputation

  1. I have play around with this, and for now, I think the power state is not actually related to the problem. It kind of behaves weirdly though Turning off persistence mode sets it back to P0, but it doesn't make VM start. After looking at dmesg, I now think it's related to OpenRGB (which I made working thanks to your modifications). I disabled modprobe and OpenRGB docker). So far it's working, but as this was pretty random problem - I am not 100% sure. Anyway, I will let you know If anything changes - but for now, sorry for bothering and thanks for help
  2. Did anyone notice any problems with GPU passthrough? I do things in this order: 1. Serwer starts with plex (config with HW transcoding) 2. If i want to game I start the script to switch 3. Scripts turns plex container off (nvidia-smi is not showing anything) 4. Scripts waits 60s and turns Windows vm on. The thing is that it only works sometimes. In other cases it doesn't start and locks the web vms UI. From the spaceinvader videos I learned that this behavior is caused by GPU being busy, but all containers using GPU are off and nvidia-smi doesn't show any processes. If it failes, after the vm run attempt, nvidia-smi is showing: Unable to determine the device handle for GPU 00000000:2F:00.0: Unknown Error The weirdest thing is, that after such a lock i have to restart the server to get it working and something like this happens: 1. All other VMs are turing off 2. Web ui is no longer available 3. Windows vm turns ON for a moment 4. Server shuts down I tried to reset gpu between shutting down plex and starting vm though: 1. fuser -v /dev/nvidia* <- didn't help 2. nvidia-smi -i 00000000:2F:00.0 -r <- didn't work as this is primary gpu Thanks for any help Edit: It seems that vm randomly doesn't work even if plex (or any other nvidia container) wasn't running at all. The only time it works it's when the VM is set to autostart. Weird thing I noticed is that when VM autostarted and then stopped, the power state of the card is set to P0. During transcoding it shows P2. After start of server or after transcoding the state is: P8 or P0. If it's P0 VM can be started, if it's P8 - it doesn't work. It's just a guess though I am not sure if it's related (maybe it's your power saving mechanism? ) Also, i noticed that at boot time, peristance mode is enabled, but only for one card (not the one I have problems with)
  3. Okay, It's working Both the system and plex transcoding Error was related to me doing something very stupid as I said. Anyway, during testing i left another pendrive in the pc with unraid. It did contain previous version of your kernel. Funny thing is that pendrive wasn't working anyway (non unique guuid) but the license was fine, so i didn't notice (it was very small pendrive for my defense ). It seems like it was using both of them Anyway, thank you very much p.s. If you would consider providing paypal or bitcoin address, I would be happy to buy you a beer
  4. I did replace all of the provided files using new release, for both nvidia drivers and kernel package (did it once again just to be sure), but the problem persist. In the first post you put this: dont try to install the utils packages on any modified rootfs .... they need to be installed on stock unraid rootfs Does that mean that i should replace those files using original unraid file from before i started?
  5. I updated to the newest version. It does seemthat the nvidia installation has gone further. Unfortunately somehow it failed: logs have following errors: /bin/bash: line 14: nvidia-smi: command not found installation... failed to initialize NVML: Driver/library version mismatch Here is a photo of this: For some reason, it caused webpanel to not start. p.s. hypervisor/libvirt errors are not related, it was there before (something with vm backup plugin)
  6. Hello Great work, thank you Is there any reason why it wouldn't work with plex (linuxserver/plex) The card shows up in the nvidia-smi from the host and the container, but plex (despite enabling hardware acceleration) doesn't use it. I have installed your kernel + nvidia driver utils from the latest release on unraid 6.8.3. Do you have any advice as to what might be the reason? Thanks in advance
  7. I have finally found the culprit, it was Windows's "cFosSpeed for faster Internet connections (NDIS 6)". Disabling this allowed my VM to get almost full internet download speed.
  8. Hello First, I would like to greet everyone, as this is my first post, but I have read a lot here and it was very helpful until now. I am building my first unraid server and it's almost done (currently third week of experiments ) I have issues with internet download speed, on my windows 10 vm. It has very limited internet download connection. This is the speed I get from independent machine (the same internet connection) : and this is what happens when I do this test on my Windows VM: and this is linux (manjaro) VM, with the same networking setup (br0) and on the same host: (it's even faster then external machine) First, i tried to change virt-io win drivers with versions: 1.160-1, 1.173-2 and 1.173-8. None of those made any difference. Then I tried disabling windows QoS service (found somewhere on the forum), but it didn’t help either. After a while, i tried connecting second Ethernet cable (my board has 2 Ethernet ports), disabled bonding and assigned newly created br1 to the windows 10 vm. The result is here: Here is my current windows vm xml: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='14'> <name>Gaming</name> <uuid>42d7c6f8-1206-90fa-ac5a-446acb11eb21</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>17301504</memory> <currentMemory unit='KiB'>17301504</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>20</vcpu> <cputune> <vcpupin vcpu='0' cpuset='1'/> <vcpupin vcpu='1' cpuset='17'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='18'/> <vcpupin vcpu='4' cpuset='3'/> <vcpupin vcpu='5' cpuset='19'/> <vcpupin vcpu='6' cpuset='4'/> <vcpupin vcpu='7' cpuset='20'/> <vcpupin vcpu='8' cpuset='5'/> <vcpupin vcpu='9' cpuset='21'/> <vcpupin vcpu='10' cpuset='6'/> <vcpupin vcpu='11' cpuset='22'/> <vcpupin vcpu='12' cpuset='7'/> <vcpupin vcpu='13' cpuset='23'/> <vcpupin vcpu='14' cpuset='8'/> <vcpupin vcpu='15' cpuset='24'/> <vcpupin vcpu='16' cpuset='9'/> <vcpupin vcpu='17' cpuset='25'/> <vcpupin vcpu='18' cpuset='10'/> <vcpupin vcpu='19' cpuset='26'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-4.2'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/42d7c6f8-1206-90fa-ac5a-446acb11eb21_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' check='none'> <topology sockets='1' cores='10' threads='2'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> </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/Gaming/vdisk1.img' index='3'/> <backingStore/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/Win10_1909_EnglishInternational_x64.iso' index='2'/> <backingStore/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <alias name='sata0-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.173-2.iso' index='1'/> <backingStore/> <target dev='hdb' bus='sata'/> <readonly/> <alias name='sata0-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='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x8'/> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x9'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xa'/> <alias name='pci.3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0xb'/> <alias name='pci.4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0xc'/> <alias name='pci.5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0xd'/> <alias name='pci.6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </controller> <controller type='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0xe'/> <alias name='pci.7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> </controller> <controller type='pci' index='8' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <alias name='pci.8'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='pci' index='9' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='9' port='0xf'/> <alias name='pci.9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/> </controller> <controller type='pci' index='10' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='10' port='0x10'/> <alias name='pci.10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='11' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='11' port='0x11'/> <alias name='pci.11'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <controller type='pci' index='12' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='12' port='0x12'/> <alias name='pci.12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='13' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='13' port='0x13'/> <alias name='pci.13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='pci' index='14' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='14' port='0x14'/> <alias name='pci.14'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> </controller> <controller type='pci' index='15' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='15' port='0x15'/> <alias name='pci.15'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> </controller> <controller type='pci' index='16' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='16' port='0x16'/> <alias name='pci.16'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> </controller> <controller type='pci' index='17' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='17' port='0x17'/> <alias name='pci.17'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/> </controller> <controller type='pci' index='18' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='18' port='0x18'/> <alias name='pci.18'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='19' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='19' port='0x19'/> <alias name='pci.19'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> </controller> <controller type='pci' index='20' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='20' port='0x1a'/> <alias name='pci.20'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> </controller> <controller type='pci' index='21' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='21' port='0x1b'/> <alias name='pci.21'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/> </controller> <controller type='pci' index='22' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='22' port='0x1c'/> <alias name='pci.22'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/> </controller> <controller type='pci' index='23' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='23' port='0x1d'/> <alias name='pci.23'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/> </controller> <controller type='pci' index='24' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='24' port='0x1e'/> <alias name='pci.24'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/> </controller> <controller type='pci' index='25' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='25' port='0x1f'/> <alias name='pci.25'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/> </controller> <controller type='pci' index='26' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='26' port='0x20'/> <alias name='pci.26'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:7d:06:fc'/> <source bridge='br1'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/1'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/1'> <source path='/dev/pts/1'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-14-Gaming/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='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='6'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/isos/gtx2070super-rom.rom'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x2'/> </source> <alias name='hostdev2'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x3'/> </source> <alias name='hostdev3'/> <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x30' slot='0x00' function='0x0'/> </source> <alias name='hostdev4'/> <address type='pci' domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1462'/> <product id='0x7c34'/> <address bus='5' device='2'/> </source> <alias name='hostdev5'/> <address type='usb' bus='0' port='1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1b1c'/> <product id='0x0c12'/> <address bus='3' device='4'/> </source> <alias name='hostdev6'/> <address type='usb' bus='0' port='2'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain> and this is network Ethernet status from windows: What I concluded so far is that: 1. For some reason it doesn’t affect the linux vm at all. Even assigning br1 (separate connection), didn't change anything there. It just works. 2. Somehow, it does depend both on the host and vm. Linux vm is untouched, while Windows has very slow connection, but changing host networking setup (additional connection) did improve situation a bit, but still isn't quite there. 3. Limitation applies only to download speed, upload is stable everywhere. 4. Outside of the test, Windows VM Ethernet monitor (within task manager) doesn't show any activity, so the test shouldn't be affected (or maybe something is not included there) I don't know what else should i check / do, so if anybody can help, then I would be very grateful, anyway - thanks in advance