Spyke

Posts

[Ubuntu] [Docker] Need help with Nvidia hardware acceleration in Jellyfin

Does anyone have a compose.yaml for an Nvidia GPU that works that they would like to share? Here's my current file, it gives a white screen with "server error" on it: https://pastebin.com/AaV17cTz

I went through Jellyfin's instructions on setting a GPU up, but the instructions weren't clear (in my opinion) so who knows if it's correct. I installed some Nvidia tools as a prerequisite and 'nvidia-smi' shows the card. I attached my Jellyfin settings from before it self-destructed according to Nvidia's transcoding matrix (which also wasn't descriptive enough in my opinion), do they look right for a 2080?

Update: after making this post, and changing nothing, it suddenly works

View original on sh.itjust.works

PC random black screen, doesn't come back

I bought a Samsung Odyssey G9 and Nvidia 5070ti about a month ago. Monitor came first, works great. A week and a half later, I get the GPU. Case is 1mm too small for GPU, so I buy a new case (great start). Now my video (DisplayPort) and audio (USB to an interface) output drops, regardless of activity, then my fans ramp up. Then only solution I've found is a manual restart.

My PSU was almost a decade old anyway, so I bought a new one just to rule that out (again, great). Event Viewer and Reliability Monitor show kernel errors related to Nvidia drivers. So I switched from the standard driver to Studio to rule that out, same result. So I updated my mobo BIOS, same result. At that point I felt comfortable calling the GPU somewhat defective and returned it (had to pay for shipping, $171, again great). Replacement GPU arrived yesterday, and my outputs just dropped again and needed a manual restart. This time I'm not seeing any error codes however. I'm losing my mind, I really need help from a tech wizard.

Win11 Pro Gigabyte Z490 Pro AX Intel i9-10900F RAM 16GB (I think Vengeance) Nvidia 5070-ti Corsair RM1000X

View original on sh.itjust.works

Nginx Jellyfin, both Docker containers

I followed YouTube videos and all my domain points to is "server not found." My domain is through Cloudflare. My server's ports have been opened at the router.

Proxy Host Settings: Domain name: newly.registered.domain Scheme: http (I've tried https too) Forward hostname/IP: local.server.ip.v4 Forward port: jelly_port Access list: Publicly accessible SSL: *.newly.registered.domain

I'd love to share my certificate info, but I don't see a way to do that...but I set up the DNS thingy with a Cloudflare API token. I remember typing in my server's public IP here too. Took many tries, but it finally accepted the settings as valid.

So what am I missing to get a reverse proxy? I thought it was supposed to work after all of that.

I've been trying to get this going for so long that it just feels like I'm beating my head against the wall until it randomly works, ya know?

View original on sh.itjust.works

[Ubuntu][Synology] NFS and SMB file sharing slow speeds and general bizarre behavior

This is my first real dive into hosting a server beyond a few Docker containers in my NAS. I've been learning a lot over the past 5 days, first thing I learned is that Proxmox isn't for me:

https://sh.itjust.works/post/49441546 https://sh.itjust.works/post/49272492 https://sh.itjust.works/post/49264890

So now I'm running headless Ubuntu and having a much better time! I migrated all of my Docker stuff to my new server, keeping my media on the NAS. I originally set up an NFS share (NAS->Server) so my Jellyfin container could snag the data. This worked at first, quickly crumbled without warning, and HWA may or may not be working.

Enter the Jellyfin issue: transcoded playback (and direct, doesn't matter) either give "fatal player error" or **extremely **slow, stuttery playback (basically unusable). Many Discord exchanges later, I added an SMB share (same source folder, same destination folder) to troubleshoot to no avail, and Jellyfin-specific problems have been ruled out.

After about 12hrs of 'sudo nano /etc/fstab' and 'dd if=/path/to/nfs_mount/testfile of=/dev/null bs=1M count=4096 status=progress', I've found some weird results from transferring the same 65GB file between different drives:

NAS's HDD (designated media drive) to NAS's SSD = 160MB/s NAS's SSD to Ubuntu's SSD = 160MB/s NAS's HDD to Ubuntu's SSD = .5MB/s

Both machines are cat7a ethernet straight to the router. I built the cables myself, tested them many times (including yesterday), and my reader says all cables involved are perfectly fine. I've rebooted them probably a fifty times by now.

NAS (Synology DS923+): -32GB RAM -Seagate EXOS X24 -Samsung SSD 990 EVO

Ubuntu: -Intel i5-13500 -Crucial DDR5-4800 2x32GB -WD SN850X NVMe

If you were tasked with troubleshooting a slow mount bind between these two machines, what would you do to improve the transfer speeds? Please note that I cannot SSH into the NAS, I just opened a ticket with Synology about it.

Here's the current /etc/fstab after extensive Q&A from different online communities

NFS mount: 192.168.0.4:/volume1/data /mnt/hermes nfs4 rw,nosuid,relatime,vers=4.1,rsize=13>

SMB mount: //192.168.0.4/data /mnt/hermes cifs username=_____,password=_______,vers=3.>

View original on sh.itjust.works

[Proxmox-LXC] How to migrate config/user data from a Docker container on my NAS to a Proxmox LXC? How to verify correct HWA settings?

cross-posted from: https://sh.itjust.works/post/49393596

I've been running Jellyfin on a Synology DS923+ for a couple years with 'linuxserver/jellyfin:latest' with no issue until that big update recently. Suddenly it's borked...extremely slow speeds, failing to play files half the time, stuttering even when it does play. It was time for a hardware update regardless; it was a miracle that the NAS was able to run as many services on it as it was anyway.

So I built a Proxmox machine with the intent of adding hardware acceleration and transcoding (ideally I'd like to stream to a couple old CRTs): -ASRock B760M PRO RS -Intel i5-13500 -2x32GB Crucial DDR5-4800 -1TB WD SN850X NVMe

Using the Proxmox community Jellyfin script (https://community-scripts.github.io/ProxmoxVE/scripts?id=jellyfin&category=Media+%26+Streaming) I set up an LXC and the iGPU is supposedly being utilized properly. I added an NFS mount from the NAS's media folder to the Proxmox host, then bound the mount point to the LXC. So at this point, it is accessible to clients via web browser, but I'm having a few issues:

  1. (Probably a Prox issue but...) Jellyfin isn't seeing all the media. I added all the libraries and did a full scan, but *maybe *10% of the media is actually available. Hopefully this is a moot point because--

  2. My old docker config isn't available. I made an NFS mount from the NAS's docker folder to the Proxmox host and tried to route it to the LXC as well, but the Proxmox-NAS refuses to work so I'd need a workaround.

  3. I have no idea if my transcoding settings are right. Intel's specs for my CPU and Jellyfin's recommendations seems to conflict slightly, but between both sets of info there's still some settings that lack guidance. Basically, can someone with a computer engineering degree double check my settings? I tried a screenshot, but Lemmy didn't appreciate it

Hardware acceleration: Intel Quicksync (QSV) QSV Device: /dev/dri/renderD128

X H264

X HEVC

MPEG2

VC1

VP8

X VP9

X AV1

HEVC 10bit

VP9 10bit

HEVC RExt 8/10bit

HEVC RExt 12bit

X Prefer OS native DXVA or VA-API hardware decoders

X Enable hardware encoding

Enable Intel Low-Power H.264 hardware encoder

Enable Intel Low-Power HEVC hardware encoder

X Allow encoding in HEVC format

Allow encoding in AV1 format

Edit: forgot to include logs: "ffmpeg version 7.1.2-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.101 / 61. 19.101 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 [AVHWDeviceContext @ 0x7ab87d07ffc0] No VA display found for device /dev/dri/renderD128. Device creation failed: -22. Failed to set value 'vaapi=va:/dev/dri/renderD128,driver=iHD' for option 'init_hw_device': Invalid argument Error parsing global options: Invalid argument"

"[WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. [ERR] FFmpeg exited with code 234"

Edit: appreciate all the help!

View original on sh.itjust.works
jellyfin·Jellyfin: The Free Software Media SystembyLazerDickMcCheese

[Proxmox-LXC] How to migrate config/user data from a Docker container on my NAS to a Proxmox LXC? How to verify correct HWA settings?

I've been running Jellyfin on a Synology DS923+ for a couple years with 'linuxserver/jellyfin:latest' with no issue until that big update recently. Suddenly it's borked...extremely slow speeds, failing to play files half the time, stuttering even when it does play. It was time for a hardware update regardless; it was a miracle that the NAS was able to run as many services on it as it was anyway.

So I built a Proxmox machine with the intent of adding hardware acceleration and transcoding (ideally I'd like to stream to a couple old CRTs): -ASRock B760M PRO RS -Intel i5-13500 -2x32GB Crucial DDR5-4800 -1TB WD SN850X NVMe

Using the Proxmox community Jellyfin script (https://community-scripts.github.io/ProxmoxVE/scripts?id=jellyfin&category=Media+%26+Streaming) I set up an LXC and the iGPU is supposedly being utilized properly. I added an NFS mount from the NAS's media folder to the Proxmox host, then bound the mount point to the LXC. So at this point, it is accessible to clients via web browser, but I'm having a few issues:

  1. (Probably a Prox issue but...) Jellyfin isn't seeing all the media. I added all the libraries and did a full scan, but *maybe *10% of the media is actually available. Hopefully this is a moot point because--

  2. My old docker config isn't available. I made an NFS mount from the NAS's docker folder to the Proxmox host and tried to route it to the LXC as well, but the Proxmox-NAS refuses to work so I'd need a workaround.

  3. I have no idea if my transcoding settings are right. Intel's specs for my CPU and Jellyfin's recommendations seems to conflict slightly, but between both sets of info there's still some settings that lack guidance. Basically, can someone with a computer engineering degree double check my settings? I tried a screenshot, but Lemmy didn't appreciate it

Hardware acceleration: Intel Quicksync (QSV) QSV Device: /dev/dri/renderD128

X H264

X HEVC

MPEG2

VC1

VP8

X VP9

X AV1

HEVC 10bit

VP9 10bit

HEVC RExt 8/10bit

HEVC RExt 12bit

X Prefer OS native DXVA or VA-API hardware decoders

X Enable hardware encoding

Enable Intel Low-Power H.264 hardware encoder

Enable Intel Low-Power HEVC hardware encoder

X Allow encoding in HEVC format

Allow encoding in AV1 format

Edit: forgot to include logs: "ffmpeg version 7.1.2-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.101 / 61. 19.101 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 [AVHWDeviceContext @ 0x7ab87d07ffc0] No VA display found for device /dev/dri/renderD128. Device creation failed: -22. Failed to set value 'vaapi=va:/dev/dri/renderD128,driver=iHD' for option 'init_hw_device': Invalid argument Error parsing global options: Invalid argument"

"[WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. [ERR] FFmpeg exited with code 234"

View original on sh.itjust.works

[Proxmox] Jellyfin w/ NAS mount + iGPU passthrough

Fresh Proxmox install, having a dreadful time. Trying not to be dramatic, but this is much worse than I imagined. I'm trying to migrate services from my NAS (currently docker) to this machine.

How should Jellyfin be set up, lxc or vm? I don't have a preference, but I do plan on using several docker containers (assuming I can get this working within 28 days) in case that makes a difference. I tried WunderTech's setup guide which used an lxc for docker containers and a separate lxc of jellyfin. However that guide isn't working for me: curl doesn't work on my machine, most install scripts don't work, nano edits crash, and mounts are inconsistent.

My Synology NAS is mounted to the host, but making mount points to the lxc doesn't actually connect data. For example, if my NAS's media is in /data/media/movies or /data/media/shows and the host's SMB mount is /data/, choosing the lxc mount point /data/media should work, right?

Is there a way to enable iGPU to pass to an lxc or VM without editing a .conf in nano? When I tried to make suggested edits, the lxc freezes for over 30 minutes and seemingly nothing happens as the edits don't persist.

Any suggestions for resource allocation? I've been looking for guides or a formula to follow for what to provide an lxc or VM to no avail.

If you suggest command lines, please keep them simple as I have to manually type them in.

Here's the hardware: Intel i5-13500 64GB Crucial DR5-4800 ASRock B760M Pro RS 1TB WD SN850X NVMe

View original on sh.itjust.works

[Proxmox] fresh install, can't paste into shell

I'm assuming this isn't normal behavior, but copying and pasting commands into shell windows (host, VMs, LXCs, doesn't matter) doesn't work. I've noticed issues with curl too, despite saying it's installed and up-to-date, but one thing at a time...I'm also not convinced that edits made to conf files are persisting as a result. Is this a browser issue? As always, thanks for helping out a normie in need.

Edit: it's taking at least 20min for a simple conf edit to save. I have to assume that's abnormal too, running a i5-13500 by the way...confirmed, not saving conf edits

View original on sh.itjust.works

Mint USB boots black screen

Hello, not much of a Linux user (situations like this are why)...but long story short, I'm trying to rehab a ROG PC from 2018.

I made a bootable USB of the current Mint distro, but booting leads to a black screen. I tried compatibility mode, but the boot process hangs on "EFI stub: Measured initrd data into PCR 9"

The PC came with an Nvidia 2080, but it's actually a 980ti. Also there isn't integrated graphics here. Any troubleshooting advice would be cool

Update: if I select recovery mode then 'resume normal boot', Mint 21 works. However, this computer will be a gift to a tech-illiterate person, so that level of input will not suffice. I installed the recommended (and correct) Nvidia driver, but the results are the same

View original on sh.itjust.works

Outgrown my Synology NAS, time for a proper dedicated machine

Great news! I started my selfhost journey over a year ago, and I'm finding myself needing better hardware. There's so many services I want that my NAS can't handle. And I unfortunately need to add GPU transcoding to my Jellyfin setup.

What's the best OS for a machine focused on containers and (getting started with) VMs? I've heard Proxmox

What CPU specs should I be concerned about?

I'm willing to buy a pre-built as long as its hardware has sufficient longevity.

View original on sh.itjust.works

Ubuntu only boots through recovery-then-resume

I see the GRUB menu, then it goes to an inactive black screen. If I select recovery then resume, it works fine. As this is supposed to be a remote machine, the problem defeats the purpose. I've heard this is usually a GPU drivers issue, so I followed the suggestions here: https://documentation.ubuntu.com/server/how-to/graphics/install-nvidia-drivers/index.html

and here (I'm running 22.04 and can't update, separate issue though): https://askubuntu.com/questions/760934/graphics-issues-after-while-installing-ubuntu-16-04-16-10-with-nvidia-graphics

Yet I still have the problem with a black screen. While I'd like it to "just work", I'm also open to extreme measures including...

-removing the GPU (assuming that would help) -having a script run that auto-selects recovery then resume then logs in on my behalf (I'd need help figuring that out though)

I also updated the grub file after adding "nomodeset", that didn't fix it either.

View original on sh.itjust.works
jellyfin·Jellyfin: The Free Software Media SystembyLazerDickMcCheese

Help Troubleshooting Sudden Slow Speeds

I've been using Jellyfin for about a year. I've experienced many sudden issues with speed or connectivity, but they usually self-resolve over the course of a few days (I'd love to hear what that's about).

Since the last major update, I've had intermittent speed issues. My network is a bit weird, but it's what I have to go with for a while so bear with me...everything is wired cat7a as direct to the router as possible and broadcast exclusively through TailScale. My server (Win10) and another PC (Win11) are the combined shared storage, so I'm assuming one of the main points of failure between these 2 machines are to blame. In other words, the Win11 PC is acting as a shared network folder (where 2/3rd of my media is stored) AND a client (very inefficient I know, but it's worked up until recently).

Today, I tried listening to a lossless song and it was taking about a minute to load 1 second of music. I've never had speeds that slow before.

The server's hardware: -Intel i7-9700k @ 3.60GHz -RAM 16GB -NVIDIA GeForce GTX 980 Ti

Transcode settings enabled: -Hardware acceleration: Nvidia NVENC -H246 -MPEG2 -VC1 -VP8 -Enhanced NVDEC decoder -Hardware encoding

Task Manager for the server shows 95% (~10 Mbps) network usage to be to TailScale and Jellyfin. Network usage for the client is almost 0 Mbps. Memory usage for both machines is below 30%. CPU is less than 10% on both machines. Disk usage is even lower, 0% on both machines. The media in question is stored on HDD on the client-side machine (disk rated for >100MB/s read and write).

Without buying a new drive, NAS, or extra hardware, do you have any tips for troubleshooting my network to see if it's something I can fix? Did I mess any settings up?

Don't know if it's relevant, but I have a Pi-hole and both machines have Simplewall.

View original on sh.itjust.works

Cannot Access Win11 Shared Folder on Android

The folders are accessible on every other device and SMB is enabled on the host machine. I'm trying to access hundreds of gigabytes of game roms via Retroarch when I'm out of the country so I'd appreciate an easier method if one exists, but I've ran through every troubleshooting guide I can find online, but the share folders still don't exist according to my phone. I've also tried 5 or 6 different file manager apps, but they all say the same thing

If someone sees this in the distant future, I'm still looking for a solution so please reach out.

View original on sh.itjust.works

OG XBox component, outputs to Framemeister but not Sony Trinitron Wega

The Xbox is softmodded and the video is set to 480i non-widescreen. Any idea why it might not be outputting? What I see is the intended output on my 4k tv, but the CRT is a 45° slanted, scrolling, monochrome image that's heavily warped. My first though was that the softmod had something to do with it, but I've seen this question asked before without any answers.

View original on sh.itjust.works
jellyfin·Jellyfin: The Free Software Media SystembyLazerDickMcCheese

[Solved] Playback Error: This client isn't compatible with the media and the server isn't sending a compatible media format.

My phone and computer can both play the files fine, but using the official apps or webclient gives me an error. I'm assuming it's a transcoding error, but there shouldn't be one. The files (left untreated) work and even if they were transcoded, it should be fine. What am I missing here?

On a side note, how do I make files load 100% of the time?

Edit: I feel stupid, but I solved this. It turned out to be two separate issues. The unreliability was due to conflict in my Tailscale setup. Next, I reread the transcoding guide, and realized that I misread the HWA encoding and decoding charts when I was setting up my server; this was also a simple fix, just unchecking a single box.

View original on sh.itjust.works