Bug 102599 - [ShadowPrimary] Window decoration not being painted with DRI3 and Compiz-Reloaded+Emerald
Summary: [ShadowPrimary] Window decoration not being painted with DRI3 and Compiz-Relo...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-08 00:38 UTC by Julian
Modified: 2019-11-19 09:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log with DRI3 (35.70 KB, text/plain)
2017-09-08 00:38 UTC, Julian
no flags Details
White border instead of actual decoration (115.33 KB, image/png)
2017-09-08 00:39 UTC, Julian
no flags Details

Description Julian 2017-09-08 00:38:30 UTC
Created attachment 134059 [details]
Xorg.0.log with DRI3

Hi,

I originally filed a bug report at the compiz-reloaded project. You can read about the issue and the original conversation here:
https://github.com/compiz-reloaded/compiz/issues/82


When using Compiz-Reloaded + Emerald and DRI3 the window decoration is not being painted correctly: It's just a plain white border. You can still click the insivible buttons or resize the window. So it's an issue with rendering the window border. No error messages and no log entries are produced. 

The problem doesn't occur after I switched to DRI2.

Thank you :)


Debian testing/stretch, 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64 GNU/Linux


glxinfo | grep renderer:

GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Gallium 0.4 on AMD PALM (DRM 2.50.0 / 4.12.0-1-amd64, LLVM 3.9.1)


Installed packages:

$ dpkg -l | grep xserver
ii  x11-xserver-utils                                                7.7+7+b1                               amd64        X server utilities
ii  xserver-common                                                   2:1.19.3-2                             all          common files used by various X servers
ii  xserver-xephyr                                                   2:1.19.3-2                             amd64        nested X server
ii  xserver-xorg                                                     1:7.7+19                               amd64        X.Org X server
ii  xserver-xorg-core                                                2:1.19.3-2                             amd64        Xorg X server - core server
ii  xserver-xorg-input-evdev                                         1:2.10.5-1                             amd64        X.Org X server -- evdev input driver
ii  xserver-xorg-input-mouse                                         1:1.9.2-1+b1                           amd64        X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics                                     1.9.0-1+b1                             amd64        Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-wacom                                         0.34.99.1-1                            amd64        X.Org X server -- Wacom input driver
ii  xserver-xorg-legacy                                              2:1.19.3-2                             amd64        setuid root Xorg server wrapper
ii  xserver-xorg-video-ati                                           1:7.9.0-1                              amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-mach64                                        6.9.5-1+b2                             amd64        X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-r128                                          6.10.2-1                               amd64        X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon                                        1:7.9.0-1                              amd64        X.Org X server -- AMD/ATI Radeon display driver

Compiz related:
ii compiz-reloaded 0.8.14-0stretch1 all OpenGL window and compositing manager
ii compiz-reloaded-bcop 0.8.14-0stretch1 all Compiz Reloaded option code generator
ii compiz-reloaded-core 0.8.14-0stretch1 amd64 OpenGL window and compositing manager
ii compiz-reloaded-dev 0.8.14-0stretch1 amd64 OpenGL window and compositing manager - development files
ii compiz-reloaded-gtk 0.8.14-0stretch1 amd64 OpenGL window and compositing manager - Gtk window decorator
ii compiz-reloaded-mate 0.8.14-0stretch1 amd64 OpenGL window and compositing manager - MATE window decorator
ii compiz-reloaded-plugins 0.8.14-0stretch1 amd64 OpenGL window and compositing manager - plugins
ii compiz-reloaded-plugins-experimental 0.8.14-0stretch1 amd64 Compiz Reloaded plugins - "unsupported" collection
ii compiz-reloaded-plugins-extra 0.8.14-0stretch1 amd64 Compiz Reloaded plugins - extra collection
ii compiz-reloaded-plugins-main 0.8.14-0stretch1 amd64 Compiz Reloaded plugins - main collection
ii compizconfig-settings-manager-reloaded 0.8.14-0stretch1 amd64 Compizconfig Settings Manager
ii emerald 0.8.14-0stretch1 amd64 Decorator for compiz-reloaded
ii libcompizconfig-reloaded-0 0.8.14-0stretch1 amd64 Configuration settings library for compiz-reloaded
ii libemeraldengine0 0.8.14-0stretch1 amd64 Decoration engines for compiz-reloaded
ii python-compizconfig-reloaded 0.8.14-0stretch1 amd64 Compizconfig bindings for python
ii emerald 0.8.14-0stretch1 amd64 Decorator for compiz-reloaded
ii emerald-themes 0.8.14-0stretch1 all Themes for emerald window decorator
ii libemeraldengine0 0.8.14-0stretch1 amd64 Decoration engines for compiz-reloaded
Comment 1 Julian 2017-09-08 00:39:45 UTC
Created attachment 134060 [details]
White border instead of actual decoration
Comment 2 Michel Dänzer 2017-09-08 00:45:43 UTC
Does this happen without Option "ShadowPrimary"?
Comment 3 Julian 2017-09-08 01:05:06 UTC
Without the "ShadowPrimary" option the windows are rendered correctly :) Thanks!
Comment 4 Martin Peres 2019-11-19 09:30:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/818.


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.