Skip to contentSkip to conversation

New: randr12: VGA-0 always reported as "disconnected"

Bug 15350 [email protected] 1 participant 22 messages Apr 4, 2008 – Aug 9, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=15350

Summary: randr12: VGA-0 always reported as "disconnected"
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=15678)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15678)
xorg.conf

I'm using nouveau from git with Fedora Raw Hide-ish Xorg, on a laptop with:

00:05.0 VGA compatible controller: nVidia Corporation C51 [Geforce 6150 Go] (rev a2)

the LVDS works fine, but I can't get the VGA output to work. xrandr -q always reports "VGA-0 disconnected".

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-15350-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #1 from Joe Orton <[email protected]> 2008-04-04 08:30:28 PST --- Created an attachment (id=15679)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15679)
Xorg.0.log

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #2 from Joe Orton <[email protected]> 2008-04-04 08:31:31 PST --- Created an attachment (id=15680)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15680)
xrandr -q output

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #3 from Joe Orton <[email protected]> 2008-04-04 08:32:37 PST --- I added the:

Option "Monitor-LVDS" "Laptop LCD"
Option "Monitor-VGA-0" "External VGA"

& associated Monitor sections to xorg.conf in an attempt to force detection of the VGA output, but it didn't make any difference.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #4 from Maarten Maathuis <[email protected]> 2008-04-04 08:39:49 PST --- Is your monitor DDC capable?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #5 from Joe Orton <[email protected]> 2008-04-04 09:05:37 PST --- Yes, I've tried with two separate LCD panels.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |sb476-KWPb1pKIrIJaa/[email protected]

--- Comment #6 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-04 13:31:10 PST --- If you bludgeon the ext vga into connectedness (say, by adding "return XF86OutputStatusConnected;" at the top of nv_analog_output_detect in
nv_output.c), any joy? If not, a log of attempting that would be good.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #7 from Joe Orton <[email protected]> 2008-04-04 14:10:06 PST --- Earlier I tried changing that very function to return XF86OutputStatusUnknown
in the fall-through case rather than Disconnected; would you expect that to
have a similar effect?

It seemed a little better; the monitor displayed a blank screen rather than screaming "omg no input"; it didn't fetch the EDID info though. I added debugging printfs to nv_get_edid to see where it was falling out, and it was:

        ddc_mon = xf86OutputGetEDID(output, nv_output->pDDCBus);
        if (!ddc_mon) {

returning ddc_mon == NULL here. I'm off to a conference for all of next week so may not be able to play with this any more for a while. Suggestions on how to debug further (or to tell me I'm simply screwing up the config!) welcome.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #8 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-04 14:38:11 PST --- Last time I lookked, "Unknown" outputs were only used if nothing could be found
as definitely connected -- since the LVDS *is* connected, you lose. Saying it
is definitely connected should make the xserver use its pool of default modes.

I'm not too worried yet about the lack of ddc, as I strongly suspect (having looked at a C51 bios image) that the integrated chipset uses a different set of regs to read/write I2C, hence ddc is broken. Before fixing that though, I'd like to be convinced that using the xserver's fallback default modes we can get the screen lit up without additional trickery being required.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #9 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-26 17:15:48 PST --- Hi, any luck with trying to force a connected status as described in comment 6?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #10 from Joe Orton <[email protected]> 2008-04-29 06:02:29 PST --- Created an attachment (id=16235)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16235)
new Xorg log

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #11 from Joe Orton <[email protected]> 2008-04-29 06:03:33 PST --- Created an attachment (id=16236)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16236)
debugging diff

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #12 from Joe Orton <[email protected]> 2008-04-29 06:07:06 PST --- Sorry about the delay.

I've attached the diff I'm using, and the log which results, same config as above. The results are the same: nothing is displayed on the monitor, but the monitor is not screaming "no input" any more. (and e.g. after forcing a mode change with xrandr, the monitor flicked up "Auto adjust" but then carried on displaying nothing)

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

Joe Orton <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #16235|text/x-log                  |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #13 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-29 06:43:29 PST --- I'm beginning to suspect that something in your xorg conf is working against
you; your initial log claims no modes exist for VGA-0, and your new log manages
to find a 1360x768 mode, which is quite special. Maybe try without the
additional Monitor sections, and/or add something like

Modes "1024x768" "800x600" "640x480"

inside the Display subsection of your Screen section. Bug 15729 (same chipset as this bug) manages to use the load detection stuff correctly (although it obviously only uses a pool of generic modes), so that ought to work here too.

That said, there's now a C51 DDC patch in the same bug which will hopefully fix your DDC too.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #14 from Joe Orton <[email protected]> 2008-05-01 08:12:08 PST --- Created an attachment (id=16300)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16300)
current config

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #15 from Joe Orton <[email protected]> 2008-05-01 08:12:46 PST --- Created an attachment (id=16301)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16301)
current log

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #16 from Joe Orton <[email protected]> 2008-05-01 08:19:33 PST --- I've applied the patch from Bug 15729 and this seems to be getting the DDC info
correctly from the (Dell) panel - nice work! It's also not falling through to
the debugging force-connected hack any more.

I'm still not getting any output on the VGA head, though.

Attached current config/log.

(I've no idea why it likes 1360x768. One of the three panels I have ever tried testing with uses that as a native resolution; the only one not currently in the same room as the laptop!)

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #17 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-05-01 11:16:46 PST --- Looking over your log, it seems you're using a checkout of the nouveau ddx
that's around a month old. In the intervening period there have been several
commits which could affect issues of this sort, so it's worth doing future
testing against the code in git (the git code also has the C51 DDC patch
applied).

Please also test with Option "ModeDebug" "On" in the Device section of your
xorg.conf to generate a more verbose log, and when in X, see if setting some different modes helps: run xrandr to see a list of available resolutions for VGA-0, then set one using xrandr --output VGA-0 --mode 800x600 (for an 800x600 mode).

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #18 from Pekka Paalanen <[email protected]> 2009-08-09 00:45:01 PST --- Joe, any news on this issue?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#21 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

--- Comment #19 from Joe Orton <[email protected]> 2009-08-09 01:36:08 PST --- Sorry, the laptop on which I saw this bug joined the bit bucket in the sky a
while back. Feel free to close out if you think appropriate.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#22 lore raw

[Bug 15350] randr12: VGA-0 always reported as "disconnected"

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15350

Pekka Paalanen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #20 from Pekka Paalanen <[email protected]> 2009-08-09 01:44:06 PST --- Okay, thanks. Closing.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.