Bug 2019367 - Ghostwriter fails to open
Summary: Ghostwriter fails to open
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtwebengine
Version: 35
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-02 12:13 UTC by felipehw
Modified: 2021-11-12 13:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-11-12 13:09:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description felipehw 2021-11-02 12:13:13 UTC
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>

Comment 1 Vitaly 2021-11-02 16:44:44 UTC
It looks like another GNOME 41 issue, related to Wayland+Qt. Please try "Gnome on X11" session.

Comment 2 felipehw 2021-11-12 12:42:45 UTC
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).

Comment 3 Vitaly 2021-11-12 13:04:51 UTC
This issue is related to Qt5 QtWebEngine crashes on Wayland+GNOME.

Comment 4 Kevin Kofler 2021-11-12 13:09:35 UTC
According to your link, this is a bug in the proprietary NVidia driver.


Note You need to log in before you can comment on or make changes to this bug.