Jump to content

Faspina

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Faspina

  • Rank
    Member

Recent Profile Visitors

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

  1. Been using the container for a while with object detection. I did a fresh install. I noticed object detection was not working. Dropped into the container command line to execute bash zm_event_start.sh 834 2 from /var/lib/bash zm_event_start.sh 834 2 and go no permission had to do chmod +x *.* then it started working . WHen I updated to the new version yesterday I had to do the same thing. HOw can I make sure this get executed when I download the new image
  2. No pass through GPU or USB devices are allocated to the server. Just running it with VNC display to run a few process to backup to a the cloud. char device redirected to /dev/pts/1 (label charserial0) 2020-04-24T05:02:32.526940Z qemu-system-x86_64: warning: Spice: display-channel.c:2420:display_channel_validate_surface: invalid surface_id 65793 id 0, group 0, virt start 0, virt end ffffffffffffffff, generation 0, delta 0 id 1, group 1, virt start 14a99d200000, virt end 14a9a11fe000, generation 0, delta 14a99d200000 id 2, group 1, virt start 14a998c00000, virt end 14a99cc00000, generation 0, delta 14a998c00000 2020-04-24T09:14:30.814710Z qemu-system-x86_64: Spice: memslot.c:118:memslot_get_virt: address generation is not valid, group_id 1, slot_id 1, gen 1, slot_gen 0 2020-04-24 09:14:31.046+0000: shutting down, reason=crashed
  3. I have a GIGABYTE NVidia GT 1030 it is not my Primary Graphics for Unraid , I am using the buildit card for unraid. I Have both the Card and Audio devices from the card in the same IMMO group. I have followed space invaders video to edit the XML to make sure they are set for Multifunction in the same SLOT I have tried this with both HyperV support in and out. I am using OVMF (I have the same problem in SeaBios) When I try to install the drivers I get Windows encountered a problem installing the drivers software for your devices. I see nothing in windows event log about Error 43 . The drivers have never installed. Any help would be appreciated. here is my XML <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='9'> <name>Windows 10</name> <uuid>f74361f4-cbfa-7feb-e31e-91deba27ffd5</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='8'/> <vcpupin vcpu='1' cpuset='20'/> <vcpupin vcpu='2' cpuset='9'/> <vcpupin vcpu='3' cpuset='21'/> <vcpupin vcpu='4' cpuset='10'/> <vcpupin vcpu='5' cpuset='22'/> <vcpupin vcpu='6' cpuset='11'/> <vcpupin vcpu='7' cpuset='23'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-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/f74361f4-cbfa-7feb-e31e-91deba27ffd5_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='4' threads='2'/> <cache mode='passthrough'/> </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' index='3'/> <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> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/en_windows_10_multiple_editions_x64_dvd_6846432.iso' index='2'/> <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.173-2.iso' index='1'/> <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='qemu-xhci' ports='15'> <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='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </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:49:14:9c'/> <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 type='isa-serial' port='0'> <model name='isa-serial'/> </target> <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-9-Windows 10/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <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='0x03' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc534'/> <address bus='6' device='2'/> </source> <alias name='hostdev2'/> <address type='usb' bus='0' port='1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x0d8c'/> <product id='0x0008'/> <address bus='6' device='3'/> </source> <alias name='hostdev3'/> <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>
  4. I have some time at home to take a look at this. I will try to build a container for unraid for open eats.
  5. It appears that I have figured out how to get the NVIDA cards to work with SeaBIOS. I had to set the USB Controller in the VM to 3.0 (qumu xhci) and not ehci , that did the trick. Seems to be working flawless. I will certainly attempt to upgrade the video card. For what I am doing this seems to work
  6. I am testing testing a new build with a trial version of Unraid preparing to move my stuff over soon. Super Micro XLDTL-if Mother board 32G Ram - Booting in Legacy Bios mode it does not do UEFI two XEON 5670 processors I have 3 GPU cards I am "testing" with my hope is to get one of them as GPU Pass through consistently Nvidia 9500gs Nvidia 8600gs AMD Radeon 4650 I have had the some luck with the AMD and Windows 10 with the GPU pass through and full control with the mouse, however it hangs when I restart the Win 10 VM and it does not seem to be very consistent. Sometime yes sometime no. My logs suggested it picked up the PCI card, I see the id but no picture. I have followed space invaders guide (both parts) build this all with VNC and put in all the drivers. Can't seem to figure out what is going on. For the AMD I get two devices (Video and Sound) and put both of them in the VM I have a Nvidia 8400 gs on the way as someone suggested this $15.00. We will see what happens with that one. I have two windows VM I am testing with one with OVMF the other with SeaBios. That way I can mix and match gpu cards with each system. with the NVIDIA cards I can get a picture with SeaBio but it won't allow me to log in as if there is no mouse/keyboard . I only have one that I pass through to the VM. What combo should I try? Does Anyone have these cards? What do I need to post here to help figure this out?
  7. Using a IOS phone I am having the same problem. Port forwarding seems to working as my windows client is working. Its just the phone that has problems
  8. A series of unfortunate events, both USB drives i have are pretty sizable, meaning the stick out from the front of the tower server. The both of them have been bumped by me or the dog several times, he's a big dog. The first one took first hit and became unusable (to answer your question yes I back up religiously) , the 2nd one got bump months ago but has been usable since I am only now seeing problem. I will try out the chkdsk as soon as I have a chance , ideally though I have a lower form factor USB one that I can but in there and feel a little more confident about it being hit should I have to replace it. I did email support so we will see what they say.,
  9. This is my 2nd flash drive since moving to Unraid and now I am getting a read only error on flash drive when it boots, in need to backup and copy to a new flash drive but will trouble copying the license again with the online tool. How many times can I replace the USB drive with the licensing tool?
  10. I got a free Dell T310 from work with Xeon CPU x3430 @2.4ghz. My main hobby is home automation so right now its running a bunch of docker containers and running the quiet well. The most intensive one is the Zoneminder container with object detection. I track the usage in influxdb/grafana with telegraf and my 24 average total CPU usage is about 70% so not bad for a 2009 hardware. In addition to the docker I have a Ubuntu VM that is uses to do cloud backup. I am fine on storage, I have SSD for cache, 2Tb parity, as well 2Tb+1Tb+320gb+320gb storage. I plan to move the drives over as is .I do not store videos and use plex and don't plan to so storage has not been an ssue. Its mainly CPU Power. What I want to do is put in a graphics card and crankup up Ubuntu Desktop VM as a workstation . Maybe do face detection with zoneminder docker and I need more CPU power for that. if my budget is $400 max, what can i get used to give me most upgrade for the price that will hold 6 drives.
  11. It seems to be working well and doesn't require as much CPU as some of the other object detect solutions I have seen with home assistant. I will be playing with face recognition later. I will keep you posted. Thanks for putting the framework in place!!!
  12. I finally got object detection working on my under powered Unraid server. It actually works pretty good pass the detected:car message in MQTT as part of the alarm. I have not played with the filitering in objectdetect.ini I had to make modifications to the userscript.sh in the OP to get it to work. It was missing some components that I discovered dropping into the container and running "bash /user/bin/detect_wrapper.sh EID MID where EID is event ID and MID is the monitor ID. #!/bin/sh # Python modules needed for hook processing apt-get -y install python-pip cmake apt-get -y install libsm6 libxext6 libxrender1 libfontconfig1 pip install numpy opencv-python imutils configparser Shapely future python setup.py install # Install for face recognition pip install face_recognition
  13. I think I got it I had several problems. it was not picking up the script variable. I copied and pasted from here maybe something was wonky, then they script filed was not saved in a good linux format deleted it and rebuilt in in nano on the host. that seem to work.
  14. I have tried getting the userscript.sh as stated in your OP to run but I don't think its working .What is weird is I see this in the log *** Running /etc/my_init.d/999_advanced_script.sh... Userscript Provided *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 927 Mar 7 09:03:11 cbd80626d0d2 cron[930]: (CRON) INFO (pidfile fd = 3) Mar 7 09:03:11 cbd80626d0d2 cron[930]: (CRON) INFO (Running @reboot jobs) Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [using config file: /etc/zm/zmeventnotification.ini] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [Push enabled via FCM] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [MQTT Enabled] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [You are running version: 3.2-docker] I did chmod +x userscript.sh have ADVANCED_SCRIPT 1 as a variable in my docker setup when I drop into the docker console pip is not found. shouldn't it have been installed by the user script below. #!/bin/sh # Python modules needed for hook processing apt-get -y install python-pip pip install numpy opencv-python imutils configparser Shapely pip ./setup.py install # Install for face recognition pip install face_recognition