Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: AdvanceMame and advv utility  (Read 4766 times)

0 Members and 1 Guest are viewing this topic.

benwillcox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:October 02, 2005, 03:47:21 pm
  • I'm a llama!
AdvanceMame and advv utility
« on: August 28, 2004, 03:42:51 pm »
I posted this on the AdvanceMame mailing list, but there doesn't seem to be much traffic on there so I thought I'd try on here...:

I'm using AdvanceMame on Linux with an ATI card connected to an RGB TV. Using the framebuffer I run 'fbset pal' which allows me to view the Linux console on the TV, outputting the required 15kHz signal. I have modified the necessary bits in advmame.rc and advmenu.rc so it does display on the 15Khz TV.

So I want to run advv to set up the video modes, but as soon as I run it, it seems to revert the video output to 31Khz, so I can't see the picture on my TV! And then when I quit out of it I have to run fbset again to get my console visible again.

My question is, how does advv (and advcfg) choose what video mode to display it's interface? I'm sure anyone using a fixed frequency 15khz monitor must have come across this issue?
Also, when I select a game from advancemenu, whilst the game is loading the frequency again reverts to 31KHz , and then displays correctly again when the game actually starts to run.

Cheers,
Ben.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4419
  • Last login:Today at 11:50:31 am
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:AdvanceMame and advv utility
« Reply #1 on: August 28, 2004, 06:57:51 pm »
make sure that you advmame.rc and advmenu.rc has the right pclock,hclock,vclock.

Here is an example for 15khz Arcade Monitor.

device_video_pclock 5-50
device_video_hclock 15.75
device_video_vclock 50-60
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

benwillcox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:October 02, 2005, 03:47:21 pm
  • I'm a llama!
Re:AdvanceMame and advv utility
« Reply #2 on: August 28, 2004, 07:37:02 pm »
make sure that you advmame.rc and advmenu.rc has the right pclock,hclock,vclock.

Thanks, I did add similar values already, and AdvanceMenu and AdvanceMame do display OK. However it's just the tweaking of the video modes using advv and whilst AdvanceMenu is launching AdvanceMame  that it ignores those settings and reverts to 31khz.
It seems that advv is changing the framebuffer settings when it loads, and AdvanceMenu changes the fb settings when it launches the emulator. Why doesn't it just leave it alone?!

Ben

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Re:AdvanceMame and advv utility
« Reply #3 on: August 29, 2004, 04:25:53 am »
My question is, how does advv (and advcfg) choose what video mode to display it's interface?
From advv documentation

The program at startup tries to set a text mode supported by
your hardware to show his data.

If a modelines named `default_text' is present in your
configuration file the program use it.

If correct `device_video_p/h/vclock' options are found in your
configuration file the program try to use a text mode that
match your clock configuration from a list of predefined
modes and the modes present in the configuration file.

If no one of these modes match your configuration the current
text mode is used.

benwillcox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:October 02, 2005, 03:47:21 pm
  • I'm a llama!
Re:AdvanceMame and advv utility
« Reply #4 on: August 29, 2004, 06:53:29 am »
[
From advv documentation


Ah thanks, I must have missed that bit in the docs! It doesn't actually specify which config file it's referring to - I assume it uses advmame.rc though..?

I added a default_text modeline but it had no effect, but now I think it might be something to do with the aty128fb module:

I removed my ATI rage 128 card and put in a Nvidia Riva TNT2 (I belive these are supposed to work good with AdvanceMame). I loaded rivafb and again did 'fbset pal'.
It seems that the settings are not identical to the ATI card as in this mode I do get a display on the TV but the picture is slightly stretched vertically compared to the ATI, and the output of fbset -x is slightly different. (Not sure why that should be the case? fb driver differences?) Also the OSD on the TV comes on as though the sync is out of range, although as I said I can see the picture OK.

This time loading advv it keeps the current mode, which is what I would expect (yay!)
However, selecting /any/ of the valid modes, such as 320x200 the TV will not sync.

ARGH!

(I'm compiling a 2.6.6. kernel right now to see if anything's changed in the newer fb drivers that may work better).

Antix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 79
  • Last login:July 02, 2018, 11:06:06 pm
  • Burp!?
Re:AdvanceMame and advv utility
« Reply #5 on: August 31, 2004, 08:24:48 pm »
I had huge problems with ADVMAME and my ATI Radeon card. ADVV and ADVCFG just wouldnt run at all.

I swapped to a GeForce2MX card and all worked immediately.

I have heard of a couple people have issues with ATI's as well.