Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1739249

Summary: X server backports for PRIME render offloading
Product: Red Hat Enterprise Linux 8 Reporter: Daniel Dadap <ddadap>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: csoriano, jkoten, thesource, tpelka
Target Milestone: rcKeywords: OtherQA
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xorg-x11-server-1.20.3-9.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 21:27:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1654309, 1710589    

Description Daniel Dadap 2019-08-08 21:17:14 UTC
Configuring PRIME render offloading requires changes to the X server which have been accepted upstream but are not yet present in any release. These changes do not break the driver ABI and should be safe to backport to existing X servers shipped in distributions like RHEL and Fedora.

The required commits are:

* 7f962c70b6d9c346477f23f6c15211e749110078 - xsync: Add resource inside of SyncCreate, export SyncCreate
* 37a36a6b5b887d5c5a17a6931ceba8ad5d1bb6d5 - GLX: Add a per-client vendor mapping
*  8b67ec7cc6fda243480a5a8ca118b66242f3eb2c- GLX: Use the sending client for looking up XID's
* 56c0a71fdd94a008e5d746261f70a713c4767f93 - GLX: Add a function to change a clients vendor list
* b4231d69028adc8123801a7552b40a15ea928d1b - GLX: Set GlxServerExports::{major,minor}Version

These commits must be backported to an X.org X server of at least version 1.20, as this is the first version with support for server-side GLVND.

Comment 2 The Source 2019-09-07 06:38:31 UTC
Any chance to make those backports for Fedora packages too?

Comment 3 Tomas Pelka 2019-09-10 12:23:41 UTC
QE due to time constrains won't be most probably able to check this particular issue. Do you think you can check with Xorg (xorg-x11-server-1.20.3-9.el8 or newer) available in latest 8.1 Snapshot?

Thanks
-Tom

Comment 4 Daniel Dadap 2019-09-10 19:23:15 UTC
Yes, I actually had a chance to test out RHEL 8.1 snapshot 2.1 (which has since been superseded by snapshot 3.0) yesterday and confirmed that PRIME Render Offloading works with xorg-x11-server-1.20.3-9.el8. I had to modify the X11 configuration in order to take advantage of the feature, but that was already expected.

Comment 5 Tomas Pelka 2019-09-10 19:41:13 UTC
(In reply to Daniel Dadap from comment #4)
> Yes, I actually had a chance to test out RHEL 8.1 snapshot 2.1 (which has
> since been superseded by snapshot 3.0) yesterday and confirmed that PRIME
> Render Offloading works with xorg-x11-server-1.20.3-9.el8. I had to modify
> the X11 configuration in order to take advantage of the feature, but that
> was already expected.

Thank you very much!

Comment 7 errata-xmlrpc 2019-11-05 21:27:08 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/RHBA-2019:3502