[-] Kekin@lemy.lol 12 points 5 months ago* (last edited 5 months ago)

A tip I saw some time ago is to do:

rm folder -rf

Additionally you could move the git folder to the trash folder. I think it's usually located at $HOME/.local/share/trash/files/

Then you can delete it from the trash once you're certain you got the right folder

[-] Kekin@lemy.lol 22 points 5 months ago

mfers raised the yearly price from 80 USD to 100 this year, and then they sent me an email that next year it'll be 120! a 50% increase in two years, insane.

[-] Kekin@lemy.lol 15 points 5 months ago

I use Photoprism, mainly because it seems stable so far, and it's good enough for my needs

[-] Kekin@lemy.lol 7 points 6 months ago

I can speak at least for rootless podman, I spent some hours on it and different ways I tried all ended in permission issues.

I gave up on trying to do it properly and just set the permissions of the /dev/dri device to 666, so that my podman container can use the gpu for transcoding.

Part of the issue with the container images that I tried is that they create a new user with whatever uid:gid I pass to the container, and so even if my nonroot user is part of the render group, the new user inside the container is not and so it can't write to the /dev/dri/renderD128 (gpu), and so transcode wouldn't work.

That's where I left the troubleshooting at cause it was being a headache

40
submitted 7 months ago* (last edited 7 months ago) by Kekin@lemy.lol to c/selfhosted@lemmy.world

I've been trying to get hardware acceleration working on rootless containers of Plex and Jellyfin and I can't get it to work the proper way.

My current workaround is having my device /dev/dri/renderD128 with permissions set to 666, but I feel like that really isn't an ideal setup.

Some things I've done:

-Currently I'm running my containers with my user with ID 1000.

-My user is part of the render group, which is the group assigned to:

    /dev/dri/renderD128

-I'm passing the device to the containers as such:

  --device /dev/dri:/dev/dri

-In my plex container for example, I'm passing the IDs to use as such:

   -e PUID=1000 and -e PGID=1000

-I tried the option "--group-add keep-groups" and I see the groups in the container but I believe they're assigned to the root user in the container, and from my understanding, the plex and jellyfin images I've tried I think they create a user inside with the IDs I pass, in this case 1000, and so this new user doesn't get assigned my groups on the host. I'm using the LinuxServer.io images currently but I saw the official plex image creates a user named "plex". The LinuxServer.Io images create a user named "abc".

-Out of curiosity on the host I changed the group of /dev/dri/renderD128 to my user's group 1000, but that didn't work either

-I tried with the --privileged option too but that didn't seem to work either, at least running podman as my user.

-I haven't tried running podman as root for these containers, and I wonder how that compares security-wise vs having my /dev/dri/renderD128 with permissions set to 666

For some context, I've been transitioning from Docker to Podman rootless over the past 5 days maybe. I've learned a couple of things but this one has been quite a headache.

Any tips or hints would be appreciated. Thanks!

[-] Kekin@lemy.lol 6 points 7 months ago

I managed this by using tailscale, with a kind of weird setup I think, but it just works.

I have tailscale on the VPS and my local server, let's say its tailscale name is potatoserver

Then with Caddy on the VPS i have something like:

mywebsite.com { reverse_proxy potatoserver:port }

And so mywebsite.com is accessible on the clearnet through the VPS

Though given you're getting rid of cloudflare tunnles I don't know if you'd want to get into Tailscale. There's Headscale too but I haven't worked with it so I can't comment

[-] Kekin@lemy.lol 6 points 9 months ago

IIRC the screenshot thing was the tipping point for me. Tried taking a screenshot in the Crunchyroll app for Android, and it came out black...

Looked into plex, and it's all been better ever since

[-] Kekin@lemy.lol 10 points 1 year ago

Had this issue not long ago, check out this comment:

https://github.com/microsoft/vscode/issues/196187#issuecomment-1774043534

That fixed it for me

[-] Kekin@lemy.lol 9 points 1 year ago

With the Arr stack I like that I can select which torrents I want to download. I don't know if that's possible with Stremio?

Also it doesn't seem streamio is available for Apple TV. I would give it a try otherwise

[-] Kekin@lemy.lol 12 points 1 year ago

Baldur's Gate 3 is amazing

[-] Kekin@lemy.lol 13 points 1 year ago

A VPN from Cloudflare if I'm not mistaken, with a free tier.

https://kumu.io/sobeyharker/vpn-relationships#vpn-company-relationships/cloudflare-warp

https://1.1.1.1/

I had forgotten about this. Looks neat still

[-] Kekin@lemy.lol 17 points 1 year ago

I found out about njal.la about 2 weeks ago, they give you one ipv4 and one ipv6 for €5 monthly, with all ports open.

No GUI though, they provide OpenVPN and Wireguard configs, which works fine for my server.

I think they only have their servers on Sweden IIRC, but at least in my experience the speeds with the Wireguard config have been great.

So far I don't have any complains about them. Having all ports open makes setting it up on the torrent client really easy.

[-] Kekin@lemy.lol 7 points 1 year ago

The other day I learned about endlessh. I set that up, switched my actual sshd to listen on a different port, and the ssh login attempts from randoms essentially went down to 0. Pretty neat.

view more: next ›

Kekin

joined 1 year ago