Bug 22779 - [945GM] xrandr cycling is all messed up with KMS
Summary: [945GM] xrandr cycling is all messed up with KMS
Status: RESOLVED DUPLICATE of bug 22716
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: MaLing
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 01:22 UTC by Bryce Harrington
Modified: 2009-07-22 05:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (57.09 KB, text/plain)
2009-07-15 01:22 UTC, Bryce Harrington
no flags Details

Description Bryce Harrington 2009-07-15 01:22:21 UTC
Created attachment 27719 [details]
Xorg.0.log

Forwarding this bug from Ubuntu reporter Steve Langasek:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/382864

[Problem]
The video mode options available for video cycling is reduced with KMS than without, for a Lenovo with 945GM graphics.

[Original Report]
I have a Lenovo ThinkPad with a Fn+F7 key that's used to cycle video output configurations (handled via gnome-settings-daemon). Prior to switching to KMS in karmic, I would get four output options: LVDS on/VGA off, LVDS off/VGA on, mirrored at max LVDS resolution, and mirrored at max VGA resolution. After switching to KMS, I now get three options: LVDS on/VGA off, mirrored at max VGA resolution, and mirrored at 1024x768.

According to xrandr, 1024x768 is the highest resolution that's common to the two outputs; but it's very ugly on both... and there's no option to turn off the LVDS output.

If I use gnome-display-properties or xrandr, I can manually shut off the LVDS display with no problem, but something seems to have changed to cause gnome-settings-daemon to no longer expose this as a default configuration.

Behavior is still present with xserver-xorg-video-intel 2:2.7.99.901+git20090702.74227141-0ubuntu1.

ProblemType: Bug
Architecture: amd64
Date: Tue Jun 2 11:15:22 2009
DistroRelease: Ubuntu 9.10
Package: xorg 1:7.4~5ubuntu20
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-6.7-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4~5ubuntu20
 libgl1-mesa-glx 7.4.1-1ubuntu1
 libdrm2 2.4.9-2ubuntu1
 xserver-xorg-video-intel 2:2.7.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.2-1ubuntu1
SourcePackage: xorg
Uname: Linux 2.6.30-6-generic x86_64
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.30-6-generic

xrandr output, for reference:
$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 2048 x 2048
VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050 60.0*+
   1280x1024 75.0
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800 60.0*+ 50.0
   1024x768 60.0
   800x600 60.3
   640x480 60.0
DVI1 disconnected (normal left inverted right x axis y axis)
Comment 1 Gordon Jin 2009-07-15 20:16:30 UTC
>> If I use gnome-display-properties or xrandr, I can manually shut off the LVDS
>> display with no problem, but something seems to have changed to cause
>> gnome-settings-daemon to no longer expose this as a default configuration.

Since xrandr works, I don't see what we can do from driver.
IMHO this should be reported to gnome-settings-daemon.
Comment 2 Steve Langasek 2009-07-21 21:33:04 UTC
Sorry for not following up sooner, took a bit before I was rebooted without KMS, which I needed to do in order to show this is not (entirely) a gnome-settings-daemon issue. Here's the output of xrandr *without* KMS:

$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 2048 x 2048
VGA connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050 60.0*+
   1280x1024 75.0 60.0
   1440x900 75.0 59.9
   1280x960 60.0
   1280x800 59.8
   1152x864 75.0
   1024x768 75.0 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 75.0 72.8 66.7 59.9
   720x400 70.1
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800 60.0*+ 50.0
   1024x768 85.0 75.0 70.1 60.0
   832x624 74.6
   800x600 85.1 72.2 75.0 60.3 56.2
   640x480 85.0 72.8 75.0 59.9
   720x400 85.0
   640x400 85.1
   640x350 85.1
TMDS-1 disconnected (normal left inverted right x axis y axis)
$

So to me, the primary issue here is that xrandr is *not* working;
note the significantly increased number of available modes when not using KMS (4 extra modes for the VGA, and 4 extra modes for the LVDS), significantly, including the maximum LVDS resolution as one of the supported VGA resolutions.
Comment 3 MaLing 2009-07-22 05:46:34 UTC
> So to me, the primary issue here is that xrandr is *not* working;
> note the significantly increased number of available modes when not using KMS
> (4 extra modes for the VGA, and 4 extra modes for the LVDS), significantly,
> including the maximum LVDS resolution as one of the supported VGA resolutions.

ok , I know your means is in KMS you has less resolutions than that in UMS.

The issue is duplicate bug #22716

*** This bug has been marked as a duplicate of bug 22716 ***


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.