Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange screen corruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kilua
n00b
n00b


Joined: 22 May 2006
Posts: 17

PostPosted: Sun Feb 20, 2011 8:47 pm    Post subject: Strange screen corruption Reply with quote

Recently I noticed that when I started emacs, the screen would be corrupted (as if the screen was divided in small rectangles and then spread all over with some increasing offset). Then realized that the same problem appears with other applications too (xdvi, xv, xeyes...), but not with others (firefox, vlc, eog, acroread, ...). So far I have no idea as to where this problem may be coming from and any idea is appreciated.

This is a new installation (x86) on a laptop that has been used and there are no signs of malfunction. It is a Dell Inspiron 6400 with a Radeon Mobility X1400 video card.

The screen corruption appears immediately as soon as the program starts. My impression is that this is not a "very deep" corruption case because I am able to switch to a text screen and, restarting xdm, recover the graphic screen.

Program versions:
sys-kernel/gentoo-sources-2.6.36-r5
x11-base/xorg-server-1.9.4
x11-drivers/xf86-video-ati-6.14.0
app-editors/emacs-23.2-r2
x11-apps/xeyes-1.1.1

An additional experiment was to compile xeyes by hand, using the same tarball from the distfiles. There is an option --with-xrender: if I use it (default when compiling with the ebuild), starting the program corrupts the screen. If I compile --without-xrender, the program runs without any problem. I doubt that libXrender is the culprit since that library is also used by many of the programs that are running well.
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Sun Feb 20, 2011 9:50 pm    Post subject: Reply with quote

What desktop environment are you using? Are you using desktop effects?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
kilua
n00b
n00b


Joined: 22 May 2006
Posts: 17

PostPosted: Sun Feb 20, 2011 10:04 pm    Post subject: Reply with quote

Sorry forgot to mention: gnome-base/gnome-2.30.2-r1 (the profile is default/linux/x86/10.0/desktop/gnome) and no effects.
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Sun Feb 20, 2011 10:30 pm    Post subject: Reply with quote

So, you're using Metacity as window manager?

What graphics driver do you use for your Radeon card, fglrx or xf86-video-ati (I see, you listed the latter one, so I assume it is that one)?

Do you use an /etc/X11/xorg.conf, or do you use X.org autoconfiguration?

What's the output of eselect mesa list?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
kilua
n00b
n00b


Joined: 22 May 2006
Posts: 17

PostPosted: Sun Feb 20, 2011 10:42 pm    Post subject: Reply with quote

Yes, the window manager is x11-wm/metacity-2.30.3 and the video driver is xf86-video-ati.

I don't use xorg.conf (so it is autoconfigured), and have only one entry in xorg.conf.d with the options of the synaptics driver (x11-drivers/xf86-input-synaptics-1.3.0).

Code:

$ eselect mesa list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
r600 (Radeon R600-R700, Evergreen)
  [1]   classic *
  [2]   gallium
sw (Software renderer)
  [1]   classic
  [2]   gallium *
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Sun Feb 20, 2011 11:12 pm    Post subject: Reply with quote

Hm, very strange … How about downgrading your X.org components, just to see? For example try xorg-server-1.8.x or an earlier version of xf86-video-ati. This has helped in many cases.

Also, you might want to set up a minimal xorg.conf where you disable DRI and set something like XAA for 2D acceleration.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
kilua
n00b
n00b


Joined: 22 May 2006
Posts: 17

PostPosted: Sun Feb 20, 2011 11:50 pm    Post subject: Reply with quote

You are right! downgrading the video driver (x11-drivers/xf86-video-ati-6.13.2) seems to have fixed the corruption issue.

Thanks a lot!

By the way, do you think that I should file this apparent regression to bugs.gentoo.org?
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Mon Feb 21, 2011 8:43 am    Post subject: Reply with quote

Yes, you should report it. But you should carefully look for similar bug reports. That's the problem with X.org related bug reports: to know if two bugs are actually the same.

Anyway, if in doubt, do open a new one, and maybe try to explain what is different in regard to others.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum