TV out for Xorg/OpenBSD?

2008-08-17 Thread Edd Barrett
Hi,

We have this BSD box with some films on, and someone had the idea of
hookiing it up to the TV so we can watch DVD's etc in the living room.
Not a bad idea, but I don't know how.

My friend bought a VGA->Scart cable, and I have tried various
resolutions and various horizontal and vertical ranges without luck.

I asked a friend who is into this sort of thing and he reckoned
[EMAIL PROTECTED] is a good start, but the best I have had is a messed up
picture with diagonal scan lines moving down the screen quickly.

If you google you get links to linux "howto's" for the proprietary linux
drivers, so no thanks to that.

I wonder if anyone knows a way.

-- 

Best Regards
Edd

http://students.dec.bmth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-17 Thread Jussi Peltola
On Sun, Aug 17, 2008 at 04:22:33PM +0100, Edd Barrett wrote:
> Hi,
> 
> We have this BSD box with some films on, and someone had the idea of
> hookiing it up to the TV so we can watch DVD's etc in the living room.
> Not a bad idea, but I don't know how.
> 
> My friend bought a VGA->Scart cable, and I have tried various
> resolutions and various horizontal and vertical ranges without luck.
> 
> I asked a friend who is into this sort of thing and he reckoned
> [EMAIL PROTECTED] is a good start, but the best I have had is a messed up
> picture with diagonal scan lines moving down the screen quickly.
 
You need an interlaced [EMAIL PROTECTED] mode. A suitable modeline should be
findable with google.



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
On Sun, Aug 17, 2008 at 07:16:51PM +0300, Jussi Peltola wrote:
> On Sun, Aug 17, 2008 at 04:22:33PM +0100, Edd Barrett wrote:
> > Hi,
> > 
> > We have this BSD box with some films on, and someone had the idea of
> > hookiing it up to the TV so we can watch DVD's etc in the living room.
> > Not a bad idea, but I don't know how.
> You need an interlaced [EMAIL PROTECTED] mode. A suitable modeline should be
> findable with google.
> 

OK, well [EMAIL PROTECTED] is the standard vga option in xorg.conf. This fails
:(

As for modelines, googling "modeline tvmodel xorg" doesn't bring back any
results.

-- 

Best Regards
Edd

http://students.dec.bmth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Fred Crowson

Edd Barrett wrote:

On Sun, Aug 17, 2008 at 07:16:51PM +0300, Jussi Peltola wrote:

On Sun, Aug 17, 2008 at 04:22:33PM +0100, Edd Barrett wrote:

Hi,

We have this BSD box with some films on, and someone had the idea of
hookiing it up to the TV so we can watch DVD's etc in the living room.
Not a bad idea, but I don't know how.

You need an interlaced [EMAIL PROTECTED] mode. A suitable modeline should be
findable with google.



OK, well [EMAIL PROTECTED] is the standard vga option in xorg.conf. This fails
:(

As for modelines, googling "modeline tvmodel xorg" doesn't bring back any
results.


Hi Edd,

The online XFree modeline generator [1] can generate interlace modelines 
- are they any different to the one's you've tried?


HTH

Fred
[1] http://xtiming.sourceforge.net/cgi-bin/xtiming.pl



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Siegbert Marschall
Hi,

> Edd Barrett wrote:
>> On Sun, Aug 17, 2008 at 07:16:51PM +0300, Jussi Peltola wrote:
>>> On Sun, Aug 17, 2008 at 04:22:33PM +0100, Edd Barrett wrote:
 Hi,

 We have this BSD box with some films on, and someone had the idea of
 hookiing it up to the TV so we can watch DVD's etc in the living room.
 Not a bad idea, but I don't know how.
>>> You need an interlaced [EMAIL PROTECTED] mode. A suitable modeline should be
>>> findable with google.
>>>
>>
>> OK, well [EMAIL PROTECTED] is the standard vga option in xorg.conf. This 
>> fails
>> :(
>>
>> As for modelines, googling "modeline tvmodel xorg" doesn't bring back
>> any
>> results.

You can try some of the modelines there and need to make sure
the tv is in rgb mode and the sync-line ist connected and put's
out the right singal.

http://www.unix-ag.uni-kl.de/~pfeffer/tvout/index.html

Alternatively most modern cards have a tv-out, don't know what is
supported by the x-servers. The solution using RGB above will
give the best picture quality if you get it working.

-sm



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Zoran Kolic
Howdy!
Eons ego I recall using klone language to
make appropriate ModeLine for Xfree conf
file. Also, some scripts live inside si-
milarly named directory to help that process.
lso, take a look at this faqs:
  http://www.at.openbsd.org/faq/faq11.html#XF86
Hope this helps.

  Zoran



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
Hi,

On Mon, Aug 18, 2008 at 4:29 PM, Siegbert Marschall <[EMAIL PROTECTED]> wrote:
> You can try some of the modelines there and need to make sure
> the tv is in rgb mode and the sync-line ist connected and put's
> out the right singal.
>
> http://www.unix-ag.uni-kl.de/~pfeffer/tvout/index.html

OK i tried the PAL [EMAIL PROTECTED] modeline shown here with no luck. I
should think of all of them this would work.

>
> Alternatively most modern cards have a tv-out, don't know what is
> supported by the x-servers.

This card does have a tv out of some form. Its the type of cable which
usually goes into the yellow socket next to the red and white audio
ones (yah, i dont know a thing about this stuff).

I have a cable hooked up to this aswell as vga, with no results.

All I can think of is that I will have to look in the menus for
related settings *if* i can find the right remote. UNtil now Im using
another sony remote, which happens to work, but not for menus.

The TV is a Sony KD-28DL11U
The card is a "NVIDIA GeForce4 MX 420" rev 0xa3
-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Antti Harri

On Mon, 18 Aug 2008, Edd Barrett wrote:


The card is a "NVIDIA GeForce4 MX 420" rev 0xa3


I'm not 100% sure but I don't think that will work without
the blobby nvidia driver. Which of course isn't available
on OpenBSD.

Try switching to a recent ATI card, tv-out should work on it.
At least my friend told me he had it working on his
x1550 and open source drivers.

--
Antti Harri



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Diana Eichert

On Mon, 18 Aug 2008, Edd Barrett wrote:
SNIP

This card does have a tv out of some form. Its the type of cable which
usually goes into the yellow socket next to the red and white audio
ones (yah, i dont know a thing about this stuff).


composite video out



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
On Mon, Aug 18, 2008 at 5:40 PM, Antti Harri <[EMAIL PROTECTED]> wrote:
> On Mon, 18 Aug 2008, Edd Barrett wrote:
>
>> The card is a "NVIDIA GeForce4 MX 420" rev 0xa3
>
> I'm not 100% sure but I don't think that will work without
> the blobby nvidia driver. Which of course isn't available
> on OpenBSD.

Ah wonderful. Does this apply for the vga port too, sing the VGA to
scart adaptor? If I plug the box into a LCD monitor i see [EMAIL PROTECTED]
just fine, its just a very small screen, not ideal for films.

>
> Try switching to a recent ATI card, tv-out should work on it.
> At least my friend told me he had it working on his
> x1550 and open source drivers.

Ill see what I can find, but generally i use onboard cards. This one
happens to have a card in.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
On Mon, Aug 18, 2008 at 1:49 PM, Fred Crowson <[EMAIL PROTECTED]> wrote:
> The online XFree modeline generator [1] can generate interlace modelines -
> are they any different to the one's you've tried?
>
> HTH
>
> Fred
> [1] http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
>


Unbelieveably the manual for the tv does not give you ANY of this information.

I get the feeling this plan is doomed.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Antti Harri

On Mon, 18 Aug 2008, Edd Barrett wrote:


Ah wonderful. Does this apply for the vga port too, sing the VGA to
scart adaptor? If I plug the box into a LCD monitor i see [EMAIL PROTECTED]
just fine, its just a very small screen, not ideal for films.


Sorry I don't know about that.


Ill see what I can find, but generally i use onboard cards. This one
happens to have a card in.


Those ATI cards seem to be pretty cheap even as new but if I were you I 
would try to lend and test one before buying.


--
Antti Harri



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
On Mon, Aug 18, 2008 at 6:10 PM, Antti Harri <[EMAIL PROTECTED]> wrote:
> Those ATI cards seem to be pretty cheap even as new but if I were you I
> would try to lend and test one before buying.

Good plan, Ill ask around my friends see if anyone has one.

Any idea what model would be good for this?

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Siegbert Marschall
Hi,

> On Mon, Aug 18, 2008 at 5:40 PM, Antti Harri <[EMAIL PROTECTED]> wrote:
>> On Mon, 18 Aug 2008, Edd Barrett wrote:
>>
>>> The card is a "NVIDIA GeForce4 MX 420" rev 0xa3
>>
>> I'm not 100% sure but I don't think that will work without
>> the blobby nvidia driver. Which of course isn't available
>> on OpenBSD.
>
> Ah wonderful. Does this apply for the vga port too, sing the VGA to
> scart adaptor? If I plug the box into a LCD monitor i see [EMAIL PROTECTED]
> just fine, its just a very small screen, not ideal for films.
>
If you can see the picture on a standard computer screen, you very likely
are running a modeline which doesn't work on a standard tv. It's likely
not interlaced and you need the interlaced signal for the tv.

Most LCD and CRT screens nowadays are not capable of syncing down to
the 15.625KHz of the TV-Signal.

modeline "pal_768x576" 14.75 768 784 864 944 576 582 588 625 -hsync -vsync
interlace # H 15625 [Hz], V 50 [Hz]

modeline "pal_720x576" 13.875 720 744 808 888 576 582 588 625 -hsync
-vsync interlace # H 15625 [Hz], V 50 [Hz]

You can check the X-log to see if the card actually accepts the modeline
and uses it. If you put only this resolution into the config it should
either start with it correctly or drop out with an error.

Then I would use an Oscilloscope to check the signals on the
Scart-Connector to make sure you have what your TV needs.

Maybe somebody from the electrical-engineering department at your
university can help you with that.

I had something like that running in the past, but since I don't have a TV
anymore... ;)

-sm



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Jacob Meuser
On Mon, Aug 18, 2008 at 11:19:17AM +0100, Edd Barrett wrote:
> On Sun, Aug 17, 2008 at 07:16:51PM +0300, Jussi Peltola wrote:
> > On Sun, Aug 17, 2008 at 04:22:33PM +0100, Edd Barrett wrote:
> > > Hi,
> > > 
> > > We have this BSD box with some films on, and someone had the idea of
> > > hookiing it up to the TV so we can watch DVD's etc in the living room.
> > > Not a bad idea, but I don't know how.
> > You need an interlaced [EMAIL PROTECTED] mode. A suitable modeline should be
> > findable with google.
> > 
> 
> OK, well [EMAIL PROTECTED] is the standard vga option in xorg.conf. This fails
> :(
> 
> As for modelines, googling "modeline tvmodel xorg" doesn't bring back any
> results.

maybe this helps?

http://www.sput.nl/hardware/tv-x.html

or maybe even

http://www.epanorama.net/circuits/vga2tv/cindex.html

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Antti Harri

On Mon, 18 Aug 2008, Edd Barrett wrote:


On Mon, Aug 18, 2008 at 6:10 PM, Antti Harri <[EMAIL PROTECTED]> wrote:

Those ATI cards seem to be pretty cheap even as new but if I were you I
would try to lend and test one before buying.


Good plan, Ill ask around my friends see if anyone has one.

Any idea what model would be good for this?


Well the x1550 (and other x1*** too probably) should work,
but since these are all assumptions you might want to do some 
googling..


My friend had PCI-e version but I don't think it matters.
I can ask about some details about configuration when he gets
back online..

I've been trying to get AGP version myself but they're all sold
out here in Finland. I've been searching for x1650 because the
x1950 (or something like that) is way too expensive for my
taste.

--
Antti Harri



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
On Mon, Aug 18, 2008 at 6:15 PM, Siegbert Marschall <[EMAIL PROTECTED]> wrote:
> modeline "pal_768x576" 14.75 768 784 864 944 576 582 588 625 -hsync -vsync
> interlace # H 15625 [Hz], V 50 [Hz]
>
> modeline "pal_720x576" 13.875 720 744 808 888 576 582 588 625 -hsync
> -vsync interlace # H 15625 [Hz], V 50 [Hz]

(II) NV(0): Not using mode "pal_768x576" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using mode "pal_720x576" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using mode "pal_768x576" (no mode of this name)
(II) NV(0): Not using mode "pal_720x576" (no mode of this name)

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
On Mon, Aug 18, 2008 at 6:19 PM, Jacob Meuser <[EMAIL PROTECTED]> wrote:
> maybe this helps?
>
> http://www.sput.nl/hardware/tv-x.html

(II) NV(0): Not using mode "736x575i" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using mode "736x575i" (no mode of this name)


>
> or maybe even
>
> http://www.epanorama.net/circuits/vga2tv/cindex.html

I was hoping to not have to go down this low level.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Ted Unangst
On 8/17/08, Edd Barrett <[EMAIL PROTECTED]> wrote:
>  We have this BSD box with some films on, and someone had the idea of
>  hookiing it up to the TV so we can watch DVD's etc in the living room.
>  Not a bad idea, but I don't know how.

So far, nobody has suggested the very easy "solution" of buying a TV
that accepts vga input.  Practically all of them do now.  I found that
works out quite a bit better, but of course it's more investment.



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Edd Barrett
Hi,

On Mon, Aug 18, 2008 at 5:40 PM, Antti Harri <[EMAIL PROTECTED]> wrote:
> Try switching to a recent ATI card, tv-out should work on it.
> At least my friend told me he had it working on his
> x1550 and open source drivers.

How about something like this:
http://cgi.ebay.co.uk/ATI-Rage-3D-LT-Pro-8MB-PCI-Video-Graphics-Card-w-Tv-Out_W0QQitemZ290253363799QQcmdZViewItem?hash=item290253363799&_trkparms=39%3A1|66%3A2|65%3A15|240%3A1318&_trksid=p3286.c0.m14


-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-18 Thread Louis V. Lambrecht

Ted Unangst wrote:

On 8/17/08, Edd Barrett <[EMAIL PROTECTED]> wrote:
  

 We have this BSD box with some films on, and someone had the idea of
 hookiing it up to the TV so we can watch DVD's etc in the living room.
 Not a bad idea, but I don't know how.



So far, nobody has suggested the very easy "solution" of buying a TV
that accepts vga input.  Practically all of them do now.  I found that
works out quite a bit better, but of course it's more investment.


  


Just bought a Samsung 2032MW 20inch monitor.
Has all connectors, VGA, DVI, SCART, video... has a tuner.  Has PIP,
you can watch TV and you PC session simultaneousy. For just 199 Euro.

Larger models, sold as TVs, mostly have all connectors too, just that the
"TV"s don't have Picture In Picture, while PC monitors do.

Now PAL 720i (720 horiz * 2x288) is broadcast quality: the signal sent by
the station. "Good" home TV's can differenciate 360 horiz signals.
VHS tapes are in the 360/240 area.
A good starting point for PAL TV might be 360*288 at 50 Hz or
360*576 at 25 Hz interlaced.



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread J.C. Roberts
On Sunday 17 August 2008, Edd Barrett wrote:
> Hi,
>
> We have this BSD box with some films on, and someone had the idea of
> hookiing it up to the TV so we can watch DVD's etc in the living
> room. Not a bad idea, but I don't know how.
>
> My friend bought a VGA->Scart cable, and I have tried various
> resolutions and various horizontal and vertical ranges without luck.
>
> I asked a friend who is into this sort of thing and he reckoned
> [EMAIL PROTECTED] is a good start, but the best I have had is a messed up
> picture with diagonal scan lines moving down the screen quickly.
>
> If you google you get links to linux "howto's" for the proprietary
> linux drivers, so no thanks to that.
>
> I wonder if anyone knows a way.


Edd,

Could you post (or privately email) your xorg.conf and X.org.log

I don't know a thing about S-Video and have never heard of "Scart" 
before, but we might be able to get the TV Out (Composite Video) 
working on that card with the default driver.

At one point in time, the TV Out on nVidia cards was handled by a 
separate chipset (brooktree/conexant/philips/?) but I doubt that is the 
case on GeForce4mx and newer cards. None the less, the trick with cards 
that have multiple outputs is making sure you're talking to the right 
output. The nv(4) driver will try to auto-detect if an output device is 
connected (monitor/TV/?) but it may not get it right and may default to 
the wrong output.

There are two things you can try:
1.) Force access to the TV Out interface through the BusID
(see xorg.conf(5))

BusID "PCI:1:0:0"
# or
BusID "PCI:2:0:0"

2.) Force access to the TV Out interface through CrtcNumber
(see nv(4))

Option "CrtcNumber" "integer"

You can often coerce (force) video cards with multiple outputs to play 
nicely even when they are such total garbage that the vendor (nVidia) 
is afraid to provide specifications for them.

There is one issue I see that might be a problem, namely NTSC versus PAL 
but a lot of TV sets these days can accept either, so we might get 
lucky. If not, the PAL modelines you posted look reasonable.

Kind Regards,
JCR



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread Edd Barrett
Hi JC,

On Tue, Aug 19, 2008 at 9:48 AM, J.C. Roberts <[EMAIL PROTECTED]> wrote:
> Could you post (or privately email) your xorg.conf and X.org.log
>
> I don't know a thing about S-Video and have never heard of "Scart"
> before, but we might be able to get the TV Out (Composite Video)
> working on that card with the default driver.
>
> At one point in time, the TV Out on nVidia cards was handled by a
> separate chipset (brooktree/conexant/philips/?) but I doubt that is the
> case on GeForce4mx and newer cards. None the less, the trick with cards
> that have multiple outputs is making sure you're talking to the right
> output. The nv(4) driver will try to auto-detect if an output device is
> connected (monitor/TV/?) but it may not get it right and may default to
> the wrong output.
>
> There are two things you can try:
> 1.) Force access to the TV Out interface through the BusID
> (see xorg.conf(5))
>
>BusID "PCI:1:0:0"
> # or
>BusID "PCI:2:0:0"
>
> 2.) Force access to the TV Out interface through CrtcNumber
> (see nv(4))
>
>Option "CrtcNumber" "integer"
>
> You can often coerce (force) video cards with multiple outputs to play
> nicely even when they are such total garbage that the vendor (nVidia)
> is afraid to provide specifications for them.
>
> There is one issue I see that might be a problem, namely NTSC versus PAL
> but a lot of TV sets these days can accept either, so we might get
> lucky. If not, the PAL modelines you posted look reasonable.
>
> Kind Regards,
> JCR
>

This sounds great! I think we should take this off list perhaps to
stop boring people.

Bye misc@

Which xorg.conf would you like? I tried many configurations. I guess
its the log you are more interested in.


-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread Jason Beaudoin


> This sounds great! I think we should take this off list perhaps to
> stop boring people.
>
> Bye misc@

I am certainly interested in your results though, maybe you can update
us in the end?


thanks!
~Jason



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread Todd T. Fries
Hey guys,

I think I know what J.C. Roberts is looking for, but alas it is hard to find.

I also purchased one of these vga -> svideo cables, and it truly is just
that, some form of converter from vga to s-video with no logic inside.

So, you have to have the perfect sync on the vga side to make the picture show
up nice on the TV side.

I never got this to work.

What I have found is lots of video adapters have a builtin s-video port, which
works for displaying videos on the tv.  With one huge caveat.  Out of the
5 cards I have that do s-video out, two of them pci 'ATI Mach64' cards, only
one (one of the 'ATI Mach64' cards puts out a signal that looks decent.
Some of them put out signals that flicker and never sync, others put out
signals that color shift or do other visual eyesores.

So, if you really are on a low budget, find a used computer store and get
some Mach64 card or some other card that has a known good s-video output
signal, and enjoy your movies.

Me, personally, I'm looking forward to saving up for a widescreen (2-3 years
out at best) that has a vga/dvi input for a computer to display to directly
without the s-video limitations.

Until then, I enjoy lots of video files in my living room courtesy OpenBSD.

Have fun,

P.S. Edd, if you do have a resolution that works with the VGA->S-Video cable,
I suggest posting it here on the mailing list, there will be a use for it to
be in the archives I am sure.
-- 
Todd Fries .. [EMAIL PROTECTED]

 _
| \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \  250797 (FWD)
| \
 \\
 
  37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt

Penned by J.C. Roberts on 20080819  1:48.46, we have:
| On Sunday 17 August 2008, Edd Barrett wrote:
| > Hi,
| >
| > We have this BSD box with some films on, and someone had the idea of
| > hookiing it up to the TV so we can watch DVD's etc in the living
| > room. Not a bad idea, but I don't know how.
| >
| > My friend bought a VGA->Scart cable, and I have tried various
| > resolutions and various horizontal and vertical ranges without luck.
| >
| > I asked a friend who is into this sort of thing and he reckoned
| > [EMAIL PROTECTED] is a good start, but the best I have had is a messed up
| > picture with diagonal scan lines moving down the screen quickly.
| >
| > If you google you get links to linux "howto's" for the proprietary
| > linux drivers, so no thanks to that.
| >
| > I wonder if anyone knows a way.
| 
| 
| Edd,
| 
| Could you post (or privately email) your xorg.conf and X.org.log
| 
| I don't know a thing about S-Video and have never heard of "Scart" 
| before, but we might be able to get the TV Out (Composite Video) 
| working on that card with the default driver.
| 
| At one point in time, the TV Out on nVidia cards was handled by a 
| separate chipset (brooktree/conexant/philips/?) but I doubt that is the 
| case on GeForce4mx and newer cards. None the less, the trick with cards 
| that have multiple outputs is making sure you're talking to the right 
| output. The nv(4) driver will try to auto-detect if an output device is 
| connected (monitor/TV/?) but it may not get it right and may default to 
| the wrong output.
| 
| There are two things you can try:
| 1.) Force access to the TV Out interface through the BusID
| (see xorg.conf(5))
| 
|   BusID "PCI:1:0:0"
| # or
|   BusID "PCI:2:0:0"
| 
| 2.) Force access to the TV Out interface through CrtcNumber
| (see nv(4))
| 
|   Option "CrtcNumber" "integer"
| 
| You can often coerce (force) video cards with multiple outputs to play 
| nicely even when they are such total garbage that the vendor (nVidia) 
| is afraid to provide specifications for them.
| 
| There is one issue I see that might be a problem, namely NTSC versus PAL 
| but a lot of TV sets these days can accept either, so we might get 
| lucky. If not, the PAL modelines you posted look reasonable.
| 
| Kind Regards,
| JCR



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread J.C. Roberts
On Tuesday 19 August 2008, Edd Barrett wrote:
> Hi JC,
>
> On Tue, Aug 19, 2008 at 9:48 AM, J.C. Roberts 
<[EMAIL PROTECTED]> wrote:
> > Could you post (or privately email) your xorg.conf and X.org.log
> >
> > I don't know a thing about S-Video and have never heard of "Scart"
> > before, but we might be able to get the TV Out (Composite Video)
> > working on that card with the default driver.
> >
> > At one point in time, the TV Out on nVidia cards was handled by a
> > separate chipset (brooktree/conexant/philips/?) but I doubt that is
> > the case on GeForce4mx and newer cards. None the less, the trick
> > with cards that have multiple outputs is making sure you're talking
> > to the right output. The nv(4) driver will try to auto-detect if an
> > output device is connected (monitor/TV/?) but it may not get it
> > right and may default to the wrong output.
> >
> > There are two things you can try:
> > 1.) Force access to the TV Out interface through the BusID
> > (see xorg.conf(5))
> >
> >BusID "PCI:1:0:0"
> > # or
> >BusID "PCI:2:0:0"
> >
> > 2.) Force access to the TV Out interface through CrtcNumber
> > (see nv(4))
> >
> >Option "CrtcNumber" "integer"
> >
> > You can often coerce (force) video cards with multiple outputs to
> > play nicely even when they are such total garbage that the vendor
> > (nVidia) is afraid to provide specifications for them.
> >
> > There is one issue I see that might be a problem, namely NTSC
> > versus PAL but a lot of TV sets these days can accept either, so we
> > might get lucky. If not, the PAL modelines you posted look
> > reasonable.
> >
> > Kind Regards,
> > JCR
>
> This sounds great! I think we should take this off list perhaps to
> stop boring people.
>
> Bye misc@
>
> Which xorg.conf would you like? I tried many configurations. I guess
> its the log you are more interested in.

Hi Edd,

People on misc@ are interested, but I suspect there will be a fair 
amount of back and forth, and there's no guarantee we'll get it to 
work, so there's not a lot of point in flooding [EMAIL PROTECTED] If we get it 
working, then we can post the results and full xorg.conf onto misc@ and 
not cause a lot of stir.

If possible, please enumerate your conf files (xorg.conf-1, xorg.conf-2, 
etc.) and email them to me. If you have the X.org.log files for them, 
it would help, but a description of what you get for each would 
suffice.

Both connectors and connections are a pain. If you could take a snapshot 
of the card connections, the adapter cable/connectors, and the inputs 
on your TV, I'll be able to see exactly what you have. I'm actually 
afraid to go digging for a picture of the card on the net, because 
there's no guarantee it will be what you actually have (sadly, even if 
it's the same part number).

I do believe I have a newer nVidia card around here someplace, but I 
have no idea where it is, what it is, or if it works. It was a freebie 
I got that had a dead fan (which they no longer make/sell), but I 
replaced the fan with a wee bit of modification. For some reason I'm 
remembering it to be a GeForce4 card of some sort so I'll try to find 
it tonight.

A dmesg would be appreciated. --If I can replicate your hardware 
environment to some degree (save for PAL, I'm in NTSC land), it will 
make life easier.

Kind Regards,
JCR



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread Diana Eichert

On Tue, 19 Aug 2008, J.C. Roberts wrote:
SNIP

People on misc@ are interested, but I suspect there will be a fair
amount of back and forth, and there's no guarantee we'll get it to
work, so there's not a lot of point in flooding [EMAIL PROTECTED] If we get it
working, then we can post the results and full xorg.conf onto misc@ and
not cause a lot of stir.


if you get it to work it sounds like a great article for undeadly.

diana



Re: TV out for Xorg/OpenBSD?

2008-08-19 Thread Pedro la Peu
> So, you have to have the perfect sync on the vga side to make the
> picture show up nice on the TV side.

Agreed. Try any modeline you think might help. Good luck.

xrandr --newmode pal-i 13.5 720 732 795 864 576 581 586 625 \
interlace -hsync -vsync
xrandr --addmode VGA-0 pal-i
xrandr --output VGA-0 --mode pal-i

Repeat ad-infinitum...



Re: TV out for Xorg/OpenBSD?

2008-08-20 Thread Jussi Peltola
TV outputs and standards are quite simple, but apparently some
explanation might be in order. Since we're already off topic, I'll just
try to summarize some facts regarding things mentioned in the thread.

To start, when talking about baseband video outputs, a TV standard (PAL,
NTSC, etc.) defines two things: the video timings and a color encoding.
Normally, a TV out encoder will take care of all of that and output a
suitable baseband signal, but that requires your video card's and its
driver's cooperation.

FTA (for the Americans), SCART is a european standard AV connector with
2-way composite video, audio and one-way RGB and S-Video signalling,
plus a few data wires that can be used to synchronize the channels tuned
in your TV to your VCR.

In the case of a VGA to SCART cable, you need to create a modeline of
[EMAIL PROTECTED], so the HorizSync is about 15kHz, while VGA monitors usually
support only down to around 31kHz. The color encoding is totally
irrelevant with RGB, you just need to coerce your video card and driver
to output the right frequency. I unfortunately have only done this years
ago, in Windows, using PowerStrip.

You will probably also need to pull up one or two pins in the SCART
connector (8/SWTCH to 12v and 16/BLNK to over 3V) to put your TV into
RGB mode; I've had lots of European TVs that are pretty picky about the
voltage. You may also need to experiment with sync polarity, and
depending on your cable, with composite sync (you need it since SCART
has only one sync pin, but the cable may already wire HSYNC and VSYNC
together).

The SCART RGB way can be painful, but the image quality is worth it
(look at the TV's built in teletext and compare it to a composite video
signal).

Someone also mentioned a VGA to S-Video cable with no intelligence.
Those are usually used in laptops with cooperation of the video
hardware. A simple modeline will not make your video card output
S-Video.

-- 
Jussi Peltola



Re: TV out for Xorg/OpenBSD?

2008-08-20 Thread Edd Barrett
Hi

On Wed, Aug 20, 2008 at 8:46 AM, Jussi Peltola <[EMAIL PROTECTED]> wrote:
> You will probably also need to pull up one or two pins in the SCART
> connector (8/SWTCH to 12v and 16/BLNK to over 3V) to put your TV into
> RGB mode;

How is this achieved?

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett



Re: TV out for Xorg/OpenBSD?

2008-08-20 Thread Peter Shrimpton

Hi
Making a cable up is straight forward the only problem is the soldering 
is fiddly - you need a very small soldering iron. You should probably 
also get a multimeter to test your soldering before using the lead in 
case you fry your telly or graphics card.


Here are two websites on how to build it:

http://ryoandr.free.fr/english.html

http://www.idiots.org.uk/vga_rgb_scart/

Use the pin connection table from the first site not the second. They 
are M$ biased so ignore the software parts

Peter
Edd Barrett wrote:

Hi

On Wed, Aug 20, 2008 at 8:46 AM, Jussi Peltola <[EMAIL PROTECTED]> wrote:
  

You will probably also need to pull up one or two pins in the SCART
connector (8/SWTCH to 12v and 16/BLNK to over 3V) to put your TV into
RGB mode;



How is this achieved?




Re: TV out for Xorg/OpenBSD? - OT

2008-08-25 Thread Tomas Bodzar
Nice page,but I can't set my resolution 1440x900 ,it's changing to 1440x810



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Crowson

Sent: Monday, August 18, 2008 2:50 PM

To: Edd Barrett

Cc: misc@openbsd.org

Subject: Re: TV out for Xorg/OpenBSD?



Edd Barrett wrote:

> On Sun, Aug 17, 2008 at 07:16:51PM +0300, Jussi Peltola wrote:

>> On Sun, Aug 17, 2008 at 04:22:33PM +0100, Edd Barrett wrote:

>>> Hi,

>>>

>>> We have this BSD box with some films on, and someone had the idea of

>>> hookiing it up to the TV so we can watch DVD's etc in the living room.

>>> Not a bad idea, but I don't know how.

>> You need an interlaced [EMAIL PROTECTED] mode. A suitable modeline should be

>> findable with google.

>>

>

> OK, well [EMAIL PROTECTED] is the standard vga option in xorg.conf. This

> fails :(

>

> As for modelines, googling "modeline tvmodel xorg" doesn't bring back

> any results.

>

Hi Edd,



The online XFree modeline generator [1] can generate interlace modelines

- are they any different to the one's you've tried?



HTH



Fred

[1] http://xtiming.sourceforge.net/cgi-bin/xtiming.pl




Re: TV out for Xorg/OpenBSD? - OT

2008-08-25 Thread Dan Harnett
On Mon, Aug 25, 2008 at 08:21:00AM +0100, Tomas Bodzar wrote:
> Nice page,but I can't set my resolution 1440x900 ,it's changing to 1440x810

Did you restriction the aspect ratio to 16:9?  1440x900 is 16:10.



Re: TV out for Xorg/OpenBSD? - OT

2008-08-25 Thread Tomas Bodzar
Eh?



My LCD is marked as 16:9 and 1440x900 is native resolution.

Maybe this will be problem with my xorg.conf setup?



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Harnett

Sent: Monday, August 25, 2008 7:48 PM

To: misc@openbsd.org

Subject: Re: TV out for Xorg/OpenBSD? - OT



On Mon, Aug 25, 2008 at 08:21:00AM +0100, Tomas Bodzar wrote:

> Nice page,but I can't set my resolution 1440x900 ,it's changing to 1440x810



Did you restriction the aspect ratio to 16:9?  1440x900 is 16:10.




Re: TV out for Xorg/OpenBSD? - OT

2008-08-26 Thread Dan Harnett
On Tue, Aug 26, 2008 at 07:14:17AM +0100, Tomas Bodzar wrote:
> Eh?
> 
> My LCD is marked as 16:9 and 1440x900 is native resolution.
> Maybe this will be problem with my xorg.conf setup?

1440x900 is 16:10, not 16:9.

  (1440 / 810) = (16 /  9) = 1.77
  (1440 / 900) = (16 / 10) = 1.6

There is a check box on that form to restrict the aspect ratio.  If you
checked off 16:9 but still entered a 16:10 resolution, then it would
only generate the modeline for a 16:9 resolution, which happened to be
1440x810 in your case.

I also do not know if you're referring to a LCD TV, or a computer
monitor.  It's quite possible your LCD physically is 16:9, but still has
a 16:10 input resolution and the picture is scaled appropriately
internally.  For example, my LCD TV seems to only allow 4:3 resolutions
on the VGA input even though the physical aspect ratio is 16:9.  It will
take a 1400x1050 resolution and scale it to fit the full screen
(1920x1080).  I have to use 'mplayer -monitoraspect 16:9 ...' to prevent
videos from being displayed as a stretched out and misshaped 4:3 image.