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 2149338 - Rebase wayland-protocols to 1.31 or higher for KDE Plasma in EPEL
Summary: Rebase wayland-protocols to 1.31 or higher for KDE Plasma in EPEL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: wayland-protocols
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Olivier Fourdan
QA Contact: Tomas Pelka
URL:
Whiteboard:
Depends On:
Blocks: 2158761
TreeView+ depends on / blocked
 
Reported: 2022-11-29 16:04 UTC by Neal Gompa
Modified: 2023-05-09 08:58 UTC (History)
12 users (show)

Fixed In Version: wayland-protocols-1.31-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:44:47 UTC
Type: Component Upgrade
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure fedora-kde/SIG issue 278 0 None None None 2022-11-29 16:21:35 UTC
Gitlab redhat/centos-stream/rpms wayland-protocols merge_requests 6 0 None opened Update to 1.31 2022-11-29 16:21:35 UTC
Red Hat Issue Tracker RHELPLAN-140809 0 None None None 2022-11-29 16:12:25 UTC
Red Hat Product Errata RHBA-2023:2300 0 None None None 2023-05-09 07:44:51 UTC

Description Neal Gompa 2022-11-29 16:04:36 UTC
Description of problem:
Starting with the upcoming KDE Plasma 5.27, the minimum version of the wayland-protocols will be raised to 1.31 to support fractional scaling. Please update to at least wayland-protocols 1.31 so we can use it for KDE Plasma in EPEL.

Version-Release number of selected component (if applicable):
1.27-1.el9

Comment 1 Neal Gompa 2022-11-29 16:21:36 UTC
Merge request proposed: https://gitlab.com/redhat/centos-stream/rpms/wayland-protocols/-/merge_requests/6

Comment 3 Neal Gompa 2022-12-01 12:38:02 UTC
I realize that I just bumped wayland-protocols only a bit ago in bug 2139449, but I didn't know that the fractional scaling protocol was going to get merged so soon. That protocol immediately got an implementation that landed in kwin, which caused an unusual bump in the protocols version required again. I usually try to avoid doing this if I don't need to.

Also, at least wayland-protocols is a purely additive, backwards compatible upgrade. It's just a bunch of definitions that implementors scan to make Wayland protocol code.

Finally, there's even an implementation of this protocol coming for Mutter, which would mean this protocol would be of benefit to GNOME users too: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2394

Given how many computers *require* fractional scaling for HiDPI (outside of MacBooks, most HiDPI screens are in configurations that need 125% to 175% scaling factors), I did not bother to push back on having the protocols upgrade so soon again.

Comment 4 Niels De Graef 2022-12-02 19:07:43 UTC
(In reply to Neal Gompa from comment #3)
> I realize that I just bumped wayland-protocols only a bit ago in bug
> 2139449, but I didn't know that the fractional scaling protocol was going to
> get merged so soon. That protocol immediately got an implementation that
> landed in kwin, which caused an unusual bump in the protocols version
> required again. I usually try to avoid doing this if I don't need to.

Thanks for making an extra effort to provide context Neal :-)

> Also, at least wayland-protocols is a purely additive, backwards compatible
> upgrade. It's just a bunch of definitions that implementors scan to make
> Wayland protocol code.

True. Do mind that QE is always required to do some smoke testing, and that there is some process overhead as well for us, but you're right that in this case it should be fine.

> Finally, there's even an implementation of this protocol coming for Mutter,
> which would mean this protocol would be of benefit to GNOME users too:
> https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2394

Note that we usually don't rebase GNOME packages in a major RHEL version.

> Given how many computers *require* fractional scaling for HiDPI (outside of
> MacBooks, most HiDPI screens are in configurations that need 125% to 175%
> scaling factors), I did not bother to push back on having the protocols
> upgrade so soon again.

Note that fractional scaling is already possible from the compositor's side without the protocol. The protocol just allows clients to do the fractional scaling themselves

Comment 5 Neal Gompa 2022-12-03 01:29:20 UTC
(In reply to Niels De Graef from comment #4)
> (In reply to Neal Gompa from comment #3)
> > I realize that I just bumped wayland-protocols only a bit ago in bug
> > 2139449, but I didn't know that the fractional scaling protocol was going to
> > get merged so soon. That protocol immediately got an implementation that
> > landed in kwin, which caused an unusual bump in the protocols version
> > required again. I usually try to avoid doing this if I don't need to.
> 
> Thanks for making an extra effort to provide context Neal :-)
> 
> > Also, at least wayland-protocols is a purely additive, backwards compatible
> > upgrade. It's just a bunch of definitions that implementors scan to make
> > Wayland protocol code.
> 
> True. Do mind that QE is always required to do some smoke testing, and that
> there is some process overhead as well for us, but you're right that in this
> case it should be fine.
> 
> > Finally, there's even an implementation of this protocol coming for Mutter,
> > which would mean this protocol would be of benefit to GNOME users too:
> > https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2394
> 
> Note that we usually don't rebase GNOME packages in a major RHEL version.
> 

I didn't know that, actually. RHEL 7 received several GNOME rebases over its life.

I didn't pay much attention to RHEL 8's GNOME stack, but I did see some GNOME components getting upgraded over its life. So from my point of view, I didn't have a reason to believe that GNOME *wouldn't* be upgraded at some point.

Even without rebases, that doesn't rule out the potential for backporting changes to enhance the experience.

> > Given how many computers *require* fractional scaling for HiDPI (outside of
> > MacBooks, most HiDPI screens are in configurations that need 125% to 175%
> > scaling factors), I did not bother to push back on having the protocols
> > upgrade so soon again.
> 
> Note that fractional scaling is already possible from the compositor's side
> without the protocol. The protocol just allows clients to do the fractional
> scaling themselves

While that is true, it essentially makes it possible to avoid having to scale to the next double and downscale (which leads to blurry/fuzzy applications). It's a huge complaint about Wayland environments and the biggest reason why Wayland fractional scaling isn't exposed by default in GNOME.

Comment 11 errata-xmlrpc 2023-05-09 07:44:47 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 (wayland-protocols bug fix and enhancement update), 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/RHBA-2023:2300


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