2024-10-04, 01:10 PM
(This post was last modified: 2024-10-04, 01:44 PM by magguzu. Edited 2 times in total.)
Hi folks.
I have an issue that has been causing a lot of pain.
Whenever I try to watch a video on some devices that require codec transcoding, notably my phone, I experience freezing and my server becomes unresponsive until I reboot.
This doesn't seem to be for ALL transcoding though. If it's transcoding for bitrate, it seems to work well.
For those problematic streams, it almost seems as if the server is software transcoding, since CPU spikes and the server becomes unusable.
Jellyfin is running in a Docker container, on an Ubuntu VM in Proxmox.
I have transcoding configured through my Intel iGPU. UHD 770 (CPU is Intel Core i5-13500)
12 cores, 24GB RAM assigned to the VM.
I have the iGPU passed through to the VM, then again to the container like so:
My transcoding configs:
I believe the i915 Intel low power transcoding is configured, though my paths are slightly different from what's in the Jellyfin doc:
Here is my ffmpeg log from my most recent reproducing:
https://pastebin.com/rpm2KBRB
And the container log:
https://pastebin.com/9vMhWFb6
Server config, database, metadata, etc are all on an NVME SSD. The media is on an HDD over NFS.
That's everything I can think of right now. Let me know if I need to provide anything else. Thanks in advance!
I have an issue that has been causing a lot of pain.
Whenever I try to watch a video on some devices that require codec transcoding, notably my phone, I experience freezing and my server becomes unresponsive until I reboot.
This doesn't seem to be for ALL transcoding though. If it's transcoding for bitrate, it seems to work well.
For those problematic streams, it almost seems as if the server is software transcoding, since CPU spikes and the server becomes unusable.
Jellyfin is running in a Docker container, on an Ubuntu VM in Proxmox.
I have transcoding configured through my Intel iGPU. UHD 770 (CPU is Intel Core i5-13500)
12 cores, 24GB RAM assigned to the VM.
I have the iGPU passed through to the VM, then again to the container like so:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
ports:
- 8096:8096
group_add:
- "109" # render group
- "44" # video group
devices:
- /dev/dridev/dri #iGPU for transcoding
volumes:
- type: bind
source: /services/jellyfin/jellyfin/jellyfin-web/config.json
target: /jellyfin/jellyfin-web/config.json
- type: bind
source: /services/jellyfin/jellyfin/system.xml
target: /etc/jellyfin/system.xml
- /services/jellyfin/configconfig
- /services/jellyfin/cachecache
- /services/jellyfin/fontsfonts
- /mnt/mediamedia
restart: always
environment:
- TZ=America/New_York
- JELLYFIN_PublishedServerUrl=xxxx
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "200k"
My transcoding configs:
I believe the i915 Intel low power transcoding is configured, though my paths are slightly different from what's in the Jellyfin doc:
root@jellyfintempsys/kernel/debug/dri/1/gt0/uc# cat huc_info
HuC firmware: i915/tgl_huc.bin
status: RUNNING
version: found 7.9.3
uCode: 589504 bytes
RSA: 256 bytes
HuC status: 0x00090001
root@jellyfintempsys/kernel/debug/dri/1/gt0/uc# cat guc_info
GuC firmware: i915/tgl_guc_70.bin
status: RUNNING
version: found 70.20.0
uCode: 334784 bytes
RSA: 256 bytes
GuC status 0x8003f0ec:
Bootrom status = 0x76
uKernel status = 0xf0
MIA Core status = 0x3
Scratch registers:
0: 0x0
1: 0x1633d7
2: 0x44000
3: 0x4000
4: 0x40
5: 0x4ec
6: 0x4680000c
7: 0x0
8: 0x0
9: 0x0
10: 0x0
11: 0x0
12: 0x0
13: 0x0
14: 0x0
15: 0x0
GuC logging stats:
Relay full count: 0
DEBUG: flush count 0, overflow count 0
CRASH: flush count 0, overflow count 0
CAPTURE: flush count 0, overflow count 0
Here is my ffmpeg log from my most recent reproducing:
https://pastebin.com/rpm2KBRB
And the container log:
https://pastebin.com/9vMhWFb6
Server config, database, metadata, etc are all on an NVME SSD. The media is on an HDD over NFS.
That's everything I can think of right now. Let me know if I need to provide anything else. Thanks in advance!