Bug 400476 - Blur rendering errors with underlying GTK windows
Summary: Blur rendering errors with underlying GTK windows
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: scene-opengl (other bugs)
Version First Reported In: 5.14.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 11:46 UTC by Krešimir Čohar
Modified: 2018-11-29 09:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
video (891.14 KB, video/x-matroska)
2018-10-30 11:46 UTC, Krešimir Čohar
Details
kwin-supportinformation-standard (5.50 KB, text/plain)
2018-10-30 17:19 UTC, Krešimir Čohar
Details
kwin-supportinformation-age0 (5.50 KB, text/plain)
2018-10-30 17:20 UTC, Krešimir Čohar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krešimir Čohar 2018-10-30 11:46:04 UTC
Created attachment 115978 [details]
video

SUMMARY
Rendering defects appear in blurry windows, menus or popups when on top of one or more GTK windows.

STEPS TO REPRODUCE
1. (Not always reproducible.) Run a GTK application (for my purposes it was Spotify) and another larger GTK application on top of it (to increase your chances of the bug appearing). 
2. Run a KDE window (Konsole with blur on) or pull open a panel menu (Kicker or Kickoff) or popup. 
3. If you are using Spotify or Lollypop, start switching between audio tracks, this makes it appear sooner.

OBSERVED RESULT
There are rendering defects present in the overlaid blurry windows that correspond to the borders of the underlying non-maximized GTK window(s).

EXPECTED RESULT
The blurry windows are unaffected by the underlying windows.

SOFTWARE VERSIONS
KDE Plasma Version: 5.14.2 
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2
Comment 1 Vlad Zahorodnii 2018-10-30 12:05:09 UTC
Can you reproduce it with Qt apps?
Comment 2 Krešimir Čohar 2018-10-30 12:13:13 UTC
(In reply to Vlad Zagorodniy from comment #1)
> Can you reproduce it with Qt apps?

I haven't been able to yet. It's consistently been GTK (or more to the point the HTML5-GTK mongrel, Spotify).
Comment 3 Vlad Zahorodnii 2018-10-30 12:25:53 UTC
(In reply to Rooty from comment #2)
> I haven't been able to yet. It's consistently been GTK (or more to the point
> the HTML5-GTK mongrel, Spotify).

Judging from the video, it looks like STEPS TO REPRODUCE has some missing steps, e.g. did you have Spotify unminimized before you started recording the video? Could you please provide more detailed screencast? It would help with reproducing the bug.

Also, could you please use Lollypop? Even though Spotify says "Music for everyone", that's a lie.
Comment 4 Krešimir Čohar 2018-10-30 12:29:05 UTC
(In reply to Vlad Zagorodniy from comment #3)
> (In reply to Rooty from comment #2)
> > I haven't been able to yet. It's consistently been GTK (or more to the point
> > the HTML5-GTK mongrel, Spotify).
> 
> Judging from the video, it looks like STEPS TO REPRODUCE has some missing
> steps, e.g. did you have Spotify unminimized before you started recording
> the video? Could you please provide more detailed screencast? It would help
> with reproducing the bug.
> 
> Also, could you please use Lollypop? Even though Spotify says "Music for
> everyone", that's a lie.

Spotify was unminimized when I started recording the video. (This bug is already very difficult to reproduce as is, but if you use Spotify free I'm fairly certain you'll encounter it.)  

What do you mean by a more detailed screencast?

I'm going to try Lollypop but I'm not convinced I'll be able to reproduce it with Lollypop.
Comment 5 Vlad Zahorodnii 2018-10-30 12:31:50 UTC
(In reply to Rooty from comment #4)
> but if you use Spotify free I'm fairly certain you'll encounter it.)

In some countries, Spotify is not available.

---

Well then, I'll try to reproduce it with Lollypop.
Comment 6 Krešimir Čohar 2018-10-30 12:42:15 UTC
(In reply to Vlad Zagorodniy from comment #5)
> (In reply to Rooty from comment #4)
> > but if you use Spotify free I'm fairly certain you'll encounter it.)
> 
> In some countries, Spotify is not available.
> 
> ---
> 
> Well then, I'll try to reproduce it with Lollypop.

Should you decide to use Spotify anyway, I created a dummy account for you,

email: ceavowro@wegwerfemail.de
password: spotifykde

You should be able to log in without a VPN. It works for 14 days then you have to log in just once using a VPN and you get another 14 days.

They listed the repositories for the package here: https://www.spotify.com/us/download/linux/

It's also in the AUR.
Comment 7 Vlad Zahorodnii 2018-10-30 12:53:56 UTC
Thank you for the account, but that would be probably violation of ToS.
I'll try to reproduce the bug with Lollypop or some other GTK apps.
Comment 8 Krešimir Čohar 2018-10-30 12:56:48 UTC
(In reply to Vlad Zagorodniy from comment #7)
> Thank you for the account, but that would be probably violation of ToS.
> I'll try to reproduce the bug with Lollypop or some other GTK apps.

Good luck
Comment 9 Vlad Zahorodnii 2018-10-30 14:36:59 UTC
Please attach output of
qdbus org.kde.KWin /KWin supportInformation

Also, can you reproduce this bug if you run KWin as follows
    KWIN_USE_BUFFER_AGE=0 kwin_x11 --replace &
Comment 10 Krešimir Čohar 2018-10-30 17:19:52 UTC
Created attachment 115986 [details]
kwin-supportinformation-standard
Comment 11 Krešimir Čohar 2018-10-30 17:20:44 UTC
Created attachment 115987 [details]
kwin-supportinformation-age0
Comment 12 Krešimir Čohar 2018-10-30 17:21:43 UTC
(In reply to Vlad Zagorodniy from comment #9)
> Please attach output of
> qdbus org.kde.KWin /KWin supportInformation
> 
> Also, can you reproduce this bug if you run KWin as follows
>     KWIN_USE_BUFFER_AGE=0 kwin_x11 --replace &

hey so, it doesn't appear anymore with that command (KWIN_USE_BUFFER_AGE=0 kwin_x11 --replace &)
also, i've included the support information you asked for, one without the command and one with
Comment 13 Krešimir Čohar 2018-10-30 18:38:07 UTC
(In reply to Vlad Zagorodniy from comment #9)
> Please attach output of
> qdbus org.kde.KWin /KWin supportInformation
> 
> Also, can you reproduce this bug if you run KWin as follows
>     KWIN_USE_BUFFER_AGE=0 kwin_x11 --replace &

p.s. i get horrible window tearing with that use buffer age = 0 option on
Comment 14 Bug Janitor Service 2018-11-14 11:33:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2018-11-29 09:48:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!