Re: [XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread Mark Vojkovich
On Tue, 18 Nov 2003, MEGHAZI FABIEN wrote:

> Hi all,
> 
> I would like to set up my own mame arcade cabinet, I saw that
> lot of people use AdvanceMame that programs good frequencies
> directly to the video card, but I don't want to use AdvanceMenu,
> I want to code my own menu using SDL under X. But as I don't know
> very much about this, I would like to know if it is possible to
> write a modeline for X so it will use a 640x480 resolution using
> a 25Khz horizontal frequency and a 60Hz Vertical frequency.
> And if it's possible, do I need to get a special gfx card, or
> is there a chance it will work on my old Nvidia Riva TNT 2 ?
> 
> 
> Here are the specification of my monitor :
> 
>   MEDIUM RESOLUTION
> 
>   HORIZONTALVERTICAL
> Scan Frequency: 25.00 KHzScan Frequency: 60.0 Hz
>Scan Period: 40.0 µSec   Scan Period: 16.7 mSec
>   Active Video: 32.0 µSec  Active Video: 15.4 mSec
>Video Delay:  7.2 µSec   Video Delay:  1.2 mSec

 115 clocks. 30 scanlines.

> Sync Pulse:  4.0 µSecSync Pulse:  0.2 mSec
  
 64 clocks.   5 scanlines.

>  Scan Line: 640 Pixels   Screen: 416 Lines

 htotal   vtotal

> Resolution: 512 Pixels   Resolution: 384 Lines

 hdisplay vdisplay

> Clock Freq: 16.00 MHz


   That's 512x384 not 640x480 

# 512x384 @ 60.00 Hz hsync: 25.00 kHz; pclk: 16.00 MHz
  Modeline "512x384" 16.00  512 525 589 640  384 386 391 416  -HSync +VSync


   Yes, a TNT2 should be able to generate that.  You might need to
play with +/- HSync, VSync depending on how picky the monitor is.


Mark.


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread Paul Nielsen




You might study http://en.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/ 
It has most of the details.  The refresh is (dot clock Hz)/(total x *
total y) and the scan is dot clock Hz)/(total x --the largest number in
the x part of the modeline)  There may be limitations on the graphic
card and the monitor, of course.

Regards,

Paul Nielsen

[EMAIL PROTECTED] wrote:

  
I've played around with the modeline generator at
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl, but I haven't
been able to come up with a modeline at exactly 25KHz. Simplest
I could get away with was somewhere between 30 and 31KHz. I
have my doubts whether you can run resolutions that high *cough*
at a frequency that low.

  
  
I still have a question about this (a silly one because I don't
know much about technical details related to video frenquencies)

Why isn't it possible to run this resolution at a lower frequency
and why isn't possible to run a lower resolution (eg 256x224) at
a higher frequency (25Khz) ? Where is the limitation ?
In the graphics cards or is it simply the way frequencies should work ?
If the limitation is about graphic card, does exists some special cards
which allows to do such things ?

PS: sorry for these newbie questions, but I previously googled a lot on
this subject and found nothing, i'm deseperated :)
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86
  





RE: [XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread MEGHAZI FABIEN
> I've played around with the modeline generator at
> http://xtiming.sourceforge.net/cgi-bin/xtiming.pl, but I haven't
> been able to come up with a modeline at exactly 25KHz. Simplest
> I could get away with was somewhere between 30 and 31KHz. I
> have my doubts whether you can run resolutions that high *cough*
> at a frequency that low.

I still have a question about this (a silly one because I don't
know much about technical details related to video frenquencies)

Why isn't it possible to run this resolution at a lower frequency
and why isn't possible to run a lower resolution (eg 256x224) at
a higher frequency (25Khz) ? Where is the limitation ?
In the graphics cards or is it simply the way frequencies should work ?
If the limitation is about graphic card, does exists some special cards
which allows to do such things ?

PS: sorry for these newbie questions, but I previously googled a lot on
this subject and found nothing, i'm deseperated :)
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread Pieter Hulshoff
On Tue, Nov 18, 2003 at 02:57:04PM +0100, MEGHAZI FABIEN wrote:
> > I've played around with the modeline generator at
> > http://xtiming.sourceforge.net/cgi-bin/xtiming.pl, but I haven't
> > been able to come up with a modeline at exactly 25KHz. Simplest
> > I could get away with was somewhere between 30 and 31KHz. I
> > have my doubts whether you can run resolutions that high *cough*
> > at a frequency that low. Would you consider a (slightly?) lower
> > resolution for your SDL program?
> 
> Thanks for the link ! I previously found a modeline generator but it
> was not as usefull as this one.
> 
> Well I guess I'd better use the resolution this monitor was built for
> (512x384) and I'll try this modeline:
> 
> Modeline "[EMAIL PROTECTED]" 15.38 512 544 600 632 384 392 396 404

Sounds good to me. From what I remember, my old TNT chipset had no problems
with a dot clock of 15.38. My new Radeon 9000 card however would not accept
anything below 20. Perhaps something to keep in mind. If you can test the
card you wish to use before connecting it to the Arcade monitor (dot clock
range is printed in the logfile) you might be able to prevent some problems.

Regards,

Pieter Hulshoff

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread MEGHAZI FABIEN
> I've played around with the modeline generator at
> http://xtiming.sourceforge.net/cgi-bin/xtiming.pl, but I haven't
> been able to come up with a modeline at exactly 25KHz. Simplest
> I could get away with was somewhere between 30 and 31KHz. I
> have my doubts whether you can run resolutions that high *cough*
> at a frequency that low. Would you consider a (slightly?) lower
> resolution for your SDL program?

Thanks for the link ! I previously found a modeline generator but it
was not as usefull as this one.

Well I guess I'd better use the resolution this monitor was built for
(512x384) and I'll try this modeline:

Modeline "[EMAIL PROTECTED]" 15.38 512 544 600 632 384 392 396 404


Thanks again !
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread Pieter Hulshoff
> very much about this, I would like to know if it is possible to
> write a modeline for X so it will use a 640x480 resolution using
> a 25Khz horizontal frequency and a 60Hz Vertical frequency.

I've played around with the modeline generator at
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl, but I haven't
been able to come up with a modeline at exactly 25KHz. Simplest
I could get away with was somewhere between 30 and 31KHz. I
have my doubts whether you can run resolutions that high *cough*
at a frequency that low. Would you consider a (slightly?) lower
resolution for your SDL program?

Regards,

Pieter Hulshoff

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] X configuration for a 25Khz arcade monitor

2003-11-18 Thread MEGHAZI FABIEN
Hi all,

I would like to set up my own mame arcade cabinet, I saw that
lot of people use AdvanceMame that programs good frequencies
directly to the video card, but I don't want to use AdvanceMenu,
I want to code my own menu using SDL under X. But as I don't know
very much about this, I would like to know if it is possible to
write a modeline for X so it will use a 640x480 resolution using
a 25Khz horizontal frequency and a 60Hz Vertical frequency.
And if it's possible, do I need to get a special gfx card, or
is there a chance it will work on my old Nvidia Riva TNT 2 ?


Here are the specification of my monitor :

MEDIUM RESOLUTION

  HORIZONTALVERTICAL
Scan Frequency: 25.00 KHzScan Frequency: 60.0 Hz
   Scan Period: 40.0 µSec   Scan Period: 16.7 mSec
  Active Video: 32.0 µSec  Active Video: 15.4 mSec
   Video Delay:  7.2 µSec   Video Delay:  1.2 mSec
Sync Pulse:  4.0 µSecSync Pulse:  0.2 mSec
 Scan Line: 640 Pixels   Screen: 416 Lines
Resolution: 512 Pixels   Resolution: 384 Lines
Clock Freq: 16.00 MHz


Thanks in advance for your response, this list is my last hope
to get my cabinet working ! :))

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86