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 --- Bug Reports --- Site News

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

  

Author Topic: Help installing groovymame  (Read 8494 times)

0 Members and 1 Guest are viewing this topic.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #40 on: December 13, 2012, 07:29:40 am »
Hi Waglo,

At this point, I highly recommend you to upgrade to the new version of GM. The reason is that the monitor_specs format has been extended (now it's crt_range#) with two extra values that are going to help you a lot for creating individual ranges. Please remind these are NOT modelines, a modeline looks like this:

Modeline "640x480_60,0Hz 15,7KHz (60Hz)" 12.324 640 648 706 784 480 483 489 524 interlace -hsync -vsync

On the other hand, monitor_specs (now crt_range) lines are like a set of requirements that any modeline must meet.

Now, the new values are used for defining vertical resolution ranges, so you can specify different settings by vertical resolution groups, like this:

crt_range0  15700-16200, 50-62, 1.098, 3.293, 6.587, 0.064, 0.160, 0.550, 0, 0, 192, 248, 0, 0
crt_range1  15700-16200, 50-62, 1.098, 3.293, 6.587, 0.064, 0.160, 0.550, 0, 0, 249, 256, 0, 0
crt_range2  20500-21000, 50-62, 0.782, 4.693, 4.693, 0.986, 0.148, 1.380, 0, 0, 257, 288, 0, 0
crt_range3  22000-22500, 50-62, 0.782, 4.693, 4.693, 0.986, 0.148, 1.380, 0, 0, 289, 320, 0, 0

Of course you'll need to grab the right values for each range from Arcade_OSD, as you've been doing, it's just that now you have more power to send each resolution through the right crt_range line. This is the most important feature of the new patch.

So here, crt_range3 would represent the vertical games with resolution of 289 to 320 pixels, rotated. The horizontal frequencies are guessed, it's quite a straight forward calculation, and you can gather them too from Arcade_OSD.

There's a problem though. VMMaker is not up to date with GM, I need to find some time to do that. So it won't accept the new crt_range format. In order to get your required resolutions installed, you'r going to need some trick. What I'd do is to use the old presets for the Polostar monitor in vmmaker.ini, these will create the variety of resolutions you're going to need:

monitor_specs0    15700-15800, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 288, 448
monitor_specs1    16100-16200, 45-80, 1.280, 4.500, 6.420, 0.062, 0.062, 0.740, 0, 0, 288, 448
monitor_specs2    25100-25200, 45-80, 0.200, 0.400, 8.000, 0.040, 0.040, 0.640, 0, 0, 384, 768
monitor_specs3    31500-31600, 45-80, 0.170, 0.350, 5.500, 0.040, 0.040, 0.640, 0, 0, 576, 800

In other words, you're going to need some method to have 320-line tall resolutions available in your system, so GM can pick them and apply the new settings on them.
« Last Edit: December 13, 2012, 07:31:29 am 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 or pasting it.

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

Waglo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:January 22, 2013, 05:49:49 pm
  • I'm a llama!
Re: Help installing groovymame
« Reply #41 on: December 13, 2012, 11:02:06 am »
Hi, I'll upgrade my GM, I do believe the more clearly definied ranges will help with my range issue.  I'll also use the polostar monitor presets in VMMaker and report back.

Waglo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:January 22, 2013, 05:49:49 pm
  • I'm a llama!
Re: Help installing groovymame
« Reply #42 on: December 14, 2012, 04:19:44 pm »
Hi Calamity, here are my following crt monitor specs:

crt_range0                15700-16200, 50-62, 1.098, 3.293, 6.587, 0.064, 0.160, 0.550, 0, 0, 192, 248, 0, 0
crt_range1                16201-16800, 50-62, 0.889, 5.333, 4.444, 0.992, 0.165, 1.378, 0, 0, 249, 256, 0, 0
crt_range2                19000-20000, 50-62, 0.782, 4.693, 4.693, 0.986, 0.148, 1.380, 0, 0, 289, 320, 0, 0
crt_range3                20500-21000, 50-62, 0.782, 4.693, 4.693, 0.986, 0.148, 1.380, 0, 0, 257, 288, 0, 0

Does anything look funny?  I have some questions regarding hz ranges and resolutions.  Raiden Fighters Jet for instance is being assigned the resolution of 432x320p by Groovymame.  When I look at the switchres information on the nag screen, it says 432x320p 19.980khz.  In arcade_OSD, 432x320p has a hfreq of 23.056khz.  Williams games like Smash TV/Mortal Kombat use a resolution of 400x256p 16.280khz.  In Arcade_OSD, 400x256p has a hfreq of 18.533khz I believe.  Why is the hfreq different?  This proved to be confusing when selecting my hfreq ranges for my crt_range settings for games, I thought I could just use the hfreq information for the resolutions from Arcade_OSD.  Also, my image with Raiden Fighters Jet @ 432x320p 19.980khz looks much different than the 432x320p 16.280khz settings in Arcade_OSD so it makes it hard to adjust my image for that resolution range.  Since I can't really use Arcade_OSD to represent the image at the resolution of 432x320p, I ended up just copying and pasting my CRT_range3 settings for CRT_range2.  Can you please help explain what is going on?


Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #43 on: December 15, 2012, 01:20:03 pm »
Hi Waglo,

Let's see... Did you test with the lines I provided?

Quote
Hi Calamity, here are my following crt monitor specs:

crt_range0                15700-16200, 50-62, 1.098, 3.293, 6.587, 0.064, 0.160, 0.550, 0, 0, 192, 248, 0, 0
crt_range1                16201-16800, 50-62, 0.889, 5.333, 4.444, 0.992, 0.165, 1.378, 0, 0, 249, 256, 0, 0
crt_range2                19000-20000, 50-62, 0.782, 4.693, 4.693, 0.986, 0.148, 1.380, 0, 0, 289, 320, 0, 0
crt_range3                20500-21000, 50-62, 0.782, 4.693, 4.693, 0.986, 0.148, 1.380, 0, 0, 257, 288, 0, 0

Does anything look funny?

crt_range2 is wrong, higher resolutions lead to higher hfreqs, not the opposite, so 289-320 should be after 257-288.

Quote
I have some questions regarding hz ranges and resolutions.  Raiden Fighters Jet for instance is being assigned the resolution of 432x320p by Groovymame.  When I look at the switchres information on the nag screen, it says 432x320p 19.980khz.  In arcade_OSD, 432x320p has a hfreq of 23.056khz. 

Obviously, because you're requesting GM to calculate the 289-320-line group or resolutions within the 19.00-20.00 kHz hfreq range, that's what you're specifying in crt_range2. If you want GM to use the same hfreq that Arcade_OSD is using, set the range to something like 23000-23100. Narrow ranges work better for targeting these cases.

GM calculates each resolution at the hfreq that's just strictly necessary to meet your hfreq ranges and the vertical borders you request.

Quote
Williams games like Smash TV/Mortal Kombat use a resolution of 400x256p 16.280khz.  In Arcade_OSD, 400x256p has a hfreq of 18.533khz I believe.  Why is the hfreq different?

I'm assuming what you mean when you say in Arcade_OSD a resolution has a specific hfreq is that's the hfreq it has after you've tweaked it to have a perfect fit, isn't it?

GM is using the range crt_range1 for Williams games because that's what you're requesting. You've defined that range as 16201-16800. If you want GM to calculate these resolutions at the same frequency that you have them in Arcade_OSD, use a range like 18500-18600:

crt_range1                18500-18600, 50-62, 0.889, 5.333, 4.444, 0.992, 0.165, 1.378, 0, 0, 249, 256, 0, 0

Let me know if this made for an explanation or I'm getting your questions wrong.
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 or pasting it.

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

Waglo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:January 22, 2013, 05:49:49 pm
  • I'm a llama!
Re: Help installing groovymame
« Reply #44 on: December 17, 2012, 03:44:26 pm »
Hi, what I meant to say was that for instance,Raiden Fighters Jet in Arcade_OSD 432x320 has a hfreq of 23khz, once I adjust the image to fit my screen, it is 21 khz.  Now, I go into groovymame and in my crt_range, out of curiousity, I'll use a crt_range of 19000-23000khz, to my surprise Groovymame runs the game @ 19.980khz.  How do I select the correct range for the game?  Now I dont know whether my crt_range should be 19000-21000 because GM is using 19.980khz, or if my range should be 20-22khz because Arcade_OSD said that the hfreq khz is 21 for the adjusted resolution.

Also, Is there anyway for me to be able to make a CRT_range line for games that are 320x240 and below? I have my crt_range0 line but its settings vertically overscan games that are 320x240.  I could adjust the range line below, but the crt_range0 line below has the perfect settings for games with a vertical resolution of 224 ( Which are the majority of games that I play).  If it is possible, how would I add the line so that it does not interfere with the crt_range line below?

crt_range0                15700-16200, 50-62, 1.098, 3.293, 6.587, 0.064, 0.160, 0.550, 0, 0, 192, 248, 0, 0

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #45 on: December 17, 2012, 04:52:53 pm »
Quote
Hi, what I meant to say was that for instance,Raiden Fighters Jet in Arcade_OSD 432x320 has a hfreq of 23khz, once I adjust the image to fit my screen, it is 21 khz.

Ok. As you created the resolutions with VMMaker for the Polostar preset, 320p was raised to the nearest provided range (23-24kHz). We don't care too much about this, we just need the resolution to be present  in the system, so we can use it. So after teaking it you've found that 21 kHz makes a good fit. Good, now we need to port these exact settings to GM.

As I said above: GM calculates each resolution at the hfreq that's just strictly necessary to meet your hfreq ranges and the vertical borders you request.

As you provided a range of 19000-23000, you're actually telling GM to produce this resolution at whatever hfreq that's higher than 19000! GM makes its calculations and it turns out that the lowest hfreq that can produce 320p lines with your provided vertical porches is: 19.9 KHz.

If you want force 21 kHz here, you need to do one or both of these things:

- Use the same vertical timing values (porches) that you've obtained from Arcade_OSD (you probably missed this step), or/and
- Use a narrow hfreq range, of say: 21000-21100.

The second option makes GM to already auto-adopt similar vertical porches to the ones obtained by Arcade_OSD.

Hfreq is tightly related to vertical timings, once you understand the logic behind this it will be a piece of cake.

In other words. Your monitor is one of the very few ones that readusts vertically depending on the incoming signal. All video modes created by GM or VMMaker are geometrically valid, but we want to exploit your monitor's capability in order to avoid adjusting v-size manually. What we do is, basically, add padding blank lines at the top and the bottom, in the right amount, so we "compress" the active picture in the vertical. By doing so, we're actually changing Hfreq. But those lines are not strictly necessary. A proper signal would be possible without those. GM needs your input to determine how many padding lines it should add. If you let it decide, by setting a very wide hfreq range, it will add as few lines as it can.

As for the 240p range, just create a new crt_range1 and renumber the following ones. Then, set:

 crt_range_0 .... 192, 224, 0, 0
 crt_range_1 .... 225, 240, 0, 0

Remind you have 0-9 possible ranges. I always thought it would be enough, but we hadn't done the presets for the NEC :)
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #46 on: January 25, 2013, 11:41:50 am »
All I can say here is this has provided far more information than I could ever imagine for the porches of the XM2960.  Waglo and Calamity, you guys have my undying thanks for your discussion on this subject.  I will also attempt to work to somehow allow this to let linux users with an XM2960 properly use the monitor for games/emulators in linux, provided I figure the linux side out itself.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #47 on: January 27, 2013, 01:30:23 pm »
Hi NightSprinter,

Unfortunately we still don't have complete settings for the NEC. Waglo didn't confirm the later settings. If you ever have the time to test this and confirm it will be appreciated.
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #48 on: February 03, 2013, 12:24:22 pm »
Absolutely.  Though I'm testing GA Linux right now (please don't slap me for updating packages..), I can do a quick throw-on of 32-bit XP Pro and give it a shot with the old X1300 card.  Sadly the only other working PCIe Radeon I have is a 6670 that is being tested in linux.
It doesn't matter how bad things are, it'll work out in the end.

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #49 on: February 03, 2013, 10:08:04 pm »
Alright!  I'm getting somewhere on the 25KHz games.  As one can guess, some XM2960 units cannot display that horizontal frequency.  Inserting these two lines based off the user guide's specs pages (which does jack squat about 15KHz modes, and states interlaced signals are not recommended.. odd) gave me some positive results:

Code: [Select]
crt_range2  31496-31600, 59-70, 0.318, 3.813, 1.589, 0.985, 0.064, 1.716, 0, 0, 257, 288, 0, 0
crt_range3  31946-31600, 59-75, 0.318, 3.186, 1.589, 0.064, 0.064, 0.793, 0, 0, 289, 320, 0, 0

I'll post a log of what groovymame does when I run a 25KHz horizontal scan game like Super Sprint when I can figure out how to make a log.  Right now I'm just trying to figure out how to add some of these more unusual 31KHz modes like 640x350 and 720x350.  Also, I've noticed that for Super Sprint's resolution it's using an odd mode of 1280x288 which compresses the screen vertically.  Shouldn't I be running it in something more appropriate like 1024x768 for the picture to fit?
« Last Edit: February 03, 2013, 10:13:36 pm by NightSprinter »
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #50 on: February 04, 2013, 05:30:13 am »
Hi NightSprinter,

Creating logs: groovymame.exe romname -v >romname.txt

The lines you posted don't make sense, you're using 15-20 kHz line limiters (257-288, 289-320) on the 31.5 kHz range. You're limiting GM to those heights that's why Super Sprint is forced to run at 288 lines.

I see no reason why your XM2960 should not be working with 25 kHz signals just like the OP's did. Did you create the required resolutions first, by using VMMaker?
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #51 on: February 04, 2013, 10:56:04 am »
Here's the log.  I apologize as well for the  way the pic looks (snapped quickly with smartphone), but as mentioned my model of the 2960 is all-digital with all adjustments being made on-screen.  As a result, it tries to sync a 25KHz mode to 31.  So for my case, I only have 15 and then 31-65 horizontal to work with.  But in this case, it DOES mean dual-scan 2960 owners have hope for a doublescan mode for any medium resolution games.  I just have to figure out how to safely scan it up from 25 to 50 as the manual I have states.

[Edit] I'll also post the manual for my version of the XM2960 just in case.  I have taken notice of the interesting "8415/A & XGA Interlaced Compatible" column on the chart for "typical sync input timing".  Since it shows at 35.587KHz horizontal at a resolution of 1024x768, it makes me wonder what I might be able to get as a result out of this..
« Last Edit: February 04, 2013, 11:20:26 am by NightSprinter »
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #52 on: February 04, 2013, 11:33:21 am »
Thanks for the manual.

Well, too bad it doesn't support 25 kHz, however for the few games that use this frequency you can double the lines as you say, if your monitor can do 31-65 kHz, there's no reason to use 768i when you can go for 768p. Yours is a VESA monitor, so you can safely use the 'vesa_768' and 'vesa_1024' GM presets (the number accounts for lines). You can keep this settings in a separate ini so that low res games are not affected. Keep in mind you *need* to make the resolutions available first as custom resolutions (native modes are not valid here), so that GM can operate on them and store VESA timings on them. So you may need to add those in ReslList.txt, (e.g. 1024x768@60, etc.). Notice that if you have defined monitor_specs lines for 25 kHz in vmmaker.ini, this resolution will be done as interlaced, but GM will be able to bring it back to the progressive world if you use the vesa_768 preset. Hopefully I was clear enough.
« Last Edit: February 04, 2013, 11:35:49 am 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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #53 on: February 04, 2013, 12:40:30 pm »
For the most part, I get it.  Slightly lost at the 'vesa_768' and 'vesa_1024' preset bits.  Right now I'm having to rework my vmmaker.ini file entirely to include proper specs to define for my monitor (despite not knowing the exact timing ranges for 15KHz).  But hopefully by tonight or tomorrow night, we both should be able to get what Waglo is hoping to achieve ready for him and any other users of the XM2960 variant that has digital controls. :applaud:  :cheers:

[EDIT]

Okay, looks like I've gotten a few interesting results.  I haven't done too much extensive testing, but it seems the X300 I'm using in Windows XP had done some strange things with GroovyUME after editing my monitor_specs lines for VMMaker.ini and ume.ini.  Here is what ume.ini contains for the two monitor_specs lines:
Code: [Select]
crt_range0    15700-15700, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 160, 288, 320, 488
crt_range1    48363-48400, 60-60, 0.369, 2.092, 2.462, 0.062, 0.124, 0.600, 0, 0, 240, 768, 0, 0

I'll also post the logs I've taken with Donkey Kong Jr, NES driver, SG1000 Mark III driver, Paperboy, and Super Sprint (the last two under three different CLI options, including the vesa_768 monitor option you suggested).  VERY interesting results, I have to say.  Using vesa_768 for some reason presumes the monitor is trying to sync at 25KHz (as I still get the horizontally-scrambled screen).  If I force the resolution to 1024x768, then I can get a properly doublescanned game running at 99.76% full speed.

Just be forewarned, posting a LOT of text files (and one ini file) before I have to run off to work for the evening.
« Last Edit: February 07, 2013, 11:41:55 am by NightSprinter »
It doesn't matter how bad things are, it'll work out in the end.

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #54 on: February 07, 2013, 11:44:23 am »
Now including the logs for Paperboy and Super Sprint.  Had to rename VMMaker.ini to VMMaker.txt just to be able to post it.  Popeye also strangely was given a 48KHz horizontal version of 512x488, which I do not think is correct at all.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #55 on: February 07, 2013, 12:20:31 pm »
Ok, the problem is you're not defining the line ranges (heights) properly. They're overlapping and causing absurd results.

Imagine the crt_range lines as filters:

crt_range0          15700-15700, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 160, 288, 320, 488
crt_range1          48363-48400, 60-60, 0.369, 2.092, 2.462, 0.062, 0.124, 0.600, 0, 0, 240, 768, 0, 0

With these lines you have, you're telling GM:

1.- I want you to recalculate all my available custom resolutions from 160 to 288 lines height into the frequency range of 15700-15700 kHz.

2.- I want you to recalculate all my available custom resolutions from 240 to 768 lines height into the frequency range of 48363-48400 kHz

First line makes sense. Second line is totally crazy for these reasons:

- The range of 240-288 lines can be calculated with either of the lines. While overlapping range can be of use in some situations, this is not one of them.

- Worse than that. GM will think that you are happy to have resolutions starting with 240 lines calculated as 48 kHz. This means that it will need to add hundreds of padding lines to achieve 48 kHz out of 240 visible lines, resulting in ultra cinemascope aspect.

This would make more sense:

crt_range0          15700-15700, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 160, 288, 320, 488
crt_range1          48363-48400, 60-60, 0.369, 2.092, 2.462, 0.062, 0.124, 0.600, 0, 0, 768, 800, 0, 0

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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #56 on: February 07, 2013, 12:48:36 pm »
Will try that later tonight after getting home from work.  Also will post my xorg.conf file in its related thread to coincide with my Xorg.0.log file.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #57 on: February 07, 2013, 01:15:29 pm »
BTW thanks for the logs. I appreciate users that experiment by themselves.
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #58 on: February 08, 2013, 11:43:08 am »
MUCH appreciated for the edits to those!  I've got even more logs here for you, including some really interesting stuff going on with the Playchoice 10 (making me wonder, if I can get my Commodore 1084S fixed if it might be usable for a secondary top monitor for it to run in dual-screen mode) via switchres.  The logs show it switching to the 48KHz 1024x768 line mode (as I've yet to find a perfect 50KHz horizontal mode for double-scanning 512x384 games).  Also, vesa_768 still gives me a scrambled and horizontally-rolling screen as the card attempts still to run at 25KHz horizontal.  Popeye seems to intentionally run at 512x488i (though wasn't that intended from reading right?), and no vertical game so far has caused issues when stretching to 3:4 aspect (with my back as it is, I've no desire to rotate that behemoth).

Semi-related: if I need to re-run VMMaker, what other systems in the reslist.txt should I enter?  I've so far added a few various PAL/NTSC modes for the Amiga (including interlaced modes), and 50Hz variants for the NES driver.  Or should I edit those out, and let VMMaker (under groovyume being renamed to mame.exe) determine compatible video modes via that method?

Mostly-unrelated: Check the GroovyArcade thread for my Xorg log.  Some oddities are happening there.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #59 on: February 08, 2013, 01:00:25 pm »
Hi NightSprinter, writting from a phone. Popeye original game was interlaced so that's correct. Do not use the vesa settings because each level,includes the lower levels (768, 600, 480). It cant be using 25 khz anyway, it must be 29 khz, the lower freq for the vesa preset, though your monitor probably cannt do that freq. Btw your logs are not complete, you forgot the -v param.
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #60 on: February 10, 2013, 12:34:57 pm »
Hey there, got the corrected logs finally for you (while waiting for Anes86 to respond back on the Linux side of things).  Had to edit the 48KHz specs line, as what you provided me was causing UME to complain of an out-of-range setting for ProgressiveLinesMax (so I had to dial it back down to 768).

I've also noticed when testing a few NES driver setups (mostly PlayChoice 10 and the actual NES driver), leaving the monitor selection at "custom" made the audio pitch similar to when playing an NTSC cartridge on a PAL console.  Setting it to either Arcade_15 or Generic_15 restored the audio pitch and speed.  Lastly, I noticed also Donkey Kong Jr (as shown by the logfile for it) was for some reason wanting to use a 48KHz resolution instead of a low one.
It doesn't matter how bad things are, it'll work out in the end.

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #61 on: February 10, 2013, 12:36:54 pm »
And here are the remainder of the logfiles.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #62 on: February 11, 2013, 06:02:18 am »
Well, your 'nes-correct' and 'ssprint-double' logs are definitely interesting. I need to reproduce your settings here and let you know what to do.

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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #63 on: February 11, 2013, 07:11:11 am »
Yeah, not sure why that happens.  Especially with the fact testing Super Sprint without the doublescan option forces 512x384i.  I find that bizarre.  If I had a full list of medium-rez arcade games, and systems with emulators that can auto-switch resolutions, I could produce necessary logs for days.   ;D  >:D

[Edit]
Not sure if I mentioned, but for crt_specs1 I had to eliminate the virtual lines limit setting.  If it was kept the same, then Groovymame/GroovyUME would spit out errors about line limits.
« Last Edit: February 11, 2013, 07:52:30 am by NightSprinter »
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #64 on: February 11, 2013, 10:40:11 am »
Ok, in range1 you should allow a decent range for vfreq, something like 50-61,  that will allow you setting 768-800 progressive lines range. In range0, open hfreq a bit, 15625-16200.
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 or pasting it.

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

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #65 on: February 12, 2013, 06:22:55 pm »
Any news on this, NightSprinter?
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #66 on: February 13, 2013, 12:41:11 am »
Still no luck with 25KHz games being run in 1024x768 with the CRT_RANGE1 setting.  Super Sprint (my main test game for medium resolution) still goes into 512x448i resolution.  Sorry if I haven't responded in a few days.  Been busy with work and trying to debug why the kernel I patched for linux just doesn't want to do the mode-setting magic.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #67 on: February 13, 2013, 06:23:38 am »
Ok, here is the problem:

crt_range0          15700-15700, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 160, 288, 320, 488

By setting intelaced-lines-min to 320 you are telling GM that modes starting from 320i are geometrically correct for you. So 384i is quite correct and meets the specs as defined by you. Of course you don't want 384i. While 160p may make sense for some very low res systems, 384i does not. That's why I usually set this value to 400 or 448 in my presets.

Now let's have a look at the log, I'm going to explain this a bit for future reference. Here are your two candidates. Why is 512x448i finally selected, when the 1024x768 is the "logic" favourite?:

   rng(0):  512 x 448_60.096i 15.715 [integ] scale(1, 1, 1) diff(0.00, 0.00, 0.0000) ratio(1.000, 1.167)
   rng(1): 1024 x 768_60.050p 48.400 [integ] scale(2, 2, 1) diff(0.00, 0.00, -0.0465) ratio(2.000, 2.000)

"y_score" is rated the first (lower is better):
  - 448i (scale counts 1, interlace counts 2; 1 x 2 = 2)
  - 768p (scale counts 2, progressive counts 1; 2 x 1 = 2) -> so we have a tie here

"xy_diff" is rated the second (lower is better). This value is calculated out of the 'diff' box first couple of values. You can see we're going to have a tie here too. But, attention here! This shouldn't be the case. If you had defined intelaced-lines-limit to 448, then the difference between 448-384 should be considered as "fat" that needs to be used as padding, thus scoring this mode down, so the value marked in red would be higher than zero and this mode would be dropped.

"vfreq_diff" is rated the third (absolute lower is better). Now, here is where 1024x768 is finally dropped. Its vfreq_diff is -0.0465 (value in pink). This is bacause the target refresh of 60.096153 can't be achieved, due to reaching the hfreq limit for this range, imposed by you as 48.400 kHz (value in green). Set this value just a little higher, say 49.00 kHz, and you should be there.

So, these are the ranges I'd use:

crt_range0          15700-15700, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 160, 288, 448, 488
crt_range1          48363-49000, 60-60, 0.369, 2.092, 2.462, 0.062, 0.124, 0.600, 0, 0, 240, 768, 0, 0

Either one of the changes should be enough, however both are better.

Of course I don't expect casual users to fully understand how the internal logic works, that's why I'm providing standard presets and trying to improve them constantly to account for edge cases. When I make my own presets I have the whole thing in my head and know what to expect, and still I usually need to troubleshoot them until they work fine.
« Last Edit: February 13, 2013, 06:29:16 am 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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #68 on: February 13, 2013, 10:54:27 am »
Oh there we go.  Now it's switching to 512x384p in the 48.420KHz range fine (no need to even switch over to 1024x768).  Definitely intresting logs I generated with the Playchoice driver, but it's not too big a concern (I just need to figure out how to permanently set it into single-screen BIOS mode and use just the first screen).  I'd guess that the larger resolution is a good stretched one, due to the fact the original version of the PC-10 hardware uses two 15KHz monitors.  Regardless, my test games work and look beautiful now.  Many thanks to you for all your assistance.  If you need me to test any other peculiar games in the three ranges, let me know.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #69 on: February 13, 2013, 11:47:06 am »
Hi NightSprinter,

I'm afraid your log is showing that it just seems to be working by chance but it's not. It's actually picking 512x384 which is a system resolution, and that is not what we intended. That resolution happens to be double-scanned natively, around the 31 kHz.

Digging in your log I can see you're again using and absurd value for progressive-lines-min:

crt_range1 48363.00-49000.00,50.00-61.00,0.369,2.092,2.462,0.062,0.124,0.600,0,0,240,768,0,0

This completely defeats the purpose of the range definition model. For this hfreq range (48-49 kHz), you should be using progressive line limiters around the 7 and 8 hundreds. If you don't follow me here please tell me and I can provide extended info in necessary, but tricking the line limiters like that will only produce random results.

BTW you're going to need a 31 kHz range defined. You should name that one as range1 and leave range2 for 48 kHz.

As for the playchoice games (I do wonder why these are so popular  :D) you can set the '-numscreens 2' option. When doing this, make sure to disable -multithreading for these games or they will lock.
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #70 on: February 13, 2013, 12:05:07 pm »
Quote
So, these are the ranges I'd use:

crt_range0          15700-15700, 45-80, 4.000, 4.700, 5.300, 0.062, 0.062, 0.740, 0, 0, 160, 288, 448, 488
crt_range1          48363-49000, 60-60, 0.369, 2.092, 2.462, 0.062, 0.124, 0.600, 0, 0, 240, 768, 0, 0

Actually, that 240 bit is what you actually stated to use.  I guess you might have mis-typed.  I'll switch back into Windows and put it back to 768, 768 and test again.

Unrelated note: testing another distro no with that patched kernel no longer has the invalid issues with XRandR, just no actual mode switching.

[Edit] THERE WE GO!!!  I switched it back to min/max progressivelines to both at 768.  It now switches to 1024x768p @ 60.096Hz 48.437KHz Horizontal.  Even WarGods (despite the oddities with the voices) seems to run at close to correct resolution.  If you have any other arcade games with medium-res specs to test, or any systems for the MESS side with odd resolutions or resolution-switching capability, let me know.  For now, it seems that setting
Code: [Select]
crt_range1          48363-49000, 60-60, 0.369, 2.092, 2.462, 0.062, 0.124, 0.600, 0, 0, 768, 768, 0, 0 Is indeed the line we need to make many medium resolution games work on the digital version of the XM2960.
« Last Edit: February 13, 2013, 01:16:52 pm by NightSprinter »
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #71 on: February 13, 2013, 12:16:24 pm »
Haha sorry  ;D

I just copied from above without checking.

Did you ever test GA live cd btw?
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #72 on: February 13, 2013, 01:17:37 pm »
Gonna do that again, and check it with the applied modes.
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #73 on: February 13, 2013, 01:36:11 pm »
If your monitor admits 50 kHz which I believe it does (?), you may raise the 49 kHz limit to 50 point something, then use 768, 800 instead of 768, 768. This will allow you run Wargods at 1024x800@57, with integer scaling instead of fractional as you have now.
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 or pasting it.

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

NightSprinter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 172
  • Last login:June 17, 2018, 08:59:56 pm
Re: Help installing groovymame
« Reply #74 on: February 13, 2013, 08:00:55 pm »
Ah, excellent.  I entered this also into VMMaker just in case, and it indeed runs at proper doubled 1024x800 resolution.  Shame that even a Core2Quad Q6600 is so zetta slow that some of the voice samples have pitch issues (in addition to an average speed of about 78.5% original arcade hardware).  I guess if I do get a Radeon 4890 as a backup and use XP64 for said backup, something along the lines of an FX-8350 processor would help more.

[Edit] Oh-kay.. what just happened?  Having remembered reading that the Genesis/MegaDrive used a very special interlaced mode for the two-player VS mode of Sonic 2, I just fired it up in GroovyUME.  Not only does it switch to 512x224 for the non-interlaced mode, but it looks scrambled for the additional image on the bottom half of the screen.  It switches to 320x448 rather nicely in order to display when running an attract demo of Vs.  I apologize for the pics coming from my Galaxy Nexus, but it should give an idea of the oddities I'm having with it.  I'm not sure how this could affect any other working systems that run in the MESS side of GroovyUME that can use interlaced modes.
« Last Edit: February 13, 2013, 09:18:23 pm by NightSprinter »
It doesn't matter how bad things are, it'll work out in the end.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6552
  • Last login:May 17, 2019, 11:19:04 am
Re: Help installing groovymame
« Reply #75 on: February 14, 2013, 05:33:45 am »
Regarding the Megadrive issue. You have the -lock_system_modes option disabled. Try enabling it, this is the default option. You probably disabled it at some point. GM is picking 320x240 system mode, which is "broken" with the moded drivers (required to disable the hardcoded double-scan), and we usually override it with a custom definition. That's why your seeing a double picture with the second half garbled.
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 or pasting it.

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