Hi
Oh thank you but nothing will work everytime the same error.
I dont know.
Now enjoy your weekend!
Mischu
Hi
Oh thank you but nothing will work everytime the same error.
I dont know.
Now enjoy your weekend!
Mischu
Hey
First you dont have to waste your time to fix my problems!
I am very glad that you do exactly this.
Tank you!
Uncomment line #28
Done
First, check the permissions on the HOST:
Dockeruser rwx
Try to use AMD AMF and see if anything is different.
VAAPI:
r600: driver missing
[AVHWDeviceContext @ 0x558a33cac8c0] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so init failed
[AVHWDeviceContext @ 0x558a33cac8c0] Failed to initialise VAAPI connection: 2 (resource allocation failed).
[AVFilterGraph @ 0x558a33c54600] Error initializing filters
[vost#0:0/h264_vaapi @ 0x558a33c98bc0] Error initializing a simple filtergraph
Error opening output file /config/cache/transcodes/81c2d6f4ef8cc1b3ed0d7b017abca37e.m3u8.
Error opening output files: Input/output error
AMD AMF:
[tonemapx @ 0x559abccc74c0] Using CPU capabilities: AVX2 FMA3
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_amf))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[tonemapx @ 0x7f420800fe00] Using CPU capabilities: AVX2 FMA3
[h264_amf @ 0x559abcc906c0] DLL libamfrt64.so.1 failed to open
free(): double free detected in tcache 2
Then try:
ls -al /usr/lib/jellyfin-ffmpeg/lib/dri/
total 62312
drwxr-xr-x 2 root root 4096 Feb 4 14:21 .
drwxr-xr-x 4 root root 4096 Feb 4 14:21 ..
-rw-r--r-- 1 root root 8730792 Jan 19 14:34 i965_drv_video.so
-rw-r--r-- 1 root root 41710840 Jan 19 14:34 iHD_drv_video.so
-rw-r--r-- 1 root root 13352296 Jan 19 14:34 radeonsi_drv_video.so
/usr/lib/jellyfin-ffmpeg/vainfo
See what it says on the output
Trying display: drm
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/r600_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: Trying to open /usr/lib/dri/r600_drv_video.so
libva info: Trying to open /usr/local/lib/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
r600: driver missing
libva error: /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit
Display More
OK
My yml file:
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1001
- PGID=100
- TZ=Europe/Berlin
- JELLYFIN_PublishedServerUrl=http://192.168.2.160 #optional
#- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
- DOCKER_MODS=linuxserver/mods:jellyfin-amd
volumes:
- /srv/dev-disk-by-uuid-27f8a266-f3f9-4c98-bc91-fa3adc19169c/Config/Jellyfin:/config
- /srv/dev-disk-by-uuid-ec9575f4-b1b1-408f-bf4a-ef605c72d56e/Filme und Serien/02##SERIEN##:/data/tvshows
- /srv/dev-disk-by-uuid-ec9575f4-b1b1-408f-bf4a-ef605c72d56e/Filme und Serien/01##FILME##:/data/movies
ports:
- 8096:8096
#- 8920:8920 #optional
#- 7359:7359/udp #optional
#- 1900:1900/udp #optional
devices:
#- /dev/dri/renderD128:/dev/dri/renderD128
#- /dev/dri/renderD129:/dev/dri/renderD129
#- /dev/dri/card0:/dev/dri/card0
#- /dev/dri/card1:/dev/dri/card1
- /dev/dri:/dev/dri
#- /dev/kfd:/dev/kfd
restart: unless-stopped
Display More
Docker user groups:
Jellyfin setting for transcoding:
Jellyfin output:
r600: driver missing
[AVHWDeviceContext @ 0x5624eb51f8c0] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so init failed
[AVHWDeviceContext @ 0x5624eb51f8c0] Failed to initialise VAAPI connection: 2 (resource allocation failed).
[AVFilterGraph @ 0x5624eb4c7600] Error initializing filters
[vost#0:0/h264_vaapi @ 0x5624eb50bbc0] Error initializing a simple filtergraph
Error opening output file /config/cache/transcodes/afb7ffcde6abc6ef5783e11ce3b27c4e.m3u8.
Error opening output files: Input/output error
What info of motherboard do you need?
Sorry if i forgotten some things but it become a little to much...
Is it maybe a rights problem?
Thanks
Mischu
Check now the output of the lspci:
sudo lspci -v -s $(lspci | grep VGA | cut -d" " -f 1)
sudo lspci -v -s $(lspci | grep VGA | cut -d" " -f 1)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
Subsystem: PC Partner Limited / Sapphire Technology Cedar [Radeon HD 5000/6000/7350/8350 Series]
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f7e20000 (64-bit, non-prefetchable) [size=128K]
I/O ports at e000 [size=256]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
Display More
But what model/version? Anything that can be used to find info on it.
I have no idea i have to open it or can a software read the hardware?
Mischu
I disabled the onboard chip.
drwxr-xr-x 3 root root 100 8. Feb 13:44 .
drwxr-xr-x 17 root root 3900 8. Feb 13:44 ..
drwxr-xr-x 2 root root 80 8. Feb 13:44 by-path
crw-rw---- 1 root video 226, 0 8. Feb 13:44 card0
crw-rw---- 1 root render 226, 128 8. Feb 13:44 renderD128
Can you post which exact Hardware (Mainboard, Graphic Card, etc) you have on there?
I try to find some data.
Its an old hp desktop computer.
1st option is to go to the BIOS and disable the onboard (Intel) GPU
Hi Samo!
I will drive in a half hour to my server and try to disable the onboard gpu.
I give feedback later.
Thank you and iwould never blame you for helping me!
I have backups...
Hi
Its not working. its transcoding over cpu.
Sorry my bad...
I try to find a solution.
Mischu
Ok it works!
I changed
- /dev/dri/renderD128:/dev/dri/renderD128
in
- /dev/dri/renderD129:/dev/dri/renderD129
Now it do transcoding my file.
You gave me the final tip it may be renamed after reboot.
Thank you again!
ls -al /dev/kfd
ls -al /dev/dri
drwxr-xr-x 3 root root 140 7. Feb 16:58 .
drwxr-xr-x 17 root root 3980 7. Feb 16:58 ..
drwxr-xr-x 2 root root 120 7. Feb 16:58 by-path
crw-rw---- 1 root video 226, 0 7. Feb 16:58 card0
crw-rw---- 1 root video 226, 1 7. Feb 16:58 card1
crw-rw---- 1 root render 226, 128 7. Feb 16:58 renderD128
crw-rw---- 1 root render 226, 129 7. Feb 16:58 renderD129
If you installed the apt mentioned on the other thread, did you reboot?
Yes i did reboot.
Thank you so much for spending your time! You are genius!
Mischu
I installed that driver package but the error is the same.
r600: driver missing
[AVHWDeviceContext @ 0x55e6bdbddc40] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so init failed
[AVHWDeviceContext @ 0x55e6bdbddc40] Failed to initialise VAAPI connection: 2 (resource allocation failed).
Device creation failed: -5.
[vist#0:0/h264 @ 0x55e6bdb0d180] [dec:h264 @ 0x55e6bdb49bc0] No device available for decoder: device type vaapi needed for codec h264.
[vist#0:0/h264 @ 0x55e6bdb0d180] [dec:h264 @ 0x55e6bdb49bc0] Hardware device setup failed for decoder: Input/output error
[vost#0:0/h264_vaapi @ 0x55e6c559b5c0] Error initializing a simple filtergraph
Error opening output file /config/cache/transcodes/020618c8a989aec6717cd2f146a52061.m3u8.
Error opening output files: Input/output error
What i am doing wrong?
I dont know? How can i find it out?
And why it was working last months?
I think there are two cards one pci one onboard...
lspci:
lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 Display controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Q87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
Display More
please use code box to put you jellyfin.yml file on it:
Ok sorry i will use it from now.
and as response to your question:
What should i do it was working?
I dont know how to mount inside a container..
thank you
Mischu
Hi its me again..
Maybe someone can help me.
I already configured my jellyfin container fine.
I added the interface and all works fine.
Now error and i dont know why and how!?
The Error:
[AVHWDeviceContext @ 0x562682dcbd40] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi_drv_video.so init failed[AVHWDeviceContext @ 0x562682dcbd40] Failed to initialise VAAPI connection: 2 (resource allocation failed).Device creation failed: -5.[vist#0:0/h264 @ 0x562682dd0980] [dec:h264 @ 0x562682dd0c80] No device available for decoder: device type vaapi needed for codec h264.[vist#0:0/h264 @ 0x562682dd0980] [dec:h264 @ 0x562682dd0c80] Hardware device setup failed for decoder: Input/output error[vost#0:0/h264_vaapi @ 0x562682db4c00] Error initializing a simple filtergraphError opening output file /config/cache/transcodes/6011f99c4d1b0a7c8f90fb7c5acd43a7.m3u8.Error opening output files: Input/output error
My file:
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1001
- PGID=100
- TZ=Europe/Berlin
- JELLYFIN_PublishedServerUrl=http://192.168.2.160 #optional
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
volumes:
- /srv/dev-disk-by-uuid-27f8a266-f3f9-4c98-bc91-fa3adc19169c/Config/Jellyfin:/config
- /srv/dev-disk-by-uuid-ec9575f4-b1b1-408f-bf4a-ef605c72d56e/Filme und Serien/02##SERIEN##:/data/tvshows
- /srv/dev-disk-by-uuid-ec9575f4-b1b1-408f-bf4a-ef605c72d56e/Filme und Serien/01##FILME##:/data/movies
ports:
- 8096:8096
#- 8920:8920 #optional
#- 7359:7359/udp #optional
#- 1900:1900/udp #optional
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
restart: unless-stopped
What can i do to find out what is wrong?
Thx
Mischu
Hi
Ok but it was not a upgrade. Its a 2 month old "fresh" installation.
It doesn`t matter now it works well.
Thx
this is result of doing partial upgrade.. if you made command must be over ssh direclty on linux
afer dist upgrade performs a dist full upgrade to check temporal package dummy partial upgrades
Thank you i think i understand. Yes it was SSH.
Clear your browser cache. Or force reload with Ctrl+SHift+R
Cash was already cleared. In my case i tryed to load ip/index.html and it works.
Thank you for helping me!
Hey
Same here for me.
After some Dockerupdates i can`t enter the login site.
It stops loading the page on "loading...".
My output:
root@databitch:~# sudo dpkg -V
missing /tmp/_etc_default_smartmontools
missing /tmp/_etc_smartd.conf
missing /tmp/_etc_default_monit
missing /tmp/_etc_monit_monitrc
missing /tmp/_etc_collectd_collectd.conf
missing c /etc/collectd/collectd.conf.d/filters.conf
missing c /etc/collectd/collectd.conf.d/thresholds.conf
??5?????? c /etc/fail2ban/jail.conf
missing c /etc/fail2ban/jail.d/defaults-debian.conf
??5?????? c /etc/default/openmediavault
missing /tmp/_etc_default_rrdcached
missing /tmp/_etc_rsyslog.conf
??5?????? c /etc/minidlna.conf
missing /tmp/_etc_systemd_logind.conf
??5?????? c /etc/lvm/lvm.conf
missing /tmp/_etc_default_wsdd
missing /tmp/_etc_avahi_avahi-daemon.conf
missing /tmp/_etc_default_avahi-daemon
??5?????? c /etc/libvirt/qemu.conf
??5?????? c /etc/apparmor.d/usr.sbin.clamd
??5?????? c /etc/issue
missing c /etc/cron.daily/mdadm
Looks not good right?
Mischu
Hi
Ok ich habe nochmal alles gelöscht was ich gefunden habe.
Hab alles nochmal neu installiert und jetzt geht es ich kann mich mit root anmelden.
Eine andere Lösung konnte ich nicht finden aber Hauptsache ist es funktioniert.
Ich wollte nur eine neuinstallation umgehen weil schon einiges gemacht war.
Trotzdem Danke
Liebe Grüße
Mischu