Bug 2015891

Summary: Backport support for GBM with NVIDIA 495 in el9
Product: Red Hat Enterprise Linux 9 Reporter: Olivier Fourdan <ofourdan>
Component: mutterAssignee: Olivier Fourdan <ofourdan>
Status: CLOSED ERRATA QA Contact: Peter Kopec <pekopec>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: cvv30693, fmuellner, jkoten, ndegraef, rstrode, tpelka
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mutter-40.9-7.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:59:44 UTC Type: Enhancement
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: 2017938    

Description Olivier Fourdan 2021-10-20 10:02:10 UTC
Description of problem:

With the release of NVIDIA proprietary driver series 495, the NVIDIA driver now supports GBM buffers, but mutter prefers EGLStream with NVIDIA proprietary driver.

Thsi is a request o backport the reuired chnages in mutter to use GBM with NVIDIA proprietary driver if it supports GBM (i.e. version 495 or above):

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2051
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2052

Version-Release number of selected component (if applicable):

mutter-40.4

How reproducible:

N/A

Steps to Reproduce:

N/A

Additional info:

I haven't looked how intrusive such a backport would be, this bug is to have us consider the change and make an educated decision based on feasibility.

Comment 2 Olivier Fourdan 2022-01-13 07:48:22 UTC
FTR, I backported the patches and filed https://gitlab.com/redhat/centos-stream/rpms/mutter/-/merge_requests/18 if that helps.

Also please note this requires https://gitlab.com/redhat/centos-stream/rpms/mesa/-/merge_requests/8 in Mesa or mutter won't be able to start with GBM and NVIDIA proprietary driver.

Comment 11 Peter Kopec 2022-07-12 15:23:35 UTC
with mutter-40.9-7.el9. and egl-wayland-1.1.9-2.el9 nvidia driver is using GBM backend.

Comment 15 errata-xmlrpc 2022-11-15 09:59:44 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 (mutter 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-2022:7984