Bug 278053

Summary: corrupted menus with intel HD graphics (sandy bridge) and oxygen
Product: [Plasma] Oxygen Reporter: TomasV <tv>
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: normal CC: hugo.pereira.da.costa, jesus.guerrero.botella, nitanovidiu, patrick.allaert, sebaro
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example of a corrupted menu
another example of a menu corruption
another example of a menu corruption

Description TomasV 2011-07-18 22:26:58 UTC
Created attachment 61970 [details]
example of a corrupted menu

Version:           4.6 (using KDE 4.6.3) 
OS:                Linux

When using Intel HD Graphics 3000 (Sandy Bridge), some of the menus were corrupted (see the attached image). For example the window settings menu, displayed after Alt+F3 or the right-click menus were corrupted like this.

Enabling or disabling desktop effects does not solve the problem, the only difference is that with effects enabled the black areas are transparent.

Not sure if it's a driver or KDE problem - I'm using the xf86-video-intel-2.14.0 driver and 2.6.38 (gentoo-r6) kernel.

Adding "export QT_GRAPHICSSYSTEM=raster" to the .kde4/env/qt-graphicssystem.sh script solved most of the issues, although not all of them. After changing style from "oxygen" to "plastique" everything works fine.

Reproducible: Always

Steps to Reproduce:
Remove the QT_GRAPHICSSYSTEM and/or set the style to oxygen again. After restarting KDE, the menus are corrupted again.

Actual Results:  
corrupted menus :-(

Expected Results:  
not corrupted menus ;-)

Most of the information came from this thread

http://forum.kde.org/viewtopic.php?f=15&t=96031
Comment 1 Hugo Pereira Da Costa 2011-07-19 16:34:17 UTC
can't reproduce.

Must be issue with driver indeed (especially since it works better with different graphics system, and without any other change in oxygen.) So nothing I can do about it ...

Here, I'm using: x11-driver-video-intel-2.15.0, but also with different graphics card. So that does not prove anything.

I'd suggest to try upgrade (or downgrade) intel driver though.
Comment 2 TomasV 2011-07-20 20:39:57 UTC
I've tried to downgrade to x11-drivers/xf86-video-intel-2.14.0, but it behaves exactly as x11-drivers/xf86-video-intel-2.15.0-r1.
Comment 3 Sebastian Luncan 2011-08-08 14:53:09 UTC
The same glitches here with nvidia cards:
http://forums.gentoo.org/viewtopic-p-6778976.html
http://users.telenet.be/patrick_allaert/tmp/garbled.ogv
Comment 4 Patrick ALLAERT 2011-08-09 08:02:03 UTC
Small note regarding Sebastian's comment: this isn't a pure nvidia environment as he may have suggested but a nvidia card with optimus technology aside of an intel card:

$ sudo lspci -v | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 0116 (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: nVidia Corporation Device 0df4 (rev a1) (prog-if 00 [VGA controller])
Comment 5 Sebastian Luncan 2011-08-10 10:59:17 UTC
The oxygen style for gtk and tooltips are corrupted too.
The culprit on my system seems to be xorg-server. Downgrading it from 1.10.2 to 1.9.5 fixes all issues.
Comment 6 Jesús Guerrero Botella 2011-08-22 07:38:22 UTC
I see this in radeon, as well. Only with oxygen. Changing to anything else seems to fix it. Right now using qtcurve.
Comment 7 Hugo Pereira Da Costa 2012-06-08 23:28:14 UTC
Still valid with latest drivers and latest KDE (KDE 4.8) ?
Comment 8 TomasV 2012-06-09 14:00:46 UTC
(In reply to comment #7)
> Still valid with latest drivers and latest KDE (KDE 4.8) ?
Seems to be fixed on my machine (I'm using KDE 4.8.1 and xf86-video-intel-2.17.0-r3).
Comment 9 Jesús Guerrero Botella 2012-06-17 09:03:00 UTC
I didn't even remember this. I don't at which point this was solved, but I haven't noticed it for a long time.
Comment 10 Hugo Pereira Da Costa 2012-06-17 10:00:03 UTC
ok. I guess we can safely close then.
Please reopen if problem reappears.
Comment 11 Ovidiu D. Niţan 2014-02-02 19:30:03 UTC
I still get this in 2014, also using an Intel HD 4600 video controller. The corruption always appears in the System Activity window (when pressing Ctrl+Esc), and also on the background of KSnapshot and its child windows (such is the Save Dialog)
Comment 12 Ovidiu D. Niţan 2014-02-02 19:31:28 UTC
Created attachment 84949 [details]
another example of a menu corruption
Comment 13 Ovidiu D. Niţan 2014-02-02 19:33:21 UTC
Created attachment 84950 [details]
another example of a menu corruption
Comment 14 Ovidiu D. Niţan 2014-02-02 19:42:04 UTC
Nevermind, seems it was a video driver issue. Upgrading to a git version fixed the corruption.