RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1488585 - rebuild sdl with Wayland support
Summary: rebuild sdl with Wayland support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: SDL2
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.3
Assignee: Wim Taymans
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1481401
TreeView+ depends on / blocked
 
Reported: 2017-09-05 18:36 UTC by Matthias Clasen
Modified: 2020-04-28 15:41 UTC (History)
8 users (show)

Fixed In Version: SDL2-2.0.10-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 15:41:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1631 0 None None None 2020-04-28 15:41:32 UTC

Description Matthias Clasen 2017-09-05 18:36:38 UTC
This is needed for Wayland support in 7.5

Comment 2 Wim Taymans 2017-10-09 09:19:40 UTC
RHEL has SDL 1.2.15, which was released in 2012 and has no wayland support.

It was the latest release of the 1.2 branch. The branch has seen some minor updates and fixes but no wayland support was ever added.

Is there anything in particular that depends on SDL 1.2.15 that needs wayland support?

Comment 4 Christian Fredrik Kalager Schaller 2019-07-24 17:29:39 UTC
We should probably update/add SDL2 to RHEL here as SDL1.x is only for legacy software at this point. Hans is looking at how to resolve Wayland and SDL1.x so I am adding him to the CC for this bug.

Comment 5 Hans de Goede 2019-07-29 15:04:22 UTC
As mentioned the SDL package in RHEL is SDL version 1.2 which does not support Wayland.

SDL2 does support Wayland, but with a number of caveats, for one by default it still uses X11 instead of Wayland under Wayland. Also only fullscreen apps which do not allow switching to windowed mode work because of: https://gitlab.gnome.org/GNOME/mutter/issues/217

SDL2 and SDL(1.2) are parallel installable and I believe SDL(1.2) is part of our ABI promise (not 100% sure), but even if it is not, too many apps depend on it that we can simply replace SDL-1.2 with SDL2.

We do already have SDL2 in RHEL8 and AFAIK it is build with Wayland support, but by default SDL2 uses X11/Xwayland, to use it with Wayland you can run an app like this:

SDL_VIDEODRIVER=wayland app

Note that we cannot really make SDL2 use Wayland by default until: https://gitlab.gnome.org/GNOME/mutter/issues/217 is resolved one way or another; and if we want to make it default we should probably reach out to upstream to ask them if there are other reasons why it is not the default yet.

I'm going to change the component for this bug to SDL2, since SDL-1.2 simply does not, and likely will never, support Wayland.

Comment 9 errata-xmlrpc 2020-04-28 15:41:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1631


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