GNU bug report logs - #38163
GDK does not return the monitor's refresh rate

Previous Next

Package: guix;

Reported by: Alexandros Theodotou <alex <at> zrythm.org>

Date: Sun, 10 Nov 2019 16:45:01 UTC

Severity: normal

Done: Alexandros Theodotou <alex <at> zrythm.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 38163 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Alexandros Theodotou <alex <at> zrythm.org>
Cc: 38163 <at> debbugs.gnu.org
Subject: Re: bug#38163: GDK does not return the monitor's refresh rate
Date: Mon, 11 Nov 2019 21:53:07 +0100
Hi Alexandros,

Alexandros Theodotou <alex <at> zrythm.org> skribis:

> I have been developing and testing my GTK app (Zrythm) on many distros
> and Guix is the only case that the monitor's refresh rate is returned
> as 0.
>
> The API I am using is this:
> https://developer.gnome.org/gdk3/stable/GdkMonitor.html#gdk-monitor-get-refresh-rate

Looking at GTK+, the ‘init_randr*’ functions in ‘gdkscreen-x11.c’ appear
to be those responsible for setting the ‘refresh_rate’ field.

However, AFAICS, our ‘gtk+’ package does not depend on ‘libxrandr’, and
thus that functionality is simply compiled out (the function returns 0
unconditionally).

Could you try adding that dependency on ‘libxrandr’ in ‘gtk+’?

We won’t make this change in ‘master’ because it entails too many
rebuilds, but it could go on the next branch for massive rebuilds.

Thanks for your report,
Ludo’.




This bug report was last modified 4 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.