Bug 13109

Summary: EXA and KDE apps doesn't work well with xcompmgr
Product: xorg Reporter: Andrew Randrianasulu <randrik>
Component: Server/Acceleration/EXAAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
xorg.0.log
none
Black areas inside window
none
No text/icons inside window
none
compressed Xorg.log none

Description Andrew Randrianasulu 2007-11-06 03:38:14 UTC
I'm running X server from git master (58332894c061ae96d6a457f65266660f5f65e88b).
xf86-video-ati (aaafc6a8f33d4736c37c43d3fd5e43085a2590fb).
pixman - f1f52ae4b1b2cca27104c1210625356084baf2f8
kdebase-3.5.6
qt-3.3.7-i486-1_slack11.0

Videocard:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550] (prog-if 00 [VGA])

01:00.0 0300: 1002:4153 (prog-if 00 [VGA])
        Subsystem: 1458:4050
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at c800 [size=256]
        Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at dfec0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2

I have strange semi-random (but always repeatable after some time) screen corruption: in KDE application's save/open dialogs, menus, small application windows text/icons sometimes lost. Area inside window may be filled with solid black color, or grey color (my default color scheme). 

Steps to reproduce:
1. Launch X server (from git master), configured for EXA acceleration.
2. Launch minimalistic WM (fluxbox).
3. Launch xcompmgr -c&
4. Run any kde application.
5. Try to use Open/Save dialogs. Bug will be there.

kompmgr and e 0.16.8.x's built-in compositor also affected.
Comment 1 Andrew Randrianasulu 2007-11-06 03:39:14 UTC
Created attachment 12366 [details]
xorg.conf
Comment 2 Andrew Randrianasulu 2007-11-06 03:40:12 UTC
Created attachment 12367 [details]
xorg.0.log
Comment 3 Andrew Randrianasulu 2007-11-06 03:42:00 UTC
Created attachment 12368 [details]
Black areas inside window
Comment 4 Andrew Randrianasulu 2007-11-06 03:42:55 UTC
Created attachment 12369 [details]
No text/icons inside window
Comment 5 Michel Dänzer 2007-11-06 03:51:37 UTC
Why are you using Option "EXANoDownloadFromScreen" and Option  "EXANoUploadToScreen"? Do these problems occur without them? If so, please try the patches from bug 12916.
Comment 6 Andrew Randrianasulu 2007-11-06 04:18:06 UTC
(In reply to comment #5)
> Why are you using Option "EXANoDownloadFromScreen" and Option 
> "EXANoUploadToScreen"? Do these problems occur without them? If so, please try
> the patches from bug 12916.
> 

Yes, i disabled almost all EXA functions for testing. Bug was present without options. Will try your patch (from 12916) in few hours (as fast as my machine can recompile xserver). Thanks!
Comment 7 Andrew Randrianasulu 2007-11-06 05:31:46 UTC
Yes, patch from bug 12916 really help. No more disappear/black icons/areas/texts. Now I have exa debug enabled and seeing some lines like this: 

EXA fallback at ExaCheckComposite: from picts 0x8479e68/(nil) to pict 0x8479540

This "nil" thing is normal?
Comment 8 Andrew Randrianasulu 2007-11-06 05:32:44 UTC
Created attachment 12371 [details]
compressed Xorg.log
Comment 9 Michel Dänzer 2007-11-06 06:39:43 UTC
(In reply to comment #7)
> Yes, patch from bug 12916 really help. No more disappear/black
> icons/areas/texts.

So this report can be resolved as a duplicate?


> EXA fallback at ExaCheckComposite: from picts 0x8479e68/(nil) to pict 0x8479540
> 
> This "nil" thing is normal?

Yes, it's a NULL pointer - the mask is optional.
Comment 10 Andrew Randrianasulu 2007-11-06 06:50:01 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > Yes, patch from bug 12916 really help. No more disappear/black
> > icons/areas/texts.
> 
> So this report can be resolved as a duplicate?

I'll watch for 12916 progress. Sorry for this.

*** This bug has been marked as a duplicate of bug 12916 ***

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.