After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758893 - Journal spam: Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries
Journal spam: Gdk-WARNING **: gdk-frame-clock: layout continuously requested,...
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-12-01 10:55 UTC by Vít Ondruch
Modified: 2016-03-23 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vít Ondruch 2015-12-01 10:55:52 UTC
My journal is continuously spammed with messages such as:

$ journalctl -f
-- Logs begin at Sun 2014-06-01 03:10:01 CEST. --
Dec 01 11:53:29 localhost org.gnome.Shell.desktop[2211]: (gnome-shell:2211): Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries
Dec 01 11:53:29 localhost org.gnome.Shell.desktop[2211]: (gnome-shell:2211): Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries
Dec 01 11:53:29 localhost org.gnome.Shell.desktop[2211]: (gnome-shell:2211): Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries
Dec 01 11:53:29 localhost org.gnome.Shell.desktop[2211]: (gnome-shell:2211): Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries
Dec 01 11:53:29 localhost org.gnome.Shell.desktop[2211]: (gnome-shell:2211): Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries
^C

Would be nice to fix this.



$ rpm -q gnome-shell
gnome-shell-3.19.2-1.fc24.x86_64

$ rpm -q gtk3
gtk3-3.19.3-2.fc24.x86_64
Comment 1 Adam Williamson 2016-01-26 18:14:00 UTC
I'm also seeing this with current Fedora Rawhide, causing significant journal rotation and making it hard to see anything else in the logs. See also https://bugzilla.gnome.org/show_bug.cgi?id=747585 .
Comment 2 Petr Schindler 2016-01-28 09:37:19 UTC
The same happens to me. I'm not sure if it is related but I have also seen raise in cpu usage. Gnome shell after update to 3.19.4-1 (fedora 24) now consumes about 15 (up to 20) percent of cpu.
Comment 3 Petr Schindler 2016-01-28 09:56:48 UTC
Right after I send the comment I realized that gnome-shell stopped consuming the processor so much. When I looked on abrt there was message about some problem with intel driver from that time. The messages from gnome-shell aren't spamming the journal since than so I guess it could be somehow related.

I've created the bug with abrt: https://bugzilla.redhat.com/show_bug.cgi?id=1302619
After this the spamming of journal have stopped.
Comment 4 Colin Guthrie 2016-02-12 09:11:23 UTC
This seems related to multi-monitor on my system (Dell XPS13 Intel Ivybridge Mobile). When the 2nd monitor is unplugged, gnome-shell is fine, but plug it in and I get this problem.
Comment 5 Vít Ondruch 2016-02-12 09:18:35 UTC
(In reply to Colin Guthrie from comment #4)
> This seems related to multi-monitor on my system (Dell XPS13 Intel Ivybridge
> Mobile). When the 2nd monitor is unplugged, gnome-shell is fine, but plug it
> in and I get this problem.

I don't think this is the case. I have single monitor now and quite freshly restarted system and my journal is spammed. But may be you are experiencing something as Petr mentioned in comment 3
Comment 6 Andrew 2016-02-12 09:27:38 UTC
multi-monitor might also trigger it, but on my system it happens every time i log in
Comment 7 Benjamin Otte (Company) 2016-02-23 03:25:44 UTC
I pushed this commit in the hopes that I'll fix it. But nobody has tested it
yet.
I'm closing this bug anyway, because I'm an optimist.

commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f
Author: Benjamin Otte <otte@redhat.com>
Date:   Mon Feb 22 21:38:03 2016 +0100

    container: Request layout again depending on layout mode

    Containers with RESIZE_MODE_PARENT should never request layout and those
    with RESIZE_MODE_IMMEDIATE should only request it for updating CSS.
                    
    Fixes clutter embeds (like the tray icon embed in gnome-shell)
    continuously requesting relayout when all they want to do is relegate
    relayout to Clutter.
Comment 8 Colin Guthrie 2016-02-23 11:27:00 UTC
Tested this patch on top of gtk+-3.19.9 with gnome-shell-3.19.90 and I sadly, I still get the bug :(

Feb 23 11:25:01 jimmy org.gnome.Shell.desktop[5419]: (gnome-shell:5419): Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries

Sorry!
Comment 9 Adam Williamson 2016-02-24 03:48:40 UTC
It seems I can reproduce this at will by booting a current Rawhide live image (as it causes several AVCs on boot, and twiddling with the tray icon triggers the bug quite reliably). I can also build live images. So I can throw some GTK+ builds at this probably tomorrow. I just got sidetracked by something urgent for the last two days, sorry.
Comment 10 Matthias Clasen 2016-03-05 17:19:32 UTC
I've pushed a fix to GTK+ that makes GtkStatusIcon not react to single pixel size
changes. That should prevent this loop between size 24 and 25.
Comment 11 Matthias Clasen 2016-03-05 17:20:09 UTC
I've pushed the same fix to gtk2, since seapplet is still gtk2.
Comment 13 Colin Guthrie 2016-03-23 16:51:50 UTC
I've not seen this one since the above patches were applied. I think it can now be solved.