2024-03-04, 08:33 AM
(2024-03-04, 03:31 AM)bitmap Wrote: What kind of hardware acceleration are you referring to? With Intel, you can install the intel_gpu_top program (I think the package is intel_gpu_tools) and verify.
In general, start a piece of media in Jellyfin that needs transcoding (or artificially initiate it with the bitrate limiter in the web client) and check whether your CPU has spiked to near 100% or not. Kind of a kludge, but works pretty well as an indicator.
This is the problem. I did it and I don't see any charge on the processor.
intel-gpu-top: Intel Alderlake_n (Gen12) @ /dev/dri/card1 - 0/ 0 MHz
100% RC6; 0 irqs/s
ENGINES BUSY MI_SEMA MI_WAIT
Render/3D 0.00% | | 0% 0%
Blitter 0.00% | | 0% 0%
Video 0.00% | | 0% 0%
VideoEnhance 0.00% | | 0% 0%
PID NAME Render/3D Blitter Video VideoEnhance
how to be sure that the jellyfin server uses the right device?
this is my docker compose file:
version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000
network_mode: 'host'
volumes:
- /home/z-lmutt/Jellifin/configconfig
- /home/z-lmutt/Jellifin/cachecache
- /home/z-lmutt/Jellifin/mediamedia
- /home/z-lmutt/Radarr/moviesFilm
- /home/z-lmutt/Sonarr/tvSerie
- /home/z-lmutt/Lidarr/musicMusica
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=https://medusa.leomutti.casa
- TZ=Europe/Rome
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- "host.docker.internal:host-gateway"
devices:
# - /dev/dri/card0dev/dri/card0
- /dev/dri/card1dev/dri/card0
and more infos
$ lspci -nn | grep -Ei "3d|display|vga"
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02)
00:10.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [UHD Graphics] [8086:46d2]