• Posts

  • Joined

  • Last visited

  • Days Won


ICDeadPpl last won the day on August 13 2018

ICDeadPpl had the most liked content!

About ICDeadPpl

  • Birthday 08/16/1971


  • Gender
  • Location
    Gothenburg, Sweden

Recent Profile Visitors

2775 profile views

ICDeadPpl's Achievements


Explorer (4/14)



  1. I have set it to run at first array start only. The script itself runs in a infinite loop and has a 1 second long pause between checks (the "sleep 1" part at the end).
  2. I use this script, which checks if Plex has started transcoding and stops Trex if that is true. It starts Trex after Plex has finished transcoding. It is for Nvidia cards only. Feel free to use it and modify it to your needs. #!/bin/bash # Check if nvidia-smi daemon is running and start it if not. if [[ `ps ax | grep nvidia-smi | grep daemon` == "" ]]; then /usr/bin/nvidia-smi daemon fi sleep 300 # Wait until array is online and all dockers are started. Comment this out if you are testing the script. TREX=`docker container ls -q --filter name=trex*` while true; do if [[ `/usr/bin/nvidia-smi | grep Plex` == "" ]]; then # If Plex is not transcoding, start the trex-miner container if it is not running. if [[ `docker ps | grep $TREX` == "" ]]; then echo "No Plex, starting Trex." docker start $TREX fi else # If Plex is transcoding, stop the trex-miner container if it is running. if [[ `docker ps | grep $TREX` != "" ]]; then echo "Plex running, stopping Trex." docker stop $TREX fi fi sleep 1 done
  3. Thanks for the tip about AutoSync! I've been looking for this kind of app for a while! 👍
  4. When browsing a Github repository, pressing the period "." key, you can start a VS Code instance in your browser which loads the current repository. From the article: "You have to try this. Go to any GitHub repository and then press the dot key on your keyboard. Visual Studio Code will appear in your browser. It will load your entire repository and you can open any file from it. You have your entire source code with syntax highlighting and coloring. If you want to search for something, you can use the Visual Studio Code search capability to search in any file in the repository. If you make a code change, that code change gets saved and you can immediately make a commit inside your GitHub repository from your browser." Read more at https://visualstudiomagazine.com/articles/2021/08/31/github-vs-code.aspx
  5. I should have mentioned that I followed the instructions for Windows, as I ran the script on my Windows 10 machine.
  6. I'm actually using a fork of the official PIA script from here: https://github.com/hsand/pia-wg It works fine, if you follow the instructions in the project's README.md file.
  7. Yeah, I've been using the scripts to generate Wireguard configs for my PIA account. Works fine.
  8. Is it possible to have a script to check when a Plex session with encoding starts, so that one can stop a mining Docker? In my case it's the trex-miner, which I would like to halt when Plex gets an encoding job. 'nvidia-smi' gives the active process using the GPU, so the script would have to parse the output for Plex.
  9. Maybe I misunderstood. So the drivers running in the WIndows VM support passthrough, then?
  10. They said it is for Linux hosts running Windows VMs: "With virtualization enabled, GeForce customers on a Linux host PC can now enable GeForce GPU passthrough on a virtual Windows guest OS. There are a few GeForce use cases where this functionality is beneficial such as: GeForce customers wanting to run a Linux host and be able to launch a Windows virtual machine (VM) to play games Game developers wanting to test code in both Windows and Linux on one machine"
  11. Does the new 465.89 driver's "GeForce GPU Passthrough for Windows Virtual Machine" functionality make any difference for this plugin? https://nvidia.custhelp.com/app/answers/detail/a_id/5173 https://www.nvidia.com/en-us/geforce/news/outriders-game-ready-driver/
  12. There's a OSX Serial Generator on Github which has a lot of options, I haven't tried it out yet.
  13. You can create a custom script and put it in the docker's '/config/custom-cont-init.d' folder. The script will be executed every time the docker is started/restarted.
  14. Try MESSAGE=`rsync -av --delete --ignore-errors -e` /usr/local/emhttp/webGui/scripts/notify -i normal -s "Test" -d "Test" -m "$MESSAGE"
  15. You could call '/usr/local/emhttp/webGui/scripts/notify' from your script, and have the message include the output of the rsync job. The rsync output could be temporarily stored as a file, piped argument, named pipe or whatever. Run the command '/usr/local/emhttp/webGui/scripts/notify' once without any arguments to see which there are for you to use. You may want to check the notifications in Unradid Web UI "Settings/Notifications settings" so they are set to send email.