Bug 19484 - corruption in Dolphin when moving the mouse
Summary: corruption in Dolphin when moving the mouse
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R100 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 11:09 UTC by Mikko C.
Modified: 2019-09-18 18:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (1.24 KB, text/plain)
2009-01-09 11:09 UTC, Mikko C.
Details
Xorg.0.log (40.40 KB, text/plain)
2009-01-09 11:09 UTC, Mikko C.
Details
Small corruption with "RenderAccel" "false" (35.79 KB, image/png)
2009-01-09 11:50 UTC, Mikko C.
Details
Corruption with "AccelDFS" "off" and "RenderAccel" "true" (43.83 KB, image/png)
2009-01-09 13:53 UTC, Mikko C.
Details
corruption with xorg-server git master (53.51 KB, image/png)
2009-05-09 13:07 UTC, Mikko C.
Details
Xorg.0.log with git master (36.80 KB, text/plain)
2009-05-09 13:08 UTC, Mikko C.
Details

Description Mikko C. 2009-01-09 11:09:21 UTC
Created attachment 21839 [details]
xorg.conf

Since a couple months I've been having this issue with KDE 4.
When I move the mouse in Dolphin, hovering over the icons, very often I get similar corruption: http://i40.tinypic.com/2ury1vk.png

Composite and AIGLX are disabled, so no desktop effects.
EXA is enabled.

Setup:
xorg-server-1.5.3 from gentoo with EXA patches
xf86-video-ati from git
mesa from git
drm from git

Card is Mobility Radeon X1400.
Comment 1 Mikko C. 2009-01-09 11:09:54 UTC
Created attachment 21840 [details]
Xorg.0.log
Comment 2 Alex Deucher 2009-01-09 11:32:00 UTC
Does disabling the DRI (Option "DRI" "false") or disabling render accel (Option "RenderAccel" "false") fix it?
Comment 3 Mikko C. 2009-01-09 11:50:21 UTC
Created attachment 21841 [details]
Small corruption with "RenderAccel" "false"

I tried Option          "RenderAccel" "false"
And the corruption is almost gone: there's still a minor corruption on the icon that is selected.

Disabling RenderAccel makes X use lots of cpu for simple operations such as scrolling, so this shouldn't be a real solution.

Should I still try disabling DRI?
Comment 4 Alex Deucher 2009-01-09 12:16:23 UTC
the remaining corruption is probably DFS related.  try Option "AccelDFS" "off"
See bug 18397
Comment 5 Alex Deucher 2009-01-09 12:19:48 UTC
(In reply to comment #3)
> Created an attachment (id=21841) [details]
> Small corruption with "RenderAccel" "false"
> 
> I tried Option          "RenderAccel" "false"
> And the corruption is almost gone: there's still a minor corruption on the icon
> that is selected.

Can you try with renderaccel enabled and DFS disabled?

> 
> Disabling RenderAccel makes X use lots of cpu for simple operations such as
> scrolling, so this shouldn't be a real solution.
> 

Right.  the trick is to find out what the app is doing that's broken.

> Should I still try disabling DRI?
> 

No, it looks like it's render and/or dfs related.
Comment 6 Mikko C. 2009-01-09 13:53:39 UTC
Created attachment 21844 [details]
Corruption with "AccelDFS" "off" and "RenderAccel" "true"

With "AccelDFS" "off" and "RenderAccel" "true" the corruption is different but much much more easier to reproduce than with "RenderAccel" "false".
Comment 7 Mikko C. 2009-02-26 11:49:31 UTC
This is still very noticeable with:

Xorg server 1.6.0
Mesa from git
xf86-video-ati from git
drm from git
kde 4.3 from svn

All packages updated today.
Comment 8 Alex Deucher 2009-02-26 12:13:05 UTC
Can you try:
Option "DRI" "FALSE"
just to cover all the bases.
Comment 9 Mikko C. 2009-02-27 01:25:41 UTC
I can confirm that disabling DRI solves this issue completely.
Comment 10 Michel Dänzer 2009-02-27 07:08:13 UTC
The AccelDFS issue is tracked in another report.

With DRI and RenderAccel enabled, does either of

    Option "ExaNoUploadToScreen"

or

    Option "ExaOptimizeMigration" "off"

work around the bigger problem?
Comment 11 Mikko C. 2009-02-27 08:28:03 UTC
Option "ExaNoUploadToScreen" does not solve the issue.
Instead, Option "ExaOptimizeMigration" "off" does solve it.
What's the drawback in disabling this?
Comment 12 Mikko C. 2009-02-27 08:31:57 UTC
Oh by the way, I just noticed that the exact same bug happens with my brother's PC:

01:05.0 VGA compatible controller: ATI Technologies Inc RS690 [Radeon X1200 Series]

But he's using RadeonHD. So it must be some common code between radeon and radeonhd.
Comment 13 Michel Dänzer 2009-02-28 03:38:22 UTC
(In reply to comment #11)
> Instead, Option "ExaOptimizeMigration" "off" does solve it.
> What's the drawback in disabling this?

Potentially lower performance due to more pixmap migration overhead in some cases.

(In reply to comment #12)
> But he's using RadeonHD. So it must be some common code between radeon and
> radeonhd.

The acceleration code in both drivers is related, but this bug could even be in the EXA core. It could be related to bug 19940 and bug 16416.
Comment 14 Mikko C. 2009-02-28 04:47:26 UTC
So I'm guessing there's no real solution yet? Beside disabling that option.
Should I close this bug?
Comment 15 Michel Dänzer 2009-02-28 05:06:29 UTC
(In reply to comment #14)
> Should I close this bug?

Not until the bug has been found and fixed.
Comment 16 Michel Dänzer 2009-05-09 10:53:24 UTC
I'm having a hard time reproducing this with EXA from current upstream xserver Git. Can you try that?
Comment 17 Mikko C. 2009-05-09 11:12:32 UTC
I can still reproduce this very easily with xorg-server 1.6.1
I'll try with git master, hopefully it won't break anything else :)
Comment 18 Mikko C. 2009-05-09 13:07:21 UTC
Created attachment 25674 [details]
corruption with xorg-server git master

Still present with xorg-server master :(
The corruption is slightly different though:

- in the first case it should show only directories, but instead it shows some files from my home
- in the second case it shows gray rectangles (instead of black ones)

I will attach Xorg.0.log
Comment 19 Mikko C. 2009-05-09 13:08:17 UTC
Created attachment 25675 [details]
Xorg.0.log with git master
Comment 20 Adam Jackson 2009-08-24 12:31:40 UTC
Mass version move, cvs -> git
Comment 21 Michel Dänzer 2011-05-30 08:03:57 UTC
Actually, the Git master log file shows the Composite extension being enabled, so this might be bug 22566.
Comment 22 GitLab Migration User 2019-09-18 18:39:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/268.


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.