KDE 4.4.5 (compositing enabled)
With "EnablePageFlip" turned on in the xorg.conf, I get heavy screen corruption with a Radeon HD4670.
It seems to be easily triggered by fullscreen windows/overlays (like fullscreen flash videos).
After that, the screen becomes heavily corrupted, flickering and glitches occur, where background windows (like gkrellm) are (partially) being rendered on top of other windows.
In some cases, the monitor loses the signal and goes to powersave for a few seconds, then regains signal.
Switching to a commandline works (sometimes after several attempts), commandline shows no signs of glitching, but switching back to X exhibits the problems again.
Turning off the KDE compositor doesn't help, corruption still occurs.
I have found some forum entries on Color Tiling causing problems, but none regarding page flipping. If this is not the right place to file this bug, I'd appreciate a pointer to in the right direction (kernel, radeon driver, mesa, X server in general, ...).
emerge --info output follows
Tell me if you need additional info/testing.
Steps to Reproduce:
1. Enable KMS page flipping via 'Option "EnablePageFlip" "on"'
2. maximize/unmaximize windows (worked with flash wideos in firefox here)
screen starts glitching, stacked windows and desktop background are being rendered in random order (it seems)
Portage 184.108.40.206 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11.3-r0, 2.6.38-gentoo x86_64)
System uname: Linux-2.6.38-gentoo-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Sat, 19 Mar 2011 16:30:01 +0000
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python: 2.6.6-r2, 3.1.3-r1
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/gcc: 4.1.2, 4.3.4, 4.4.5
virtual/os-headers: 220.127.116.11 (sys-kernel/linux-headers)
CFLAGS="-march=athlon64 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb blender-game boost branding bzip2 cairo caps cdda cddb cdinstall cdparanoia cdr cjk cli connectionstatus consolekit cracklib crypt cscope css cups curl cvs cxx dbus disk-partition divx dri dts dvd dvdr embedded emboss encode exif fam ffmpeg firefox flac fluidsynth foomaticdb fortran ftp gcj gd gdbm gdu gif gimp gmedia gnutls gphoto gphoto2 gpm gtk hddtemp history hou iconv icq id3 id3tag imagemagick ipv6 jabber java jpeg jpeg2k kde kerberos ladspa latex lcms ldap libnotify libsamplerate libwww lightning lm_sensors loop-aes lzo mad matroska melt mikmod mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nowin nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oscar otr pam pango pcre pdf perl player plotutils png policykit postscript ppds pppd python qt3support qt4 quicktime raw readline realmedia samba sbdfile scanner schroedinger sdl sdlsession semantic-desktop session smp sou soundtouch spell sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd theora threads tiff truetype twolame udev unicode usb vamp videos vim-syntax visualization vorbis wavpack wmf wmp wxwindows x264 xcb xcomposite xine xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It would be interesting to see if you could work around the problem by downgrading (for instance, the kernel).
Sorry, I forgot to mention that page flipping for R700 ASICS was only included with 2.6.38, so older versions basically run without page flipping anyway.
I tried to reproduce the issue today (after updating a few Xorg related packages that went stable since the last sync) with a camera on hand, but was only partially successful. I used some youtube videos and rapidly maximized/unmaximized them.
I can reproduce that turning off page flipping makes all the mentioned problems go away.
But now I tend to get more of a lockup instead of glitching.
When compositing is off (via kwinrc and xorg.conf) I get a screen similar to a kernel panic (without the keyboard LEDs blinking, though) with some backtrace information. The computer locks up completely and has to be rebooted hard. I have photos of a few lockup events, the text of the backtrace is rather blurry and cut off in some instances, but I can upload the images if someone can make use of them.
With compositing enabled, I sometimes get a straight lockup like without compositing, but in other instances I get an amalgam of several windows (plus command line). I'll either attach screen photos or upload and link them here.
I did find some bug reports on the X.org bug tracker that look kinda similar, so they may or may not be related. So maybe taking my problem to them is the way to go. In any case, aynone who can make something of this is welcome to say so.
Created attachment 266901 [details]
glitched firefox window with compositing enabled
firefox window with command line rendered in place of the flash video and gkrellm (at left margin)
Created attachment 266903 [details]
command line rendered instead of normal background, compositing enabled
after switching from the command line back to X, this is rendered; note the cursor (still responsive) and the corruption near the top after the cursor moved there
Created attachment 266905 [details]
logout screen with glitching, compositing enabled
gkrellm (left margin) and panel (bottom) overlap the K menu.
There was no flickering to be seen like at the time of my initial posting, however.
I have same effect here with Radeon HD3200. When playing video fullscreen via some GUI API (mplayer from command-line works without problems), any attempt to exit fullscreen results in black screen with just mouse cursor and no possibility to do anything.
How should I disable "EnablePageFlip" in xorg.conf? I have no Device section right now for graphics, as it was not needed since some time. I will test with it disabled gladly.
My device section looks like this (I played a bit with Color tiling, but that didn't do any good anyway). Don't exactly know if all the bits are necessary nowadays, I could try running X without the xorg.conf (probably not before sunday).
Option "AccelMethod" "EXA"
Option "ColorTiling" "off"
Option "EnablePageFlip" "off"
# Option "EnablePageFlip" "on"
I confirm - disabling pageflip here solved all the issues.
running without xorg.conf enables it - I had no xorg.conf before, and problems were as I've described.
(don't know if those overlayed ones are important).
the problem disappears. Fixed upstream than?
Problem still persists for me. With the versions mentioned in Comment #9 I still get corruption on flash videos.
I didn't check mplayer with earlier versions, but currently I see no issues using it (smplayer in my case).
Actually, display corruption already occurs during startup of firefox. In the top left corner a square with the background image of kdm is visible for a moment.
On another note, Newerwinter Nights also does a good job of crashing X. It hangs on the level loading screen (monitor going to standby every few seconds) and has to be killed. The display recovers after the first time, but generally after the second time the machine locks up completely, no reaction to input.
If additional debugging info is needed, I can go and set up an ssh server to try and access the system remotely after it crashes. But it would be nice to know what info is needed/useful.
Please open a bug at freedesktop.org and post the url back here
My problems hits again. So my assumptions in last comment were wrong - not fixed for me either.
It looks like I've found a solution on the xorg bugtracker.
The attachment ( https://bugs.freedesktop.org/attachment.cgi?id=44749 ) mentioned in https://bugs.freedesktop.org/show_bug.cgi?id=35452 seems to solve my issues as far as I can see, applied against xorg-server-18.104.22.1681.
I still have some small glitches, but they are only short-lived and probably a different issue, anyway.
I haven't found the proposed patch in the freedesktop git repository. Maybe we need to cherry-pick the patch until it or an equivalent replacement is incorporated?
Also, sorry for taking so long to respond, was busy with non-computer stuff ... :-)
Added the bug report from freedesktop bugzilla to URL.
CCing x11 herd, since the patch regards xorg-xserver.
Looks like this was fixed years ago.