Red Hat Bugzilla – Bug 463023
scrolling in gnome-terminal causes flickering of the whole screen
Last modified: 2010-04-20 11:31:01 EDT
Created attachment 317292 [details]
Description of problem:
Scrolling text in gnome-terminal causes annoying flickering of the whole desktop. It's like if the whole picture moves a few pixels down, some additional black stripes appear randomly and then the screen is redrawn correctly. All of this happens in a small fraction of a second.
Version-Release number of selected component (if applicable):
I can reproduce it at will.
Steps to Reproduce:
1. Run gnome-terminal
2. vim some_long_text_file
3. hold the down or up arrow to scroll the text
About once every second the visible flicker occurs.
Scrolling in gnome-terminal should not have any effect outside of the window.
I have a Toshiba laptop with an ATI chip:
01:05.0 VGA compatible controller : ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f]
I do not have an xorg.conf, I let X autodetect everything.
While experimenting with this bug I discovered that it only happens with (the default) EXA acceleration method. Adding a xorg.conf with 'Option "AccelMethod" "XAA"' makes the bug go away.
Behdad, any thoughts? Or is it just pure our mess?
Sounds like X issues. Very unlikely to be g-t.
I downloaded and installed an older version of the driver from Koji: xorg-x11-drv-ati-6.8.0-19.fc10.x86_64
The older version defaults to XAA, but when forced to use EXA with 'Option "AccelMethod" "EXA"', the same flickering happens.
And what about other way around? Using the latest -ati driver and put "AccelMethod" "XAA" into xorg.conf?
I wrote that in the original report. With the current driver version 'Option "AccelMethod""XAA"' makes the bug go away.
So no matter whether I use the old or the new driver version, EXA always flickers, XAA never does.
Still reproducible with xorg-x11-drv-ati-6.9.0-25.fc10.x86_64.
The flickering effect is best observed when cpufreq is set to a lower frequency (in my case 800 MHz). With the CPU running at full speed (2 GHz), the flickering is much less visible.
Also I noticed the flickering happens with other applications besides gnome-terminal. With gnome-terminal it's just the easiest to reproduce.
On my computer (MB Asus M2A-VM with RS690), the flickering is visible only when the display is rotated to portrait mode using "xrandr -o left" AND the system is resumed from sleep mode.
After fresh boot, the flickering is barely visible. But after suspend/resume it becomes clearly noticeable and annoying even with CPU running at full 2.5 GHz.
Dmesg after wakeup shows this:
[drm] Loading RS690/RS740 Microcode
[drm] Num pipes: 1
I just noticed that once the flickering starts (after resuming the computer from suspend), killing/restarting the X server does not help. I must reboot the machine to get rid of the flickering.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
There have been bunch of bug fixes
Could you retest with the latest kernel
( -132 at the time of this writing )
You can get the latest kernel build here
And with the latest xorg-x11-drv-ati.
( -60 at the time of this writing )
You can get the latest xorg-x11-drv-ati build here
And report back if it either improves or fixes this issue..
I have kernel kernel-220.127.116.11-133 (built myself from Fedora CVS) and xorg-x11-drv-ati-6.9.0-60. The bug is still there.
Unlike Jan, I do not need to rotate the screen or suspend/resume to see the flickering. I am seeing the bug right after a fresh boot and without rotation.
Which X server build are you using?
Update to the latest in koji, Let's see if that does some wonders..
xorg-x11-server-1.5.3-5.fc10 (currently the latest) is the one in F10 GA, so I'm already running that one.
I have upgraded to xorg-x11-drv-ati-6.9.0-61.fc10 and kernel-18.104.22.168-134.fc10 and the bug is still present.
Still trivially reproducible with:
I upgraded the laptop to Rawhide. I can still reproduce the flickering as described in my original report.
seeing the same thing on a toshiba with
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]
i have tried setting accelmethod to xaa, but i still get exa, and the flickering.
The flickering is still reproducible with current Fedora 11, both with or without KMS.
There's a bit of good news: current upstream xf86-video-ati from git master is not affected. Here's a scratch build for testing:
It has serious issues with modesetting enabled, but works fine with "nomodeset".
Also reproduced here, on a Thinkpad T60 running Fedora 11, with modesetting disabled.
01:00.0 VGA compatible controller : ATI Technologies Inc M52 [Mobility Radeon X1300] [1002:7149]
I am running xorg-x11-drv-ati-6.12.2-14.fc11.i586.
The problem was gone when using 'Option "AccelMethod" "XAA"'.
I cannot reproduce this in Rawhide, with or without KMS.
With KMS the scrolling is slow and far from smooth, but no flickering happens.
I'm running F12 with fluxbox as my desktop manager and having the same problem when using gnome-terminal. I'm on all the latest updates from yum update
Here is all the relevant package info NOTE-- I'm not using an ATI card at all:
lspci -v | fpaste
yum info vim* | fpaste
yum info xorg* | grep Name | fpaste
yum info xorg* | fpaste
I fix the issue by closing all my gnome-terminals and the problem goes away immediately.
issues like these are almost certainly hardware-specific and this BZ was about ATI, so please file a new bug and attach dmesg, /var/log/Xorg.0.log, /etc/X11/xorg.conf (if you use one) to it (directly to BZ, not via fpaste). Thank you.
Created attachment 407847 [details]
Created attachment 407848 [details]
dmesg | fpaste
it doesn't seem like any of these things are producing relevant error text as the error is occuring.