automatic xrandr module misconfigures monitors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Settings Daemon |
Fix Released
|
Medium
|
|||
gnome-settings-daemon (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Maverick |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: gnome-settings-
Starting with version 2.31.91-0ubuntu1, my CRT monitor starts with a refresh rate of 60 Hz (overriding the 75 Hz set in xorg.conf). Using nvidia-settings to manually set it back to 75 Hz works, but after restarting gnome-settings-
Running g-s-d with --debug shows following when starting the xrandr plugin:
** (gnome-
** (gnome-
=== clone setup Configuration ===
Output: Unknown attached to default
status: on
width: 1280
height: 1024
rate: 53
position: 0 0
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-settings-
ProcVersionSign
Uname: Linux 2.6.35-21-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Sep 16 22:47:21 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-settings-
description: | updated |
Changed in gnome-settings-daemon (Ubuntu): | |
status: | New → Confirmed |
tags: | added: iso-testing |
Changed in gnome-settings-daemon (Ubuntu): | |
assignee: | nobody → Sebastien Bacher (seb128) |
Changed in gnome-settings-daemon (Ubuntu Maverick): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in gnome-settings-daemon: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gnome-settings-daemon: | |
status: | New → Fix Released |
Ok, so this seems to have been triggered by the change in defaults in version 2.31.91-0ubuntu3 (turn on ext. monitors).
Setting 'apps/gnome_ settings_ daemon/ xrandr/ turn_on_ external_ monitors_ at_startup' to false for the user gdm made this bug go away in the current version. That key has been introduced with version 2.31.91-0ubuntu1: http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ maverick/ gnome-settings- daemon/ maverick/ revision/ 109/plugins/ xrandr/ gsd-xrandr- manager. c#plugins/ xrandr/ gsd-xrandr- manager. c
From the ways to get the value for 'config' in the method 'apply_ default_ boot_configurat ion', only 'config = make_laptop_setup (screen);' seems to work (= as soon as enabling turn_on_ external_ monitors_ at_startup, I see the 60 Hz). 'make_clone_setup' and 'make_other_setup' will call 'gnome_ rr_mode_ get_freq' at some point, which will return bogus because my monitor's EDID is invalid.
$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
1280x1024 50.0* 51.0 53.0
---
Due to all the patches I'm not sure if that's an upstream bug. This should affect all users that have a monitor without EDID (got to be an old one) or invalid EDID (have seen a couple of models on the video driver section of the freedesktop bug tracker).