Bug 24735 - Wrong outputs listed in xrandr
Summary: Wrong outputs listed in xrandr
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 07:27 UTC by Bastien Nocera
Modified: 2017-07-24 23:09 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
rom dump (64.00 KB, application/octet-stream)
2009-10-26 07:27 UTC, Bastien Nocera
no flags Details

Description Bastien Nocera 2009-10-26 07:27:09 UTC
Created attachment 30695 [details]
rom dump

$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 286mm x 179mm
   1280x800       61.2*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
DVI1 disconnected (normal left inverted right x axis y axis)
TV1 unknown connection (normal left inverted right x axis y axis)
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  

The laptop (MacBook Air rev 1) has no VGA or TV outputs.

$ lspci -vn
00:00.0 0600: 8086:2a00 (rev 03)
	Subsystem: 106b:00a2
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>
	Kernel driver in use: agpgart-intel

00:02.0 0300: 8086:2a02 (rev 03) (prog-if 00 [VGA controller])
	Subsystem: 106b:00a2
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Memory at 90000000 (64-bit, non-prefetchable) [size=1M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5110 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 3
	Kernel driver in use: i915
	Kernel modules: i915

00:02.1 0380: 8086:2a03 (rev 03)
	Subsystem: 106b:00a2
	Flags: bus master, fast devsel, latency 0
	Memory at 90100000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [d0] Power Management version 3

00:1a.0 0c03: 8086:2834 (rev 03) (prog-if 00 [UHCI])
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 50c0 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.1 0c03: 8086:2835 (rev 03) (prog-if 00 [UHCI])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 50a0 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.7 0c03: 8086:283a (rev 03) (prog-if 20 [EHCI])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 21
	Memory at 90504c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Kernel driver in use: ehci_hcd

00:1b.0 0403: 8086:284b (rev 03)
	Subsystem: 106b:00a2
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at 90500000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [130] Root Complex Link <?>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1c.0 0604: 8086:283f (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: 90400000-904fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: 0000:0000
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1c.4 0604: 8086:2847 (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	Memory behind bridge: 90300000-903fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: 0000:0000
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel <?>
	Capabilities: [180] Root Complex Link <?>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1d.0 0c03: 8086:2830 (rev 03) (prog-if 00 [UHCI])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 5080 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.1 0c03: 8086:2831 (rev 03) (prog-if 00 [UHCI])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 5060 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.2 0c03: 8086:2832 (rev 03) (prog-if 00 [UHCI])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 5040 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.7 0c03: 8086:2836 (rev 03) (prog-if 20 [EHCI])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at 90504800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Kernel driver in use: ehci_hcd

00:1e.0 0604: 8086:2448 (rev f3) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
	Memory behind bridge: 90200000-902fffff
	Capabilities: [50] Subsystem: 0000:0000

00:1f.0 0601: 8086:2815 (rev 03)
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>
	Kernel modules: iTCO_wdt

00:1f.1 0101: 8086:2850 (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: 106b:00a2
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 5108 [size=8]
	I/O ports at 5124 [size=4]
	I/O ports at 5100 [size=8]
	I/O ports at 5120 [size=4]
	I/O ports at 50e0 [size=16]
	Kernel driver in use: ata_piix
	Kernel modules: ata_generic, pata_acpi

00:1f.2 0101: 8086:2828 (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: 106b:00a2
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
	I/O ports at 50f8 [size=8]
	I/O ports at 511c [size=4]
	I/O ports at 50f0 [size=8]
	I/O ports at 5118 [size=4]
	I/O ports at 5020 [size=16]
	I/O ports at 4000 [size=16]
	Capabilities: [70] Power Management version 3
	Kernel driver in use: ata_piix
	Kernel modules: ata_generic, pata_acpi

00:1f.3 0c05: 8086:283e (rev 03)
	Subsystem: 106b:00a2
	Flags: medium devsel, IRQ 20
	Memory at 90505000 (32-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel modules: i2c-i801

02:00.0 0280: 14e4:4328 (rev 05)
	Subsystem: 106b:008b
	Physical Slot: 4
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 90300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information <?>
	Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel <?>
	Capabilities: [160] Device Serial Number 26-a1-5b-ff-ff-d9-00-1f
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: wl
	Kernel modules: wl, ssb
Comment 1 Carl Worth 2009-10-26 11:52:29 UTC
(In reply to comment #0)
> Created an attachment (id=30695) [details]
> rom dump
> 
> $ xrandr -q
> Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
> LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 286mm x
> 179mm
>    1280x800       61.2*+
>    1024x768       60.0  
>    800x600        60.3     56.2  
>    640x480        59.9  
> VGA1 disconnected (normal left inverted right x axis y axis)
> DVI1 disconnected (normal left inverted right x axis y axis)
> TV1 unknown connection (normal left inverted right x axis y axis)
>    1024x768       60.0  
>    800x600        60.3  
>    640x480        59.9  
> 
> The laptop (MacBook Air rev 1) has no VGA or TV outputs.

My understanding is that you can get output like that when the graphics chip
has support for these devices, even if those aren't wired up to anything in the
laptop.

Is that right, Keith?

-Carl
Comment 2 Bastien Nocera 2009-10-26 12:35:25 UTC
(In reply to comment #1)
> My understanding is that you can get output like that when the graphics chip
> has support for these devices, even if those aren't wired up to anything in the
> laptop.

And I was under the impression that Ajax worked on closing that problem, so that outputs that aren't attached to anything physically wouldn't show up.
Comment 3 Chris Wilson 2010-08-08 15:47:14 UTC
There's information in the VBT describing the child devices (physical connectors) -- but that is actually complicated by that information changing on some bioses depending on whether tha machine is docked.
Comment 4 Chris Wilson 2010-08-19 10:46:42 UTC
Not to mention the VBT is full of lies! Bah.
Comment 5 Josh Triplett 2011-09-13 12:20:31 UTC
Similar problem here with a Lenovo x220:

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768       60.0*+
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)


Does this bug represent the general problem of adding appropriate quirk tables (which seem to have disappeared in the transition to KMS), or does this bug represent the specific issue reported by the original reporter (in which case I can file this as a new hardware-specific bug)?
Comment 6 Daniel Vetter 2012-11-13 13:27:42 UTC
Ok, maintainer-verdict:

"We don't care about random additional connectors, as long as it does not result in a spuriously detected output or any other user-visible issue. GUI tools and DEs are supposed to filter disconnected outputs so that this does not annoy endusers."

Closing this now.


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.