[dundee] Mame , Modelines and Pacman

Lee Hughes toxicnaan at yahoo.co.uk
Tue Sep 30 15:48:14 UTC 2008


Hey Guys n Gals, 

I need help, possibly mental but that's another story......

I've been making a mame cabinet, It's going quite well, I'll post some photo's and stuff
when I get a moment.

Thing is, I'm having trouble with the screen, it's a old vga monitor, which has a  vga cable.

It's can see the bios boot screen fine, and xorg works with the device "vga".. 


Section "Device"
        Identifier  "Card0"
        Driver      "vga"
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID      
 "PCI:0:18:0"
EndSection

however this driver is a bit unstable and looks a bit crap (4 colours!!), right problem is when I change to vesa, or nivida
can't get any output, these drivers seems to be running the screen too higher horizontal
khz. I think the monitor is a standard old vga, i.e. 32.5khz horizontal and 50-60khz
refresh.
I think anything about 32.5khz horizontal, it freaks out. (which is
bad, don't run monitors at high rates that then can handle, bad things
will happen!).

I need to get either vesa framebuffer , or nvidia driver running this monitor at 'standard'
vga rates.

Anyone got any experience with this. I've Google a lot on, there seems to be hundred 
of ways to do it. I've even tried mode lines in my xorg.conf, but there seems to be no difference.

they then go into the realm of pixel clocks etc , it's all arcane and very complex stuff.

so, anyone know how to get either vesa or nvida to
 take my mode line settings?

anyone got a mode line setting for an old vga monitor?

maybe this is the mode line I need?

Modeline "640x480"x59.9   25.18  640 664 760 800  480 491 493 525

here some logs from the vga driver that works!


On a Soc side, if I can source another touch screen cabinet, I'll donate it to you lot.
How that ?

 vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) VGA(0): Monitor0: Using hsync range of 31.50-48.50 kHz
(II) VGA(0): Monitor0: Using vrefresh range of 50.00-90.00 Hz
(WW) VGA(0): Unable to estimate virtual size
(II) VGA(0): Clock range:  23.17 to  30.32 MHz
(II) VGA(0): Not using mode "800x600" (bad mode clock/interlace/doublescan)
(**) VGA(0): *Mode "640x480": 25.2 MHz, 31.5 kHz, 59.9 Hz
(II) VGA(0): Modeline "640x480"x59.9   25.18  640 664 760 800  480 491 493 525 (31.5
 kHz)
(**) VGA(0): *Mode "640x400": 25.2 MHz, 31.5 kHz, 69.9 Hz
(II) VGA(0): Modeline "640x400"x69.9   25.18  640 664 760 800  400 409 411 450 (31.5 kHz)
(**) VGA(0): *Mode "480x300": 23.9 MHz, 37.8 kHz, 60.2 Hz (D)
(II) VGA(0): Modeline "480x300"x60.2   23.89  480 496 576 632  300 301 303 314 doublescan (37.8 kHz)
(**) VGA(0): *Mode "480x300": 25.0 MHz, 39.6 kHz, 63.0 Hz (D)
(II) VGA(0): Modeline "480x300"x63.0   25.00  480 496 576 632  300 301 303 314 doublescan (39.6 kHz)
(**) VGA(0): *Mode "480x300": 30.0 MHz, 48.0 kHz, 72.1 Hz ((**) VGA(0): *Mode "640x400": 25.2 MHz, 31.5 kHz, 69.9 Hz
(II) VGA(0): Modeline "640x400"x69.9   25.18  640 664 760 800  400 409 411 450 (31.5 kHz)
(**) VGA(0): *Mode "480x300": 23.9 MHz, 37.8 kHz, 60.2 Hz (D)
(II) VGA(0): Modeline "480x300"x60.2   23.89  480 496 576 632  300 301 303 314 doublescan
 (37.8 kHz)
(**) VGA(0): *Mode "480x300": 25.0 MHz, 39.6 kHz, 63.0 Hz (D)
(II) VGA(0): Modeline "480x300"x63.0   25.00  480 496 576 632  300 301 303 314 doublescan (39.6 kHz)
(**) VGA(0): *Mode "480x300": 30.0 MHz, 48.0 kHz, 72.1 Hz (D)
(II) VGA(0): Modeline "480x300"x72.1   29.95  480 504 584 624  300 319 322 333 doublescan (48.0 kHz)
(**) VGA(0): *Mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(II) VGA(0): Modeline "400x300"x72.2   25.00  400 424 488 520  300 319 322 333 doublescan (48.1 kHz)
D)





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/dundee/attachments/20080930/31a0c072/attachment.htm 


More information about the dundee mailing list