Bug 74980 - Transparency with Desktop Effects Enabled
Summary: Transparency with Desktop Effects Enabled
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 10.0
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Kenneth Graunke
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-14 13:57 UTC by Taylor Smock
Modified: 2017-09-14 22:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Minecraft on KDE (with desktop effects) (390.26 KB, image/png)
2014-02-14 13:57 UTC, Taylor Smock
Details
Minecraft on KDE (no desktop effects) (383.73 KB, image/png)
2014-02-14 13:57 UTC, Taylor Smock
Details
Minecraft on KDE with desktop effects (Mesa 9.2) (388.86 KB, image/png)
2014-02-14 13:58 UTC, Taylor Smock
Details
Mesa 9.2 glxinfo (15.11 KB, text/plain)
2014-02-14 14:00 UTC, Taylor Smock
Details
Mesa 10.0 glxinfo (15.11 KB, text/plain)
2014-02-14 14:00 UTC, Taylor Smock
Details

Description Taylor Smock 2014-02-14 13:57:07 UTC
Created attachment 94065 [details]
Minecraft on KDE (with desktop effects)

Some games, when started on a desktop such as Gnome3 or KDE (with desktop effects enabled), have transparency throughout much of the application.

Applications effected: Kerbal Space Program, Minecraft, probably others.

Versions of mesa affected: 10.0, git
Desktop Environments affected: Gnome, KDE
Versions of mesa without bug: 9.2
Desktop Environments not affected: i3
Comment 1 Taylor Smock 2014-02-14 13:57:57 UTC
Created attachment 94066 [details]
Minecraft on KDE (no desktop effects)
Comment 2 Taylor Smock 2014-02-14 13:58:30 UTC
Created attachment 94067 [details]
Minecraft on KDE with desktop effects (Mesa 9.2)
Comment 3 Taylor Smock 2014-02-14 14:00:10 UTC
Created attachment 94068 [details]
Mesa 9.2 glxinfo
Comment 4 Taylor Smock 2014-02-14 14:00:39 UTC
Created attachment 94069 [details]
Mesa 10.0 glxinfo
Comment 5 Kenneth Graunke 2014-04-13 17:36:16 UTC
Does this happen every time you log in to KDE, or just sometimes?

Can you try running KWin with EGL?

   KWIN_OPENGL_INTERFACE=egl kwin --replace

That may help.
Comment 6 Taylor Smock 2014-04-13 20:28:36 UTC
It does occur every time I log into KDE and try to play some games (not often -- I usually use i3 when I decide to play a game now).

I tried:

    KWIN_OPENGL_INTERFACE=egl kwin --replace

but it did not change anything.

I have noticed that the game window seems to "add" to the background.

Example (with black background):
#000000 (Black)
#ff0000 (Red)
-------
#ff0000 (Red)

Example (with white background):
#ffff00 (Yellow)
#0000ff (Blue)
------- (White)
#ffffff

Note: This is what seems to be happening -- if the background is yellow, then the window will have a definate yellow color. Same from any color besides black.
Comment 7 Kenneth Graunke 2014-04-13 20:39:17 UTC
Okay, thanks for the information.  I haven't seen this before, and it looks distinct from the other bugs a lot of people are hitting.  We'll have to look into it further...
Comment 8 Taylor Smock 2014-04-19 00:23:49 UTC
A recent update to Arch has fixed this issue. I'll take a look at Fedora Rawhide and Ubuntu 14.04 to see if they work now as well.

Thanks,
Taylor
Comment 9 Taylor Smock 2014-04-26 09:18:59 UTC
As of 26 April, 2014, Fedora Rawhide still has this issue. I tested in both KDE and GNOME. 

When I looked at Ubuntu 14.04, Unity seemed to work.
Comment 10 Kenneth Graunke 2014-04-26 17:04:43 UTC
In that case, I suspect the bug is actually in the X server.

Rawhide ships with xserver 1.15.0, which has a known GLX bug that can give you random visuals.  (Perhaps it's giving you one where the alpha channel results in window transparency.)  Arch Linux ships 1.15.1, which fixes that bug.
Comment 11 Kenneth Graunke 2017-09-14 22:21:44 UTC
Sorry we never managed to look at this.  I think it got fixed a long time ago - I've certainly not heard of this happening in a long time.  If you're still having issues, feel free to file a new bug.


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.