Jump to content

bigbangus

Members
  • Posts

    234
  • Joined

  • Last visited

Posts posted by bigbangus

  1. 2 minutes ago, ich777 said:

    Can you maybe try to disable this option and see which card is the console output? I think it would be best to use the 1050Ti for console output since you are using this card in Docker containers.

    If the console output from unRAID happens on the wrong card, simply try to swap the PCIe slots for the cards physically.

     

    It's definitely the 1660Ti on the console when I boot, but I'm trying to maintain my 1660Ti on the primary slot for best performance in VM (x16 slot). All was working in 6.9.2 and then stopped in 6.10. Just don't know what to look at to solve it. Would rather not make the 1050Ti primary. Seems backwards to put the fast card in the slower slot?

  2. 31 minutes ago, ich777 said:

    No, that won't solve nothing also I don't think that's the root cause of the issue, have you somewhere your Diagnostics?

    You also have to know I'm not the specialist when it comes to VMs and Passthrough, what card is the primary display output? The 1050Ti from your signature?

    If you have two cards in your server I think you don't even need video=efifb:off if you have set the primary card to the 1050Ti in your BIOS.

     

    So my BIOS doesn't seem to expose an option to select primary GPU so I've had to keep video=efifb:off for that reason I think.

     

    See Diagnostics attached. Thank you for your help.

    unraidnas-diagnostics-20211103-1340.zip

  3. Has anyone experienced issues passing a primary Nvidia GPU once upgrading to 6.10RC1 or RC2? In my case it's a 1660Ti in the primary slot.

     

    Everything was working fine in 6.9.2 using a combination of methods (below), but nothing can fix my Code 43 in Windows 10 in Unraid 6.10. The VM log doesn't report any issues, but the Code 43 persists. If I roll back to 6.9.2 the VM works fine.

     

    What I've done to make my primary GPU passthrough work in 6.9.2

    • IOMMU: Enabled, vfio bind all the GPU devices (VGA+Audio+USB+USB)
    • append "video=efifb:off" to the syslinux configuration (this was the game changer for 6.9 and prior)
    • dump the vbios using @SpaceInvaderOne 's awesome script (thanks!)
    • Tried ifx440 and Q35 no difference
    • Did the VM xml edit multifunction trick with preserving the slot assignment to the VM for all 4 GPU devices again thx @SpaceInvaderOne

     

    Nothing can get it working in 6.10. I'm stumped. 

     

  4. On 10/19/2021 at 11:16 AM, Niklas said:


    You could try setting both PUID and GUID to 0.
    Please note that this will give the container full access to the file system (everything).

     

    Yeah I thought about that, but then again it used to work with the standard access settings so I figure I'm missing something else.

     

    Is there a way to learn about and test permission settings from within a docker?

  5. 2 hours ago, yayitazale said:

     

     

    On your config you have record enables but you are not using it on the roles of any of the cameras

     

    Ah thank you. Another case of RTFM.

     

              # Required: list of roles for this stream. valid values are: detect,record,rtmp
              # NOTICE: In addition to assigning the record, and rtmp roles,
              # they must also be enabled in the camera config.

     

    • Like 1
  6. Anybody update to 0.9.1 yet? I've followed the documentation to fix all the breaking changes in my config, but I get some warnings.

     

    For each camera I get this on startup:

    [2021-10-06 12:10:20] frigate.app WARNING : Camera XXXXXX has record enabled, but record is not assigned to an input.

     

    And when I try to use birdseye view in the GUI, some of my cameras are blank and show this warning in the log:

    [2021-10-06 13:09:08] frigate.output WARNING : Unable to copy frame XXXXXXX1633536757.444885 to birdseye.

     

    Otherwise, all my person detection with Home Assistant still works as intended so I have no issues. Just some warnings and not sure why.

     

    Config below:

    mqtt:
      host: x.x.x.x
      port: xxxx
      topic_prefix: frigate
      client_id: frigate
      user: mqtt
      password: xxxxxxxxxxx
      stats_interval: 60
    
    cameras:
      uvc_cam1:
        detect:
          enabled: true
          width: 1920
          height: 1080
          fps: 5
        rtmp:
          enabled: true
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          retain:
            default: 10
            objects:
              person: 30
        ffmpeg:
          inputs:
            - path: rtsp://xxxxxxxxx
              roles:
                - detect
                - rtmp
        motion:
          mask:
            - 0,370,483,366,487,201,654,204,980,215,988,0,0,0
            - 1352,1080,1555,695,1419,606,1309,667,1205,785,1122,850,947,819,764,715,419,1080        
        zones:
          driveway:
            coordinates: 1561,1080,1634,872,1685,695,906,459,589,545,215,435,0,390,0,1080
      uvc_cam2:
        detect:
          enabled: true
          width: 1920
          height: 1080
          fps: 5
        rtmp:
          enabled: true
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          retain:
            default: 10
            objects:
              person: 30
        ffmpeg:
          inputs:
            - path: rtsp://xxxxxxxxx
              roles:
                - detect
                - rtmp
        motion:
          mask:
            - 0,85,395,85,395,0,0,0
            - 1920,0,1920,275,1781,224,1617,250,1450,191,1276,171,1074,156,982,52,778,0
        zones:
          patio:
            coordinates: 1920,1080,0,1080,0,366,468,208,915,247,1126,126,1589,178,1694,196,1920,258,1920,265
        objects:
          track:
            - person
            - dog
            - cat
      uvc_cam3:
        detect:
          enabled: true
          width: 1920
          height: 1080
          fps: 5
        rtmp:
          enabled: true
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          retain:
            default: 10
            objects:
              person: 30
        ffmpeg:
          inputs:
            - path: rtsp://xxxxxxxx
              roles:
                - detect
                - rtmp
        motion:
          mask:
            - 0,385,220,222,470,174,631,150,712,0,348,0,0,0
            - 1920,0,1920,213,1830,222,1773,297,1696,295,1566,231,1559,119,1418,115,1242,96,1099,96,972,42,953,0
            - 1632,1080,1439,735,1267,621,1096,568,919,562,745,571,553,646,354,766,237,904,204,1080
        zones:
          backyard:
            coordinates: 190,132,0,464,0,1080,137,1080,263,797,510,629,750,562,1025,535,1309,577,1643,1015,1840,906,1623,575,1570,441,1607,335,1531,243,1556,117,1429,86,764,137,216,222
        objects:
          track:
            - person
            - dog
            - cat
      uvc_cam4:
        detect:
          enabled: true
          width: 1920
          height: 1080
          fps: 5
        rtmp:
          enabled: true
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          retain:
            default: 10
            objects:
              person: 30
        ffmpeg:
          inputs:
            - path: rtsp://xxxxxxxx
              roles:
                - detect
                - rtmp
        motion:
          mask:
            - 0,83,350,86,348,0,0,0
        zones:
          sidegate:
            coordinates: 720,1080,1169,1080,854,240,728,137,631,147,644,257
        objects:
          track:
            - person
            - dog
            - cat
      uvc_cam5:
        detect:
          enabled: true
          width: 1920
          height: 1080
          fps: 5
        rtmp:
          enabled: true
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          retain:
            default: 10
            objects:
              person: 30
        ffmpeg:
          inputs:
            - path: rtsp://xxxxxxxxx
              roles:
                - detect
                - rtmp
        motion:
          mask:
            - 0,83,350,86,348,0,0,0
        zones:
          sidefence:
            coordinates: 609,1080,1337,1080,741,309,567,287
        objects:
          track:
            - person
            - dog
            - cat
    
    record:
      enabled: true
      retain_days: 0
      events:
        max_seconds: 300
        pre_capture: 2
        post_capture: 2
        retain:
          default: 10
    
    objects:
      track:
        - person
        - car
        - dog
        - cat
    
    ffmpeg:
      hwaccel_args:
        - -c:v 
        - h264_cuvid
    
    detectors:
      coral:
        type: edgetpu
        device: usb
    
    

     

  7. My duplicati container is struggling with permissions everywhere it seems like.

     

    I get the following error after every backup when it tries to run the "run-after-script"

    2021-10-05 09:39:15 -04 - [Warning-Duplicati.Library.Modules.Builtin.RunScript-ScriptExecuteError]: Error while executing script "/scripts/duplicati_pushover": ApplicationName='/scripts/duplicati_pushover', CommandLine='', CurrentDirectory='', Native error= Access denied

     

    Furthermore, when I try to restore a backup just to test the system, it gives me an access permission error and doesn't write the data.

     

    What's the deal?

    Command:
    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='duplicati' --net='bridge' --cpuset-cpus='1,3,4,13,15,16' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -p '8200:8200/tcp' -v '/mnt/user/appdata/tmp/':'/tmp':'rw' -v '/mnt/disks/':'/backups':'rw,slave' -v '/mnt/user':'/source':'ro' -v '/mnt/user/backups/scripts/':'/scripts':'ro' -v '/mnt/remotes':'/remotes':'rw,slave' -v '/mnt/user/appdata/duplicati':'/config':'rw' 'linuxserver/duplicati'
    04edf53ba0312d1d49eb44b9b8f89e274b9fbf0a17097b12b386e4bcd4b9c99b
    
    The command finished successfully!

     

  8. So 1 year later and still no Gen 4 x1 card available.

     

    I believe the best option out there is the ASM1064 chipset (https://www.asmedia.com.tw/products-list/8a2YQ99xzaUH2qg5/58dYQ8bxZ4UR9wG5)

    It's Gen 3 x1 which theoretically allows for 1 GB/s total. They sell the card on amazon in variants of 4,6,8 ports for ~40$-60$ and I believe asmedia is compatible with Unraid.

     

    Although SATA 3.0 is 6 Gb/s (750MB/s), if you're using this card for the Unraid array, each drive only reaches 60MB/s or so on average so maybe you can get away with putting 4 drives or more on 1 card using this chipset.

     

    Has anyone put a ASM1064 card on their unraid server and can comment on bandwidth limitation?

    Does anyone know if ASMedia plans to release a Gen4 x1 chipset in the future?

  9. 1 hour ago, Taddeusz said:

    @bigbangus I personally leave my Guacamole container set to Bridge. I just think it’s too much of a security risk to let every container be allowed to have host access. My Guacamole container is the only outside accessible service that needs this kind of access.

     

    I reverted it back based on what you're saying. I think @SpaceInvaderOne mentioned it was necessary to set it on br0 with a static IP so that VM Wake-On-Lan feature works.

  10. 36 minutes ago, Taddeusz said:

    @bigbangus Do you have your container’s network type set to a custom network? If so you probably need to have “Host access to custom networks” enabled in your Docker settings.

     

    Yup that fixed it. What do you recommend as best practice here on how to set this up? Am I opening up a security risk here by enabling that? At this point just following space invader's video for the setup, but open to ideas since I'm using external db.

  11. Trying to overachieve here and get Guac working with a separate MariaDB. I followed the spacer invader mariadb nextcloud instructions to make a guacamole user and db with all the privileges. Then I copied and pasted the schema instructions into mariadb console with the db selected and it seemed like it worked. Then I did the same to create the guacadmin user. 

     

    image.png.76b3c6e3c2a6e5597e2135bb0d4c9a2c.png

    image.png.32ab894638efb1d32956e9ae601f9faf.png

    But when I go to WebGUI of Guac I get an error.

    image.png.ff133fa9c78c23ec007d8dc3bd28d980.png

     

    I've got guacamole.properties set as:

    guacd-hostname: localhost
    guacd-port:     4822
    
    mysql-hostname: x.x.x.x (unraid server)
    mysql-port: 3306 (port MariaDB is running on x.x.x.x)
    mysql-database: guacamole
    mysql-username: guacamole
    mysql-password: <password>

    What am I missing? The container log doesn't show the error. 

     

    Here is my docker command:

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='ApacheGuacamoleNoMariaDB' --net='br0' --ip='<x.x.x.x>' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'TCP_PORT_8080'='8080' -e 'OPT_MYSQL'='Y' -e 'OPT_SQLSERVER'='N' -e 'OPT_LDAP'='N' -e 'OPT_DUO'='N' -e 'OPT_CAS'='N' -e 'OPT_TOTP'='N' -e 'OPT_QUICKCONNECT'='N' -e 'OPT_HEADER'='N' -e 'OPT_SAML'='N' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/ApacheGuacamoleNoMariaDB':'/config':'rw' 'jasonbean/guacamole:latest-nomariadb'
    f680bbad75f308849fd002e1e88f1853a6fd4d407c104218fc044bf23571fa1c
    
    The command finished successfully!

     

    If I set OPT_MYSQL to N then it works fine. But I like the idea of a separate MariaDB like all my other containers.

  12. 12 hours ago, strike said:

    Look at the recommended post on the top of this page

     

    Yup that fixed the local WebUI access issue!

    "A24" in https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

    In binhex-delugevpn container: Add 'Variable' with 'KEY' as 'ADDITIONAL_PORTS' and add ports separated by commas

     

    In my case:

    image.png.2f6a943a9f9cf535ed73ac8d16c41e1a.png

     

    However my privoxy is still in a dead loop, from container LOG:

    2021-03-06 10:22:01,606 DEBG 'watchdog-script' stdout output:
    [info] Attempting to start Privoxy...
    
    2021-03-06 10:22:02,611 DEBG 'watchdog-script' stdout output:
    [info] Privoxy process started
    
    2021-03-06 10:22:02,612 DEBG 'watchdog-script' stdout output:
    [info] Waiting for Privoxy process to start listening on port 8118...
    
    2021-03-06 10:22:02,616 DEBG 'watchdog-script' stdout output:
    [info] Privoxy process listening on port 8118
    
    2021-03-06 10:22:02,611 DEBG 'watchdog-script' stdout output:
    [info] Privoxy process started
    
    2021-03-06 10:22:02,612 DEBG 'watchdog-script' stdout output:
    [info] Waiting for Privoxy process to start listening on port 8118...
    
    2021-03-06 10:22:02,616 DEBG 'watchdog-script' stdout output:
    [info] Privoxy process listening on port 8118
    
    2021-03-06 10:22:32,769 DEBG 'watchdog-script' stdout output:
    [info] Privoxy not running
    

     

    I tried deleting all appdata and restarting with fresh container and appdata folder, but issue still persists...

     

    Will probably just turn this feature off as I don't really use it, but curious how to fix.

  13. so as of late VPN works, but I can't get to containers locally SERVER:PORT

    I can still get to containers through reverse proxy subomain.

    My delugevpn is behind reverse proxy.

    also delugevpn logs show privoxy has issues started and goes in a start/stop loop.

     

    my stuff is still working, but something seems wrong with container.

  14. That's the host port and not the one used in swag. Swag talks directly to the container using the container port.
    Post your docker run command.

    Gotcha works now. Thanks for wasting your brain on me today.

    So swag just uses the container name and it’s own ports. Understood.


    Sent from my iPhone using Tapatalk
×
×
  • Create New...