Skip to content
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

Doesn't start when using Wayland (Hyprland) #391

Closed
makusu720 opened this issue Mar 8, 2023 · 1 comment
Closed

Doesn't start when using Wayland (Hyprland) #391

makusu720 opened this issue Mar 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@makusu720
Copy link

Describe the bug
I get an error (no crash) and no window is created.

libpng warning: iCCP: known incorrect sRGB profile
Logging to /home/makusu/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
[12271:12333:0308/223838.979185:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[12271:12333:0308/223838.979204:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[12271:12333:0308/223838.979209:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[12271:12333:0308/223838.979215:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[12271:12333:0308/223838.991336:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[12271:12333:0308/223838.991348:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[12271:12333:0308/223838.991353:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[12271:12333:0308/223838.991359:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub

jellyfinmediaplayer.log

When I run it with --disable-gpu I get no error, no crash and still no window is created.
jellyfinmediaplayer.log

It works perfectly with XWayland and the parameter --platform xcb.

To Reproduce
Steps to reproduce the behavior:

  1. Run jellyfinmediaplayer in the terminal

Expected behavior
The media player starts

Screenshots

Desktop (please complete the following information):

  • OS: EndeavourOS
  • Version jellyfinmediaplayer 1.8.1
  • Installation Method: AUR -git package

Additional context
I use Hyprland with an Nvidia RTX 2070 and the nvidia-dkms driver, my version is 525.89.02. I set some environment variables for QT QT_AUTO_SCREEN_SCALE_FACTOR=1, QT_QPA_PLATFORM="wayland" and QT_WAYLAND_DISABLE_WINDOWDECORATION=1

@makusu720 makusu720 added the bug Something isn't working label Mar 8, 2023
@makusu720
Copy link
Author

makusu720 commented Mar 13, 2023

After updating to 1.9.0 (I updated hyprland at the same time, so that may also be the reason) I can start it with --disable-gpu. Without it only a black window starts and the same error message is spammed into the console.

It sounds like the same problem as in this issue #165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant