Jellyfin Forum
Arc Card not loading after reboot - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Arc Card not loading after reboot (/t-arc-card-not-loading-after-reboot)



Arc Card not loading after reboot - Remotepall - 2025-03-06

Previous thread if relevant: https://forum.jellyfin.org/t-solved-closed-arc-gpu-s-vs-debian

750B Intel card. 
Ubuntu 24.x

After previous thread the server worked. No issue. 

Today after work, scanning media fails immediately. Logs show "scan failed". 

Mounts are still mounty.

Reboot server. Now it scans libaries fine. 

Now I can't stream any videos because the GPU hasn't loaded. 

What the hell am I doing wrong? I was under the impression that linux was here for stability. Why does the GPU suddenly stop getting recognised after a reboot? I am honestly so over troubleshooting this, what is the solution here? What do I need so I don't have to start troubleshooting a server at 11pm after working all day. I'm happy to pay someone to remote in and fix this once and for all.

I don't know what logs or anything you need. Let me know.


RE: Arc Card not loading after reboot - TheDreadPirate - 2025-03-06

Can you share your full Jellyfin logs via privatebin? And any related ffmpeg logs?

Also share the output of this command.

Code:
sudo dmesg | grep i915

Is your media storage on a local disk or on a network share/NAS?


RE: Arc Card not loading after reboot - Remotepall - 2025-03-09

I took a couple of days to rest and come back to this. Sorry for being so short before.

I started from the beginning today and went through guides again. It is possible that the gpu not 'loading' was the kernel version not being up to date/below kernel required. That has now been updated to 6.13.6 which is 'loading' the GPU after each reboot. I keep using quotation marks because everything I'm looking at doesn't seem like it is loading properly?

Code:
uname -r

6.13.6-061306-generic

Code:
ls /dev/dri

by-path  card1  renderD128

Code:
dpkg -l | grep intel-media-va-driver

ii  intel-media-va-driver:amd64                  24.1.0+dfsg1-1                          amd64        VAAPI driver for the Intel GEN8+ Graphics family

Important note here: the title of the driver "intel-media-va-driver" is red in output. 

Code:
dpkg-query -l intel-media-va-driver
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                        Version        Architecture Description
+++-===========================-==============-============-================================================
ii  intel-media-va-driver:amd64 24.1.0+dfsg1-1 amd64        VAAPI driver for the Intel GEN8+ Graphics family

Code:
sudo apt-get check
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

Code:
sudo apt-get install --reinstall intel-media-va-driver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 4,022 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://au.archive.ubuntu.com/ubuntu noble/universe amd64 intel-media-va-driver amd64 24.1.0+dfsg1-1 [4,022 kB]
Fetched 4,022 kB in 2s (1,926 kB/s)
(Reading database ... 235237 files and directories currently installed.)
Preparing to unpack .../intel-media-va-driver_24.1.0+dfsg1-1_amd64.deb ...
Unpacking intel-media-va-driver:amd64 (24.1.0+dfsg1-1) over (24.1.0+dfsg1-1) ...
Setting up intel-media-va-driver:amd64 (24.1.0+dfsg1-1) ...

Code:
journalctl -xe | grep intel-media

Mar 09 19:57:36 Eragon sudo[3599]:  shannon : TTY=pts/0 ; PWD=/home/shannon ; USER=root ; COMMAND=/usr/bin/apt-get install --reinstall intel-media-va-driver

Code:
apt policy intel-opencl-icd
intel-opencl-icd:
  Installed: (none)
  Candidate: 23.43.27642.40-1ubuntu3
  Version table:
    23.43.27642.40-1ubuntu3 500
        500 http://au.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

Code:
sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
Trying display: drm
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
Bus error

Code:
sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 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-ptx-compression --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.  8.100 / 59.  8.100
  libavcodec    61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample  5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
[AVHWDeviceContext @ 0x5ac9852d9f40] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x5ac9852d9f40] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x5ac9852d9f40] libva: Found init function __vaDriverInit_1_22
Bus error

Code:
intel_gpu_top

No device filter specified and no discrete/integrated i915 devices found

Further googles regarding this hasn't been any help and ChatGPT has been defaulting to advise regarding ARC-A and i915. 

Small aside - found an issue with audio desync with AC3 Dolby Digital. But i had back burnered this until main issue sorted.


RE: Arc Card not loading after reboot - Remotepall - 2025-03-09

ffmprg logs

https://pastebin.com/E9z8R2hi

Main log; I had to prune the top 5th of logs because it was to big.


RE: Arc Card not loading after reboot - Host-in-the-Shell - 2025-03-09

I have an Intel Arc A380, although under Debian 12. Sometimes, after a kernel update and a reboot, the GPU "disappears" too. What I do is turn off the server entirely and then power it back on. For whatever reason, the card shows up again. Is just one of those things that I haven't bothered to troubleshoot and correctly pin down why it happens, but for now, check if that fixes it for you.


RE: Arc Card not loading after reboot - TheDreadPirate - 2025-03-09

If you're on Ubuntu 24.04, but using kernel 6.13, does that mean you are using a custom kernel or Ubuntu's "mainline" kernel repo? Manually installing the kernel? If so, it is possible you don't have any kernel modules or kernel headers installed that are needed to make your GPU and Quick Sync work.

Any particular reason you NEED to use kernel 6.13? Arc only needs 6.2 to work.


RE: Arc Card not loading after reboot - Remotepall - 2025-03-09

Went with Mainline as the standard wasn't pushing any higher, I can't remember the exact number at the moment, but if I needed 6.12 for battlemage it was only giving 6.11. As for why so high, "bigger number gooderer" is my only rational. Can roll it back if needed. Today I was going to look into https://github com/intel/vpl-gpu-rt and compile it.

(2025-03-09, 02:25 PM)Host-in-the-Shell Wrote: I have an Intel Arc A380, ... Debian 12. ... after a kernel update and a reboot, the GPU "disappears" too. ... turn off the server entirely and then power it back on.... the card shows up again.
I believe that this got my machine to the current state where the device can be seen in /dev/dri/ but issue now is that it doesn't seem to be able to be used to render files.


RE: Arc Card not loading after reboot - Remotepall - 2025-03-10

Update from today: Still broken. 

I posted up on Reddit because I forget that there is a subreddit for everything. LINK

They provided a link to Intel's guide re installing their drivers. Followed this for Ubuntu 24.04 LTS. Still no luck. 

Device is still dropping out after reboots. Device is still not being utilised for transcoding. Previous tests with 
Code:
sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
and the other similar still return with the same results ending with bus error. 

Code:
clinfo
Number of platforms                              0

ICD loader properties
  ICD loader Name                                OpenCL ICD Loader
  ICD loader Vendor                              OCL Icd free software
  ICD loader Version                              2.3.2
  ICD loader Profile                              OpenCL 3.0

This output doesn't seem right? I would have expected some Intel branding or some such. 
Attached some of todays FF logs. Main log: https://pastebin.com/fZACSDh0

P.S. I didn't get around to doing the github compile thing.


RE: Arc Card not loading after reboot - TheDreadPirate - 2025-03-10

You should rollback to Ubuntu's HWE kernel, which is currently 6.11. Keep in mind that LTS releases for Ubuntu are not going to update the base kernel for stability reason. Stability in terms of the OS not crashing and stability in terms of having a stable environment for developers to work on. They back port fixes and security patches to whatever kernel they landed on for the LTS release (6.8 for 24.04). They will provide an optional "Hardware enablement" (HWE) kernel for LTS releases based on the kernel used during the last incremental Ubuntu release (6.11 for Ubuntu 24.10). And Ubuntu published their HWE kernel for 24.04 a couple weeks ago.

Code:
sudo apt install linux-generic-hwe-24.04

That should be all that you need to run to install the 6.11 HWE kernel, including all the kernel modules and kernel headers needed to run Arc properly. But first roll back to 6.8 and remove the mainline kernel and remove the mainline repo.