xrandr reports display as 'disconnected' when EDID data not captured successfully, even if display in question is active and in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: xserver-
OS = Xubuntu 8.10, fully updated as of Jan 1, 2009
xserver-
Video card = ATI Radeon 9250 PCI
Monitor = Sony CPD-E200 (aka Sony Multiscan E200)
I discovered this issue while trying to figure out why xscreensaver is broken after upgrading to Intrepid. After disabling new GNOME screensaver per instructions via 'man xscreensaver', xscreensaver still would not function.
Executing 'xscreensaver -verbose' yields output:
xscreensaver 5.07, copyright (c) 1991-2008 by Jamie Zawinski <email address hidden>.
xscreensaver: 08:00:57: running as gartiles/sysadmin (1000/1000)
xscreensaver: 08:00:57: in process 31960.
xscreensaver: 08:00:57: WARNING: RANDR and Xinerama report different
xscreensaver: 08:00:57: screen layouts! Believing RANDR.
xscreensaver: 08:00:57: running on display ":0.0"
xscreensaver: 08:00:57: vendor is The X.Org Foundation, 10502000.
xscreensaver: 08:00:57: useful extensions:
xscreensaver: 08:00:57: MIT Screen-Saver (disabled at compile time)
xscreensaver: 08:00:57: Shared Memory (1.1)
xscreensaver: 08:00:57: Double-Buffering (1.0)
xscreensaver: 08:00:57: Power Management (1.1)
xscreensaver: 08:00:57: GLX
xscreensaver: 08:00:57: XF86 Video-Mode (2.2)
xscreensaver: 08:00:57: XC Misc (0.9)
xscreensaver: 08:00:57: Xinerama (1.1)
xscreensaver: 08:00:57: Resize-and-Rotate (1.2)
xscreensaver: 08:00:57: screens in use: 0
xscreensaver: 08:00:57: rejected screens: 2
xscreensaver: 08:00:57: 0/0: 1280x1024+0+0 (VGA-0) -- output disabled
xscreensaver: 08:00:57: 1/0: 1280x1024+0+0 (S-video) -- output disabled
xscreensaver: 08:00:57: selecting RANDR events
xscreensaver: 08:00:57: consulting /proc/interrupts for keyboard activity.
xscreensaver: 08:00:57: selecting events on extant windows... done.
xscreensaver: 08:00:57: awaiting idleness.
xscreensaver then gets a segmentation fault when it is activated.
Note the fact that it detects zero screens in use and rejects two screens. Since xscreensaver says it is trusting xrandr, I started looking into xrandr's output. Executing 'xrandr -q --verbose' yields output:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1680 x 1200
VGA-0 disconnected 1280x1024+0+0 (0x4e) normal (normal left inverted right x axis y axis) 0mm x 0mm
Identifier: 0x4c
Timestamp: 4730505
Subpixel: no subpixels
Clones: S-video
CRTC: 0
CRTCs: 0 1
load_detection: 1 (0x00000001) range: (0,1)
S-video disconnected (normal left inverted right x axis y axis)
Identifier: 0x4d
Timestamp: 4730505
Subpixel: no subpixels
Clones: VGA-0
CRTCs: 0 1
tv_standard: ntsc
tv_vertical_
tv_horizontal_
tv_horizontal_
load_detection: 0 (0x00000000) range: (0,1)
1280x1024 (0x4e) 135.0MHz
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz
Note that VGA-0 is reported as disconnected by xrandr, however this is the output that I'm using. I have confirmed this by using xrandr to manually shut off the output ('xrandr --output VGA-0 --off', which results in a black screen) and then log in remotely to turn it back on ('xrandr --output VGA-0 --auto -display :0.0', which brings it back).
I spent some time on channel #xorg, and it appears that the issue may be the fact that the monitor type being detected is 0 for both VGA-0 and S-video. I am using a Belkin Omniview switch that might be interfering with EDID detection, but regardless of this, it seems incorrect that a display in use can be reported as disconnected.
I'm assuming that if VGA-0 is reported as connected, xscreensaver will use that screen, and that's what I want to resolve with this bug report.
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface [8086:2570] (rev 02)
Subsystem: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface [8086:2570]
03:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV280 [Radeon 9200 PRO] [1002:5960] (rev 01)
Subsystem: ATI Technologies Inc Device [1002:2002]
Changed in xorg-server: | |
assignee: | bryceharrington → nobody |
importance: | Wishlist → Medium |
status: | Incomplete → Triaged |
description: | updated |
tags: | added: intrepid |
tags: | added: xubuntu |
Also attaching my /etc/X11/xorg.conf file, which may be of interest. It is non-standard; the post-upgrade version was not allowing me to set the correct resolution.
With this xorg.conf file, I still can't change the resolution using the display control (which only shows 'default' as a choice), but I was able to force the default at the resolution I wanted (1280x1024), which is good enough for now. Solving that is a separate issue for me, but it may be related.
Note that the two option lines in the "device" section seem to be being ignored per Xorg.0.log.