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: GroovyArcade too fast....  (Read 5338 times)

0 Members and 1 Guest are viewing this topic.

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
GroovyArcade too fast....
« on: April 07, 2015, 03:54:53 pm »
Hello everyone,

 i'm Francesco from Italy and i'm trying to create an arcade machine for mame.

I have choosen to use Linux and the pc is an Athlon XP 2600+ with 1gb of ram and 80GB disk, with an Ati 9250 video card. The monitor is an old vga 15" crt capable of 1024x768 non interlaced.

I have tried GroovyArcade-Arch2013.02.24-i686.iso and it works, but i have some troubles...

Without setting the monitor to 640x480 vesa almost every game is unplayable (speed is like 1 frame per second), setting it to vesa 640x480 (it's a crt and 640x480 is a much bigger res than the one of the game i would like to play) it works nearly fine but this time it's too fast. Some games, e.g. sf2 or mk, run a lot faster (even 200%) and the sound sometimes gets out of sync.

I have tried to change the gfx card and to use an nvidia (nv18 iirc) but the frame rate is terrible (something like 1 frame every 5 seconds), and atm i don't have any other agp card to try.

Suggestions?

Thank you in advance.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyArcade too fast....
« Reply #1 on: April 07, 2015, 04:33:29 pm »
Hi Francesco,

Go to the boot options and disable the splash screen, then restart.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #2 on: April 08, 2015, 05:47:45 am »
Tried but unfortunatly nothing changes.

p.s. From lspci the video card is not a Radeon 9250 but a 9200 Pro.

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #3 on: April 08, 2015, 12:56:37 pm »
I have been able to find out another gfx card, an ati 7000 ve, but nothing changes.

Thank you again.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyArcade too fast....
« Reply #4 on: April 08, 2015, 03:13:23 pm »
Are you forcing a resolution in mame.ini? The problem is likely GroovyMAME picking a mode from the monitor's edid. Please post a log.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #5 on: April 10, 2015, 06:03:37 am »
I haven't modified mame.ini .

Xorg logs:
http://pastebin.com/GvG8UPFN

Dmesg:
http://pastebin.com/iSkVGKp6

I have tried also with a p4 3.0 GHz with its integrated video card, another crt 19" monitor always set to 640x480 vesa, and the same problem occours (e.g. world rally @ 142 fps).

Thank you again.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyArcade too fast....
« Reply #6 on: April 10, 2015, 06:14:58 am »
Hi Francesco,

I meant a log from GroovyMAME itself not the os stuff. Anyway, I think I know what's going on. Your monitor's EDID modes are being used, and these are not 60 Hz, but 85Hz (85/60 = 1.41666). Because you're using the old distro that's based on SDL 1, and SDL 1 has not control over which refresh is picked, the only way to make sure the right one is used is to force a custom resolution that does not exist previously, something like 672x480 for instance. So edit mame.ini and change "resolution auto" for  "resolution 672x480".
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #7 on: April 10, 2015, 08:06:45 am »
Thank you.

How can i create a groovymame log? I have launched it from advmenu (the default) and i haven't seen a logfile.

I'll try to edit mame.ini and let you know.

Btw, is there a way to upgrade groovyarcade to sdl2?

Thank you again.

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #8 on: April 12, 2015, 01:16:30 pm »
I launched GroovyMame &>log.txt, here is the log:

Code: [Select]
SwitchRes: illegal -resolution value: 672x480

SwitchRes: [empty] (1) horizontal (640x480@61.00)->(640x480@61.00)
0: WiiMote0
1: WiiMote1
WARNING: font Liberation Sans, is not TrueType or BDF, using MAME default
OpenGL: PBO not supported
SwitchRes: illegal -resolution value: 672x480

SwitchRes: [wrally] (1) horizontal (368x232@60.00)->(640x480@60.00)
0: WiiMote0
1: WiiMote1
tibpal20l8-25cnt.b23 NOT FOUND (NO GOOD DUMP KNOWN) (tried in wrally wrally)
gal16v8-25lnc.h21 NOT FOUND (NO GOOD DUMP KNOWN) (tried in wrally wrally)
tibpal20l8-25cnt.h15 NOT FOUND (NO GOOD DUMP KNOWN) (tried in wrally wrally)
WARNING: the game might not run correctly.
WARNING: font Liberation Sans, is not TrueType or BDF, using MAME default
Average speed: 141.25% (30 seconds)

So i looked at xorg.conf and i found out that there is only 640x480...
Code: [Select]
# Config for vesa_480 Monitor and ati Video Card

Section "Device"
Identifier "Card0"
VendorName "Unknown"
BoardName "Unknown"

Driver "ati"
  #Option "GLXVBlank" "true"
BusID "PCI:01:00:0"

Option "ModeDebug" "true"

EndSection

Section "Modes"
Identifier      "ArcadeModes"
#  648x480@60.00 29.8200Khz
ModeLine          "648x480x60.00" 24.094560 648 664 728 808 480 481 484 497 -HSync +VSync

EndSection

What modeline should i add (and how i can find out the values?)?

The monitor is a 15" that is able to display 1024x768 non interlaced and i see: V: 47-120 and H=30-69

Thank you again.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyArcade too fast....
« Reply #9 on: April 12, 2015, 04:24:29 pm »
Oh I forgot you're using an old version of GM. Instead of 672x480, write 672x480@60. You must not add modelines to xorg.conf. GM just creates the required ones on the fly. The problem you've been seeing is the inability of GM to override the modelines from your monitor's EDID with its own ones.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #10 on: April 13, 2015, 07:21:10 am »
Now it works at 125%...

Do you think that installing e.g. an ubuntu mini 14.10 ( https://help.ubuntu.com/community/Installation/MinimalCD ) + dependencies and groovymame will lead to better results?

Is there a tutorial-howto about compiling groovy mame from scratch? (from applying the patch to mame to everything else, maybe even no nag screen to compile only once on that slow machine... i think it will take some hours...)

Edit: found out this http://forum.arcadecontrols.com/index.php/topic,135823.0.html for windows. For Linux i think it will be the same.

Thank you in advance.
« Last Edit: April 13, 2015, 07:22:48 am by Francesco »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyArcade too fast....
« Reply #11 on: April 13, 2015, 07:42:02 am »
Now it works at 125%...

It must be picking 75 Hz for some reason. Without a log I can only guess. BTW remind to use the -v param when doing logs.

Quote
Do you think that installing e.g. an ubuntu mini 14.10 ( https://help.ubuntu.com/community/Installation/MinimalCD ) + dependencies and groovymame will lead to better results?

No, that would be worthless. Better try one of the newer beta isos: https://drive.google.com/drive/folders/0B0NB2HYUHHktSUJiRDRKWWFCV1k/0B0NB2HYUHHktUFZXTWJfbHpzUlE

Quote
http://forum.arcadecontrols.com/index.php/topic,135823.0.html for windows. For Linux i think it will be the same.

Yes, for Linux it's the same. But you have precompiled binaries available anyway so... (default GM binaries are already no-nag ready).
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #12 on: April 13, 2015, 08:32:01 am »
Now it works at 125%...

It must be picking 75 Hz for some reason. Without a log I can only guess. BTW remind to use the -v param when doing logs.

Ok didn't know, here is the log:

Code: [Select]
Parsing mame.ini
Parsing mame.ini
SwitchRes: Monitor range 29320.00-30320.00,50.00-65.00,1.016,2.371,3.387,0.034,0.101,0.436,0,1,384,480,0,0
SwitchRes: Monitor: vesa_480 Orientation: horizontal
SwitchRes: Found output connector 'VGA-0'
SwitchRes: -resolution was set at command line or in .ini file as 672x482@60
SwitchRes: Setting option -nochangeres

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.014:[empty] Calculating best video mode for 640x480@61.000000 orientation: normal

SwitchRes: [ 672]x[ 482]_(60=0.0000Hz)
   rng(0):  out of range
SwitchRes: could not find a video mode that meets your specs
SwitchRes: Setting option -noswitchres
Build version:      0.148u1 (Feb 12 2013)
Build architecure:  SDLMAME_ARCH=
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1:    LSB_FIRST=1 DISTRO=generic SYNC_IMPLEMENTATION=tc
SDL/OpenGL defines: SDL_COMPILEDVERSION=1215 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=7 __GNUC_PATCHLEVEL__=2 __VERSION__="4.7.2"
Compiler defines B: __unix__=1 __i386__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
SDL Device Driver     : x11
SDL Monitor Dimensions: 1024 x 768
Enter sdlwindow_init
Using SDL single-window OpenGL driver (SDL 1.2)
Leave sdlwindow_init
Loaded opengl shared library: <default>
OpenGL: Tungsten Graphics, Inc.
OpenGL: Mesa DRI R200 (RV280 5960) x86/MMX+/3DNow!+/SSE TCL DRI2
OpenGL: 1.3 Mesa 9.0.2
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (old method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers not supported
OpenGL: framebuffer object supported
OpenGL: GLSL not supported
OpenGL: max texture size 2048 x 2048
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Lightgun mapping: Logical id 1: WiiMote0
Lightgun mapping: Logical id 2: WiiMote1
Input: Adding Gun #0: WiiMote0
0: WiiMote0
Input: Adding Gun #1: WiiMote1
1: WiiMote1
Lightgun: End initialization
Joystick: Start initialization
Joystick: End initialization
Audio: Start initialization
Audio: Driver is alsa
Audio: frequency: 48000, channels: 2, samples: 1024
sdl_create_buffers: creating stream buffer of 76800 bytes
Audio: End initialization
output: unable to open output notifier file /tmp/sdlmame_out
Region ':user1' created
Searching font Liberation Sans in -fontpath
WARNING: font Liberation Sans, is not TrueType or BDF, using MAME default
Starting No Driver Loaded ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting Video Screen ':screen'
Starting No Driver Loaded ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
OpenGL: VBO supported
OpenGL: PBO not supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
sdl_kill: closing audio
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 1024x768
SwitchRes: Running 'xrandr --output VGA-0 --mode 1024x768'
Parsing mame.ini
Parsing mame.ini
SwitchRes: Monitor range 29320.00-30320.00,50.00-65.00,1.016,2.371,3.387,0.034,0.101,0.436,0,1,384,480,0,0
SwitchRes: Monitor: vesa_480 Orientation: horizontal
SwitchRes: Found output connector 'VGA-0'
SwitchRes: -resolution was set at command line or in .ini file as 672x482@60
SwitchRes: Setting option -nochangeres

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.014:[wrally] Calculating best video mode for 368x232@60.000000 orientation: normal

SwitchRes: [ 672]x[ 482]_(60=0.0000Hz)
   rng(0):  out of range
SwitchRes: could not find a video mode that meets your specs
SwitchRes: Setting option -noswitchres
Build version:      0.148u1 (Feb 12 2013)
Build architecure:  SDLMAME_ARCH=
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1:    LSB_FIRST=1 DISTRO=generic SYNC_IMPLEMENTATION=tc
SDL/OpenGL defines: SDL_COMPILEDVERSION=1215 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=7 __GNUC_PATCHLEVEL__=2 __VERSION__="4.7.2"
Compiler defines B: __unix__=1 __i386__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
Enter sdlwindow_init
Using SDL single-window OpenGL driver (SDL 1.2)
Leave sdlwindow_init
Loaded opengl shared library: <default>
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Lightgun mapping: Logical id 1: WiiMote0
Lightgun mapping: Logical id 2: WiiMote1
Input: Adding Gun #0: WiiMote0
0: WiiMote0
Input: Adding Gun #1: WiiMote1
1: WiiMote1
Lightgun: End initialization
Joystick: Start initialization
Joystick: End initialization
sdl_kill: closing audio
Audio: Start initialization
Audio: Driver is
Audio: frequency: 48000, channels: 2, samples: 1024
sdl_create_buffers: creating stream buffer of 76800 bytes
Audio: End initialization
output: unable to open output notifier file /tmp/sdlmame_out
Region ':maincpu' created
Region ':mcu' created
Region ':gfx1' created
Region ':oki' created
Region ':plds' created
tibpal20l8-25cnt.b23 NOT FOUND (NO GOOD DUMP KNOWN) (tried in wrally wrally)
gal16v8-25lnc.h21 NOT FOUND (NO GOOD DUMP KNOWN) (tried in wrally wrally)
tibpal20l8-25cnt.h15 NOT FOUND (NO GOOD DUMP KNOWN) (tried in wrally wrally)
WARNING: the game might not run correctly.
Searching font Liberation Sans in -fontpath
WARNING: font Liberation Sans, is not TrueType or BDF, using MAME default
Starting World Rally (set 1) ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting 68000 ':maincpu'
Starting DS5002FP ':mcu'
Starting Video Screen ':screen'
Starting Speaker ':mono'
  (missing dependencies; rescheduling)
Starting OKI6295 ':oki'
Starting World Rally (set 1) ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting World Rally (set 1) ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
GL texture: copy 1, shader 0, dynamic 0, 368x232 368x232 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 1024,368/2048], colors: 8192, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 0, 368x232 368x232 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 1024,368/2048], colors: 8192, bytes/pix 4
Average speed: 124.34% (75 seconds)
sdl_kill: closing audio
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 1024x768
SwitchRes: Running 'xrandr --output VGA-0 --mode 1024x768'



Quote
Quote
Do you think that installing e.g. an ubuntu mini 14.10 ( https://help.ubuntu.com/community/Installation/MinimalCD ) + dependencies and groovymame will lead to better results?

No, that would be worthless. Better try one of the newer beta isos: https://drive.google.com/drive/folders/0B0NB2HYUHHktSUJiRDRKWWFCV1k/0B0NB2HYUHHktUFZXTWJfbHpzUlE
Downloading.

Thank you again.
« Last Edit: April 13, 2015, 08:34:35 am by Francesco »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyArcade too fast....
« Reply #13 on: April 13, 2015, 09:16:34 am »
You wrote 672x482@60 instead of 672x480@60.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Francesco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 18, 2020, 04:26:54 am
  • I want to build my own arcade controls!
Re: GroovyArcade too fast....
« Reply #14 on: April 13, 2015, 09:54:06 am »
Shame on me... now world rally works fine and i made my record of the first track ;) , in the next days i'll try other games.

I have downloaded the iso with the updated groovymame but it's only for 64 bit, is there a 32 bit build somewhere? Thank you.