white screen with ShadowPrimary / glamor / xfwm4 with vsync on
Submitted by Dq8CokMHloQZw
Assigned to xf86-video-ati maintainers
Link to original bug (#111687)
Description
Created attachment 145364
turn on/off xfwm4's vsync without restarting X or xfwm4
If I use
Option "AccelMethod" "Glamor"
in /etc/X11/xorg.conf.d/93_dri.conf
So it looks like this:
Section "Device"
Identifier "Device0"
Driver "radeon"
BusID "PCI:0:1:0"
Option "DRI" "3"
Option "DRI3" "1"
Option "AccelMethod" "Glamor" #was EXA
Option "EXAVSync" "on"
Option "RenderAccel" "on"
Option "ColorTiling" "on"
Option "ColorTiling2D" "on"
Option "EXAPixmaps" "on"
Option "AccelDFS" "on"
Option "SwapbuffersWait" "true"
Option "EnablePageFlip" "on"
Option "SWcursor" "off"
Option "MigrationHeuristic" "greedy"
Option "Backlight" "radeon_bl"
Option "ShadowPrimary" "on"
Option "TearFree" "on"
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
then the X screen is white and I can't see what I'm doing behind it...
but if I turn off vsync(blindly) by running vsync off
in a terminal, to turn off vsync in xfwm4 while X is running, then everything becomes visible and I'm writing this whole thing here now. If I turn vsync on by vsync glx
or vsync xpresent
or vsync auto
then I get white screen again!
To turn on/off xfwm4's vsync I use the vsync
script which can be found here:
https://gist.github.com/howaboutsynergy/c2d9d3f6f60497f5c95f445a326cfec8
(I'm attaching it just in case the url goes away)
xfwm4 4.14.0+12+g99352a08-1
xfconf 4.14.1-1
pygtk 2.24.0-8
xf86-video-ati 1:19.0.1.r7.gc7ed12cb-1
Attachment 145364, "turn on/off xfwm4's vsync without restarting X or xfwm4":
vsync