Bisected a problem with this commit
e5ff036c67 st/dri: Add support for BGR[A/X]1010102 formats
That broke the mouse input in mutter/shell in Fedora rawhide.
I am clueless as to why.
The ultimate root cause is that Mutter expects all its configs are 8bpc, but asks EGL for 'anything at least 1bpc' through eglChooseConfigs, which is explicitly specified to return deeper channels if available; i.e. 10bpc must be preferred to 8bpc if available.
The way it handles mouse input is that it renders the scene with every surface as its own solid colour, reads back to find out what colour is at the current mouse position, and maps that back to a surface. It's unaware of 10bpc when doing so, and so the colour never matches back to any surface.
Since quite a few places are broken in the same way, I'm suspecting we should probably change the allow_rgb10_configs default to false, at least until we can get some of the worst offenders fixed.
Marek put forward a request about fixing gnome-shell/mutter although it never got a reply from Dave or Jonas.
There is no need to disable 10bit support completely. We can add a workaround into drirc for gnome-shell and mutter.
Jonas has completed some work to fix this in Mutter:
As far as mutter/shell go this bug is fixed there. I'll close.
If somebody needs to continue the "flip the 10-bit default" discussion, perhaps its better if it continues somewhere else.