Workaround for a bug in xrandr

Christian König deathsimple at
Sat Apr 26 10:48:26 PDT 2014

Hi everyone,

today I noticed that with X server 1.15.1 and current xf86-video-ati 
master that page flipping won't work any more after I switched the mode 
using xrandr. It looks like Ilija Hadzic already stumbled over the same 
issue back in 2012 but didn't reported it upstream (at least I couldn't 
find any reference to it):

Basic problem is that xrandr calls xf86DisableUnusedFunctions while 
switching the mode which in turn calls the DPMS off function which is 
then never turned on again. This results in both page flipping getting 
disabled and vblank handling not working any more.

Attached is a workaround for xf86-video-ati which just turn DPMS on 
again when the mode set happens, but I'm pretty sure that this isn't the 
right solution to the problem.


Thanks in advance,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-workaround-for-xrandr-turning-DPMS-off-but-never-on-.patch
Type: text/x-diff
Size: 982 bytes
Desc: not available
URL: <>

More information about the xorg-driver-ati mailing list