-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] segfault with RX6600XT at boot #226
Comments
Jellyfin performs a check by querying VA-API and Vulkan device when it starts up. But the kernel driver or Mesa driver is some how broken on your system. Try these three commands and see which fails:
|
None of them gives me an error, all give me the same output, see below `/usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device drm=dr:/dev/dri/renderD128 Use -h to get full help or, even better, run 'man ffmpeg'` |
Just downgrade my kernel, still get an error, not the same : `[ 16.462707] ffmpeg:sh6[1575]: segfault at 8 ip 00007fe7968b1358 sp 00007fe78cdf1bf8 error 4 in libLLVM-15.so[7fe795ee3000+3e5a000] likely on CPU 5 (core 5, socket 0) [ 16.988551] likely on CPU 6 (core 0, socket 0) |
Can you try adding a startup delay to the jellyfin service? Also what is the version of Mesa? |
Mesa 23, i'm downgrading it to see if it's related. |
Ok, it still happens with previous mesa, at launch or not : |
Which jellyfin-server package are you using? |
Version: 10.8.9 Operating System: Linux Architecture: X64 |
I mean the AUR package: https://aur.archlinux.org/packages/jellyfin-server https://aur.archlinux.org/packages/jellyfin-server-bin Or is it a portable installation? |
jellyfin-server, will try with the other |
Happens with both |
Check if the jellyfin user exists in render and video group? If not: |
getent group video getent group render
|
I'm wondering why this works in command line but not in systemd service? |
|
Jellyfin user :
|
I have modified jellyfin.service like that and i get the error, definitively something with systemd :
|
If i delete User=jellyfin in the systemd service, it works...
|
If i use bibi user in the systemd service, it works, something is fishy with the jellyfin user, still investigating. |
My contexts are Linux 6.2.1, Mesa 23.1.0-devel, Vega 64. I fresh installed the AUR jellyfin-server-git package and it works for me:
I didn't install any other validation layers such as KHRONOS and NV.
|
For reference this is the systemd config used in our debian packages. https://github.com/jellyfin/jellyfin/blob/master/debian/jellyfin.service And many commented configs that are not used. https://github.com/jellyfin/jellyfin/blob/master/debian/conf/jellyfin.service.conf |
I tried to combine arch/debian systemd service, no luck. |
If i desactivate hardware decoding, the issue is gone. |
The issue is gone with latest mesa and latest jellyfin. |
Describe The Bug
At every boot, jellyfin launch ffmpeg when it scan my computer.
I get a segfault in my log.
Steps To Reproduce
Start latest jellyfin with latest ffmpeg-jellyfin
Expected Behavior
To work without error
System (please complete the following information):
FFmpeg Logs
` systemd[1]: [email protected]: Deactivated successfully.
mars 10 08:55:08 bibiserveur systemd-coredump[2588]: [🡕] Process 2572 (ffmpeg) of user 969 dumped core.
Stack trace of thread 2584:
#0 0x00007fadd0b69f54 n/a (libLLVM-15.so + 0x1f69f54)
#1 0x00007fadd0df4992 n/a (libLLVM-15.so + 0x21f4992)
#2 0x00007fadd0df642b n/a (libLLVM-15.so + 0x21f642b)
#3 0x00007fadd142738c _ZN4llvm13RGPassManager13runOnFunctionERNS_8FunctionE (libLLVM-15.so + 0x282738c)
#4 0x00007fadcfaf2a10 _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE (libLLVM-15.so + 0xef2a10)
#5 0x00007fadd12362fa n/a (libLLVM-15.so + 0x26362fa)
#6 0x00007fadcfaf34bb _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE (libLLVM-15.so + 0xef34bb)
#7 0x00007fadd68866eb n/a (radeonsi_drv_video.so + 0x2866eb)
#8 0x00007fadd687a47b n/a (radeonsi_drv_video.so + 0x27a47b)
#9 0x00007fadd687cc83 n/a (radeonsi_drv_video.so + 0x27cc83)
#10 0x00007fadd68ea5ff n/a (radeonsi_drv_video.so + 0x2ea5ff)
#11 0x00007fadd6a815e7 n/a (radeonsi_drv_video.so + 0x4815e7)
#12 0x00007fadd66c9e5c n/a (radeonsi_drv_video.so + 0xc9e5c)
#13 0x00007fadd76e7bb5 n/a (libc.so.6 + 0x85bb5)
#14 0x00007fadd7769d90 n/a (libc.so.6 + 0x107d90)
mars 10 08:55:07 bibiserveur systemd[1]: Started Process Core Dump (PID 2587/UID 0).
mars 10 08:55:07 bibiserveur kernel: Code: f3 0f 1e fa 41 57 41 56 49 89 fe 41 55 41 54 55 48 89 f5 53 48 83 ec 68 64 48 8b 04 25 28 00 00 00 48 89 44 24 58 48 8b 46 20 0f 6f 00 48 8b 70 28 48 8b 50 30 0f 29 04 24 e8 81 ce ff ff 4c
mars 10 08:55:07 bibiserveur kernel: ffmpeg:sh0[2577]: segfault at 0 ip 00007fadd0245afa sp 00007fadcb4b46a0 error 4 in libLLVM-15.so[7fadcf6e3000+3e5a000] likely on CPU 5 (core 5, socket 0)
`
Additional Context
The text was updated successfully, but these errors were encountered: