gnome-shell is frozen upon wakeup from DPMS (bisected)

Michel Dänzer michel at daenzer.net
Tue Nov 15 09:23:29 UTC 2016


On 14/11/16 11:12 PM, Max Staudt wrote:
> On 11/14/2016 02:46 AM, Michel Dänzer wrote:
>> On 11/11/16 02:21 AM, Max Staudt wrote:
>>> Hi,
>>>
>>> I have bisected a commit in v4.6 that fixes a freeze of the screen on
>>> DPMS sleep:
>>>
>>> 777e3cbc791f131806d9bf24b3325637c7fc228d drm/radeon: Switch to drm_vblank_on/off
>>>
>>>
>>> When running 'xset dpms force off' in a GNOME session (I tested this on
>>> openSUSE Leap 42.2), sometimes the screen will freeze, sometimes it will
>>> not. It may take several tries.
>>>
>>> When it does freeze, the mouse can still be used, but clicking anything
>>> will (seem to?) have no effect. Typing in an open terminal still works,
>>> albeit the screen will still be frozen. Run "xterm" and the screen will
>>> unfreeze. Running "xlogo" does not unfreeze it.
>>
>> Does this still happen with current xf86-video-ati Git master?
> 
> 
> Hmm, good idea!
> 
> 
> I bisected this, and the problem goes away in this xf86-video-ati commit:
> 
> 1181b9c582f10b6c523e4b2988e2ce87ecf3d367 Enable DRI3 by default when building for Xorg >= 1.18.3
> 
> 
> I tested this on Kabini.
> 
> 
> So... what about DRI2?

Does it still happen with DRI2? You can either disable DRI3 completely with

	Option "DRI" "2"

in /etc/X11/xorg.conf, or just for gnome-shell with

	LIBGL_DRI3_DISABLE=1 gnome-shell --replace


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer



More information about the amd-gfx mailing list