You are not logged in.

#1 2010-10-05 06:29:37

dcrabs
Member
From: Sweden
Registered: 2008-10-03
Posts: 149

Preview windows in KDE4.5 effects white after upgrading intel driver

Hi
Since the latest update of the intel video driver, all preview windows turn white.  It happens with grid effect, smooth tasks preview and the preview of Alt+Tab.
I have a problem on two different notebooks both with intel cards. One is a GMA X4500 the other an X3100.
It smells like a intel driver bug.
Does anybody have some suggestions?
dcrabs

Offline

#2 2010-10-05 07:26:09

stavallo
Member
Registered: 2010-05-28
Posts: 34

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

This is due to the intel driver not supporting the Lanczos filter that is being used since kde 4.5. The workaround is to blacklist your configuration, so that the Lanczos filter is disabled and you get your previews back. The upstream bug is https://bugs.kde.org/show_bug.cgi?id=243181

To blacklist your configuration, add it to .kde4/share/config/kwinrc. For example:

[Blacklist][Lanczos]
intel=Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 :-:2.1 Mesa 7.8.2

Those strings are taken from the output of glxinfo

Hope this helps

Offline

#3 2010-10-05 12:32:17

canen
Member
From: Jamaica
Registered: 2008-11-28
Posts: 35

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Setting LIBGL_ALWAYS_INDIRECT=1 actually fixed this for me. I also had random freezes which this seems to fix as well. See http://blog.martin-graesslin.com/blog/2 … n-effects/

I'm also using QT_GRAPHICSSYSTEM=raster, don't know if that makes a difference.

Offline

#4 2010-10-05 17:39:42

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Does anyone know if this issue is solved in kde 4.5.2?


Mikes on AUR

Offline

#5 2010-10-05 19:24:23

Singul
Member
Registered: 2010-03-24
Posts: 25

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Not yet sure, currently testing smile

<edit> Ok, it's not solved!

Last edited by Singul (2010-10-05 19:30:07)

Offline

#6 2010-10-06 06:46:06

dcrabs
Member
From: Sweden
Registered: 2008-10-03
Posts: 149

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Hello again

Well I tried adding the line you suggested stavallo but it doesn't change anything unfortunately. It looks fine for a split second but than I see the same white windows again. Here it looks like that:
[Blacklist][Lanczos]
Intel=Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 x86/MMX/SSE2 :-:2.1 Mesa 7.8.2

Hm but I just saw that the installed version of mesa is 7.8.3. Should that match or does it mean from that version on?

Offline

#7 2010-10-06 07:09:36

stavallo
Member
Registered: 2010-05-28
Posts: 34

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

dcrabs wrote:

Intel=Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 x86/MMX/SSE2 :-:2.1 Mesa 7.8.2

Hm but I just saw that the installed version of mesa is 7.8.3. Should that match or does it mean from that version on?

The mesa version should match too. You should look at the glxinfo output (OpenGL version string)

Offline

#8 2010-10-06 07:11:03

stavallo
Member
Registered: 2010-05-28
Posts: 34

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

mechmg93 wrote:

Does anyone know if this issue is solved in kde 4.5.2?

This is not a problem with kde (unless they revert the use of the Lanczos filter). It is a problem with some graphics driver...

Offline

#9 2010-10-06 07:55:40

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

The command needed in order to find out the line that must be added in ~/.kde4/share/config/kwinrc is :

echo "`glxinfo | grep 'OpenGL renderer string' | sed -e 's/^.*: //'`:-:`glxinfo | grep 'OpenGL version string' | sed -e 's/^.*: //'`"

In my case, the output was :

Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 :-:2.1 Mesa 7.8.3


So, in my case, i added the following in ~/.kde4/share/config/kwinrc :


[Blacklist][Lanczos]
Intel=Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 :-:2.1 Mesa 7.8.3

And now everything is fine.

Last edited by mechmg93 (2010-10-06 07:55:59)


Mikes on AUR

Offline

#10 2010-10-07 08:35:29

Singul
Member
Registered: 2010-03-24
Posts: 25

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Strange, blacklisting that doesn't solve the issue for me...any idea?

This is what I blacklisted, returned by echo "`glxinfo | grep 'OpenGL renderer string' | sed -e 's/^.*: //'`:-:`glxinfo | grep 'OpenGL version string' | sed -e 's/^.*: //'`":
Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100328 2010Q1 :-:2.1 Mesa 7.8.3

Also tried with (R) because I didn't quite trust ® for some reason... ;)

Last edited by Singul (2010-10-07 13:31:08)

Offline

#11 2010-10-07 19:25:27

dcrabs
Member
From: Sweden
Registered: 2008-10-03
Posts: 149

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Well, here it still doesn't work with these lines:
[Blacklist][Lanczos]
Intel=Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 x86/MMX/SSE2:-:2.1 Mesa 7.8.3

Offline

#12 2010-10-08 08:08:00

stavallo
Member
Registered: 2010-05-28
Posts: 34

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Try to run "kwin --replace &" from a shell. You should see what strings kwin recognizes and place them into kwinrc. Then, you have to restart kwin again (kwin --replace &) for your changes to have effect.

Last edited by stavallo (2010-10-08 08:08:28)

Offline

#13 2010-10-08 11:26:41

dcrabs
Member
From: Sweden
Registered: 2008-10-03
Posts: 149

Re: Preview windows in KDE4.5 effects white after upgrading intel driver

Ah, thanks. That did the trick. Maybe it is better that people use that method to see the string.
I had to enter it exactly like that including the hat_a:
"Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100328 2010Q1 x86/MMX/SSE2"

EDIT: spelling

Last edited by dcrabs (2010-10-08 17:14:42)

Offline

Board footer

Powered by FluxBB