• 1 Post
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle









  • I actually took the other side of this argument when Lemmy was ramping up, that the concept of Federation needed to change to make the system more accessible to non-technical users. And I was told that my idea (federating the communities) was counter to the freedom that Lemmy was designed around.

    It can’t be both ways. It’s a cathedral, or it’s a bazaar. But if it’s a bazaar then we have to deal with the reality that sometimes people beat us to the places we want and have different ideas for what they should be.

    Nothing is stopping you from starting worldpolitics, globalpolitics, politics2 or politics on another instance.





  • Yes.

    And to some of the child replies, I think there’s a question of scale that often gets overlooked. In all these discussions, there seems to be two different groups commingling: ones who just need 1-2 simultaneous streams, and ones who are doing true whole-house-plus systems.

    I’m serving subtitles-enabled streams to (mostly) Roku clients - who need the server to burn in the subtitle track for some insane reason. It’s nothing for my Plexbox to be serving 6 simultaneous streams. A 4790K would definitely not cut it for me.


  • Honestly, don’t bother with a dGPU and get a 12th or 13th gen Intel Core chip with QSV. Intel quietly tuned it up to the point where it’s faster than nVidia’s NVENC engine even in the latest gen plus you don’t have mess around with the uncap streams hack and you’re transcoding through system RAM not dGPU RAM, so far less likely that your stream limit will be artificially constrained by memory limitations.

    To answer the question you asked though, the nVidia NVENC is the best solution on a dGPU. It’s performance is largely the same across the same board generation, with one exception in the GTX 10X0 series. The absolute cheapest card you can lay your hands on that has an NVENC engine is the 1050TI.

    The caveat is the 1070 and 1080 have two NVENC engines. It will double max number of streams in theory, however in reality you’re memory bound on those cards and it’s more like a 33% bump.



  • Here we go:

    Example files

    Any place you see <something>, you need to change it to fit and omit the <>. If something <matches> in two differet places <matches> like this, make sure they match when you’re done as well. Specifically, the postgres user and password in the lemmy docker file and the lemmy.hjson.

    Finally, in Google drive the files end in .txt so you can view them. You’ll need to correct the file names when you download them if you intend to use them. You should have two docker-compose.yml, one in each of the two directories you create, and one lemmy.hjson.

    From a fresh CLI Debian 11 install:

    su
    /sbin/usermod -aG sudo <user>
    groups <user>
    apt-get install sudo
    cd /opt
    mkdir npm
    cd npm
    (copy or create docker-compose.yml)
    apt-get install docker-compose
    docker-compose up -d
    cd /opt
    mkdir lemmy
    cd lemmy
    (copy or create docker-compose.yml and lemmy.hjson)
    mkdir -p volumes/pictrs
    chown -R 991:991 volumes/pictrs
    docker-compose up -d
    docker ps (verify containers are all running, grab ip address for lemmy container)
    Configure port forwarding in npm for your lemmy container (npm should be accessible at debian_ip_address:81)
    Remember to do the custom paths from the various guides. The lemmy port in this guide is 1234.
    

    Please note I am not addressing federation or SSL or true hosting yet. I haven’t got that far yet. But if you can get the damn thing running, the last mile shouldn’t be too bad.