Skip to contentSkip to conversation

New: S-video & composite output

Bug 19491 [email protected] 3 participants 8 messages Jan 10, 2009 – Aug 18, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: S-video & composite output
Product: xorg
Version: 7.4
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

I finally got nouveau (from git) working on my PowerBook G4 12" (running Debian testing with unstable's X server).
Now, my next step is to get it to drive my TV. I have it connected via Apple's "mini-DVI to Video Adapter", which comes with both an S-video and a composite output.

When I start X, `xrandr' tells me:

% xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1360 x 1360 LVDS-0 connected 1024x768+0+0 (normal left inverted right x axis y axis)
245mm x 184mm

      1024x768       60.0*+
      800x600        60.3  
      640x480        59.9  
   DVI-I-0 connected 1024x768+0+0 (normal left inverted right x axis y axis)
1mm x 257mm
      1360x768       59.8  
      1152x864       60.0  
      1024x768       60.0* 
      800x600        60.3  
      640x480        59.9  
      680x384       119.6    119.9  
      576x432       120.1  
      512x384       120.0  
      400x300       120.6  
      320x240       120.1  

%

so it appears that this video adapter is detected as a sort of DVI screen. And indeed, my TV (which is connected via the `composite' output if it matters) does show something ;-), but not something meaningful :-(. If I try to switch to some other mode e.g. with

   xrandr --output DVI-I-0 --mode 640x480

the meaningless output changes, but stays mostly meaningless (sometimes I can recognize some shapes, which indicate clearly that the "garbage" is actually representing the screen, just probably not with the right frequency/polarity/godknowswhat/...).

Does anybody have some idea if I can get it to work with the current code, if so how, and if not, how I can help make it work?

Stefan

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.
#2 lore raw

[Bug 19491] S-video & composite output

In reply to a message not in the archive

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

--- Comment #1 from Pekka Paalanen <[email protected]> 2009-01-10 02:01:23 PST --- The first question is, what exactly is a "mini-DVI to Video Adapter"? Does it really convert DVI-A RGBVH-signal to S-video/composite, or does your graphics card have special hardware to explicitly generate S-video/composite signal
(which would be normal case with PC hardware)?

In the latter case there is only one thing to do: reverse-engineer and implement it. Nouveau still lacks any kind of real analog tv-out support. If it is the former case, then the bug summary should be changed, and the problem is just with setting the right display mode.

Have you tried crafting a modeline that exactly matches your tv-standard and used that?

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 19491] S-video & composite output

In reply to a message not in the archive

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

--- Comment #2 from Younes Manton <[email protected]> 2009-01-10 08:50:19 PST --- Mini-DVI carries DVI, VGA, and S-Vid/composite signals and all an adaptor does
is expose the right signals, so I think it's the usual no TV-out support 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.
#4 lore raw

[Bug 19491] S-video & composite output

In reply to a message not in the archive

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

--- Comment #3 from [email protected] 2009-01-10 12:13:25 PST ---

Quoted 1 line

The first question is, what exactly is a "mini-DVI to Video Adapter"?

Of course, but I have no idea. It's a black (well, white) box to me. To tell you the truth, I always assumed it was a dummy thingy that exposes the S-video signal from mini-DVI.
http://store.apple.com/ca/product/M9319G/A?fnode=MTY1NDA5OQ&mco=MjE0NTg3OQ
Its size seems to indicate that it has a bit more than just wires, so maybe it does some conversion, but I expect the only conversion it does is from S-video to composite.

Still, I'm not sure of that, because as shown in my `xrandr' output, the nouveau driver seems to detect this adapter as a "DVI-I-0".

Quoted 2 lines

Have you tried crafting a modeline that exactly matches your tv-standard and used that?

You mean using "xrandr --newmode"? I'll try that, thanks.

Quoted 2 lines

Mini-DVI carries DVI, VGA, and S-Vid/composite signals and all an adaptor does is expose the right signals, so I think it's the usual no TV-out support issue.

Is there something I can do to help get TV-out support?

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 19491] S-video & composite output

In reply to a message not in the archive

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

--- Comment #4 from Younes Manton <[email protected]> 2009-01-11 11:03:32 PST --- (In reply to comment #3)

Quoted 3 lines

Is there something I can do to help get TV-out support?

Unless you want to try reverse engineering it yourself you just have to wait until someone has the time and motivation to do it. If someone does do that then feel free to volunteer to test it. :)

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

Re: [Bug 19491] S-video & composite output

Quoted 6 lines

http://bugs.freedesktop.org/show_bug.cgi?id=19491
--- Comment #4 from Younes Manton <[email protected]> 2009-01-11 11:03:32 PST --- (In reply to comment #3)

Quoted 1 line

Is there something I can do to help get TV-out support?

Unless you want to try reverse engineering it yourself you just have to wait until someone has the time and motivation to do it.

I haven't done any coding in an Xserver or anything even remotely similar, but if someone is willing to coach me, I'd be interested in giving it a try.

Stefan

#8 lore raw

Re: [Bug 19491] S-video & composite output

In reply to a message not in the archive
Quoted 12 lines · Stefan Monnier
Quoted 6 lines

http://bugs.freedesktop.org/show_bug.cgi?id=19491
--- Comment #4 from Younes Manton <[email protected]> 2009-01-11 11:03:32 PST --- (In reply to comment #3)

Quoted 1 line

Is there something I can do to help get TV-out support?

Unless you want to try reverse engineering it yourself you just have to wait until someone has the time and motivation to do it.

I haven't done any coding in an Xserver or anything even remotely similar, but if someone is willing to coach me, I'd be interested in giving it a try.

Sure, I guess you could drop by on irc and ask. We are usually friendly with people willing to make an effort :)
FWIW I would start this with a trace of the binary driver or looking at the bios (it depends on the card you have)...

Stephane

#9 lore raw

[Bug 19491] S-video & composite output

In reply to a message not in the archive

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

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

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

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

--- Comment #5 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 · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

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