← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 515737] [NEW] xrandr automatically enables VGA1 output

 

Public bug reported:

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

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
xrandr automatically enables VGA1 output
https://bugs.launchpad.net/bugs/515737
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.



Follow ups

References