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: Lag with 2 monitors since groovymame_0236.002c & 2d (not with only one CRT)?  (Read 2332 times)

0 Members and 1 Guest are viewing this topic.

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi Girls & Guys,

I have been using groovymame for several years with my arcade machine and don't have any problems.

I have two boots:
- a boot for the PC connected to a Sony PAL/NTSC TV
- a boot for the PC connected to 2 monitors (Sony PAL/NTSC & LCD TV with display of goodies like marquees/CPanel/Bezels/...)

I've never had a problem and qll scrolling is smooth in game on both screens with the non-updated version installed:

My config:
-----------
Win7 x64 + Intel Core 2 Q9690 + 3GB +ATI Radeon 4800
Groovymame 0.182 +Switchres 0.00016
CRTemul Driver Tools beta8 & Catalyst 12.6

I wanted to update Groovymame with the latest version: groovymame_0241.002g_win-7-8-10

With a CRT screen, there is no problem but as soon as I use the '-numscreens 2' option
Groovymane lags a lot and the scrolling is no longer smooth.
What's weird about the verbose option
SwitchRes finds resolutions with a vertical frequency of 2000 Hz!!!

So I tested different versions with CRT + LCD (no problem with a single monitor)

 * with '-numscrees 2' + dual monitors CRT&LCD
- groovymame64_0227.017t_win-7-8-10 => works perfectly
- groovymame64_0227.001a_win-7-8-10_OK => works perfectly
- groovymame_0229.002a_win-7-8-10_ok => works perfectly
- groovymame_0232.002b_win-7-8-10_ok => works perfectly
- groovymame_0236.002c_win-7-8-10 =>works perfectly (a rare crash on launch on a black screen)
- groovymame_0237.002d_win-7-8-10 => huge lag with 2 monitors
- groovymame_0237.002e_win-7-8-10 => huge lag with 2 monitors
- groovymame_0238.002f_win-7-8-10 => huge lag with 2 monitors
 - groovymame_0239.002g_win-7-8-10 => huge lag with 2 monitors
- groovymame_0240.002g_win-7-8-10 => huge lag with 2 monitors
- groovymame_0241.002g_win-7-8-10 => huge lag with 2 monitors

Do you have any ideas to fix the problem?
Is this a bug introduced since SwitchRes 2.0002d?

best regards

Bertrand
« Last Edit: March 21, 2022, 09:33:09 am by cfou! »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Hi cfou,

Please, if possible, get me a log of GM 0.232 (last working) vs GM 0.241 (current). Hopefully this will help me figuring out the issue. I don't have a system with a legacy card installed that I can't test.
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

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi,

thanks for your answer ;)

attached  verbose files

3 Cases with same mame.ini

1) CRT & LCD GM 0.241 =>lag
2) CRT only    GM 0.241 =>smooth
3) CRT & LCD GM 0.232 =>smooth

Best regards,

Bertrand/CFou!

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi,

I tested some intermediate versions and they all work correctly without lag.
I also retested the other versions curiously I can no longer recreate the crash with the GM version 0.336.
with this version it's fluid and there is no lag.

My tests give this in summary:
 * with '-numscrees 2' + dual monitors CRT&LCD
- groovymame64_0227.017t_win-7-8-10 => works perfectly
- groovymame64_0227.001a_win-7-8-10_OK => works perfectly
- groovymame_0229.002a_win-7-8-10_ok => works perfectly
- groovymame_0232.002b_win-7-8-10_ok => works perfectly
- groovymame_0233.002b_win-7-8-10_ok => works perfectly
- groovymame_0234.002b_win-7-8-10_ok => works perfectly
- groovymame_0235.002b_win-7-8-10_ok => works perfectly
- groovymame_0236.002c_win-7-8-10_ok => works perfectly (rare crash on black screen)
- groovymame_0237.002d_win-7-8-10 => huge lag with 2 monitors
- groovymame_0237.002e_win-7-8-10 => huge lag with 2 monitors
- groovymame_0238.002f_win-7-8-10 => huge lag with 2 monitors
 - groovymame_0239.002g_win-7-8-10 => huge lag with 2 monitors
- groovymame_0240.002g_win-7-8-10 => huge lag with 2 monitors
- groovymame_0241.002g_win-7-8-10 => huge lag with 2 monitors

It is therefore between the version _0236.002c_ and the version _0237.002d that something has been modified which causes these lags with dual screens.

Ideas?

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi,
logs files for last good version GW 0236 & RS 002c (smooth scrolling)

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi,
logs files for first bad version GW 0237 & RS 002d (many lags expremely slow)

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
hi,
I did other cross tests...

I tested with mamex64 0.241 and 2 monitors (as GM configuration).
=>No video & sound lag
So there is definitely something broken with GW since version 0.237 with 2 screens:(:(

To be more precise it is a video lags and the sound is chopped and paused.

So I tried in several different drivers using the PORTAUDIO option (Windows WASAPI & Windows WDM-KS) and indicating the name of the device of my PC or disabling the AUDIOSYNC option but there are still many impotant lags (near 1 second of freeze) and sound issues since GW.


Have you idea for another tests?
« Last Edit: March 21, 2022, 09:35:58 am by cfou! »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
cfou,

Thanks for reporting this. I might have been able to reproduce it on one of my systems. Will try to find a fix, please be patient.
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

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
>Thanks for reporting this. I might have been able to reproduce it on one of my systems. Will try to find a fix, please be patient.

no worries, I will obviously wait ;) thank you for worrying about my problem.
It is difficult to explain this problem in fact the sound and the video seems slow down together regularly.
Below is a link to a video showing the problem:

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
cfou,

I can't reproduce the problem any more appearently.

Could you try enabling -modeline_generation in mame.ini? You probably disabled it on purpose, but I'd like to discard that.
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

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi Calamity,

First, thank you for your tests & response.

Unfortunately, I had already tested with and without the -modeline_generation command line option (or modeline_generation 0 or 1 in mame.ini).

I try all sync_mode to compare also without success...

Since GM0.137 I always get regular sound and scroll slowdown with the -numscreens 2 option (the result is perfect with -numscreens 1 or with older versions of GW)

best regards,
Bertrand/CFou!

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
attached my currrent mame.ini

it might help...

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
Hi Calamity,

I am done another test:

i am just installing clean configuration with dual monitors and have sound/video slowdown too....

indeed i am just installing an new Win7 X64 ultimate & GW:
Win7 x64 ultimate+I5+8GoDDR3 + Ati radeon 5450 (1Go)
+ CRT Emudriver & CRT Tools 2.0 beta 15 (Crimson 16.2.1 non-GCN* cards) for Windows 7/8/10 64-bits

I have again sound/video slow down like my old configuration:
Win7 x64 + Intel Core 2 Q9690 + 3GB +ATI Radeon 4800
+ CRT Emudriver & CRT Tools 2.0 beta 15 (Catalyst 12.6) for Windows 7/8/10 64-bits

So problem must by with GW since 0.237 :(

Have you some test idea?

Best regards,
Bertrand

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
hi,

Solution are found for both PC configurations.

I have just:
1) delete "mame.ini"
2) generate new mame.ini with command "mame -cc"
3) Export monitor setting to groovymame via VMMaker

It's curious, I thought I had already done it but I must have made a mistake...

There must have been an obsolete option in my "mame.ini" file that was causing a disturbance...

sorry for the inconvenience...

Best regard,
Bertrand

 PS: "orientation" option is great now with motorized CRT !!!

« Last Edit: March 28, 2022, 06:21:17 pm by cfou! »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Maybe it was the -syncrefresh option in mame.ini, I'm seeing it in your old ini.

Having it forced enabled probably made it apply on the second screen. Only the main screen should have syncrefresh enabled. That is the behaviour when syncrefresh is left disabled in mame.ini and -autosync is enabled instead.
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

cfou!

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 25, 2022, 01:42:27 pm
  • I want to build my own arcade controls!
hi,
I try forcing syncrefrech option but there are no lag.

attached good mame.ini

regards,

ps:
i use modeline_generation       0 in mame.ini
but i use -modeline_generation option when i launch mame via CMD file
« Last Edit: March 28, 2022, 06:28:26 pm by cfou! »