Bug 104808 - [mesa 18.0.0-rc2][bisected] Radeonsi doesn’t work correctly in wayland session (gnome-shell)
Summary: [mesa 18.0.0-rc2][bisected] Radeonsi doesn’t work correctly in wayland sessio...
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-27 13:10 UTC by Marcus Husar
Modified: 2018-01-30 11:41 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Marcus Husar 2018-01-27 13:10:40 UTC
In a gnome-shell wayland session I’m not able to perform a single mouse click.

I bisected this bug to commit e5ff036c6751c39ee008ca7db47b3ce4d7a38a15 (st/dri: Add support for BGR[A/X]1010102 formats.).

After reverting commits 2d8e1a6a277cb1684d76210351147f5e7858c8b2 (child commit) and e5ff036c6751c39ee008ca7db47b3ce4d7a38a15 I can perform mouse clicks again.

commit 2d8e1a6a277cb1684d76210351147f5e7858c8b2
    st/dri: Add option to control exposure of 10 bpc color configs.
    https://cgit.freedesktop.org/mesa/mesa/commit/?id=2d8e1a6a277cb1684d76210351147f5e7858c8b2

commit e5ff036c6751c39ee008ca7db47b3ce4d7a38a15
    st/dri: Add support for BGR[A/X]1010102 formats.
    https://cgit.freedesktop.org/mesa/mesa/commit/?id=e5ff036c6751c39ee008ca7db47b3ce4d7a38a15

Range of logs in mesa git:
https://cgit.freedesktop.org/mesa/mesa/log/?qt=range&q=2d8e1a6a277cb1684d76210351147f5e7858c8b2
Comment 1 Marcus Husar 2018-01-27 14:00:28 UTC
Some additional information:
OpenGL renderer string: AMD RAVEN (DRM 3.23.0 / 4.16.0-2.fc27.x86_64, LLVM 6.0.0

My system is an Acer SF315-41 (Ryzen Mobile 5 2500U) with Fedora 27, Kernel 4.16-drm-next (based on 4.15-rc8), LLVM 6.0.0-rc1, Mesa 18.0.0-rc2.
Comment 2 Michel Dänzer 2018-01-30 10:43:33 UTC
This is a gnome-shell/mutter/clutter bug, please report it there.

You can work around it by putting this in ~/.drirc:

<driconf>
    <device screen="0" driver="radeonsi">
        <application name="gnome-shell">
            <option name="allow_rgb10_configs" value="false" />
        </application>
    </device>
</driconf>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.