Bug 20270

Summary: XRRGetScreenResourcesCurrent (or XRRGetScreenResources) reports empty data until XRRGetScreenSizeRange is called on non randr1.2 drivers
Product: xorg Reporter: Frederic Crozat <fred>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Frederic Crozat 2009-02-23 07:39:32 UTC
This is a follow-up of gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=572387 :

when using non randr 1.2 compatible video driver (old i810 for instance), calling XRRGetScreenResourcesCurrent or XRRGetScreenResources returns no monitor unless XRRGetScreenSizeRange is called before (you won't notice if you use xrandr to query randr info, because it calls XRRGetScreenSizeRange first).

This is with X server 1.5.99.903 and doesn't happen with xrandr 1.2 compatible drivers.
Comment 1 Adam Jackson 2018-06-12 18:43:10 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.

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.