Bug 2336093

Summary: Please build wxGTK with GLCANVAS_EGL support for Wayland
Product: [Fedora] Fedora Reporter: Andreas Schneider <asn>
Component: wxGTKAssignee: Scott Talbert <swt>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: adelton, alexjnewt, asn, mattdm, swt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Schneider 2025-01-07 09:39:47 UTC
Could you please build wxGTK with -DwxUSE_GLCANVAS_EGL=ON to enable wayland support?

This would allow e.g. to enable Wayland support in PrusaSlicer.

Reproducible: Always

Comment 1 Scott Talbert 2025-01-07 14:00:57 UTC
The challenge with this is that it is an either/or choice, and if we do that, we disable wxGLCanvasX11, which caused a lot of problems the last time we tried this.  But perhaps things are better now?  I'll have to investigate further.

Comment 2 Andreas Schneider 2025-01-07 19:03:36 UTC
Things might be harder to change than I thought :-(

However, this enables EGL for GLEW: https://src.fedoraproject.org/rpms/glew/pull-request/1

I guess we would need to build quite some stuff in a side-tag.

Comment 3 Scott Talbert 2025-01-07 19:23:57 UTC
(In reply to Andreas Schneider from comment #2)
> Things might be harder to change than I thought :-(
> 
> However, this enables EGL for GLEW:
> https://src.fedoraproject.org/rpms/glew/pull-request/1
> 
> I guess we would need to build quite some stuff in a side-tag.

Yep.  I believe rebuilding wxGTK with wxUSE_GLCANVAS_EGL causes an ABI change also, so at least everything that uses wxGLCanvas is going to have to be rebuild anyway.

Comment 4 Andreas Schneider 2025-03-01 13:56:23 UTC
openSUSE turned EGL support on for wxWidgets and GLEW now.

See https://bugzilla.suse.com/show_bug.cgi?id=1235150