[gm45] xrandr automatically enables VGA1 output

Bug #515737 reported by nickolai
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

Binary package hint: xorg

When I plug in an external monitor into my laptop's VGA port, I often want to first query that monitor's EDID information, and then enable the VGA output using a particular mode based on that EDID information. For example, I might want to enable exactly the 1024x768 mode if a projector supports it, or the 640x480 mode if it doesn't. Or, I might have a script that runs from udev whenever a VGA hotplug event is signaled, and the script wants to figure out what monitor is plugged in first, and then based on some heuristics, figure out what screen configuration I want (e.g. one EDID value indicates my office monitor, which should go above my laptop screen, and another EDID value indicates my home monitor, which should go on the logical left).

Unfortunately, the "xrandr" command (or, more precisely, "xrandr --prop") enables the VGA1 output in addition to listing information about the currently connected outputs. It would be great if there were an option to query EDID information without causing any side-effects. As is, this results in double flickering (first, when xrandr decides to enable some default configuration, and second, when I manually, or my script automatically, chooses a more appropriate mode to use).

ProblemType: Bug
Architecture: amd64
Date: Mon Feb 1 17:06:54 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
MachineType: LENOVO 4058CTO
Package: xserver-xorg 1:7.5+1ubuntu2
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-12-generic root=UUID=462b8d55-f4b6-40d1-bd10-0c0ce38ba988 ro rootfstype=ext4 quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_PAPER=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu2
 libgl1-mesa-glx 7.7-0ubuntu8
 libdrm2 2.4.17-0ubuntu2
 xserver-xorg-video-intel 2:2.9.1-1ubuntu3
SourcePackage: xorg
Uname: Linux 2.6.32-12-generic x86_64
dmi.bios.date: 09/24/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 6FET46WW (1.16 )
dmi.board.name: 4058CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6FET46WW(1.16):bd09/24/2008:svnLENOVO:pn4058CTO:pvrThinkPadW500:rvnLENOVO:rn4058CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4058CTO
dmi.product.version: ThinkPad W500
dmi.sys.vendor: LENOVO
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.32-12-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
     Subsystem: Lenovo Device [17aa:2114]

Revision history for this message
nickolai (nickolai) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Wishlist
Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
summary: - xrandr automatically enables VGA1 output
+ [gm45] xrandr automatically enables VGA1 output
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Triaged
Bryce Harrington (bryce)
tags: added: edid
Bryce Harrington (bryce)
summary: - [gm45] xrandr automatically enables VGA1 output
+ [g45] [gm45] xrandr automatically enables VGA1 output
Bryce Harrington (bryce)
summary: - [g45] [gm45] xrandr automatically enables VGA1 output
+ [gm45] xrandr automatically enables VGA1 output
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Thanks for reporting this bug to help making the Intel graphics driver
better. We hear from upstream that a number of bugs (possibly including
this one) have been fixed in the newer DRM code from the 2.6.33 kernel.
I don't know if your bug is one of the ones fixed in this release,
though, but we've prepared a PPA with this DRM update. Would you mind
installing this, rebooting, and testing if the original issue can be
reproduced with it or not?

The DRM PPA is here:

    https://edge.launchpad.net/~apw/+archive/red

Note there could be new bugs... please file these as new reports using
the command 'ubuntu-bug linux' (for kernel or DRM or KMS bugs) or
'ubuntu-bug xorg' if you suspect them to be X.org issues.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-intel (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.