Bug 19940

Summary: a slight problem with EXA
Product: xorg Reporter: Rafał Mużyło <galtgendo>
Component: Server/Acceleration/EXAAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: remi
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Same screenshot as in wine's bugzilla none

Description Rafał Mużyło 2009-02-03 16:14:29 UTC
I don't see a direct duplicate of my problem,
so, to not repeat myself, I'll simply put
2 urls with my bugs in wine and Gentoo bugzillas:

http://bugs.winehq.org/show_bug.cgi?id=17000
http://bugs.gentoo.org/show_bug.cgi?id=257264
Comment 1 Michel Dänzer 2009-02-04 00:50:50 UTC
Sorry, but you need to provide all the relevant information here directly; also, one report per bug please.
Comment 2 Rafał Mużyło 2009-02-04 09:08:36 UTC
Of all the reasons to complain, really...
And that's one bug, unless you count that hang too.

So:
xorg-server 1.5.3 with a lot of git patches (Gentoo r1)
xf86-video-ati 6.10.0 (but yesterday git too)
EXA
(may not be relevant) Composite and xcompmgr

Slight display corruption visible in wine's regedit after
expanding and collapsing a few branches in the treeview.
Comment 3 Rafał Mużyło 2009-02-04 09:09:50 UTC
Section "Device"
        Identifier  "open-radeon"
        Driver      "radeon"
        Option          "GARTSize" "64"
        #Option      "AGPMode" "4"
        #Option      "MergedFB" "true"
        Option          "EnablePageFlip" "true"
        Option          "AccelDFS" "true"
        Option          "VGAAccess" "off"
        Option          "DDCMode" "true"
        Option          "AccelMethod" "EXA"
EndSection
Comment 4 Rémi Cardona 2009-02-04 13:01:28 UTC
Rafał, please attach the screenshot here. It'll make things easier for everyone.

Thanks
Comment 5 Rafał Mużyło 2009-02-04 15:53:07 UTC
Created attachment 22593 [details]
Same screenshot as in wine's bugzilla
Comment 6 Michel Dänzer 2009-02-05 00:33:23 UTC
(In reply to comment #2)
> Of all the reasons to complain, really...

Very funny... do you have any idea how much time I've wasted chasing information externally that should have been here in the first place? Not to mention that external links tend to stop working after some time.


> xorg-server 1.5.3 with a lot of git patches (Gentoo r1)

How up to date are those patches with EXA in xserver Git?


(In reply to comment #3)
>         Option          "AccelDFS" "true"

Does it happen without this option?

If so, does

    Option "EXAOptimizeMigration" "off"

work around the problem?

If neither of these help, it might be useful to get some information about what kind of rendering operations Wine uses for the affected elements.
Comment 7 Rémi Cardona 2009-02-05 01:09:04 UTC
(In reply to comment #6)
> How up to date are those patches with EXA in xserver Git?

I'm only missing the devPrivates change, the _X_EXPORT stuff from Paulo and the "NEED_EVENT" clean-up patch. All the other patches that touch exa/ are in our patchset.

And if it's any help, with the same xorg-server, I can't reproduce with the intel driver on an 855GM.

Thanks
Comment 8 Rafał Mużyło 2009-02-05 09:22:53 UTC
Well, bugzillas do reference each other across projects.

And, as I already mentioned, AccelDFS option doesn't seem to make
a difference. EXAOptimizeMigration, however, does. With it off,
problem looks fixed.
Comment 9 Rafał Mużyło 2009-02-06 00:17:33 UTC
On unrelated note: you should consider changing that
automake rule from 'git-log' to 'git log' as those hardlinks
are already moved from PATH and are planned to be removed eventually.
Comment 10 Rafał Mużyło 2009-02-23 04:30:47 UTC
Well, 6.11.0 didn't fix this.
The question here is: as EXAOptimizeMigration is a server option,
maybe this bug should be reassigned to xserver.
Or is this already fixed in xorg-server git and Gentoo needs to
pick up a few more patches ?
Comment 11 Michel Dänzer 2009-02-24 03:33:18 UTC
(In reply to comment #10)
> Or is this already fixed in xorg-server git and Gentoo needs to
> pick up a few more patches ?

I'm afraid it's unlikely, but if you could try...
Comment 12 Rafał Mużyło 2009-02-28 17:10:03 UTC
An update: no change with xorg-server 1.6.0.
Comment 13 Rafał Mużyło 2009-05-05 06:32:13 UTC
Just to show I still remember:
xorg-server 1.6.1 and xf86-video-ati 6.12.2 - no change.
Comment 14 Michel Dänzer 2009-05-09 10:53:25 UTC
I'm having a hard time reproducing this with EXA from current upstream xserver Git. Can you try that?
Comment 15 Rafał Mużyło 2009-05-09 16:43:07 UTC
Do you mean "EXA: Handle separate alpha maps properly in Composite fallback, take two" commit ?
Sounds promising, it may be a compositing problem.
I'll try to test it in the near future.

Comment 16 Rafał Mużyło 2009-05-16 17:43:27 UTC
Well, either it's a different commit,
or those fixes are in master only, not in 1.6-branch.
And I'm bit wary of diving into master,
it's hard to tell what needs to be upgraded besides the server
and going into pure git for everything is bit too much.
Comment 17 Rafał Mużyło 2009-12-08 17:24:28 UTC
Sorry for not answering earlier.

Right now I'm on xorg-server 1.7.3
and unless default EXAOptimizeMigration value has changed,
it seems fixed now.
Comment 18 Michel Dänzer 2009-12-09 00:36:16 UTC
(In reply to comment #17)
> Right now I'm on xorg-server 1.7.3 and unless default EXAOptimizeMigration
> value has changed, it seems fixed now.

It should still/again be enabled by default. If you're in doubt you could try enabling it explicitly and check in the log file that it is recognized.

For now assuming it's fixed, thanks for the followup.

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.