Bug 104810

Summary: Upgrading from 1.19.5 to 1.19.6 or 1.20.0 makes XMonad draw transparent borders around RGBA windows
Product: xorg Reporter: Adam Sjøgren <asjo+freedesktop>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Adam Sjøgren 2018-01-27 15:34:22 UTC
Upgrading from 1.19.5 to 1.19.6 on my Debian unstable laptop (Intel
graphics), the borders that XMonad (0.13) draws around RGBA-windows,
such as the terminal emulator Sakura¹, have become transparent.

There used to be a bug in XMonad causing the same problem (fixed in
0.13) - this time it seems to be a regression in X.org² - or maybe
XMonad needs to be fixed in a different way?

In any case, downgrading to 1.19.5 fixes the border.

On a suggestion from the Debian developer Timo Aaltonen, I tried
removing the patch 07-glx-do-not-pick-srgb-config-for-32bit-rgba-visual.diff
(related to bug #103699), but the problem persists.

This seems to indicate that either I failed to remove the patch
properly when rebuilding the package, or the problem is due to another
change in 1.19.6.

Let me know if there is something I can do to debug further.

¹ https://launchpad.net/sakura 

² I have reported the problem on the XMonad mailing list:
   · https://mail.haskell.org/pipermail/xmonad/2018-January/015285.html
Comment 1 Adam Sjøgren 2018-01-27 15:56:09 UTC
It is sufficient to downgrade the xserver-xorg-core package in Debian to 1.19.5 to restore the non-transparent borders.

The package contains these .so's:

 /usr/lib/xorg/modules/drivers/modesetting_drv.so
 /usr/lib/xorg/modules/extensions
 /usr/lib/xorg/modules/extensions/libglx.so
 /usr/lib/xorg/modules/libexa.so
 /usr/lib/xorg/modules/libfb.so
 /usr/lib/xorg/modules/libfbdevhw.so
 /usr/lib/xorg/modules/libglamoregl.so
 /usr/lib/xorg/modules/libint10.so
 /usr/lib/xorg/modules/libshadow.so
 /usr/lib/xorg/modules/libshadowfb.so
 /usr/lib/xorg/modules/libvbe.so
 /usr/lib/xorg/modules/libvgahw.so
 /usr/lib/xorg/modules/libwfb.so

 - https://packages.debian.org/buster/amd64/xserver-xorg-core/filelist
Comment 2 Timo Aaltonen 2018-02-07 16:54:28 UTC
check the patch on https://bugs.freedesktop.org/show_bug.cgi?id=104597
Comment 3 Adam Sjøgren 2018-02-10 10:49:27 UTC
(In reply to Timo Aaltonen from comment #2)
> check the patch on https://bugs.freedesktop.org/show_bug.cgi?id=104597

This patch (comment:10) does not fix the transparent border problem for me (I added the patch using quilt, rebuilt the .deb package and installed it).
Comment 4 Adam Sjøgren 2018-02-10 11:51:54 UTC
(In reply to Adam Sjøgren from comment #3)
> (In reply to Timo Aaltonen from comment #2)
> > check the patch on https://bugs.freedesktop.org/show_bug.cgi?id=104597
> 
> This patch (comment:10) does not fix the transparent border problem for me
> (I added the patch using quilt, rebuilt the .deb package and installed it).

After this, I tried reverting 91c42093 "glx: Duplicate relevant fbconfigs for compositing visuals" entirely, and that made the problem go away.

I did, however, suspect I failed to apply the patch from 104597#c10 correctly, so I tried again - but the result was identical, it does not fix the problem for me.
Comment 5 Adam Sjøgren 2018-05-26 09:54:15 UTC
I just got Xorg 1.20.0 installed, as it has been added to Debian unstable, and this problem persists: running Xmonad 0.13 the borders around RGBA windows, such as the terminal emulator Sakura, are transparent.

I will try building 1.20.0 with 91c42093 "glx: Duplicate relevant fbconfigs for compositing visuals" reverted, as I did for 1.19.6.
Comment 6 GitLab Migration User 2018-12-13 22:39:05 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/xorg/xserver/issues/532.

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.