Skip to contentSkip to conversation

New: Incorrectly detects Analog outputs as TV out on Apple Cards

Bug 39866 [email protected] 1 participant 12 messages Aug 5, 2011 – Aug 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=39866

Summary: Incorrectly detects Analog outputs as TV out on Apple
Cards
Product: xorg
Version: git
Platform: PowerPC
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=49974)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49974)
Dmesg from working boot with video=TV-1:d

When KMS is enabled the Nouveau kernel driver detects any DVI to VGA adapters as TV outputs even though the card lacks any native TV connectors. If I append video=TV-1:d to the kernel cmdline it properly detects the VGA adapter and output on the monitor works correctly. According to the radeon devs the DVI to TV adapter Apple sells provides its own EDID that can be used to detect it. (bug 19491 has this output and relates to properly detecting it.)

My system is a PowerMac 7,2 Dual 2Ghz G5 and the video card is nVidia Corporation NV34 [GeForce FX 5200 Ultra] (rev a1)

I will attach the dmesg from a working boot and I can get a non working boot in a second.

I have also seen reports of the TV out being mis detected on an Apple g4 machine with a geforce mx 400 and it's an integrated iLamp panel and I can get working and non working dmesg's from that user as well if you think it is related.

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #1 from Jon Sturm <[email protected]> 2011-08-05 14:23:14 PDT --- Created an attachment (id=49975)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49975)
Dmesg from a non-working boot without video=TV-1:d

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #2 from Jon Sturm <[email protected]> 2011-08-05 14:36:33 PDT --- Xrandr output from non working setup.
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected (normal left inverted right x axis y axis)

   1024x768       60.0 +   75.1     70.1
   832x624        74.6
   800x600        72.2     75.0     60.3
   640x480        72.8     75.0     60.0
   720x400        70.1
TV-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   720x576        50.0 +
   1024x768       50.0*
   800x600        50.0
   720x480        50.0
   640x480        50.0
   400x300       100.0
   320x240       100.0
   320x200       100.0

To me it looks like the VGA monitor's EDID is being mistaken for a DVI one and the TV-1 modes are generated internally by the driver. The real apple adapter includes its own EDID that can be used for detection and its modes should be used if I understand correctly.

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

Jon Sturm <[email protected]> changed:

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

                 CC|                            |[email protected]
                   |                            |rg, [email protected]
Signature · 4 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
#5 lore raw

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #3 from Jon Sturm <[email protected]> 2011-08-06 08:34:07 PDT --- Created an attachment (id=49996)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49996)
Power PC GeForce FX 5200 Ultra 64MB vbios

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #4 from Emil Velikov <[email protected]> 2011-08-07 13:33:05 PDT --- Hi Jon

Can you please provide a bit more information about the system
* Number and type of connectors
* Logs if you try and insert the DVI to VGA adapter (+ monitor that is) into "DVI-1" (if it exists)
* The same logs with additional verbose level - append "drm.debug=0x04" to your kernel command line

From what I can see the issue is not a case of "TV miss detection" as in those cases the monitor does produce output (about a 1/4 of the full resolution)

Cheers
Emil

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #5 from Jon Sturm <[email protected]> 2011-08-14 20:43:40 PDT --- There are two connectors on the card, one ADC(Apple Display Connector, which I
believe is basically DVI with USB) and one DVI, yaboot is having issues with
the machine but as soon as I get it back up I will get you those logs.

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #6 from Jon Sturm <[email protected]> 2011-08-15 22:34:42 PDT --- Created an attachment (id=50256)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50256)
dmesg drmdebug unpluging and repluging adapter

Attached is the dmesg with the drm debug line after I removed and repluged the adapter+monitor into the DVI port. I will do it without the drmdebug line shortly.

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #7 from Jon Sturm <[email protected]> 2011-08-15 23:08:05 PDT --- Created an attachment (id=50257)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50257)
dmesg after plug and unplug, no drmdebug

This is the dmesg from booting without drmdebug and I removed the adpater before nouveau was loaded. I tried to just boot without it but it seemed to force booting Mac OS X when no output was attached, I'm not sure why that was.

I also started X without a display attached but xrandr claimed DVI-I-2 was connected. Unpluging and replugging the display with X running caused xrandr to say TV-1 disconnected but DVI-I-2 and DVI-I-1 never changed. I can run the tests again with TV detection disabled if needed, assuming yaboot plays nicely.

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #8 from Jon Sturm <[email protected]> 2011-08-15 23:11:54 PDT --- I can also give a dev ssh access if needed as the box is mainly used as a build
box for Arch Linux PPC packages as well as for a few friends to test if their
code is big endian safe.

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

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

--- Comment #9 from Jon Sturm <[email protected]> 2011-08-22 18:39:03 PDT --- Ok so I overpaid for the official DVI to TV adapter from Apple and the good
news is that it works. The bad news is nouveau/xrandr still thinks both DVI-I-2
and TV-1 are connected. Dmesg mentions nothing about the DVI-I-2 connector
which makes me wonder why it is saying it is connected.

[14:38 jon@ArchG5 ~]$ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 640 x 480, maximum 4096 x 4096 DVI-I-1 disconnected (normal left inverted right x axis y axis) DVI-I-2 connected (normal left inverted right x axis y axis)

   1024x768       60.0
   800x600        60.3     56.2
   848x480        60.0
   640x480        59.9
TV-1 connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   720x576        50.0 +
   1024x768       50.0
   800x600        50.0
   720x480        50.0
   640x480        50.0*
   400x300       100.0
   320x240       100.0
   320x200       100.0
Signature · 4 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
#12 lore raw

[Bug 39866] Incorrectly detects Analog outputs as TV out on Apple Cards

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39866

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

Signature · 3 lines
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau