Bug 94331 - In Chrome many images corrupted when scaled
Summary: In Chrome many images corrupted when scaled
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 11:19 UTC by Yury Zhuravlev
Modified: 2016-10-31 23:50 UTC (History)
5 users (show)

See Also:
i915 platform: HSW
i915 features:


Attachments

Description Yury Zhuravlev 2016-02-29 11:19:58 UTC
Subj. In chromium issue tracker with screenshosts and other detail:
https://bugs.chromium.org/p/chromium/issues/detail?id=543537
https://bugs.chromium.org/p/chromium/issues/detail?id=566147

Personally, I have i7-4500U. I think is Intel driver bug because on r600 all work good. Also all users who have this problem have Intel GPUs.

DRM, xf86-video-intel from GIT with SNA and DRI3 enable.
Kernel 4.4.1.

I do not really imagine where to look to debug it. I think it breaks with the test depth when scaling the image.

Thanks.
Comment 1 Nobody 2016-02-29 19:55:29 UTC
Added i915 platform = HSW
i7-4500U = HSW
Comment 2 Yaroslav Isakov 2016-03-26 16:44:31 UTC
Same problem for xwayland + glamor from xorg-server 1.18.2
Comment 3 Yury Zhuravlev 2016-03-26 19:12:51 UTC
(In reply to Yaroslav Isakov from comment #2)
> Same problem for xwayland + glamor from xorg-server 1.18.2

Maybe something's with DRI3?
Comment 4 Steven Newbury 2016-03-28 16:05:54 UTC
Also applies to IVB.  Maybe it's not platform specific?
Comment 5 Yury Zhuravlev 2016-03-28 16:40:33 UTC
(In reply to Steven Newbury from comment #4)
> Also applies to IVB.  Maybe it's not platform specific?

Maybe. What you use? DRI3? xorg-server 1.18.x?
Comment 6 Rui Salvaterra 2016-03-29 08:31:58 UTC
I don't think this is platform specific at all. I didn't try UXA, only SNA, but I can reproduce this on basically all Intel hardware I have (ILK, IVB and HSW for sure, haven't tested on my SKL and GMA950 laptops yet) if I enable GPU rasterisation on Chrome (chrome://flags/#enable-gpu-rasterization), regardless of the DRI version. Of course, one can argue that enabling an experimental flag is asking for trouble, but my GeForce 9400M (nouveau) doesn't complain.
Comment 7 Yury Zhuravlev 2016-03-29 09:21:06 UTC
>I didn't try UXA, only SNA

I tried and nothing changed.

>but my GeForce 9400M (nouveau) doesn't complain.

I have no problem with r600 (Radeon 6670).

Somebody from Intel will pay attention?
Comment 8 Tim McBride 2016-04-06 12:02:08 UTC
Image rendering is very, very broken in Chrome running the latest i915 release. It seems to only occur when images need to be scaled (up or down). At 100% everything seems normal. 

A closer look at the issue (the images themselves) reveals that different image assets tend to be mixed together / overlayed and jumbled, even if these image assets are on other tabs!
Comment 9 Yury Zhuravlev 2016-04-06 14:20:22 UTC
(In reply to Tim McBride from comment #8)
> It seems to only occur when images need to be scaled (up or down).
> At 100% everything seems normal. 
I agree.
 
> A closer look at the issue (the images themselves) reveals that different
> image assets tend to be mixed together / overlayed and jumbled, even if
> these image assets are on other tabs!
Exactly the same behavior.


I think the problem is somewhere in Mesa.
Comment 10 Tim McBride 2016-04-07 13:02:26 UTC
(In reply to Uriy Zhuravlev from comment #9)
> (In reply to Tim McBride from comment #8)
> > It seems to only occur when images need to be scaled (up or down).
> > At 100% everything seems normal. 
> I agree.
>  
> > A closer look at the issue (the images themselves) reveals that different
> > image assets tend to be mixed together / overlayed and jumbled, even if
> > these image assets are on other tabs!
> Exactly the same behavior.
> 
> 
> I think the problem is somewhere in Mesa.

Do you still have problems when "GPU Rasterization" switched off in chrome:flags?
Comment 11 Yury Zhuravlev 2016-04-08 07:28:01 UTC
> Do you still have problems when "GPU Rasterization" switched off in
> chrome:flags?

No, of course. But then some sites terribly slow. This is not a solution.
I'll try to find some CSS usually leads to such, this will narrow search problem.
Comment 12 dnord 2016-06-08 01:56:12 UTC
>https://bugs.chromium.org/p/chromium/issues/detail?id=543537
Looks like it is finally fixed for me in Chromium 52.0.2743.24.
Comment 13 Matt Turner 2016-10-31 23:50:26 UTC
I don't know what the status of this bug is. I see that the first Chromium.org bug is Fixed and the second is marked as a duplicate. I'm going to close it, assuming it was not our bug. Please reopen if you believe there is still something wrong on our end.


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.