Bug 738398

Summary: Images and icons are rendered wrong
Product: [openSUSE] openSUSE 12.1 Reporter: Dmitry Ashkadov <dmitry.ashkadov>
Component: OtherAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: lashkevi
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Okular
Thunderbird (01)
Thunderbird (02)
Skype (black avatar, sometimes white)
Kwin: Alt+Tab effect
Thunderbird: many buttons haven't icons
An example of black icons after hibernation/resume
Here are transparent icons.
...and black scroll bar.

Description Dmitry Ashkadov 2011-12-23 07:21:42 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0

When I start any application, it usually draws icons/images good (without problems). But after some time I notice that this application draws some icons/images wrong.
For example, I open PDF document in Ocular. I maximaze its window (screen resolution is 1920x1024). Using PageDown I switch to next page, then next page and next. All is good, but then I see pages black pages. Resizing okular window can help, but maximazing cause black page again.
I saw problems in many application (see attachments, please): okular, gwenview, dolphin, Kwin effects, Thunderbird, Skype and so on.

*** Sorry, for my bad English 

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Dmitry Ashkadov 2011-12-23 07:22:14 UTC
Created attachment 468799 [details]
Okular
Comment 2 Dmitry Ashkadov 2011-12-23 07:22:53 UTC
Created attachment 468800 [details]
Thunderbird (01)
Comment 3 Dmitry Ashkadov 2011-12-23 07:23:16 UTC
Created attachment 468801 [details]
Thunderbird (02)
Comment 4 Dmitry Ashkadov 2011-12-23 07:24:17 UTC
Created attachment 468802 [details]
Skype (black avatar, sometimes white)
Comment 5 Dmitry Ashkadov 2011-12-23 07:24:47 UTC
Created attachment 468803 [details]
Kwin: Alt+Tab effect
Comment 6 Dmitry Ashkadov 2011-12-23 07:28:16 UTC
Okular shows black pages
Thunderbird doesn't show icons or shows only parts of icons
Firefox shows black images or black parts of images
Skype shows black or white avatars
KWin Alt+Tab effect shows parts of windows
Comment 7 Dmitry Ashkadov 2011-12-23 07:30:56 UTC
Gwenview doesn't show some icons and may show images wrong (parts of images) or redraws images wrong when I try to zoom in/out it.
Comment 8 Dmitry Ashkadov 2011-12-26 09:08:50 UTC
Created attachment 468928 [details]
Thunderbird: many buttons haven't icons
Comment 9 Dmitry Ashkadov 2012-02-03 07:39:43 UTC
This problem occurs on two my laptops.
Comment 10 Michael Lashkevich 2012-03-24 18:45:22 UTC
I have the same problem under KDE3 after hibernation/resume. Some icons turn black or disappear, with the tendency to increase after multiple hibernation. Other elements turn black under XFCE. While trying to get rid of it I tried to switch the kernel (from "desktop" to "default"), to ensure that every library is from the native OpenSUSE repository, to upgrade XOorg from X11:/Xorg repository... I have spent two days but to no avail. This fault only appeared after the upgrade to 12.1. I am afraid it is related to the kernel Intel graphics card driver, because simultaneously the bootsplash (even verbose) does not work.
Comment 11 Michael Lashkevich 2012-03-24 18:52:32 UTC
Created attachment 483061 [details]
An example of black icons after hibernation/resume

This is an example of blackened icons. Besides, some transparent (invisible) icons appear after hibernate/resume, like described by Dmitry, especially in Thunderbird.
Comment 12 Michael Lashkevich 2012-03-25 08:06:53 UTC
Created attachment 483068 [details]
Here are transparent icons.
Comment 13 Michael Lashkevich 2012-03-25 08:08:13 UTC
Created attachment 483069 [details]
...and black scroll bar.
Comment 14 Dmitry Ashkadov 2012-03-26 10:31:18 UTC
This problem appears after high loading of CPU.
Comment 15 Michael Lashkevich 2012-03-29 08:42:15 UTC
I found that this takes place even after the screensaver (kdesktop_lock from KDE3 in my case) launches.
Comment 16 Michael Lashkevich 2012-03-30 18:18:15 UTC
I found that this problem appears in my case with the "intel" xorg driver. As a workaround I am trying the "fbdev" driver (though it has some visual problems with the pointer an it is not easy to get it back to the screen after resume with the i915 KMS module used on my laptop).
Comment 17 Dmitry Ashkadov 2012-03-30 19:06:56 UTC
(In reply to comment #16)
> I found that this problem appears in my case with the "intel" xorg driver. As a
> workaround I am trying the "fbdev" driver .

Hello! There are 2 intel drivers available: intel & intellegacy (second is shiped in a separate package xorg-x11-driver-video-intel-legacy). Did you try switch to legacy intel driver?
Comment 18 Michael Lashkevich 2012-04-05 15:22:02 UTC
(In reply to comment #17)
> Hello! There are 2 intel drivers available: intel & intellegacy (second is
> shiped in a separate package xorg-x11-driver-video-intel-legacy). Did you try
> switch to legacy intel driver?

I tried (in both KMS and non-KMS modes), but it crashes every time I launch firefox or thunderbird.

By the way, I tried the "intel" driver with the "Shadow" option enabled. The icons are rendered correctly, but this option spoils some other application (video players and those that use OpenGL).
Comment 19 Michael Lashkevich 2012-04-06 18:43:22 UTC
I downgraded the "intel" driver by installing the version 2.17.0 from the repository "home:aevseev". It seems to work nicely! I have found no corrupted icons after hibernation.

Note that the "home:aevseev" repository contains other drivers as well, but as separate packages (xorg-x11-driver-video-*) instead of a united package of the official distribution (xorg-x11-driver-video). Besides, no other libraries were affected by the package substitution, so that the bug is possessed by the very "intel" driver.
Comment 20 Michael Lashkevich 2012-04-07 16:48:09 UTC
Unfortunately, I was too optimistic. The corruption returned after several hibernations.
Comment 21 Michael Lashkevich 2012-04-09 08:39:19 UTC
Dmitry, I have been using "xorg-x11-driver-video-intel" from another repository, "home:scalpel4k", for two days, hibernating the computer many times, and it works! No corrupted icons!
Comment 22 Dmitry Ashkadov 2014-09-26 15:55:14 UTC
It seems it may be closed.
Comment 23 Stefan Dirsch 2015-01-07 14:38:56 UTC
Product is no longer supported. In case the issue is still reproducable on a maintainerd product (at that momement: openSUSE 13.1 or later), feel free to reopen.