mikeg_321

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by mikeg_321

  1. Thanks so much for figuring this out and sharing! I had given up on this until I saw your post. 

     

    I changed the Keys from 0 in both to USER_ID and GROUP_ID respectively as you indicated and now I can control my RGB stuff.

     

     

  2. Hi,  It sounds like maybe you might need to enable MSI's for the Nvidia card. (MSI=Message Signalled Interrupts)  I think it's a fairly common issue.  This happens to me if I don't enable MSI on my VM's with my 1060/2070 cards.   https://forums.unraid.net/topic/76035-help-struggling-with-nvidia-audio-passthrough/?tab=comments#comment-1076667.   Not positive that is your issue, but something to at least check on.  I'm afraid I am not sure how you would enable that on LibreELEC easily.  It can be enabled in Linux and I believe the how-to for that is here.  Sounds like you would need to tweak the image with a config file addition.

  3. I don't believe it's easy to disable Hyper-V once the template is created with it enabled first.  You could try making just a new template with Hyper-V off and then pointing to the old V-Disk.  I think that works, but you may want to search on that a bit more to be sure.    FWIW my understanding is that very recently Nvidia stopped killing VM's with their driver when detected which I think is what the Code 43 was driven by.  Your issue may be something else if you're using a very recent Nvidia driver in the VM  - link to Nvidia announcement

  4. I believe there is an UnRaid app that can update the UnRaid kernel to avoid the reset issues as well.  6.9 and 6.10 have it available albeit in different flavors from what I recall.  Unfortunately due to another issue I had to roll back so can't search the apps to find the exact name for you.  If the above works then great maybe you don't need this.  You might also try searching for Radeon or AMD in the UnRaid apps tab and you should see something come up showing an AMD log that talks about fixing the reset issue.

  5. Ok, thanks for the update.  Appreciated.   I am back on 6.8 now... I've wound up with a very stable WIn 10 environment after days of tweaking and reading.  Happy to compare notes later if you like.  Think I'll just keep things stable and enjoy Xmas and keep trying to figure this out on 6.10 when I have time.  Yeah, I was hoping 6.10 would have resolved this.  I'll post any new news too.  I was doing the same as you in the past.  2 Gaming rigs by day and miners by night.  I stopped mining a while ago but might have to check that out again.

  6. Hi,  Did you manage to get this resolved?  Believe I am having the same issue and also on an EP2C602.  I am searching through the forums and have noticed a couple others with similar problems when they went to 6.9 and are on the same MB.  I thought I tried a Seabios install but maybe not.  Perhaps I'll try that next as it seems like maybe that worked for you?

     

    Also posted here and here.  Do those sound like what you had or have as an issue?

  7. Hi All,  I am late to the party but tried to go to both 6.9 and 6.10. recently from 6.8  As soon as any Windows VM with Nvidia GPU passed in initialises it crashes.  (nvlddmkm.sys video TDR failure)  I think I have this same issue as OP and am looking for a solution.  

     

    It sounds like this thread diverged to a different issue with KVM crashing entirely vs just the VM's or am I reading it wrong and there is a solution for the VM/Nvidia issue? This same issue is posted here too where I also posted.  Looking at that diagnostics I noticed I have a very similar CPU and same motherboard as OP so can't help but think that maybe that has something to do with this perhaps - i.e. hardware related issue.  I have searched a lot on this problem and only found a few mentions of this problem.  If it was a widespread 6.9/10 issue I think it would have more attention so again seems more specific to hardware or maybe some Sw conflict with a add-on or something.

     

    Anyhow, if this is solved would you guys elaborate further on the 'fix' and if not what is the best course of action to get more help?  I was going to start a new thread and post all my info but if this is fixed want to skip that.

     

    Thanks

     

  8. On 1/3/2021 at 8:57 AM, derpuma said:

    Sorry for that missleading link. I thought we are talking about, as @alturismo did the voodooHDA install on High Sierra!

     

    Try to setup you card as here in this example:

     

    <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0c' slot='0x00' function='0x0'/>
          </source>
          <rom file='/mnt/user/isos/YOURROMFILENAME.rom'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0c' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
        </hostdev>

     

    Red should be your GPU Device, yellow the name of your rom file (at the correct location) and green should be a bus which does not conflict with other pci devices you use.

     

    Before you go for the multifunction solution, you should watch if your GPU is separated in a single IOMMU Group. If it is not, then you can use the VM Manager functions "PCIe ACS override: multifunction or both" to get it separated as much as possible.

     

    Which Board do you use? Which Verison of Unraid?

     

    I just want to say thank you for posting this information.  Setting my Gigabyte RX480 video and audio to the same bus resolved the issue where the sound device was missing in my Mac VM's.  

    • Like 1
  9. regarding # sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh 1 1 Traceback (most recent call last):   File "/var/lib/zmeventnotification/bin/zm_detect.py", line 27, in <module>     import zmes_hook_helpers.utils as utils ModuleNotFoundError: No module named 'zmes_hook_helpers'

    On 12/30/2020 at 1:06 PM, ThreeFN said:

     

     

    This seems to be the fix for the time being:

     

    https://github.com/dlandon/zoneminder/issues/145

    Does anyone happen to know or have the info that was posted at the github link above? The repo is archived and link to issue gone.  I'm just looking at getting this going after installing quite some time ago with a very brief success before an update broke thingst.  Looks like I have the above issue and am hoping to get the version of the unRaid docker I have installed working for now until I decide a new path forward.  I'm concerned upgrading now will just cause more issue for me even though I'll be a bit outdated.  

     

    That said if I upgrade to the latest deprecated full docker with hook support, does it actually work with people/object detection or is it broken? I don't necessarily need GPU support for now.  It's a bit tough to tell from the recent comments what state it's in for issues.  

     

    and thanks Dlandon for the efforts you have put in, it sounds like a bear to manage. I wish I had worked on this sooner...  I'd like to think I would have been a supporter if I could have got this working and still will if you decide to go to some pay model. Easy to say after the fact I know...  Heck, even if I can get the deprecated one working I'd be happy to contribute.  I can't tell you how much time I have put in previously on getting basic zoneminder working on a VM let alone the object ML stuff which I never touched.  I really think you have something here with the docker/hook processing when it works and was so looking forward to that ability/option.

  10. I have managed to now get GPU support mostly working by following the first post instructions as well.  That said, I noticed by running watch nvidia-smi on my unRaid box that you can see the GPU working when using YOLO, but not when running face recognition.  Again curious as to whether anyone else sees this or if I have done something incorrect.  Some googling lead me to this link:  Get CUDA working...  I believe the DLIB section is pertinent, but not 100% sure.  When I do ">>> dlib.DLIB_USE_CUDA" in Python/Docker it comes back False and maybe should be True.  Any comments as to getting face recognition to work via GPU?  

  11. I just installed this docker a couple days ago and am learning a bit as I go here.  Long time zoneminder user, but noob with dockers.  By following the first post and related links, to my surprise, I already have Object detection functioning and am working on face detection, but so far no luck.  CUDA stuff will be next and I have set all the Docker ENV variables to yes to install so YOLO, CUDA, face detection software etc, in theory, should all be there.

     

    To help in my troubleshooting I just want to ask if anyone can confirm they have face detection actually working on the latest docker version.  Does anyone have it working right now?  That will help me narrow down to just config or if possibly some file or libraries etc could be missing or something in the actual docker container too.  So far I see docker logs of the object detection running on an event but when I would expect the face detection to kick in there's just nothing/blank in the logs. Not even an error to go off so far.

     

    -EDIT- Did a force update/rebuild of the docker and face detection is now functional.

  12. Yeah, $100 for USB is nuts.  Think of it this way, it's actually 4 USB cards. which you can basically turn into 4 different computers via VM's  ?

     

    I just looked and I have 2 non powered USB hubs that are working fine which didn't work on the other cards I had. They are out of the box with no mods. The other powered USB hub does appear to have a wire cut.  Suspect I cut +5v as it's powered and I was having back feed issues in the past.  My system is working so well I hate to play around and see if it would tolerate the back feeds or other hubs better or not though.  

     

    Another thing to note is that my bios has an ACS on/of option which I have enabled. That may have helped in splitting the addresses out to individual IOMMU's.  Point being, there's so much variability between systems I'd just say make sure you order from somewhere you can return the board in case you don't have the same luck I have.  Amazon was great when I had to return the Startech.   

  13. Posting back more results.  I just couldn't get the RocketU card to be stable.  Kept running into some type of problem where one of the ports would stop working after a while.  I suspect there's a power overload protection of some sort going on that I was bumping up against.  Card works fine with single devices per USB port , but once a hub (powered or un-powered) is in play it is problematic for me.  Now one of the Four ports now won't work at all.

     

    I decided to try the Sonnet Allegro Pro USB 3.0 PCIe card (USB3-PRO-4PM-E).  It has been flawless so far (2 weeks) with hubs plugged into 3 of the 4 ports and no issues with many USB devices passed to various VM's.  IOMMU split out without any extra settings or overrides on my EP2C606-4L server.  

  14. 16 hours ago, Starlord said:

    I can 100% confirm that this card does not support AMD's x399 chipset due to lack of thunderbolt support. No intel systems to test it on. I just returned it and picked up the PEXUSB3S44V to test and so far haven't even been able to get unraid to boot when devices are plugged into it. Very interested in this thread.

    Do you have any powered USB hubs or powered USB devices plugged in when trying to boot?  I found that many hubs back-feed 5V into your USB system which can cause the PC to not boot.  I had to cut the 5v line back into the USB port on my hub because of this and just rely on an external power brick for the devices on that hub. My server wouldn't boot and/or would cause instability issues otherwise.... something to check anyhow. These cards seem very picky.

  15. Hi Josetann,  Did you ever figure this one out beyond your work-around?  I just added a similar multi chip USB card (High Point RocketU 1144C ) to my system and am fighting with the same issue.  I have an IR receiver as well as a couple other USB devices (webcams/vid capture devices) that just hang the VM at the BIOS/boot screen.  Did you try both OVMF and SeaBIOS by chance?  I haven't done a ton of troubleshooting myself yet so thought I'd see if anyone has solved this before pulling any hair out...  First step is trying to find an error message or something, but like your logs mine don't state anything obvious to look at that I can see.

     

     

  16. Has anyone progressed the topic of multi-controller USB cards further?  I had read on another thread about the High Point RocketU 1144C working so ordered one and have had some success with it but am chasing what I think are some power related issues due to long USB runs (using active USB extenders).  I have the 1144C working and seems to survive VM re-boots/power downs when individual ports are passed to the VM's.

     

    Unfortunately I didn't see this thread until after I ordered the Startech card.  I was thinking since it has a perhaps more robust power source via molex connector it may work better in my case.  I've run into the same as the others with it looking like it should work but the errors in Windows and non-functionality are present.   For fun I tried in another PC and works fine in bare metal Windows.  As well I tired a very recent Openelec via a USB boot and the Startech card appears to work fine (sees a USB disk attached into Openelec bare metal).

     

    So it looks like the Startech card can work in Linux too... Unraid just doesn't see it nor can it be passed to a VM.   I'm just not sure what to check or change in Unraid and would be open to any suggestions to try before I send the card back.  

     

    For the High point card.  On my server I could not get it to split into individual IOMMU's until I added the following to kernel boot parameters:

     

    vfio-pci.ids=12d8:2608,1912:0015,8086:1d26,8086:1d2d vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=id:12d8:2608 irqpoll

    12d8:2608 is the High point card.  Basically I have both onboard USB ports and the 1144C card set so UnRaid won't use/see the USB ports and it's the pcie_acs override part that finally broke the IOMMU into individual groups to allow VM passthrough:

     

    Looks like this after that is added:

     

    IOMMU group 22
    	[10b5:8609] 04:00.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
    IOMMU group 23
    	[10b5:8609] 04:00.1 System peripheral: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
    IOMMU group 24
    	[10b5:8609] 05:01.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
    IOMMU group 25
    	[10b5:8609] 05:05.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
    IOMMU group 26
    	[10b5:8609] 05:07.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
    IOMMU group 27
    	[10b5:8609] 05:09.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
    IOMMU group 28
    	[1b21:1142] 06:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
    IOMMU group 29
    	[1b21:1142] 07:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
    IOMMU group 30
    	[1b21:1142] 08:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
    IOMMU group 31
    	[1b21:1142] 09:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller

     Oddly, this is not at all needed for the Startech card... it split out fine with no overrides.

     

    Just posting my results so that others may benefit and would also love to get the StarTech going, but am at a loss so giving up unless someone has some suggestions.  Happy to post more info if needed.  I'm running an ASRock EP2C602-4L/D16 & Dual Xeon E5 2680 setup.

  17. I found this thread when looking to purchase an RX480 to use in passthrough and it made me a bit nervous on getting an AMD GPU.  I took a chance due to a good sale price and wanted to share my experience in case anyone else finds this in a search.

     

    I bought an 8GB Gigabyte G1 Gaming RX480 card.  I had an existing VM running Seabios and Q35-2.5 with an older Nvidia card which this replaced.  When I first booted and tried to install the drivers, the screen would flash a couple times and then stay blank. I had to Force stop and reboot but still would not install.  I then switched to i440fx-2.5.  Drivers installed just fine and I'm very impressed with the overall performance of this card.  No reset issues and boots up fine even after a force stop.  I assume it will work under OVMF too but have not tried yet.  Just FYI...