Bug 18719 - Driver incorrectly detects VGA as connected
Summary: Driver incorrectly detects VGA as connected
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: All Linux (All)
: low normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL: https://bugs.edge.launchpad.net/ubunt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-26 14:29 UTC by Bryce Harrington
Modified: 2008-12-29 22:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (80.57 KB, patch)
2008-11-26 14:29 UTC, Bryce Harrington
no flags Details | Splinter Review

Description Bryce Harrington 2008-11-26 14:29:54 UTC
Created attachment 20617 [details] [review]
Xorg.0.log

Forwarding this bug from a Ubuntu reporter:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/151790

[Problem]
A single monitor is connected to DVI, but -ati is detecting and enabling both the DVI and VGA ports when it should only be enabling DVI.

[Xorg.0.log]
Note the following in the log file:

(II) RADEON(0): EDID vendor "DEL", prod id 57347
(II) RADEON(0): Output VGA-0 connected
(II) RADEON(0): Output DVI-0 connected
(II) RADEON(0): Output VGA-0 using initial mode 1280x800
(II) RADEON(0): Output DVI-0 using initial mode 1280x1024

even though nothing is connected to the VGA port.

[lspci]
Radeon R200 QL [Radeon 8500 LE] [1002:514c]


[Original Report]
This is with the Gutsy daily desktop CD for amd64 from 2007/10/10.

Apps like gdm and gnome-panel put their "bottom parts", e.g. the bottom gnome-panel instance and the gdm button area, about 2/3 to the bottom. I've attached some screenshots of this behavior. I couldn't figure it out until I went to the Screen and Graphics Preferences tool. It is autodecting a resolution of 1280x800 when the LCD screen is actually a normal 1280x1024 19" LCD. When I typed 'xrandr -q' I got:

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1200
VGA-0 connected 1280x800 0 0 (normal left inverted right) 0mm x 0mm
   1280x800 60.0*
   1280x768 60.0
   1024x768 60.0
   800x600 60.3
   640x480 59.9
DVI-0 connected 1280x1024 0 0 (normal left inverted right) 359mm x 287mm
   1280x1024 60.0* 59.9
   1024x768 75.1 60.0
   800x600 75.0 60.3
   640x480 75.0 60.0
   720x400 70.1

It seems as if GNOME apps assume that the screen is 1280x800 even though nothing is actually plugged into the VGA port. Once I dragged the panel down to the bottom it stays their across sessions. The other apps like gdm still have the odd behavior. The screenshots [in the downstream bug report] demonstrate this better than I can describe.

 * * *

I tried the latest Intrepid release and was able to boot the machine. It was more successful though still not correct.

The display came up in 1152x864 which, on a 19" LCD, was stretched. I went to System -> Preferences -> Screen Resolution and 1280x1024 wasn't in the Resolution list. "Mirror Screens" was checked (though I only had the LCD plugged into DVI and nothing in the VGA) so I unchecked it. This caused the Resolution list to refresh so I chose 1280x1024. I hit Apply and it said it would write out the configuration and that I'd have to logout for the new configuration to take effect. I logged out and saw the gdm login screen which didn't seem quite optimal so I hit Control-Alt-Backspace to really restart X but it didn't look different.

When I logged in, the bottom panel was at the very top of the screen and the desktop background was... hard to describe. It was as if someone took the smudge tool to the regular intrepid background and made long straight vertical streaks going from top to bottom. I managed to start a terminal and looked at the xorg.conf the previous step had created. It had written a Virtual size of "1280x1888" instead of "1280x1024". I manually edited this, logged out, hit Control-Alt-Backspace, and logged in.

The resolution came up in 1152x864 again. I decided to try 'xrandr'. As in the xrandr output at the very top of this bug it believed I had a display attached to the VGA port when there wasn't anything plugged into it. I looked through 'xrandr -h' and invoked

  xrandr --output VGA-0 --off
  xrandr --output DVI-0 --preferred

and voila the screen changed to 1280x1024. I'm just guessing that the GNOME apps are relying on the xrandr information which is incorrect since there is no VGA attached though the xrandr mechanism thinks it is and uses it as the primary display. Perhaps this bug should be retitled?


udi = '/org/freedesktop/Hal/devices/pci_1002_514c'
  info.bus = 'pci' (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_1022_7455' (string)
  info.product = 'Radeon R200 QL [Radeon 8500 LE]' (string)
  info.subsystem = 'pci' (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1002_514c' (string)
  info.vendor = 'ATI Technologies Inc' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'pci' (string)
  linux.sysfs_path = '/sys/devices/pci0000:08/0000:08:01.0/0000:09:00.0' (string)
  pci.device_class = 3 (0x3) (int)
  pci.device_protocol = 0 (0x0) (int)
  pci.device_subclass = 0 (0x0) (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:08/0000:08:01.0/0000:09:00.0' (string)
  pci.product = 'Radeon R200 QL [Radeon 8500 LE]' (string)
  pci.product_id = 20812 (0x514c) (int)
  pci.subsys_product_id = 20812 (0x514c) (int)
  pci.subsys_vendor = 'Palit Microsystems Inc.' (string)
  pci.subsys_vendor_id = 5481 (0x1569) (int)
Comment 1 Alex Deucher 2008-12-01 15:53:05 UTC
this should be fixed in 6e0c48958c6a50a639368e369ce72d813256aee4
Please re-open if you are still having problems.
Comment 2 Ryan Lovett 2008-12-03 14:33:17 UTC
Thanks for the information. Is 6e0c48958c6a50a639368e369ce72d813256aee4 a version control marker? If so, can I view the change via the web?

Otherwise, when was the change made?


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.