Jump to content

Xaero

Members
  • Content Count

    73
  • Joined

  • Last visited

  • Days Won

    1

Xaero last won the day on March 10

Xaero had the most liked content!

Community Reputation

20 Good

About Xaero

  • Rank
    Advanced Member

Recent Profile Visitors

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

  1. @Djoss Any chance of adding SSLH support for this docker? It enables SSH access on the SSL port so that you can SSH into the server using the SSL port on locked down networks. I realize a VPN works around this as well, but would be a neat addition.
  2. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    RIP. I see you have PCIe ACS overrides enabled, a Windows 10 VM and then unraid is also reporting that there is no nvidia device available for the runtime. To my knowledge, if you are passing through your GPU to a VM and then also intending to use it with the docker, you are going to have a bad time. When the GPU is handed over to the VM it's like it was physically unplugged from unraid, and then physically plugged into the VM. When the VM shuts down, the GPU gets plugged back into unraid, but the nvidia docker runtime doesn't know this until it's been restarted. Hence it working when you restart the docker. Also, you usually shouldn't need to enable PCIe ACS overrides for passthrough unless some weird shenanigans are going on. EDIT: I'm not exactly an expert on unraid/qemu/docker - just a general Linux junkie, I could be very wrong, but from glancing over your diagnostic logs that's what I'd assume is happening.
  3. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    Yeahhhhhhhhhhhhh, the blight of my existence, currently lol.
  4. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    I wrote a script that can be used to automatically re-apply the wrapper on a schedule so that when Plex is updated you don't have to manually re-apply the wrapper script. That wrapper script is missing "exec" See my gist post here: https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428 Lines 19-27 contain the wrapper script that executes the default "Plex Transcoder" which we move to "Plex Transcoder2" You'll see there that I start each transcoder line with "exec" To fix your wrapper (which would break with mpeg4 avi files): #!/bin/sh exec /usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@"
  5. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    Are you sure you are using the latest version of the script? The inclusion of `exec` should let the processes die normally (and works as intended, from extensive testing) - indicating you may not have the correct wrapper script in use. Second, when watching nvidia-smi dmon -s u; It is important to note that there are separate columns for different usage metrics. For example, there is a column for the gpu core itself, the "streaming multiprocessor" (sm), memory, the nvenc and nvdec pipes. The nvenc column only refers to encoding, while the nvdec column only refers to decoding. From there, keep in mind that with the latest version of the script and mpeg4 avi media, the card will only be used for encoding, as the decoder vomits on that particular type of media. I am using a Quadro P2000, for reference which is very closely related to your P4000. I will note that currently I have abysmal 4k transcoding performance for some unknown reason. For example, here's my server currently: You can see my CPU usage is quite loaded - but the Plex Media Server and the transcoder are using barely any CPU. This is because I'm currently converting ~1.8TB of *.7z archives to *.gz archives. You an also see there is a small amount of usage on the enc and dec side of the graphics card. It's a 1080p video being transcoded to 1080p; so the usage is low. Once I close the browser tab with the video, the encode process drops off the GPU, but not until the tab is closed, or I stop that stream within the tab. Edit2: Yes, I know of tmux and screen - was just pulling up windows for demonstration, I don't normally monitor my server actively unless I'm trying to diagnose an issue lol
  6. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    By default, Plex only encodes with this unraid build and the GPU passed through. There's a way to enable decoding as well; but it is not officially supported by the Linuxserver.io, Plex, or unraid teams. Here's a script I've modified that can be used via the user scripts plugin on a schedule to enable the decoding support: https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428 I will update that script as needed, until Plex adds official nvdec support. Also note that nvenc and nvdec DO NOT offload audio transcoding. This generally is of no concern, unless you are dealing with lossless Atmos audio, which can be quite substantial to downmix and transcode.
  7. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    Did you see my post a couple pages back: Go to Settings > VM Options > Advanced > Edit Configuration > Add Parameter menu of the guest after powering it down and add the following parameter: hypervisor.cpuid.v0 = "FALSE" Seems to be somehow required for VMWare ESXI nvidia passthrough for CUDA and other advanced features to work.
  8. I'm not sure but I think it's unraid that's missing the terminal info. I believe it was ncurses that is stripped down. I thought someone earlier in the thread fixed it but changing their terminal emulation. What unraid version and terminal are you using and what emulation? Slackware package for tmux come with tmux and tmux-256color terminfo: https://slackware.pkgs.org/14.2/slackware-testing-x86_64/tmux-2.2-x86_64-2.txz.html EDIT: To answer your questions though: Unraid-nvidia 6.7.0-rc7 I've tried using export and `TERM=xterm tmux` but still results in the error as tmux still tries to use it's own terminfo (which obviously doesn't exist) I've since copied over a working terminfo from my ArchLinux server for the interim, and the issue is resolved. Seeing as the official slackware packages for tmux have terminfo for it included, it makes sense to package it that way.
  9. @dmacias tmux seems to be missing the terminfo for tmux, resulting in backspace being broken again. Just fyi.
  10. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    You may have to manually supply the BIOS for the consumer cards. The Quadro P620 should play well in a VM, however. Edit: I see you are running esxi, my bad; try doing this: Someone on Reddit reported that to work getting the drivers installed on Windows, hopefully it does for Linux as well. Should only apply to *consumer* cards. The Quadro, again, should play well in a VM.
  11. Xaero

    How many TB's is your Unraid Server?

    160TB usable here (192TB raw platters). Norco RPC-4224 SuperMicro X10DRL-IO 2x 1tb intel 660p for cache 24x Shucked WD Red 8TB drives from BestBuy black friday last year (over 60% off the price of the raw reds) 64gb DDR4-2133 ECC nVidia Quadro P2000 Not exactly happy with my HBA situation. Currently have an IBM M1015 connected to an HP port expander. The IBM card reports the drives as "standby" even though they are spun up. And the port expander only negotiates 3gb/s links (24 drives through two 4 port 3gb/s links is down to 1gb/s total bandwidth per drive) Going to be upgrading that, but not a lot of controllers that support IT mode and handle 24 disks. I'd like to not use a port expander but may be forced to.
  12. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    That'd be the obvious thing I didn't think of. Yeah, if the GPU got passed through to a VM or something it might vanish from nvidia-smi. Always learning.
  13. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    If you have anything clearing /tmp regularly, or the kernel is trying to clear memory because you are nearly out, the file would get deleted. Why is this being done in lieu of the plugin calling nvidia-smi via exec? Surely polluting tmpfs is avoidable in this case? Just curious, there's probably a good reason I can't think of.
  14. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    The container data becomes present over time. The support page has documentation on how to pass thru something to make it happen instantly but recommends against it for security reasons If you leave it running the GUIDs should eventually become the container names. I don't normally run netdata.
  15. Xaero

    [Plugin] Linuxserver.io - Unraid Nvidia

    You don't have to run it if the container is restarted, only if it is updated, force updated, or removed and reinstalled. That said, there isn't really a good way to fire events based on container update/restart at the moment (at least not built into unraid, or any plugins) If you are using the CA Auto Updater, and have it scheduled to update the container, you can also use CA User Scripts and schedule the script to run on the same schedule as the CA Auto Updater, just five minutes later, and it will run after the container has been updated that way. We could ask Limetech, the CA User Sripts or the CA Auto Updater dev's if they can add an event for container update. That said, I just have the script set to run every day after my containers are scheduled to update and it works fine.