Hey yall! I’m from Ohio, USA currently on a break from uni. Big AMD, FOSS/opensource and linux fan. I’ve recently gained a interest in AI. I figured since im not in school right now I’d join the community here and learn till the opportunity for school comes around again. I have a gaming desktop (AMD Ryzen 7 7800X3D, Gigabyte GAMING OC Radeon RX 7900 GRE 16 GB) that for now is running as a server, pretty much all around media server (with everything running in rootless quadlets) and just mess around with self hosting.
OS is a custom centos stream 10 bootc image and another bootc server on a vps for infra stuff. Images get updated when I change and push a git repo → forgejo runner I host builds the images → then “bootc update” and reboot the servers and changes are made. Its pretty slick but still learning how bootc works.
But yeah thats my main thing Ive been working on learning about AI is next. Might use it to help onboard and help my whole 5! lol users on my server that are less tech savvy.
Hello, your bootc setup actually lines up nicely with ROCm. The kernel side has to live in the host image, but the entire ROCm userspace can sit inside a container, so it becomes just another quadlet and your host image stays clean. One heads up though, GPU containers need /dev/kfd and /dev/dri passed in plus the render group, and that’s the bit where rootless tends to fight back.
I went with Bootc for this latest server setup because if I break something (and I do break stuff often), it’s soooo easy to just go back to a known working image. Also, I’m a massive fan of containers! Containers are just neat and an incredible piece of tech. I really feel they have changed the game.
Oh yeah, trying to keep everything rootless can be a struggle, and occasionally I have to make compromises to keep it that way, but I seem to have hardware transcoding working with Jellyfin. Here is my rootless jellyfin.container quadlet config, part of a containerfile config adding me to the needed groups (not shown in the snippet are adding the needed drivers/packages/tools) and transcoding settings in jellyfin. It seeeems to be working well, so I’m thinking I’ll do something similar for ROCm. I hope… lol
Thanks for the heads up because I probably would have been stuck trying to figure out why it wasn’t working! Lol
# ==========================================
# THESTEAD VARIANT
# ==========================================
FROM base AS thestead
# Add GPU access groups for jeffiscow (render + video for ROCm / VA-API)
RUN *echo* 'm jeffiscow render' *>>* */usr/lib/sysusers.d/jeffiscow.conf* *&&* \
*echo* 'm jeffiscow video' *>>* */usr/lib/sysusers.d/jeffiscow.conf*