Closed vianchiel closed 1 year ago
Adding the missing first portion of the Application Logs, it was cut off due to character limits.
2023-04-13T15:18:36.699749590Z [23:18:36] [INF] [1] Main: Jellyfin version: 10.8.9
2023-04-13T15:18:36.706507190Z [23:18:36] [INF] [1] Main: Environment Variables: ["[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_PublishedServerUrl, ]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_LOG_DIR, /config/log]"]
2023-04-13T15:18:36.706650575Z [23:18:36] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
2023-04-13T15:18:36.707752956Z [23:18:36] [INF] [1] Main: Operating system: Linux
2023-04-13T15:18:36.708402483Z [23:18:36] [INF] [1] Main: Architecture: X64
2023-04-13T15:18:36.708462128Z [23:18:36] [INF] [1] Main: 64-Bit Process: True
2023-04-13T15:18:36.708494814Z [23:18:36] [INF] [1] Main: User Interactive: True
2023-04-13T15:18:36.708505290Z [23:18:36] [INF] [1] Main: Processor count: 4
2023-04-13T15:18:36.708514230Z [23:18:36] [INF] [1] Main: Program data path: /config
2023-04-13T15:18:36.708604116Z [23:18:36] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
2023-04-13T15:18:36.708838295Z [23:18:36] [INF] [1] Main: Application directory: /jellyfin/
2023-04-13T15:18:36.827963524Z [23:18:36] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
2023-04-13T15:18:36.864080606Z [23:18:36] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
2023-04-13T15:18:36.874409280Z [23:18:36] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AniDB_7.0.0.0/Jellyfin.Plugin.AniDB.dll
2023-04-13T15:18:36.876934825Z [23:18:36] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.OpenSubtitles, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Open Subtitles_18.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll
2023-04-13T15:18:36.942016851Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
2023-04-13T15:18:36.942076985Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
2023-04-13T15:18:36.942682093Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
2023-04-13T15:18:36.950261939Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
2023-04-13T15:18:36.950323051Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
2023-04-13T15:18:39.237522179Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniDB 7.0.0.0
2023-04-13T15:18:39.237601240Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Open Subtitles 18.0.0.0
2023-04-13T15:18:39.237609760Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.9.0
2023-04-13T15:18:39.237617303Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.9.0
2023-04-13T15:18:39.237628687Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.9.0
2023-04-13T15:18:39.237636230Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.9.0
2023-04-13T15:18:39.237643843Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.9.0
2023-04-13T15:18:39.288648165Z [23:18:39] [INF] [1] Main: Kestrel listening on Any IP4 Address
2023-04-13T15:18:39.365888508Z [23:18:39] [WRN] [1] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
2023-04-13T15:18:39.368726245Z [23:18:39] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
2023-04-13T15:18:39.585367830Z [23:18:39] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {ecaf85af-1f8f-430d-9d4c-165eccfbef24} may be persisted to storage in unencrypted form.
2023-04-13T15:18:39.601743047Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
2023-04-13T15:18:39.625524484Z [23:18:39] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2023-04-14 02:00:00.000 +08:00, which is 02:41:20.3750637 from now.
2023-04-13T15:18:39.660698633Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 5.1.2
2023-04-13T15:18:39.684768236Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"]
2023-04-13T15:18:39.697627624Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"]
2023-04-13T15:18:39.717709268Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
2023-04-13T15:18:39.782408562Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
2023-04-13T15:18:39.920769932Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
2023-04-13T15:18:39.921808478Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 1b8498c2a5104f209428bb2d486a9db6
2023-04-13T15:18:39.997382888Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.0696708
2023-04-13T15:18:39.997425980Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
2023-04-13T15:18:40.136918575Z [23:18:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1395385
2023-04-13T15:18:40.136999941Z [23:18:40] [INF] [1] Main: Startup complete 0:00:03.6019394
2023-04-13T15:18:40.138330914Z [23:18:40] [INF] [13] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/Anime Movies
2023-04-13T15:18:40.182550676Z [23:18:40] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/TV Series
2023-04-13T15:18:40.191416866Z [23:18:40] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/Movies
2023-04-13T15:18:40.226177622Z [23:18:40] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/Anime
2023-04-13T15:18:42.630394716Z [23:18:42] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
2023-04-13T15:18:42.631127146Z [23:18:42] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
2023-04-13T15:18:42.634498194Z [23:18:42] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
2023-04-13T15:18:44.943336017Z [23:18:44] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 2 seconds
2023-04-13T15:18:44.954169018Z [23:18:44] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
2023-04-13T15:19:16.482041880Z [23:19:16] [INF] [22] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.10.44 request
2023-04-13T15:19:16.545474177Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'AccessSchedule' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545533333Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545562178Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'CustomItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545582990Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545596749Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'HomeSection' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545614698Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ImageInfo' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545649689Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545780293Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Permission' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545848878Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Preference' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545863055Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ApiKey' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545879189Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Device' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545889595Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DeviceOptions' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545907056Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'User' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
Also do not work with Intel iGPU
[AVHWDeviceContext @ 0x55db0b021e80] No VA display found for any default device.
Device creation failed: -22.
Failed to set value 'vaapi=va:,driver=iHD,kernel_driver=i915' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument
Please check latest/new release.
Please check latest/new release.
Hi Ornias, thanks for the heads up on the quick release update. I've tested the application twice, once direct-upgrade, and once clean install. I can confirm the GPU resource can now be properly utilised by Jellyfin.
During my observation for a small portion of media files (some specific formats and codecs) there seems to be increased cpu-utilisation, but I think that's Jellyfin's problem and not TrueCharts'.
Overall, thanks for the speedy update on the issue and releasing the upgrade, extremely appreciated. 🙏
Glad it worked out for you :)
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists
App Name
Jellyfin
SCALE Version
22.12.2
App Version
10.8.9_14.0.2
Application Events
Application Logs
Application Configuration
Picture 1: Default
Picture 2: Default
Picture 3: Mounting dataset for configs
Picture 4: Mounting dataset for media library/vault as read only, and setting up subdomain in ingress for traefik
Picture 5: Defining ingress items
Picture 6: Selecting let's encrypt's certificate
Picture 7: Default
Picture 8: Allocated AMD Ryzen 7 4750G's iGPU resource as GPU device for the application
Picture 9: Default
Describe the bug
After Jellyfin's deployment with AMD GPU (4750G iGPU) resource allocated, and "VAAPI" selected for hardware acceleration, Jellyfin can find the device "/dev/dri/renderD128" but fails to utilise the device for hardware acceleration for transcoding.
To Reproduce
Prerequisite
HEVC->H.264
despite client supportingHEVC
)Application Install
Install
on JellyfinMain Service Port Configuration
change thePort*
from8096
to8097
to avoid conflicting with existing application (optional)Additional App Storage
, PressAdd
, and pressRead Only
, and inHost Path
point to the dataset with some media for testing, as for theMount Path*
enter\mediaLibrary
GPU Configuration
pressAdd
, allocate your desired GPU resource. (Preferrebly with AMD APU, allocating the iGPU)Save
and deploy the applicationQuick Setup
Welcome to Jellyfin!
screen, pressNext->
Next->
Add Media Library
boxContent type: Movies
Display name: test
and press on the+
next toFolders
/mediaLibrary
and selectOk
Add Media Library
windows, selectOk
againNext->
for 3 times, and press√Finish
Reproducing the issue
Dashboard
Playback
in the menu on the leftVideo Acceleration API (VAAPI)
under sectionHardware acceleration
VA-API Device
is populated with similar to/dev/dri/renderD128
H264
HEVC
MPEG2
VC1
VP8
VP9
AV1
HEVC 10bit
VP9 10bit
Enable hardware encoding
andAllow encoding in HEVC format
underHardware encoding options:
Save
and pressGot It
home icon
on the top left to return to homepagetest
If you dont see an error, check if you're transcoding by
cogwheel icon
at the bottom right of the player, and pressPlayback Info
.Play method:
isTranscoding
and notDirect playing
Direct playing
use a device that mismatches the codec, or use another movie with another codecExpected Behavior
Current Behaviour
An error will popup indicating failure to play the media
Previous/Normal Expected Behaviour
Playing media that requires transcoding (decode and encode different media formats) without any indiciation of issues, no error screen should pop up.
Screenshots
N/A
Additional Context
Once you can replicate the failure, you can check the logs:
Dashboard
Logs
.log
file that starts withFFmpeg.*.log
Below is an example of a logfile from a failed GPU utilisation.
Hypothesis:
common
./dev/dri
withls
shows/dev/dri/renderD128
exists, which means GPU is successfully allocated to the applicationrenderD128
, such ascat /dev/dri/renderD128
will sayPermission denied
I've read and agree with the following