Server Version#: 1.40.3.8555
Player Version#: 1.64.0.170-84278903
Hello, I have a Linux machine with an NVIDIA GPU running a Wayland desktop environment and thankfully NVIDIA drivers are finally improving to the point where former issues are theoretically fixable. In particular, I’ve run into the infamous flickering screen effect running the flatpak version of Plex HTPC in fullscreen, which is supposedly fixable with their most recent driver release allowing explicit sync. Being totally honest a lot of this goes over my head, but I do have the latest drivers and am not sure if the fix needs to be implemented on the development side. I was wondering if this was on anybody’s radar, and if a fix in the near future was likely?
Edit Update:
Ok I was digging around and found an error message that may be related:
ERROR - Failed to create wl_display (No such file or directory)
INFO - Could not load the Qt platform plugin "wayland" in "/app/bin/../plugins/platforms:" even though it was found.
Hopefully that is useful, it seems that the Qt wayland libraries are just failing to load for some reason.
Update 2:
Ok found another post with some helpful insight. I overlooked the flatpak permissions, it was set to default to X11, that said, with the setting changed, it crashes immediately when launching like the other poster. My OS log is the following:
User Logs:
ERROR:gles2_cmd_decoder.cc(10716)] [.WebGL-0x55ab1ddb80e0]RENDER WARNING: there is no texture bound to the unit 1
ERROR:gles2_cmd_decoder.cc(10716)] [.WebGL-0x55ab1ddb80e0]RENDER WARNING: there is no texture bound to the unit 1
ERROR:gles2_cmd_decoder.cc(10716)] [.WebGL-0x55ab1ddb80e0]RENDER WARNING: there is no texture bound to the unit 1
ERROR:gl_context_egl.cc(277)] eglCreateContext failed with error EGL_BAD_CONTEXT
ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
ERROR:gl_context_egl.cc(277)] eglCreateContext failed with error EGL_BAD_CONTEXT
ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
ERROR:gl_context_egl.cc(277)] eglCreateContext failed with error EGL_BAD_CONTEXT
ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
ERROR:gl_context_egl.cc(277)] eglCreateContext failed with error EGL_BAD_CONTEXT
ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
My plex logs that (I think) are relevant:
DEBUG - [MPVEngine/mpv] libmpv_render/vaapi-egl: using VAAPI EGL interop
DEBUG - [MPVEngine/mpv] libmpv_render/vaapi-egl: Trying to open a x11 VA display...
DEBUG - [MPVEngine/mpv] libmpv_render/vaapi-egl: Trying to open a drm VA display...
DEBUG - [MPVEngine/mpv] libmpv_render/vaapi-egl: Could not create a VA display.
DEBUG - [MPVEngine/mpv] libmpv_render: Loading failed.
DEBUG - [MPVEngine/mpv] libmpv_render: Loading hwdec driver 'cuda-nvdec'
DEBUG - [MPVEngine/mpv] libmpv_render: Loading failed.
DEBUG - [MPVEngine/mpv] libmpv_render: Loading hwdec driver 'drmprime-drm'
DEBUG - [MPVEngine/mpv] libmpv_render/drmprime-drm: Failed to retrieve DRM fd from native display.
DEBUG - [MPVEngine/mpv] libmpv_render: Loading failed.
DEBUG - Executed command '["stop",]'
To also preemptively post, I’m using NVIDIA proprietary drivers, my NVIDIA driver version is: 555.58.02, CUDA Version: 12.5, sudo cat /sys/module/nvidia_drm/parameters/modeset returns Y, so I believe there’s nothing wrong with my system (recently performed a clean install, so it should be pretty fresh). First thought was to try “releasing the floodgates” in Flatseal and make sure that there was nothing important being blocked, but it still crashed. Truth be told, like I said originally this is reaching the limits of what I understand about Linux, so any help would be appreciated.