Description of problem: Ghostwriter (RPM version) fails to open in my Fedora 35 machine. Version-Release number of selected component (if applicable): ``` rpm -qi ghostwriter Name : ghostwriter Version : 2.0.2 Release : 2.fc35 Architecture: x86_64 Install Date: seg 01 nov 2021 22:52:38 ``` How reproducible: Just try to execute `ghostwriter` from terminal. Actual results: ``` > ghostwriter QSocketNotifier: Can only be used with threads started with QThread Using pandoc version 2.14.0.3 Using multimarkdown version 6.6.0 Using cmark version 0.29.0 [26191:26234:1102/090228.427294:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT [26191:26234:1102/090228.427325:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization. [26191:26234:1102/090228.427345:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context [26191:26234:1102/090228.427356:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub [26191:26234:1102/090228.427398:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT [26191:26234:1102/090228.427461:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization. [26191:26234:1102/090228.427470:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context [26191:26234:1102/090228.427478:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub qt.qpa.wayland: Wayland does not support QWindow::requestActivate() The Wayland connection experienced a fatal error: Protocol error > ``` Expected results: Open successfully `ghostwriter` **Notes**: - I'm using an hybrid graphics setup (Intel + NVidia) on Wayland at Fedora 35. I don't know if this affects this bug. I just saw this bug: <https://github.com/NVIDIA/egl-wayland/issues/41>
It looks like another GNOME 41 issue, related to Wayland+Qt. Please try "Gnome on X11" session.
I tried with "Gnome on X11" session and it works. By now, I'm using Wayland session and running Ghostwriter RPM from a Fedora 34 container (Toolbox).
This issue is related to Qt5 QtWebEngine crashes on Wayland+GNOME.
According to your link, this is a bug in the proprietary NVidia driver.