Bug 21592 - Some screen elements get garbaged after Linux virtual console swtiching (Intel driver, 945 GM card, AIGLX/Compiz)
Summary: Some screen elements get garbaged after Linux virtual console swtiching (Inte...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium minor
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-05-06 06:11 UTC by Tamás Németh
Modified: 2009-10-15 12:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
My desktop in its normal state (122.59 KB, image/jpeg)
2009-05-06 06:11 UTC, Tamás Németh
no flags Details
My garbaged desktop after virtual terminal switching (121.96 KB, image/jpeg)
2009-05-06 06:12 UTC, Tamás Németh
no flags Details
My xorg.conf (7.10 KB, text/plain)
2009-05-06 06:13 UTC, Tamás Németh
no flags Details
Xorg.0.log (34.02 KB, text/plain)
2009-05-06 22:47 UTC, Tamás Németh
no flags Details

Description Tamás Németh 2009-05-06 06:11:10 UTC
I'm using X.Org server 1.5.2 from the 64 bit openSUSE 11.1 distribution. Environment is KDE 4.2.2 (probably irrelevant), window manager is compiz-fusion with AIGLX. When I change to anothe LInux virtual terminal (Ctrl+Alt+F1 for example) and then back to tty7 with the X server, some pixmaps get garbaged, for example the "cube caps" and window preview border glows (see the attached images). Reloading compiz solves the problem, but it's a bit annoying, since I have to reload it after every suspend/resume cycle.
Comment 1 Tamás Németh 2009-05-06 06:11:49 UTC
Created attachment 25543 [details]
My desktop in its normal state
Comment 2 Tamás Németh 2009-05-06 06:12:27 UTC
Created attachment 25544 [details]
My garbaged desktop after virtual terminal switching
Comment 3 Tamás Németh 2009-05-06 06:13:12 UTC
Created attachment 25545 [details]
My xorg.conf
Comment 4 Gordon Jin 2009-05-06 19:15:46 UTC
Please attach Xorg.0.log.
Comment 5 Tamás Németh 2009-05-06 22:47:55 UTC
Created attachment 25581 [details]
Xorg.0.log

(In reply to comment #4)
> Please attach Xorg.0.log.
> 

Here it is. I must also notice that this kind of pixmap garbaging doesn't only happen on virtual terminal switching, but also when I start an application with hardware 3D acceleration (e.g. xmoto, Google Earth)


I observerd another problem. Originally it wasn't reported as an Intel driver issue, but please take a look at it. Isn't it an Intel driver issue in my case:

https://bugs.freedesktop.org/show_bug.cgi?id=20898#c3
Comment 6 Tamás Németh 2009-05-11 06:26:39 UTC
Some additional info (regarding the drm kernel driver):

I'm using the standard 64 bit openSUSE 11.1 kernel:

milleniumfalcon:~ # uname -r
2.6.27.21-0.1-default

And I'm seeing these messages in dmesg:

milleniumfalcon:~ # dmesg | fgrep i915
[drm] Initialized i915 1.6.0 20060119 on minor 0
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm] Initialized i915 1.6.0 20060119 on minor 0
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5

In addition when DRI is enabled (thus drm and i915 kernel modules are loaded) then, during X server restart, when a text console appears for a moment (wich is normal), this text console ALWAYS has some colorful visual garbage. This visual garbage is an approximately 1,5 cm wide horizontal stripe of randomly coloured pixels from approximately 2 cm from the top of the screen.

Moreover, when DRI is enabled and compiz uses it via AIGLX, SOMETIMES (mainly during returning from suspend), the X server crashes. After this crash, the X.org server restarts and I can use it, but all the character virtual terminals become unusable: The character VTs are full of narrow blue vertical lines (like a barcode) on a black background, also showing an X mouse pointer. I have to restart the machine in order to be able to use the character virtul terminals.
Comment 7 Eric Anholt 2009-07-13 10:36:26 UTC
Please try with kernel 2.6.30 or newer, Mesa 7.5rc or master, server 1.6, and xf86-video-intel 2.7.1 or newer.  You're using EXA and DRI1 and non-GEM, which are a really bad idea for use with compiz.

Comment 8 Eric Anholt 2009-09-25 11:26:57 UTC
Closing due to feedback timeout.  If you still have the problem with current components, please reopen.
Comment 9 Tamás Németh 2009-10-15 12:10:40 UTC
(In reply to comment #7)
> Please try with kernel 2.6.30 or newer, Mesa 7.5rc or master, server 1.6, and
> xf86-video-intel 2.7.1 or newer.  You're using EXA and DRI1 and non-GEM, which
> are a really bad idea for use with compiz.
> 

OK, this can be left closed. Finally I was able to install openSUSE 11.2 MI8, and I observed that all these issues are gone. The new Intel driver performs extremely well.

My only problem with thas system is this:

https://bugzilla.novell.com/show_bug.cgi?id=546628


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.