-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Flatpak Version fatal error on playback launch #360
Comments
The pip3 install also exit on a fatal error. 2024-01-05 08:03:37,032 [ INFO] mpv: cplayer: (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps) 2024-01-05 08:03:37,032 [ INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) (ac3 6ch 48000Hz) 2024-01-05 08:03:37,032 [ INFO] mpv: cplayer: Subs --sid=1 --slang=eng (subrip) 2024-01-05 08:03:37,033 [ INFO] mpv: display-tags: File tags: 2024-01-05 08:03:37,033 [ INFO] mpv: display-tags: Comment: ZMNT-Wed-22-Jun-2022,15:16:03,1080p,21,medium,1,1,1,32,2408696,2408696,3110597,0,5,-1,1.778,1,1920,1080,1.778,1.778 2024-01-05 08:03:37,033 [ INFO] mpv: display-tags: Title: The.Umbrella.Academy.S03E10 2024-01-05 08:03:37,171 [ ERROR] mpv: vo/gpu/opengl: Cannot retrieve DRM resources: Operation not supported 2024-01-05 08:03:37,171 [ ERROR] mpv: vo/gpu/opengl: Failed to create KMS. 2024-01-05 08:03:37,172 [ ERROR] mpv: vo/gpu: VT_GETMODE failed: Inappropriate ioctl for device 2024-01-05 08:03:37,172 [ WARNING] mpv: vo/gpu/opengl: Failed to set up VT switcher. Terminal switching will be unavailable. 2024-01-05 08:03:37,172 [ ERROR] mpv: vo/gpu/opengl: Cannot retrieve DRM resources: Operation not supported 2024-01-05 08:03:37,173 [ ERROR] mpv: vo/gpu/opengl: Failed to create KMS. python3: ../video/out/x11_common.c:552: vo_x11_init: Assertion `!vo->x11' failed. |
Describe the bug
After installation, Jellyfin-mpv-shim launches just fine BUT exits with a critical error upon launching a movie from Jellyfin.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Movie start playing.
Screenshots
None
Desktop (please complete the following information):
Kernel : Linux 6.1.25 (aarch64)
Version : #123 SMP Thu Nov 16 11:25:37 CST 2023
C Library : GNU C Library / (Ubuntu GLIBC 2.35-0ubuntu3.5) 2.35
Distribution : Ubuntu 22.04.3 LTS
Error Messages
FROM THE CONSOL:
sergio@NanoPC-T6:~$ flatpak run com.github.iwalton3.jellyfin-mpv-shim
2024-01-05 06:05:32,343 [ INFO] conf: Loaded settings from json: /home/sergio/.var/app/com.github.iwalton3.jellyfin-mpv-shim/config/jellyfin-mpv-shim/conf.json
2024-01-05 06:05:32,427 [ INFO] player: Using libmpv1 playback backend.
2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.client: JellyfinClient initializing...
2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Configuration initializing...
2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin http constructor.
2024-01-05 06:05:32,475 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: WSClient initializing...
2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: ConnectionManager initializing...
2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: Credentials initializing...
2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.configuration: Begin app constructor.
2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect
2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers
2024-01-05 06:05:32,476 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated
2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers
2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server
2024-01-05 06:05:32,476 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public
2024-01-05 06:05:32,477 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5
2024-01-05 06:05:32,477 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=dd9d6384-4a26-4eed-9c0b-d83d0db9529e, Version=2.6.0'}
2024-01-05 06:05:32,479 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096
2024-01-05 06:05:32,491 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info/public HTTP/1.1" 200 None
2024-01-05 06:05:32,495 [ INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server 0e98a9f408f2
2024-01-05 06:05:32,495 [ INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info
2024-01-05 06:05:32,496 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: 5
2024-01-05 06:05:32,496 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.api: {'Accept': 'application/json', 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8', 'X-Application': 'Jellyfin MPV Shim/2.6.0', 'Accept-Charset': 'UTF-8,', 'Accept-encoding': 'gzip', 'User-Agent': 'Jellyfin-MPV-Shim/2.6.0', 'x-emby-authorization': 'MediaBrowser Client=Jellyfin MPV Shim, Device=NanoPC-T6, DeviceId=dd9d6384-4a26-4eed-9c0b-d83d0db9529e, Version=2.6.0', 'X-MediaBrowser-Token': 'REDACTED'}
2024-01-05 06:05:32,498 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096
2024-01-05 06:05:32,534 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /system/info HTTP/1.1" 200 None
2024-01-05 06:05:32,544 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.credentials: credentialsupdated
2024-01-05 06:05:32,545 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.connection_manager: resolving connect with result: {'Servers': "[{'address': 'http://192.168.8.60:8096', 'Name': '0e98a9f408f2', 'Id': 'e79c0d8142574974862cb7ee8719776d', 'DateLastAccessed': '2024-01-05T06:05:32Z', 'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'AccessToken': 'REDACTED', 'Users': [{'Id': '3f7a17d393ed49edbf6bdd77076ddfd6', 'IsSignedInOffline': True}], 'uuid': '1d052c49-b139-4a4a-8288-7cacc9b465be', 'username': 'Serge', 'connected': True}]", 'State': 3}
2024-01-05 06:05:32,545 [ INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated.
2024-01-05 06:05:32,546 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)'
2024-01-05 06:05:32,546 [ DEBUG] urllib3.util.retry: Converted retries value: 3 -> 'Retry(total=3, connect=None, read=None, redirect=None, status=None)'
2024-01-05 06:05:32,548 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: ws://192.168.8.60:8096/socket?api_key=REDACTED&device_id=dd9d6384-4a26-4eed-9c0b-d83d0db9529e
2024-01-05 06:05:32,552 [ DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 192.168.8.60:8096
2024-01-05 06:05:32,574 [ INFO] websocket: Websocket connected
2024-01-05 06:05:32,576 [ INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ]
2024-01-05 06:05:32,576 [ DEBUG] event_handler: Unhandled Event WebSocketConnect: None
2024-01-05 06:05:32,597 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: ForceKeepAlive received from server.
2024-01-05 06:05:32,599 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server.
2024-01-05 06:05:32,644 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Sessions/Capabilities/Full HTTP/1.1" 204 0
2024-01-05 06:05:32,670 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Sessions?ControllableByUserId=3f7a17d393ed49edbf6bdd77076ddfd6 HTTP/1.1" 200 None
2024-01-05 06:05:32,766 [ DEBUG] PIL.PngImagePlugin: STREAM "b'IHDR'" 16 13
2024-01-05 06:05:32,766 [ DEBUG] PIL.PngImagePlugin: STREAM "b'pHYs'" 41 9
2024-01-05 06:05:32,766 [ DEBUG] PIL.PngImagePlugin: STREAM "b'IDAT'" 62 709
(jellyfin-mpv-shim:18): Gdk-CRITICAL **: 06:05:33.029: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
2024-01-05 06:05:52,577 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:02,580 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:02,601 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server.
2024-01-05 06:06:12,583 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:22,585 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:32,587 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:32,601 [ DEBUG] JELLYFIN.jellyfin_apiclient_python.ws_client: KeepAlive received from server.
2024-01-05 06:06:38,482 [ DEBUG] event_handler: Unhandled Event UserDataChanged: {'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'UserDataList': [{'PlaybackPositionTicks': 0, 'PlayCount': 3, 'IsFavorite': False, 'LastPlayedDate': '2024-01-05T06:06:37.9164796Z', 'Played': False, 'Key': '333072003001', 'ItemId': 'cfa2614c7e8bac0a683de42e3b3793a4'}, {'UnplayedItemCount': 7, 'PlaybackPositionTicks': 0, 'PlayCount': 0, 'IsFavorite': False, 'Played': False, 'Key': '333072003', 'ItemId': '27e20154f3774796257a805b2a79f2dd'}], 'ServerId': 'e79c0d8142574974862cb7ee8719776d'}
2024-01-05 06:06:42,590 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:51,128 [ DEBUG] event_handler: Unhandled Event UserDataChanged: {'UserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'UserDataList': [{'PlaybackPositionTicks': 0, 'PlayCount': 3, 'IsFavorite': False, 'LastPlayedDate': '2024-01-05T06:06:37.9164796Z', 'Played': False, 'Key': '333072003001', 'ItemId': 'cfa2614c7e8bac0a683de42e3b3793a4'}, {'UnplayedItemCount': 7, 'PlaybackPositionTicks': 0, 'PlayCount': 0, 'IsFavorite': False, 'Played': False, 'Key': '333072003', 'ItemId': '27e20154f3774796257a805b2a79f2dd'}], 'ServerId': 'e79c0d8142574974862cb7ee8719776d'}
2024-01-05 06:06:52,593 [ DEBUG] websocket: Sending ping
2024-01-05 06:06:58,190 [ DEBUG] event_handler: Handled Event Play: {'ItemIds': ['cfa2614c7e8bac0a683de42e3b3793a4', '77d1da8f1272fecbca08d8bcbe3b3e46', 'cfed55f4627e5e6d810dc312e173369b', '6609fee5f6263c213259aa1f05a6062a', 'c92d1c6151eb607a49fbcf08d300f734', '5dbde85e707b5e30ef21ce8b1cbcc6c9', '4d53f4e6650df91b37bd6b568c361704'], 'PlayCommand': 'PlayNow', 'ControllingUserId': '3f7a17d393ed49edbf6bdd77076ddfd6', 'ServerId': 'e79c0d8142574974862cb7ee8719776d'}
2024-01-05 06:06:58,279 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "GET /Users/3f7a17d393ed49edbf6bdd77076ddfd6/Items/cfa2614c7e8bac0a683de42e3b3793a4 HTTP/1.1" 200 None
2024-01-05 06:06:58,290 [ DEBUG] event_handler: EventHandler::playMedia <jellyfin_mpv_shim.media.Media object at 0x7f7139a4a0>
2024-01-05 06:06:58,291 [ DEBUG] media: Bandwidth: local=True, bitrate=None, force=False
2024-01-05 06:06:58,324 [ DEBUG] urllib3.connectionpool: http://192.168.8.60:8096 "POST /Items/cfa2614c7e8bac0a683de42e3b3793a4/PlaybackInfo HTTP/1.1" 200 None
2024-01-05 06:06:58,329 [ DEBUG] media: Using direct url.
2024-01-05 06:06:58,333 [ INFO] mpv: thumbfast: Clearing trickplay.
2024-01-05 06:06:58,357 [ INFO] mpv: cplayer: (+) Video --vid=1 (*) (h264 1280x720 23.976fps)
2024-01-05 06:06:58,357 [ INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) 'Surround 5.1' (ac3 6ch 48000Hz)
2024-01-05 06:06:58,358 [ INFO] mpv: cplayer: (+) Subs --sid=1 --slang=eng (*) (subrip)
2024-01-05 06:06:58,358 [ INFO] mpv: cplayer: Subs --sid=2 --slang=eng 'SDH' (subrip)
2024-01-05 06:06:58,358 [ INFO] mpv: cplayer: Subs --sid=3 --slang=spa (subrip)
2024-01-05 06:06:58,359 [ INFO] mpv: cplayer: Subs --sid=4 --slang=spa 'SDH' (subrip)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: failed to get driver name for fd -1
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: failed to get driver name for fd -1
libEGL warning: egl: failed to create dri2 screen
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
2024-01-05 06:06:58,501 [ WARNING] mpv: vo/gpu/opengl: Suspected software renderer or indirect context.
2024-01-05 06:06:58,504 [ ERROR] mpv: vo/gpu: VT_GETMODE failed: Inappropriate ioctl for device
2024-01-05 06:06:58,505 [ WARNING] mpv: vo/gpu/opengl: Failed to set up VT switcher. Terminal switching will be unavailable.
2024-01-05 06:06:58,505 [ WARNING] mpv: vo/gpu/opengl/kms: Could not find any preferred mode. Picking the first mode.
2024-01-05 06:06:58,520 [ ERROR] mpv: vo/gpu: Failed to create GBM surface.
2024-01-05 06:06:58,521 [ ERROR] mpv: vo/gpu: Failed to setup GBM.
2024-01-05 06:06:58,593 [ ERROR] mpv: vo/gpu/libplacebo: Found no suitable device, giving up.
2024-01-05 06:06:58,594 [ ERROR] mpv: vo/gpu/libplacebo: Failed initializing vulkan device
libEGL warning: egl: failed to create dri2 screen
libEGL warning: failed to get driver name for fd -1
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: failed to get driver name for fd -1
libEGL warning: egl: failed to create dri2 screen
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
XIO: fatal IO error 9 (Bad file descriptor) on X server ":0.0"
after 47 requests (29 known processed) with 0 events remaining.
sergio@NanoPC-T6:~$
The text was updated successfully, but these errors were encountered: