[GM965] Icons on KDE plasma panel are garbled if using "greedy"

Bug #298475 reported by Patola
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

OBS.: This might be a reinstatement of BUG #252094, but since it doesn't seem to show this specific symptom, I guessed a new bug report should be opened.

I have a Thinkpad T61 with Intel Core 2 Duo cpu and Intel Mobile GM965/GL960 videoboard. When I use icons on the new Plasma KDE panel -- like the kmixer application icon or klipper, kwallet and knetworkmanager systray icons -- they appear garbled. I have added an attachment to demonstrate this.

There are 5 garbled icons on this attachment. The first, which shows a partial KDE "K", is from kmixer. The four others, which show partial numbers from the clock, are the following: klipper, knetworkmanager, kopete and kwallet.

Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid

ii xserver-xorg-video-intel 2:2.4.1-1ubuntu10 X.Org X server -- Intel i8xx, i9xx display driver

I have tried to change some stuff to get it fixed, like disabling all options for EXA on xorg.conf, disabling KDE Desktop effects and even changing to XAA instead of EXA. The former didn't change anything and the latter (changing to XAA) gave me a completely garbled, useless desktop, so I reverted back to EXA. Here is my current xorg.conf:

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us_intl"
        Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "mouse"
        Option "CorePointer"
        Option "SHMConfig" "on"
EndSection

Section "InputDevice"
        Identifier "Synaptics Touchpad"
        Driver "synaptics"
        Option "SendCoreEvents" "true"
        Option "Device" "/dev/psaux"
        Option "Protocol" "auto-dev"
        Option "HorizEdgeScroll" "0"
        Option "SHMConfig" "on"
EndSection

Section "Device"
        Identifier "Configured Video Device"
        Option "AccelMethod" "EXA"
        Option "DRI" "true"
        Option "MigrationHeuristic" "greedy"
        Option "RenderAccel" "true"
        Option "ExaNoComposite" "false"
EndSection

Section "Monitor"
        Identifier "Configured Monitor"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Synaptics Touchpad"
        Option "AIGLX" "on"
EndSection

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
     Subsystem: Lenovo Device [17aa:20b3]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
     Subsystem: Lenovo Device [17aa:20b5]

Revision history for this message
Patola (patola) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for reporting this bug. Could you please also attach the following:
- /var/log/Xorg.0.log
- output of `lspci -vvnn`

If you also have gnome installed (meta-package ubuntu-desktop), do you see anything like this if you log in there? Bug 285098 have similar garbled icons, but only related to suspend and resume and compiz. I understand that this happens always, and for any icons, right?

I'm setting this bug to "Incomplete" until you upload the attachements. Feel free to set it back to "New" once they are in place.

Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
Patola (patola) wrote : Re: [GM965] Icons on KDE plasma panel are garbled
Revision history for this message
Patola (patola) wrote :
Revision history for this message
Patola (patola) wrote :

I installed ubuntu-desktop to perform the test you asked and the icons do not appear garbled in Gnome. I even ran some of the same programs that appear garbled in KDE, e.g. liferea and kopete. Their icons appear normally.

In KDE, yes, it always happens and for any icons.

Thanks for your support!

Changed in xserver-xorg-video-intel:
status: Incomplete → New
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for including all the necessary information and for testing gnome as well. There are two things I can think of that you may try.
1. Move xorg.conf away
2. Add the line
Option "DRI" "false"
to the "Device" section of your xorg.conf
You may also try to play with the other options in the Device section that you already use in xorg.conf to see if it makes a difference.

I have similar hardware to you (Thinkpad X61 Tablet, same 965GM graphics chipset), and I don't see this problem in KDE. I compared your logs to mine, and didn't see any significant difference. I'm running intrepid-proposed, though.

Revision history for this message
Patola (patola) wrote :

Did that, just in case changed "AIGLX" to "off" and also "RenderAccel" to "false" and switched off desktop effects, then did a /etc/init.d/kdm restart so that X would get killed and respawn. The effects and acceleration were off alright but the problem with the icons remained - same stuff.

What's intrepid-proposed? Bleeding edge intrepid?

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
status: New → Confirmed
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

You also tried without a xorg.conf, right?

intrepid-proposed is where the packages that eventually go into intrepid-updates are uploaded. It is tested in intrepid-proposed for a while, and if all goes well it is moved to intrepid-updates. IIRC a bug status "Fix Committed" means that a fix has been uploaded to -proposed, while "Fix Released" means that it is now in "-updates". The "-updates" repository is enabled by default and is the normal source of updates for ubuntu.
See https://wiki.ubuntu.com/Testing/EnableProposed (not updated for intrepid yet) for some more info on -proposed and http://people.ubuntu.com/~ubuntu-archive/pending-sru.html for a list of packages that are in -proposed, but not in -updates yet.

I was triggered to enable intrepid-proposed after being bitten by bug 276990, where the fix is in -proposed, and not in -updates yet.

Revision history for this message
Patola (patola) wrote :

Hi again, Geir. Sorry to take that long. I hadn't moved the xorg.conf away at the first try, I thought I was meant only to change its settings. But now I did just that, and hence my surprise: the icons appear OK now, though I fear I have lost some of my optimizations (like MigrationHeuristic Greedy). The desktop effects seem to be working just fine, I couldn't notice any difference but then again I'm just starting to use it like that.

I am very short on time now and for a couple days, so I am unable to change xorg.conf back and forth from setting to setting (I use my distro for all things - work, college and home stuff), but I promise to do it as soon as I can have some time. Do you have any suggestion on settings I could try and change?

Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 298475] Re: [GM965] Icons on KDE plasma panel are garbled

Hi Patola,

Since the problems went away when you removed xorg.conf, I tried to
add you options in the Device section to my xorg.conf - and then I
also saw garbled icons (not quite the same as you, but still very
garbled, see garbled-kdeicons.png attached). Playing with the options
I found that it was the MigrationHeuristic greedy option that made the
difference (this is the default in Hardy I think, but I don't know
what the default is in Intrepid).

So at first I thought it was this option that was the source of the
problems. But then I noticed that without the option, or with "always"
or "smart" instead of "greedy", I still get slightly distorted icons,
just not as pronounced as when I was using "greedy". I attach two
screenshots from without the option (default) and one each for it set
to "always" and "smart". In the "always" screenshot the power/battery
icon has part of the laptop icon behind it. The "default" screenshot
has something behind the klipper icon, and the "smart" screenshot has
something behind both the klipper and volume icon. Also the background
of the volume icon is sometimes black and sometimes gray (as in
transparent, since the bar itself is dark gray).

I also attach my xorg.conf, although except from the mentioned options
the only thing that has been changed from standard is added options
for supporting the stylus of the tablet (Thinkpad X61).

Geir Ove

Revision history for this message
Patola (patola) wrote : Re: [GM965] Icons on KDE plasma panel are garbled

What I find strange about this is that it doesn't seem to be just one factor. If you change the migrationheuristics option it improves, but doesn't solve; if you login to gnome with all the options, the icons appear normally. Only if you remove xorg.conf it works gracefully.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notice.]

We'd like to forward your bug upstream, however upstream requires
that you first test it against their newer driver code.

To save you the effort of building the driver from source, we've built
packages for the driver and its new dependencies.

So you have a couple options:

 1. Download and test .debs for intrepid, from:
     https://edge.launchpad.net/~intel-gfx-testing/+archive

 -or-

 2. Download and test the Jaunty alpha-2 (or newer) Live CD,
     (which includes a beta of the new xserver 1.6 as well).
     See http://cdimage.ubuntu.com/releases/9.04/ for ISOs

Thanks ahead of time! You can simply reply to this email to report your
findings.

P.S., if you wish to forward your bug upstream yourself, please follow
these directions to do so:
  http://intellinuxgraphics.org/how_to_report_bug.html

Changed in xserver-xorg-video-intel:
status: Confirmed → Incomplete
Revision history for this message
Hansaplast (hansa) wrote :

Updating to intel-gfx-testing/ubuntu intrepid (almost) resolved the problem here.
In Gnome, except for the skype icon all other icons seem to be drawn OK.

FYI I don't make use of the MigrationHeuristic option in xorg.conf.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks; Patola please let us know your findings when you have a chance to test.

Changed in xserver-xorg-video-intel:
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-intel:
status: Incomplete → Invalid
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I have installed Jaunty, and it seems that the problem is not present anymore. Possibly, this could be related to the patch 107_fedora_dont_backfill_bg_none.patch being removed.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is happening for me with latest Jaunty as of 15-April. I *think* it only happens with qt3 apps as well; at least it doesn't happen with qt4 and GTK apps.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 298475] Re: [GM965] Icons on KDE plasma panel are garbled

Julian, I think it would be most useful if you can file a new bug,
preferably with the ubuntu-bug command (`ubuntu-bug -p
xserver-xorg-video-intel`), since that automatically will upload a lot
of useful information. Leave the bug number of this bug in the
description, and leave a comment here with the new bug number. That
way we don't get all the noise from last time and it will be much
easier to analyze. Since all of KDE, the intel driver and xorg has
received multiple upgrades since this bug was reported, I think this
will give a cleaner report.

Revision history for this message
Patola (patola) wrote : Re: [GM965] Icons on KDE plasma panel are garbled

Sorry, Bryce, for the delay in responding, got a few problems in my life. Anyway, the video drivers works correctly if and only if I don't use the MigrationHeuristics option. Is this right? If it is, yeah, the bug is resolved. Thanks and sorry again for the delay.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Patola, is this with Jaunty or Intrepid? I have tested Jaunty as of today (without any MigrationHeuristics option) and I do not have any corrupted icons in the panel anymore. Do the garbled icons appear if you add a MigrationHeuristic option? Which one(s)?

Revision history for this message
Patola (patola) wrote :

This is intrepid with the intel-video backport:

ii xserver-xorg-video-intel 2:2.5.1-1ubuntu5~intrepid X.Org X server -- Intel i8xx, i9xx display driver

With 'MigrationHeuristics "greedy"' I got not only garbled icons but occasional weird windows decorations, like the one on the screenshot attached. FYI: the icons on this screenshot are (after the battery meter): volume control, kdebluetooth (all blue), klipper (all blue), knetworkmanager (all blue), qwit (all blue), liferea (black).

Bryce Harrington (bryce)
summary: - [GM965] Icons on KDE plasma panel are garbled
+ [GM965] Icons on KDE plasma panel are garbled if using "greedy"
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks. We opted to not go with greedy for Jaunty, due to problems such as this one.

In Karmic the plan is to move to UXA, so this option will be entirely irrelevant there.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.