jas0r

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by jas0r

  1. Hi I have an unraid system with 2 Libreelec VMs that use 2 graphics cards to passthrough to TVs in my house. Its run great for years but as of 6.10.X its stopped. If I stay on 6.9.2 it runs fine so thats what I am doing so far. The passthrough works as the tv's come up and show the libreelec splash screen but the boot fails with: [FAILED] Failed to start Xorg Server [DEPEND] Dependency failed for Fluxbox Window Manager Reading up on this it seems although the card is working and passing through some key driver info isnt coming through so Libreelec thinks it doesn't have a suitable card. I have followed all the steps found in the forums and Redit: PCIe ACS Override Binding the video and audio Using vfio-pci.ids= in the boot to islolate the cards Using isolcpus= in the boot to isloate the CPUs used by the VM Adding the below lines into /boot/config/go echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind and finally editing the VM XML as per below <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x82' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/Storage/Apps/VBIOS/gpu GT710 vbios.rom'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x82' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </hostdev> Can anyone help?
  2. Hi Just some feedback I am still no further. Tried 6.11 RC3 but same thing happend The GT710 come up with the Xorg error and the 210 had nothing. Still sticking on 6.9.2 until its sorted. Not sure how.
  3. Hi, Im also getting issues in all 6.10.X versions. 6.9.X has been fine. I get the pasthrough working on an Nvidia GT 710 but when booting LibreElec it has a error: [FAILED] Failed to start Xorg Server [DEPEND] Dependency failed for Fluxbox Window Manager On my older Nvidia 210 I dont get anything As per previous and extract below I have set the audio onto the same bus and PCIe ACS override: Both VFIO allow unsafe interrupts: Yes Added to Syslinux: video=efifb:off I use 2 LibreElec installations with Passthrough for daily tv in my house so I need to get this working if I ever want to upgrade beyond 6.9.2 <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x82' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/Storage/Apps/VBIOS/gpu GT710 vbios.rom'/> <address type='pci' domain='0x0000' bus='0x82' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x82' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x82' slot='0x00' function='0x1'/> </hostdev>
  4. Hi, just wondering if anyone has any issues with the different types of objects. Mine currently detects person fine but it never detects a car. It used to and has only stopped recently. I have it set as object_detection_pattern=(person|car|motorbike|bus|truck|boat) using yolov3 full Any ideas? Thanks
  5. Did you ever get a solution to this? I have the same question.
  6. Yeah will just have to wait, I was getting the attached written to ZM in a prev version but will just wait for the update when its ready.
  7. @MaNRo I get the same events but does yours write to ZM? If I set "write_image_to_zm=yes" in objectconfig.ini I get sudo -u www-data /usr/bin/detect_wrapper.sh 8 2 [s] detected:person:100% but in my ZM logs I get Sep 20 10:31:17 23a218b343cc /detect.py[20282]: INF [zmesdetect_m2] [object:person at [132, 186, 398, 474] has an acceptable confidence:0.9966217279434204 (min confidence=0.5)] Sep 20 10:31:17 23a218b343cc /detect.py[20282]: INF [zmesdetect_m2] [labels found: ['person']] Sep 20 10:31:17 23a218b343cc /detect.py[20282]: ERR [zmesdetect_m2] [Could not write image to ZoneMinder as eventpath not present] Sep 20 10:31:17 23a218b343cc /detect.py[20282]: INF [zmesdetect_m2] [Prediction string:[s] detected:person:100% ] and nothing is updated in ZM. Therefore the filter in ZMNinja in events called "Show Only Detected Objects" wont work anymore. It used to write the object data (not the image bounding boxes) back to ZM for me in previous versions.
  8. I made a brand new install. In order to work I had to pull and copy over the latest zmes_hook_helpers folder. I get detection's now in the log file. Although I get detection's it now wont write back the object detection to ZM. My prev setup did but now I get: "Could not write image to ZoneMinder as eventpath not present" Reading online it seems it wont work until 1.33. Or is it maybe permissions?
  9. @MaNRo did you ever figure this one. Mine now has the above error. Im just going back through all my debugging from last time I had errors.
  10. Sorry should have checked that. I updated about 2 days ago and then noticed the error. No update was showing but forced a check, updated and all good again. Thanks again for an awesome docker.
  11. Hi Yesterday it seems on a reboot of ZM I am getting errors during the update portion of booting as per below. Is anyone else getting this? Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up util-linux (2.27.1-6ubuntu3.8) ... Configuration file '/etc/cron.weekly/fstrim' ==> Deleted (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure): end of file on stdin at conffile prompt Errors were encountered while processing: util-linux E: Sub-process /usr/bin/dpkg returned an error code (1) *** /etc/my_init.d/20_apt_update.sh failed with status 100 *** Killing all processes... Sep 8 09:58:53 c9dcb0b8e49c syslog-ng[13]: syslog-ng shutting down; version='3.5.6' Errors were encountered while processing: util-linux E: Sub-process /usr/bin/dpkg returned an error code (1) *** /etc/my_init.d/20_apt_update.sh failed with status 100 *** Killing all processes... Sep 8 09:58:53 c9dcb0b8e49c syslog-ng[13]: syslog-ng shutting down; version='3.5.6'
  12. Hi Ok the missing link was running the requirements.txt install on pip3 not pip with below command sudo pip3 install -r /config/hook/requirements.txt All running smooth thanks
  13. Hi I have updated but I am getting the below module error now. I have also installed a new test docker from scratch and has the same error. Traceback (most recent call last): File "/usr/bin/detect.py", line 21, in <module> import zmes_hook_helpers.utils as utils File "/usr/bin/zmes_hook_helpers/utils.py", line 20, in <module> from future import standard_library ImportError: No module named 'future'
  14. That's what my problem was. I grabbed a comit from early July and it ran fine.
  15. So if I follow the instructions from the zmeventnotification GitHub what steps does the hook and face env variable do if any? I might make a new docker and follow the steps.
  16. Hi I have been running ZM for ages and decided to try get the hooks going so I can have object notifications and not a whole lot from lighting changes. The steps I have followed are: I have the notifications running fine. I edited the zmeventnotification.ini to uncomment hook_script = '/usr/bin/detect_wrapper.sh' I have then added the hooks and face detection variables as per attached image. I then downloaded the hook folder from "https://github.com/pliablepixels/zmeventnotification" I put this in my /appdata/Zoneminder/hook folder I edited the general section of objectconfig.ini with my server IP and user name and password Then rebooted ZM docker hoping it would all fire into life. So far nothing. Notifications come in but no object identifications Im guessing there is something simple I have missed? **Update, I am seeing the error below coming up in the logs Traceback (most recent call last): File "/usr/bin/detect.py", line 8, in <module> import cv2 ImportError: No module named 'cv2' Tried re running the command - sudo pip install -r /config/hook/requirements.txt but still no luck
  17. Has anyone received an internal server error when selecting a menu category? I am getting the below error when I select author, series or category. I have tried rebuilding the database with no luck and it works fine in calibre. Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
  18. Hi I have done the above but if I need to 'force shutdown' of the VM it still has the error. Every now and again my LibreELEC VM freezes and this is the only way to fix it but obviously needs the whole unraid box to reboot to bring up my VM again. I have a couple others with new cards and there is no issue, its just with one of my old cards
  19. My docker has been working flawlessly for years but then after an update to 6.5.3 I got the DB corruption error in my plex logs as per the post above and the docker wouldnt work. After trying new plex dockers from others, and rebuilding my docker image finally found this and changed the appdata link from /mnt/user/appdata to /mnt/cache/appdata and presto Im back in business. Frustrating 24hours though fixing it.
  20. Hi, I have an NVIDIA card which does the same thing. On hard reset of the VM I need to reboot unraid. Have LibreElec VM's over the house and the same issue. Good to know the SSH solution I will try next time but did an easier solution ever get made? Cheers
  21. I actually just read the logs in the attached. Its missing the errors that were in the syslog at 3:45am on 26/09/17. Very odd. I will continue to monitor and post if I get any more inf / solutions.
  22. Hi I have been having a few slow downs and lock ups with the server. Finally last night it corrupted my Sophus UTM VM and therefore stopped my internet. Thankfully I back it up. The problem is the cause. I have read a few others with a call trace error pointing to BIOS I have made sure I am up to date, can anyone in know check the attached logs to see if I have potentially the same problem. I am thinking it could be the cache drive filesystem as I have my LibreELEC VMs slowing down lateley on it. Any help would be greatly appreciated jas0r-server-diagnostics-20170826-0902.zip
  23. This is a great script. Is there any way to only restart the VM if it as actually running before backup.
  24. Hi, I actually gave up and brought a whole new system. I was hoping to repurpose an old work server getting thrown out but no luck.
  25. Hi I have done some more testing and getting really weird results. I have a Supermicro X10DRL-i motherboard. It mainly seems to be one drive (disk 1) and only certian files, on reboot it will copy in Midnight Commander from user share to usb drive at 70 MB/sec. After 5 mins after reboot its down to 30MB/s and then after 10 mins it averages 1MB/s Other files copy at 70MB/s all the time. There are no errors on the drive. Should I look at replacing the drive as its making watching this media problematic? I have left all VM's off during these test but Docker is still running but it is 100% run off the cache drive.