Bug 1919467

Summary: Mutter: mouse click doesn't work when using 10-bit graphic monitor
Product: Red Hat Enterprise Linux 8 Reporter: Eric Laflamme <eric.laflamme>
Component: mutterAssignee: Jonas Ådahl <jadahl>
Status: CLOSED ERRATA QA Contact: Peter Kopec <pekopec>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.2CC: fmuellner, jadahl, jkoten, lmiksik, mboisver, pekopec, tpelka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mutter-3.32.2-56.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1938937 (view as bug list) Environment:
Last Closed: 2021-05-18 14:39:27 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: 1938937    

Description Eric Laflamme 2021-01-22 22:50:47 UTC
Description of problem:

On a workstation with Redhat 8.x (tested on 8.2), if user set the XServer to 10bit per channel, the graphic looks ok, keyboard is working, but the mouse click doesn't work anymore.  This makes the workstation unusable when using 10bit monitor.

This is a regression from RH7.x with kde, where 10bit support was working fine.  
This is also a major regression for graphic applications (like in the M&E industry), where color accuracy on the graphic monitor is super important.


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

mutter v3.32.2-34 (RH8.2 default)
mutter v3.32.2-48 


How reproducible:

- Need a wks with a graphic card supporting 10bit per channel.
- need to use XServer (not tested on Wayland)
- be sure to enable 10bit per channel for the XServer (Depth of 10 in the /etc/X11/xorg.conf)
- start the XServer, login, and try to click with the mouse.


Actual results:

Graphic monitor looks ok; keyboard ok, mouse movement ok, mouse click FAILS 


there is multiple discussions on the web for this topic, one of them: 
https://bugzilla.gnome.org/show_bug.cgi?id=743620

Comment 1 Jonas Ådahl 2021-02-25 09:59:51 UTC
I backported geometric picking that was introduced in GNOME 3.34, which effectively fixes this issue. Scratch build available here: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=35153740

Comment 5 Peter Kopec 2021-03-05 13:16:11 UTC
i was able to reproduce the issue using radeon 5700.
With new mutter from comment 1  there was no issue.

Comment 8 Peter Kopec 2021-03-15 17:53:47 UTC
tested with mutter-3.32.2-56.el8, mouse works properly.

Comment 11 Peter Kopec 2021-03-18 09:57:38 UTC
Based on comment #8 moving on VERIFIED.

Comment 13 errata-xmlrpc 2021-05-18 14:39:27 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 (Moderate: GNOME security, 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/RHSA-2021:1586