Bug 462745 - Preview blank with Wayland on NVIDIA hardware
Summary: Preview blank with Wayland on NVIDIA hardware
Status: CLOSED UPSTREAM
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-07 16:07 UTC by Ryan H.
Modified: 2022-12-12 18:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Log from ghostwriter. The error messages are repeating for as long as the program is active. (1.60 KB, text/x-log)
2022-12-07 16:07 UTC, Ryan H.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan H. 2022-12-07 16:07:41 UTC
Created attachment 154393 [details]
Log from ghostwriter. The error messages are repeating for as long as the program is active.

SUMMARY
When using ghostwriter under a Wayland session with an NVIDIA graphics card, the preview pane is blank. In the console, ghostwriter complains about setting up an EGL context. This can be seen in the attached logs. 

STEPS TO REPRODUCE
1. Open KDE with Wayland or open Weston
2. Open terminal
3. Unset XWayland display `unset DISPLAY`
3. Run `ghostwriter`
  a. Add `-platform wayland` flag if using Weston
4. Type anything into the editor

OBSERVED RESULT
Preview pane is empty.

EXPECTED RESULT
Typed content will appear inside a preview pane.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0 
Qt Version:  5.15.7

ADDITIONAL INFORMATION
NVIDIA Driver Version: 525.60.11
ghostwriter Version: 2.1.6
Comment 1 megan.conkle 2022-12-12 18:16:23 UTC
This is an upstream issue with Qt's QtWebEngine.  Please report it at bugs.qt.io.  Thanks!