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: Differences in modelines legacy vs ADL  (Read 3112 times)

0 Members and 1 Guest are viewing this topic.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Differences in modelines legacy vs ADL
« on: February 15, 2016, 03:29:52 pm »
Some time ago I've spot difference in target vs received modeline when I compare legacy timings vs new ones. For example with Radeon HD4350 and target 256x240@60 I receive (did I ?) 256x240@60.03 but with new timings I get 256x240@59,977.

My question is are switchres timigs posted before I run game are target timings that groovymame wants to get or timings calculated by system ? Why there are differences between those two solutions ?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Differences in modelines legacy vs ADL
« Reply #1 on: February 15, 2016, 03:44:53 pm »
Not sure what you mean.

If you mean the refresh that is shown in the information screen (GroovyMAME), that's the target refresh calculated by the modeline generator, which is totally independent from the specific implementation (AMD ADL, ATI legacy, Powerstrip or xrandr).

The actual achieved refresh cannot be known directly, you need to measure it (as Arcade OSD does when you press "5").
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Re: Differences in modelines legacy vs ADL
« Reply #2 on: February 15, 2016, 03:52:03 pm »
Yes, I wa thinking about switchres information at the bottom of information screen. So if this is target then why those two differ?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Differences in modelines legacy vs ADL
« Reply #3 on: February 15, 2016, 03:54:53 pm »
So if this is target then why those two differ?

They can't differ. It could be you're using a different monitor preset in each case.
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Re: Differences in modelines legacy vs ADL
« Reply #4 on: February 15, 2016, 04:17:15 pm »
Well, I use exactly the same driver, the same tools with the same configuration and somehow differ.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Differences in modelines legacy vs ADL
« Reply #5 on: February 15, 2016, 04:21:43 pm »
The relevant preset is in mame.ini.
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Re: Differences in modelines legacy vs ADL
« Reply #6 on: February 15, 2016, 04:24:34 pm »
I didn't touch mame.ini as well and I in both cases used groovymame 170  ???

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Differences in modelines legacy vs ADL
« Reply #7 on: February 15, 2016, 04:26:42 pm »
Then a log taken from both situations should show us something.
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Re: Differences in modelines legacy vs ADL
« Reply #8 on: February 15, 2016, 04:42:57 pm »
Here they are.

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:May 09, 2025, 05:02:07 pm
  • I want to build my own arcade controls!
Re: Differences in modelines legacy vs ADL
« Reply #9 on: February 15, 2016, 05:05:29 pm »
I've just installed a 7850 sapphire card, and i'm experiencing exactly the same thing.
Any game that i ran using an hd 4350 gave me almost perfect timings, if said game runs in 320x224@59.185606, switchres would show 2560x224@59.186.
With the 7850, switchres shows 59.178 Hz. This happens with every game.
Also tried changing presets, didn't help.
Using GM ASIO 0.169.
I've also noticed this in your guide, Calamity.
http://aburamushi.net/calamity/img/5450/20160201_200304.jpg
« Last Edit: February 15, 2016, 05:08:18 pm by Foxhole »

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Re: Differences in modelines legacy vs ADL
« Reply #10 on: February 15, 2016, 05:11:21 pm »
Thanks for confirming FoxHole. I'm glad it's not another my strange problem :)

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Differences in modelines legacy vs ADL
« Reply #11 on: February 15, 2016, 05:42:22 pm »
Thanks, I'm seeing the problem now :)

I was right regarding both implementations are using the exact same modeline. However the ADL implementation is special because it reads the actual modeline from the driver right after setting it, so a rounded dotclock value is read back and ends out showing as a modified refresh in the Switchres information info. In the legacy implementation I was using the original dotclock all the time so people wouldn't complain, I need to fix the ADL one so the theoretical refresh is shown too.
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1542
  • Last login:July 09, 2025, 10:34:59 am
  • retro maniac
Re: Differences in modelines legacy vs ADL
« Reply #12 on: February 15, 2016, 06:03:46 pm »
So in ADL those values are actually what we got from driver? If yes than I think it's better to get actual timings rather desired.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Differences in modelines legacy vs ADL
« Reply #13 on: February 15, 2016, 06:30:40 pm »
So in ADL those values are actually what we got from driver? If yes than I think it's better to get actual timings rather desired.

I see what you mean, this has already been suggested a number of times. The problem is, that dotclock value isn't the real one either, it's just the desired one aligned to 10 kHz. The real one can only be guessed by measuring the actual refresh. So showing that value only serves to further confuse people.
« Last Edit: February 15, 2016, 06:38:30 pm by Calamity »
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