Bug 1418 - Compiz drop shadows are rendered as white blocks by the intel and radeon drivers
: Compiz drop shadows are rendered as white blocks by the intel and radeon drivers
Status: CLOSED FIXED
Product: opensolaris
desktop
: unspecified
: i86pc/i386 OpenSolaris
: P3 major (vote)
: ---
Assigned To: Erwann Chénedé
: Watcher account for desktop bugs
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-04-22 06:21 UTC by Harry Fu
Modified: 2009-03-05 10:45 UTC (History)
3 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Harry Fu 2008-04-22 06:21:48 UTC
After compiz is enabled with "Window decoration" effect, menus(from gnome-panel
or gnome applications) are displayed in a special way that extra margin space
surrounds the original menu. It is not observed on Ubuntu Linux. If I disable
"Window decoration" effect, menus become normal. But the tile bar of a terminal
disappears.
Comment 1 Darren Kenny 2008-04-23 02:39:20 UTC
What graphics card are you using?

I've only ever seen this when I used the ATI driver, and was caused by the
shadow settings, if you play with these you will be able to find something that
suits you better.

I found pleasing results with:

    Shadow Radius:    18
    Shadow Opacity:    0.8
    Shadow Color:    #00000 (Black)
    Shadow OffsetX:    16
    Shadow OffsetY:    0
Comment 2 Harry Fu 2008-04-24 01:44:47 UTC
(In reply to comment #1)
> What graphics card are you using?
> 
I am using Dell GX270 with Intel 82865G chipset.

> I've only ever seen this when I used the ATI driver, and was caused by the
> shadow settings, if you play with these you will be able to find something that
> suits you better.
> 
> I found pleasing results with:
> 
>         Shadow Radius:  18
>         Shadow Opacity: 0.8
>         Shadow Color:   #00000 (Black)
>         Shadow OffsetX: 16
>         Shadow OffsetY: 0

The above setting works!
Thanks!
Comment 3 Albert Lee 2008-08-20 18:28:42 UTC
I didn't know a bug had been filed for this, I will repost my comment on #1334:
For the people seeing white borders around windows instead of drop shadows,
this caused by a bug affecting several drivers including intel and radeon when
the shadow radius is a power of two. The radius is 8 by default, IIRC. Changing
the radius to anything that isn't an exact power of two (e.g. 8.5)  makes
shadows visible again. The setting can be found under Window Decorations in
ccsm (CompizConfig Settings Manager).

It might be worth changing the default shadow settings in the next release
since the problem appears to be as yet unsolved upstream.


To be clear, this is not a Compiz bug, and the only Compiz setting that matters
is the shadow radius.
Comment 4 Erwann Chénedé 2008-12-18 10:53:20 UTC
I will fix this when I port the latest version of compiz to solaris.
Comment 5 Erwann Chénedé 2009-03-05 10:45:15 UTC
I've changed the shadow radius to a non power of 2 value (9) while updating to
compiz 0.8.0