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


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Bengt Richter <bokr <at> bokr.com>
Cc: Alexandros Theodotou <alex <at> zrythm.org>, 38163 <at> debbugs.gnu.org
Subject: bug#38163: GDK does not return the monitor's refresh rate
Date: Thu, 14 Nov 2019 22:00:30 +0100
Hi Bengt,

Bengt Richter <bokr <at> bokr.com> skribis:

> On +2019-11-11 21:31:23 +0000, Alexandros Theodotou wrote:

[...]

>> > Could you try adding that dependency on ‘libxrandr’ in ‘gtk+’?
>> 
>> Just tried that and it worked! It's returning the correct refresh rate
>> now:
>> ** Message: 21:20:40.548: refresh rate returned by GDK: 60.0

[...]

> I'm wondering about a narrowly-X solution.
>
> Shouldn't this really come from udevd noticing display changes?
> What about a multi-display seat, with potentially different refresh rates?
>
> IIUC it seems like libdrm and KMS can get at all that, so a light-weight solution
> should be possible, ISTM, and accessible from console command line without X.

You’re right, but note that GDK has several backends (not just X11), and
this issue was about fixing the problem with the X11 backend.

Thanks,
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.