All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Thierbach <dthierbach-Mmb7MZpHnFY@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: fehmarn-rund-6WyM7rXn5Gg@public.gmane.org
Subject: Re: TV-Out on a GeForce 2MX supported?
Date: Wed, 5 Mar 2014 12:06:46 +0100	[thread overview]
Message-ID: <20140305110645.GA1972@feanor> (raw)
In-Reply-To: <CAKb7Uvj2FKoRt2O6YqiamgL=svZqmxjxoqdxySN3Lidu+bWxsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Wed, Mar 05, 2014 at 12:40:34AM -0500, Ilia Mirkin wrote:
> On Mon, Mar 3, 2014 at 5:41 PM, Nils Krafft <fehmarn-rund-6WyM7rXn5Gg@public.gmane.org> wrote:
> > I have here a GeForce 2MX (NV10) with a Brooktree BT869 chip for the
> > TV-Out.

You can try nvtv (http://sourceforge.net/projects/nv-tv-out/). It bypasses
X and modesetting and programs the Brooktree and CRTC directly. I've
no idea if it still work with modern X and/or nouveau. :-)

> > shows me only the DVI connection (in fact it's VGA, not DVI), but not
> > the S-Video connection. If not supported, is this planned for future
> > versions?

> The relevant hardware is not easily available, nor is hardware to
> consume s-video/composite connections. 

I still have some hardware for both, though I haven't used it for a long
time.

> This sort of thing is probably
> only going to be supported if you make it happen. If you're
> interested, the relevant source file is
> drivers/gpu/drm/nouveau/dispnv04/tvnv04.c, and you'd have to add
> something in drivers/gpu/drm/i2c. BT* chips are usually easy to find
> docs for, and some of the additional details can probably be worked
> out from mmiotraces, assuming you can find a kernel that the blob
> driver will load on.

It's much better to work from the datasheet instead of doing mmiotraces,
the blob only has a few modes built-in.

The BT is actually a very flexible chip, and supports a very wide range
of modes with different overscan amount, plus different filtering options.

It probably wouldn't be hard to just take a few modes from nvtv and
put them into nouveau, similar to the (very few) Chrontel modes. What's 
missing is some sort of infrastructure in X to say "look, on this hardware
there are these two functional blocks (CRTC + BT), I would like to program
with the following values, and I've specified the values in the config
file, or I'm a user space program and provide these values over some X
extension".

This is even more effort now that modesetting is in the kernel (back
when nvtv was written, it wasn't).

Without this, you are pretty much stuck with precalculated modes.
Which isn't optimal, because with small overscan the timing gets a bit
fickle, and with larger overscan you get the ugly border, and every
analog TV is different in that respect.

- Dirk

  parent reply	other threads:[~2014-03-05 11:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 22:41 TV-Out on a GeForce 2MX supported? Nils Krafft
     [not found] ` <20140303224123.GA5720-0i3IwDS6Bd4yxn3+5HPDWA@public.gmane.org>
2014-03-05  5:40   ` Ilia Mirkin
     [not found]     ` <CAKb7Uvj2FKoRt2O6YqiamgL=svZqmxjxoqdxySN3Lidu+bWxsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-05 11:06       ` Dirk Thierbach [this message]
2014-03-05 17:46         ` Ilia Mirkin
     [not found]           ` <CAKb7Uvi97Yn8MOfhMiXLs+=VAd0LWEnmnF7iHyR58eKA_Pk_jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-05 19:34             ` Dirk Thierbach
2014-03-05 23:00               ` Francisco Jerez
     [not found]                 ` <871tyg6yk3.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2014-03-06  9:19                   ` Dirk Thierbach
2014-03-05 19:57             ` Nils Krafft
     [not found]               ` <20140305195756.GA3045-0i3IwDS6Bd4yxn3+5HPDWA@public.gmane.org>
2014-03-05 20:39                 ` Ilia Mirkin
     [not found]                   ` <CAKb7UvieoTobCuzfNty0NGLucqOHpq=hLeiKx3-jcT1dtsMShw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-10 20:18                     ` Nils Krafft
2014-03-05 22:08                 ` Dirk Thierbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140305110645.GA1972@feanor \
    --to=dthierbach-mmb7mzphnfy@public.gmane.org \
    --cc=fehmarn-rund-6WyM7rXn5Gg@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.