Skip to content

Black screen with Wayland (Sway) #165

Open
@lilithium-hydride

Description

@lilithium-hydride

Describe the bug
jellyfinmediaplayer displays a purely black screen upon application launch and generates a bunch of errors.

QSocketNotifier: Can only be used with threads started with QThread
libpng warning: iCCP: known incorrect sRGB profile
Logging to /home/redacted/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
[32259:32330:1115/215925.309670:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215925.309701:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215925.309726:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215925.309734:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215925.496539:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215925.496567:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215925.496572:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215925.496580:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.429620:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.429637:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.429641:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.429646:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.450512:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.450529:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.450533:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.450538:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.450886:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.450894:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.450897:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.450901:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.451166:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.451172:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.451176:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.451180:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.451501:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.451512:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.451528:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.451533:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.451735:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.451742:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.451745:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.451750:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.451885:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.451891:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.451895:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.451899:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.452247:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.452258:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.452262:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.452267:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.452579:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.452589:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.452592:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.452597:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.452794:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.452801:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.452805:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.452810:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[32259:32330:1115/215926.452962:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32259:32330:1115/215926.452970:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32259:32330:1115/215926.452974:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32259:32330:1115/215926.452979:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub

To Reproduce
Steps to reproduce the behavior:

  1. Execute jellyfinmediaplayer or open Jellyfin Media Player from your preferred launcher.

Expected behavior
The application displays the typical screen, either server selection or the server home page.

Screenshots
I can add them if desired, but it's literally just #000000 across the entire window. No menu bar, either.

Desktop (please complete the following information):

  • OS: Artix Linux rolling
  • Version: jellyfinmediaplayer 1.6.1, Jellyfin.Server 10.8.0.0
  • Installation Method: AUR; all -git packages.

Additional context
I'm using Sway on an NVIDIA GPU, driver version 495.44. It works perfectly on i3, and if I force XWayland with env -u WAYLAND_DISPLAY jellyfinmediaplayer, it (surprisingly) seems to work just as well as on i3 (apart from some horizontal flickering chunks near the top of the window).

Log File
jellyfinmediaplayer.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions