The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: lettuce on August 20, 2011, 02:31:43 pm

Title: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 20, 2011, 02:31:43 pm
Ok i am wanting to get groovyMAME working on my media PC that is connected to my LCD screen, im running windows 7 and am using a Nvidia GTX 560 Ti card. What settings do i need to use to get Groovymame working with this type of setup?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 21, 2011, 05:08:17 am
Anyone, have tried setting it up, but when ever i load a rom i get a message saying something about too many modelines??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on August 21, 2011, 06:04:47 am
Bear in mind that this build is mainly targeted to WinXP, CRT, and ATI Card  ;D

However, read the last posts in the main thread where it's explained how to use this with an LCD screen. You'll need to install Powerstrip for that.

That error you're reporting seems to be a bug, please report your logs with -v -md 4 params so we can fix it:
http://forum.arcadecontrols.com/index.php?topic=113382.0 (http://forum.arcadecontrols.com/index.php?topic=113382.0)
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 21, 2011, 10:13:50 am
Thanks for the reply. Ok just to make sure, i have downloded:

groovymame32_0143.013c_test.rar
VMMaker 1.3b + Arcade_OSD_1.3.rar
Powerstrip

and installed them (not sure if i need VMMaker, as using LCD, Win 7 and Nvidia card)

These are the only options i have changed in the VMMaker.ini file:

MonitiorType = 'lcd'

monitor_specs0            29000.00-50000.00,50.00-70.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1920,1080


and in the mame.ini file:

monitor lcd
monitor_aspect 16:9
cleanstretch 1


Then from the command prompt i go to the mame directory and use the following command to load a rom:

mame 1942 -ps -monitor lcd -video d3d

upon doing this i get the following message (the line, "SwitchRes: Warning, too many active modelines for storage 251" is repeated loads of times):

SwitchRes: Warning, too many active modelines for storage 251
SwitchRes: Warning, too many active modelines for storage 251
SwitchRes: Failed opening System\CurrentControlSet\Control\Video\{DEB039CC-B704-
4F53-B43E-9DD4432FA2E9}\0000 registry entry with error 5

-----------------------------------------------------
Exception at EIP=01C6F0AB (not found): ACCESS VIOLATION
While attempting to read memory at 00000044
-----------------------------------------------------
EAX=00000000 EBX=00233858 ECX=000003F5 EDX=000003F4
ESI=FFFFFFFF EDI=00233858 EBP=0028FEC8 ESP=00231A40
-----------------------------------------------------
Stack crawl:
  0028FEC8: 01C6F0AB (not found)
  0028FF88: 00401422 (not found)
  0028FF94: 7529339A (BaseThreadInitThunk+0x0012)
  0028FFD4: 77409ED2 (RtlInitializeExceptionChain+0x0063)
  0028FFEC: 77409EA5 (RtlInitializeExceptionChain+0x0036)

C:\Mame>

Am i doing everything correctly??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on August 21, 2011, 12:35:19 pm
groovymame32_0143.013c_test.rar
VMMaker 1.3b + Arcade_OSD_1.3.rar
Powerstrip

Fine, but you don't need the VMMaker app as you're not using an ATI card.

These are the only options you should need to change in mame.ini:

monitor lcd
monitor_aspect 16:9
monitor_specs0            29000.00-50000.00,50.00-70.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080

You'll probably need to raise that hfreq 50000 figure to something around 70000 or so, check your TV's documentation or use the MonInfo app to get the right ranges.

However that won't fix things because the main problem is this:

Quote
SwitchRes: Warning, too many active modelines for storage 251

This is probably a bug that I introduced with the last patches, or a maybe there are actually too many video modes available in your system. Could you please check with Arcade_OSD the number of resolutions reported, just activate one of the modes and you'll see the number between ().


Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 21, 2011, 04:15:21 pm
This is the info i got from moninfo........

Monitor
  Model name............... SAMSUNG
  Manufacturer............. Samsung
  Plug and Play ID......... SAM05EA
  Serial number............ n/a
  Manufacture date......... 2009, ISO week 25
  Filter driver............ None
  -------------------------
  EDID revision............ 1.3
  Input signal type........ Digital
  Color bit depth.......... Undefined
  Display type............. RGB color
  Screen size.............. 160 x 90 mm (7.2 in)
  Power management......... Not supported
  Extension blocs.......... 1 (CEA-EXT)
  -------------------------
  DDC/CI................... Not supported

Color characteristics
  Default color space...... Non-sRGB
  Display gamma............ 2.20
  Red chromaticity......... Rx 0.640 - Ry 0.330
  Green chromaticity....... Gx 0.300 - Gy 0.600
  Blue chromaticity........ Bx 0.150 - By 0.060
  White point (default).... Wx 0.313 - Wy 0.329
  Additional descriptors... None

Timing characteristics
  Horizontal scan range.... 26-68kHz
  Vertical scan range...... 24-60Hz
  Video bandwidth.......... 230MHz
  CVT standard............. Not supported
  GTF standard............. Not supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 1920x1080p at 60Hz (16:9)
    Modeline............... "1920x1080" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
  Detailed timing #1....... 1280x720p at 60Hz (16:9)
    Modeline............... "1280x720" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync

Standard timings supported
     640 x  480p at  60Hz - IBM VGA

EIA/CEA-861 Information
  Revision number.......... 3
  IT underscan............. Not supported
  Basic audio.............. Supported
  YCbCr 4:4:4.............. Supported
  YCbCr 4:2:2.............. Supported
  Native formats........... 1
  Detailed timing #1....... 1280x720p at 50Hz (16:9)
    Modeline............... "1280x720" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
  Detailed timing #2....... 1920x1080i at 60Hz (16:9)
    Modeline............... "1920x1080" 74.250 1920 2008 2052 2200 1080 1084 1094 1124 interlace +hsync +vsync
  Detailed timing #3....... 1920x1080i at 50Hz (16:9)
    Modeline............... "1920x1080" 74.250 1920 2448 2492 2640 1080 1084 1094 1124 interlace +hsync +vsync
  Detailed timing #4....... 720x480p at 60Hz (16:9)
    Modeline............... "720x480" 27.000 720 736 798 858 480 489 495 525 -hsync -vsync

CE video identifiers (VICs) - timing/formats supported
    1920 x 1080p at  60Hz - HDTV (16:9, 1:1) [Native]
    1920 x 1080p at  50Hz - HDTV (16:9, 1:1)
    1280 x  720p at  60Hz - HDTV (16:9, 1:1)
    1280 x  720p at  50Hz - HDTV (16:9, 1:1)
    1920 x 1080i at  60Hz - HDTV (16:9, 1:1)
    1920 x 1080i at  50Hz - HDTV (16:9, 1:1)
     720 x  480p at  60Hz - EDTV (16:9, 32:27)
     720 x  576p at  50Hz - EDTV (16:9, 64:45)
    1920 x 1080p at  24Hz - HDTV (16:9, 1:1)
    1920 x 1080p at  25Hz - HDTV (16:9, 1:1)
    1920 x 1080p at  30Hz - HDTV (16:9, 1:1)
    NB: NTSC refresh rate = (Hz*1000)/1001

CE audio data (formats supported)
  LPCM    2-channel, 16/20/24 bit depths at 32/44/48 kHz

CE speaker allocation data
  Channel configuration.... 2.0
  Front left/right......... Yes
  Front LFE................ No
  Front center............. No
  Rear left/right.......... No
  Rear center.............. No
  Front left/right center.. No
  Rear left/right center... No
  Rear LFE................. No

CE video capability data
  CE scan behavior......... Supports overscan and underscan
  IT scan behavior......... Supports overscan and underscan
  PT scan behavior......... Not supported
  RGB quantization range... Not supported
  YCC quantization range... Not supported

CE vendor specific data (VSDB)
  IEEE registration number. 0x000C03
  CEC physical address..... 1.0.0.0
  Supports AI (ACP, ISRC).. Yes
  Supports 48bpp........... No
  Supports 36bpp........... Yes
  Supports 30bpp........... Yes
  Supports YCbCr 4:4:4..... Yes
  Supports dual-link DVI... No
  Maximum TMDS clock....... 225MHz

Report information
  Date generated........... 21/08/2011
  Software revision........ 2.60.0.964
  Data source.............. Real-time 0x0051
  Operating system......... 6.1.7601.2.Service Pack 1

Raw data
  00,FF,FF,FF,FF,FF,FF,00,4C,2D,EA,05,00,00,00,00,19,13,01,03,80,10,09,78,0A,EE,91,A3,54,4C,99,26,
  0F,50,54,20,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,02,3A,80,18,71,38,2D,40,58,2C,
  45,00,A0,5A,00,00,00,1E,01,1D,00,72,51,D0,1E,20,6E,28,55,00,A0,5A,00,00,00,1E,00,00,00,FD,00,18,
  3C,1A,44,17,00,0A,20,20,20,20,20,20,00,00,00,FC,00,53,41,4D,53,55,4E,47,0A,20,20,20,20,20,01,DD,
  02,03,23,71,4B,90,1F,04,13,05,14,03,12,20,21,22,23,09,07,07,83,01,00,00,E2,00,0F,67,03,0C,00,10,
  00,B8,2D,01,1D,00,BC,52,D0,1E,20,B8,28,55,40,A0,5A,00,00,00,1E,01,1D,80,18,71,1C,16,20,58,2C,25,
  00,A0,5A,00,00,00,9E,01,1D,80,D0,72,1C,16,20,10,2C,25,80,A0,5A,00,00,00,9E,8C,0A,D0,8A,20,E0,2D,
  10,10,3E,96,00,A0,5A,00,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,5C


So, 148.500,1920,2008,2052,2200,1080,1084,1089,1125,1080,1080 is what i need to use for the modeline??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on August 22, 2011, 01:50:15 pm
These are the values you need:

Timing characteristics
  Horizontal scan range.... 26-68kHz
  Vertical scan range...... 24-60Hz
[/quote]

This is how they're used in the monitor_specs line:

monitor_specs0            26000.00-68000.00,48.00-60.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080

Also, you can extract the optimal porch values for your TV from its preferred modeline:

   Modeline............... "1920x1080" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync

But you can't use the numbers in the modeline directly, you need to calculate the values out of those numbers. You can use PowerStrip for this or even Arcade_OSD, activating the 1920x1080 video mode and going into geometry settings to grab the timing values. However you don't need to do this as GroovyMAME will get the timings directly from PowerStrip. Only the values explained above should be needed.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 25, 2011, 08:12:56 am
groovymame32_0143.013c_test.rar
VMMaker 1.3b + Arcade_OSD_1.3.rar
Powerstrip

Fine, but you don't need the VMMaker app as you're not using an ATI card.

These are the only options you should need to change in mame.ini:

monitor lcd
monitor_aspect 16:9
monitor_specs0            29000.00-50000.00,50.00-70.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080

You'll probably need to raise that hfreq 50000 figure to something around 70000 or so, check your TV's documentation or use the MonInfo app to get the right ranges.

However that won't fix things because the main problem is this:

Quote
SwitchRes: Warning, too many active modelines for storage 251

This is probably a bug that I introduced with the last patches, or a maybe there are actually too many video modes available in your system. Could you please check with Arcade_OSD the number of resolutions reported, just activate one of the modes and you'll see the number between ().

Ok have tried to load Arcade_OSD but just get a small black window and the egg timer all the time, does this work in windows 7?? Is there a way to cut down the available video modes in my system so mame works??

EDIT: I dont think this is a bug in your latest test build as i have just downloaded groovymame64_0143.01b and still get the error message...

SwitchRes: Warning, too many active modelines for storage 251
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 27, 2011, 05:05:32 am
Ok have tried to load Arcade_OSD but just get a small black window and the egg timer all the time, does this work in windows 7?? Is there a way to cut down the available video modes in my system so mame works??

EDIT: I dont think this is a bug in your latest test build as i have just downloaded groovymame64_0143.01b and still get the error message...

SwitchRes: Warning, too many active modelines for storage 251

Is this possible?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on August 27, 2011, 04:06:45 pm
It's strange you have so many video modes available in that system, probably several instances of each mode are being listed for some reason. I've just arrived today, hopefully in a day or two I can make a patch so it won't crash because of that, I'm curious to see which modes are listed. By the way, have you tried Hyperspin in that system?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on August 28, 2011, 07:43:23 am
It's strange you have so many video modes available in that system, probably several instances of each mode are being listed for some reason. I've just arrived today, hopefully in a day or two I can make a patch so it won't crash because of that, I'm curious to see which modes are listed. By the way, have you tried Hyperspin in that system?


How do i check to see what modes are listed? No i havent tried Hyperspin yet, will that make a difference?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on August 29, 2011, 07:59:45 am

How do i check to see what modes are listed? No i havent tried Hyperspin yet, will that make a difference?
[/quote]

I was just curious as HS is known to crash when many resolutions are available, but I don't know if it only happens with my hacked drivers or is a general rule.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 01, 2011, 05:05:36 pm
Calamity, you come up with a patch for this yet so it doesnt crash?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 02, 2011, 08:11:49 am
Calamity, you come up with a patch for this yet so it doesnt crash?

Hi lettuce,

I've just uploaded a patch that should at least avoid the crash, check here:

http://mario.groovy.org/GroovyMame/WindowsATIDrivers/ (http://mario.groovy.org/GroovyMame/WindowsATIDrivers/)

file is groovymame32_0143.013c_test2.rar

Please run it from command line like this:

      mame 1942 -ps -monitor lcd -video d3d -v -md 4 >1942.txt

Then post here the txt log file so we can check which video modes your system is reporting.

Thanks!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 02, 2011, 12:36:56 pm
Ok have attached the 1942.txt file.

Mame run fine now, no error messages.....but the display didnt look that great very blocky on my LCD screenn guess thats cos there no filtering going on. What the best way to get a more authentic arcade monitor look?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 02, 2011, 01:57:01 pm
Ok have attached the 1942.txt file.

Mame run fine now, no error messages.....but the display didnt look that great very blocky on my LCD screenn guess thats cos there no filtering going on. What the best way to get a more authentic arcade monitor look?

Thanks for the log, it helped me to catch a bug that I've just fixed. Now the refresh will be more accurate when using LCD & PowerStrip. I've made this new build as groovymame32_0143.013c_test.rar and deleted the other files. Make sure to get the new one.  It would be great if you have could get me the new log for 1942.

Yep it's supposed to look blocky as it's not stretching nor filtering the image if possible, only scaling. Use the new hlsl effects to make it look like an arcade monitor. You'll need a pretty decent card to use it fluently at 1920x1080.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 04:13:11 am
OK have attached the new log. GFX card should be up to the job, am using a Nvidia GTX 560 Ti card. What command do i need to run so hlsl is enabled?

But i did get an error  message  when  i quit  out  of 1942........

(http://img823.imageshack.us/img823/4316/unledrjq.jpg) (http://imageshack.us/photo/my-images/823/unledrjq.jpg/)

Have just tried some other roms but their displaying in 16:9 not 4:3, why is this?

Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 05:23:12 am
Thanks for the log! I wanted to check is the bug was fixed, I see it is.

Just ignore that error message, it's because your running it in Win7, but as you're using PowerStrip the access to the registry is unnecessary.

If you want the correct the aspect ratio (4:3), open mame.ini and edit these options:

monitor_aspect 16:9
keepaspect 1

HLSL effects are somewhat tricky to set up, I'm not the best one to give you that info, this thread may help you:

http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=255593 (http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=255593)

Also, try adding the -syncrefresh -soundsync params to your commandline or mame.ini to get rid of tearing and sound stuttering. When doing this, try games like mk or donpachi which run at refresh rates different than 60, and check if you can get smooth scrolling and if your TV can handle those refresh rates properly.

Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 06:49:38 am
Cheers Calamity!!!

So in a fresh mame.ini file what are the only options i should be changing for the perfect setup for using an LCD display??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 07:00:22 am
Cheers Calamity!!!

So in a fresh mame.ini file what are the only options i should be changing for the perfect setup for using an LCD display??

In your case:

monitor lcd
monitor_aspect 16:9
monitor_specs0            26000.00-68000.00,48.00-60.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080
powerstrip 1

video d3d
keepaspect 1
syncrefresh 1
soundsync 1
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 10:10:10 am
Cheers Calamity!!!

So in a fresh mame.ini file what are the only options i should be changing for the perfect setup for using an LCD display??

In your case:

monitor lcd
monitor_aspect 16:9
monitor_specs0            26000.00-68000.00,48.00-0.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080
powerstrip 1                
video d3d
keepaspect 1
syncrefresh 1
soundsync 1


Ok i have created a new config file and added the changes you listed plus also HLSL enabled. I am now greeted with the following error message......

(http://img231.imageshack.us/img231/981/unledvcs.jpg) (http://imageshack.us/photo/my-images/231/unledvcs.jpg/)


Also the modeline you listed had an error in, just incase anyone else was going ti use it...

26000.00-68000.00,48.00-0.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080 (WRONG)
26000.00-68000.00,48.00-60.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080  (CORRECT)


EDIT

Found out why, i needed the HLSL folder with the .fx file in. But now when i load a rom, i just get a black screen for a while and then different coloured screens slowly coming up, if i press '5' for credit the screen stops changing colour now and again and goes straight to a black screen again!!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 10:35:25 am
You need the hlsl folder and the artwork folder too, download mainstream MAME and grab the folders from there, hopefully it's that.

Thanks, I fixed the modeline in case someone used it.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 11:20:14 am
Just tried Mortal Kombat, and i my LCD tells me that the mode isnt supported  :cry:
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 11:42:23 am
Just tried Mortal Kombat, and i my LCD tells me that the mode isnt supported  :cry:

mk runs at 54 Hz...

Try by changing your values from 48.00-60.00 to 55.00-60.00 or so until you find the right ones where your TV works fine.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 12:19:01 pm
Just tried Mortal Kombat, and i my LCD tells me that the mode isnt supported  :cry:

mk runs at 54 Hz...

Try by changing your values from 48.00-60.00 to 55.00-60.00 or so until you find the right ones where your TV works fine.

It seem to be working now at 48.00-60.00, it must have been because i was test the desktop res set to 720p and not 1080p. Isnt it better to have my desktop res as low as possible to get a more authentic arcade look??

Regarding the 48.00-60.00 value i take it this is refering to the refresh rate that the LCD accepts? So what happens to roms that have a lower refresh than 48??

EDIT: Tried MK 1,2, and 3 all work fine, but mk 4 give me the mode not supportted bu my LCD. What Hz's does MK4 run at?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 12:56:16 pm
It seem to be working now at 48.00-60.00, it must have been because i was test the desktop res set to 720p and not 1080p. Isnt it better to have my desktop res as low as possible to get a more authentic arcade look??

Nop. Modern drivers seem to emulate lower resolutions when a LCD monitor is attached, so the only genuine resolution is the LCD's native one. If a "emulated" resolution is enabled, PowerStrip won't be able to use the new settings.

The other reason is that if a non-native resolution is used, the LCD screen will need to perform scaling. It's better to perform scaling on the software side so we have full control on the results and feed the screen with a already scaled picture. Then use MAME HLSL options to achieve the arcade look, which achieve better results the higher the resolution is. The problem is that if the resolution is too high, the video card won't be powerful enough to work fluently with HLSL enabled.

Another reason is that the higher the native resolution of our LCD, more chances are that we'll achieve a clean integer scaling of most original resolutions.

Regarding the 48.00-60.00 value i take it this is refering to the refresh rate that the LCD accepts? So what happens to roms that have a lower refresh than 48??

EDIT: Tried MK 1,2, and 3 all work fine, but mk 4 give me the mode not supportted bu my LCD. What Hz's does MK4 run at?

Games with refresh lower than 48 Hz are very rare, anyway they're refresh will be raised to 48.

In mk, go to the character selection screen and observe the scroll, let me know if it is smooth. Press F11 to check if the games runs 100%
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 01:30:35 pm
Do you mean the scrolling on the title screen where the characters faces are scolling up and down on the sides, or on the tower where it says who you'll be fighting?? In both instances the scrolling is smooth, but it says that its running at 110%!!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 05:26:25 pm
Do you mean the scrolling on the title screen where the characters faces are scolling up and down on the sides, or on the tower where it says who you'll be fighting?? In both instances the scrolling is smooth, but it says that its running at 110%!!

Both are relevant, but they should run at 100% (54 Hz). Are you launching mk from command line or from the internal MAME's UI? I'd need to see the logs to know what's not working.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 03, 2011, 07:10:49 pm
From the command line....i have noticed a few games not running at 100% speed, some slower 98% and some a bit fast 105% etc. What command line did i need to input to get you the logs...same as before??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 03, 2011, 07:26:07 pm
Yes, same command line, -v -md 4 >romname.txt is what's needed for the logs.

It sounds like powerstrip option is not working otherwise you'd have more or less constant 100%.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 04, 2011, 04:19:00 am
Ok have attached the file for mk. Was i supposed to do anything special with powerstrip other than just install it?

On a side note im still unable to get HLSL option to work, i can hear the game running in the background but i get just a black display that changes colour now and again, i can  get the in game menu system (TAB) to display however!? So at the moment am just using a scanline png effect.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 04, 2011, 12:45:54 pm
Thanks, it's a bug, similar to the other one, I'll have a fix for it tomorrow.

I don't know what is wrong with HLSL, try testing the same in normal MAME to see if it works.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 01:57:28 pm
Has this Bug been...squashed yet?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 07, 2011, 02:06:19 pm
Has this Bug been...squashed yet?

Yes, I've just uploaded a new test version that should fix that.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 02:49:34 pm
cool, can i use the same mame.ini file?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 03:20:00 pm
Just tried the latest version, and MK is still running at 110%

Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 07, 2011, 04:04:43 pm
Just tried the latest version, and MK is still running at 110%

Oh damn. I know what the bug is but for some reason it's still there. I'm going to do a do a bullet proof fix. If you had a moment to paste that log it would be interesting.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 04:07:19 pm
Regarding the HLSL setting, i have downloaded mameui32 and copied over the mame.ini file from groovymame and HLSL works fine (however mame is running at super speed). I then copied groovymame exe file into the mameui32 folder to see if it was some folder or file groovymame may have been missing in order for HLSL to work correctly but this didnt work, i still got the black screen with it changing colour now and again.

I have a idea on this though, as i tried running HLSL with mortal kombat and as usual got a black display but then after a few seconds got loads of different colour flashing up.....now MK has the character faces scrolling down each side of the screen on the title screen doesnt it, which this flashing display kind of simulated. Its as if when running HLSL its magnitifed the screen loads of times so all im seeing is just one pixel that is taking up the whole screen hence the different coloured fast flashing display on MK, would this make sense??

ill get the log in a few mins for ya
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 04:14:30 pm
OK have attached 2 files one with HLSL running and one without, maybe the HLSL one will show a bug why it isnt working with Groovymame?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 07, 2011, 04:17:13 pm
I'm sure I got HLSL working here, however that issue you're seeing might be a consecuence of something I broke with the last patches in this experimental groovymame build, not sure. Unfortunately we can't test against the "official" groovymame build because that one didn't work in your system.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 04:27:33 pm
I have a laptop with a ATI card in...its running windows 7 though would the offical Groovymame build work with that?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 07, 2011, 04:49:49 pm
Yes, probably try with the laptop, you can even plug it to the TV and test, but testing on its screen will be enough.

For the HLSL thing, have you tested anything else or just mk? Try disabling the -changeres option in case it was enabled.

I'm seeing a problem in your system I had missed. Powerstrip seems unable to change the dotclock. If you see the logs, even if it tries different values, 148501 is always returned. That's the issue you're seeing.

PStrip: ps_set_monitor_timing(0): 1920,88,44,148,1080,4,5,36,135617,512
PStrip: ps_get_monitor_timing(0): 1920,88,44,148,1080,4,5,36,148501,512
PStrip: ps_set_monitor_timing(0): 1920,88,44,148,1080,4,5,36,135642,512
PStrip: ps_get_monitor_timing(0): 1920,88,44,148,1080,4,5,36,148501,512
PStrip: ps_set_monitor_timing(0): 1920,88,44,148,1080,4,5,36,135667,512
PStrip: ps_get_monitor_timing(0): 1920,88,44,148,1080,4,5,36,148501,512
PStrip: ps_set_monitor_timing(0): 1920,88,44,148,1080,4,5,36,135692,512
PStrip: ps_get_monitor_timing(0): 1920,88,44,148,1080,4,5,36,148501,512
PStrip: ps_set_monitor_timing(0): 1920,88,44,148,1080,4,5,36,135717,512
PStrip: ps_get_monitor_timing(0): 1920,88,44,148,1080,4,5,36,148501,512

I'm not sure why it happens. Powerstrip warns that some cards may only have a few stable dotclock values among certain ranges. You can test if you dare with Powerstrip itself, using the custom timings window to try to alter the default dotclock (pixel clock), check if you're able to change it to some of the values above, to see if it's an issue with the card or with GroovyMAME. If you get an out of sync screen, just press enter.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 05:29:27 pm
OK, changeres was enabled i disabled it and HLSL still didnt work.

Regarding powerstrip, have gone into advanced timing options and have tried to change the Pixel Clock (its set at 148.500) ever time i try and change it to 135.617 for example i click on apply and it reverts back to 148.500, i cant even change the values with the up and down arrows! There isnt an option within Powerstrip that is locking this value.....i am only using the free version of powerstrip by the way

Have uploaded my mame.ini file (in txt format) to see if theres anything a miss there!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 07, 2011, 05:54:43 pm
Regarding powerstrip, have gone into advanced timing options and have tried to change the Pixel Clock (its set at 148.500) ever time i try and change it to 135.617 for example i click on apply and it reverts back to 148.500, i cant even change the values with the up and down arrows! There isnt an option within Powerstrip that is locking this value.....i am only using the free version of powerstrip by the way

Yes, that's what I thought, unfortunately your video card doesn't allow a good variety of dotclocks for that resolution.

You can try something... Use Arcade_OSD to find a native resolution that is "genuine". To do that, set the resolution to full screen. I'd start with 1024x768. If the numbers below [xres] [yres] are the ones supposed to be (1024 and 768 in this example) that's a valid mode, then set it as your desktop mode.

Then run groovymame with the same params.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 07, 2011, 06:19:02 pm
Im unable to get Arcade OSD to work in windows 7, i just get a black box where the window is supossed to for Arcade OSD and a constant egg timer for the mouse
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 07, 2011, 06:40:47 pm
Im unable to get Arcade OSD to work in windows 7, i just get a black box where the window is supossed to for Arcade OSD and a constant egg timer for the mouse

Oh yes, I forgot that.

Well the idea is to run groovyMAME at a different resolution (what you wanted the other day), but in order to do that and still have PS options available you need to set your desktop at that resolution, say 1024x768, then run groovymame with the -ps -monitor lcd optios as always. If you're lucky then there will be more different dotclocks available around the 1024x768 resolution to play with.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 10, 2011, 10:37:34 am
ok have change the res within powerstrip to 1024x768 then loaded mk in mame via

mame -ps -monitor lcd mk

but my lcd tv display a no singal message

do i need to edit anything in the mame.ini file as ive change the lcd res???

Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 10, 2011, 11:20:27 am
Ok something really strange is happening now, i have set the res back to 1920x1080 and where before mk was running at 110% its running at 46% now!! i have even deleted the mame.ini file and run it with a default mame.ini and still running at 46%!!!!

EDIT: Ignore that, powerstrip set the lcd refresh rate to 24hz and not 60hz, doh!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 10, 2011, 11:31:49 am
Make sure to use -video d3d.

So which resolution do you have your desktop set up now? Use the logs to check if the video mode is genuine (check the PStrip: ps_get_monitor_timing(0) lines, if the resolution shown if the one you are using.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 10, 2011, 11:58:24 am
everyone i seem to select gives me a no signal message :(

Do need to change the modeline line in the mame.ini file if im using different res to 1920x1080??

Would using a HDMI cable have anything to the dotclock values being locked at all??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 10, 2011, 12:17:14 pm
This is the log file from screen res set to 1280x720 and gave me a no signal display on the LCD
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 10, 2011, 12:25:49 pm
Think ive sorted it, by pressing F10 which according to mame is for throttle now the game is saying its running at 100%.

Do you have any experience with this throttle option in mame, and is it messing with any of the modified settings in groovymame??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 11, 2011, 04:58:59 pm
Do need to change the modeline line in the mame.ini file if im using different res to 1920x1080??

Only the height values, so last two values should be changed from 1080 to the height of the resolution you're using.

Would using a HDMI cable have anything to the dotclock values being locked at all??

To be honest I don't know... could be. I have no experience messing with modelines through HDMI, but it makes sense some restrictions might be applied. Currently I'm using VGA or DVI-I in all my screens.

This is the log file from screen res set to 1280x720 and gave me a no signal display on the LCD

You see, it's not accepting the dotclocks we are trying to set:

PStrip: ps_set_monitor_timing(0): 1280,110,40,220,720,5,5,20,67783,512
PStrip: ps_get_monitor_timing(0): 1280,110,40,220,720,5,5,20,74251,512
PStrip: ps_set_monitor_timing(0): 1280,110,40,220,720,5,5,20,67808,512
PStrip: ps_get_monitor_timing(0): 1280,110,40,220,720,5,5,20,74251,512
PStrip: ps_set_monitor_timing(0): 1280,110,40,220,720,5,5,20,67833,512

... so the issue seems to affect other resolutions.

And this is the first part of the problem. The second part is to find out which vertical refresh ranges your TV admits and can faithfully reproduce.

Think ive sorted it, by pressing F10 which according to mame is for throttle now the game is saying its running at 100%.

Do you have any experience with this throttle option in mame, and is it messing with any of the modified settings in groovymame??

Yes, if you press enable throttle you'll get 100%, but that's cheating, what we try to do is to use our videocard's refresh as the throttling method.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 22, 2011, 12:02:42 pm
Ok, im tying to get groovymame running in my vertical bartop cab with an lcd screen. what modelinedo i need to put in the mame.ini file??  Here the log from monitor assistance prog...

Monitor
  Model name............... DELL 1905FP
  Manufacturer............. Dell
  Plug and Play ID......... DEL400C
  Serial number............ T61174BGAHQX
  Manufacture date......... 2004, ISO week 47
  Filter driver............ None
  -------------------------
  EDID revision............ 1.3
  Input signal type........ Analog 0.700,0.300 (1.0V p-p)
  Sync input support....... Separate, Composite, Sync-on-green
  Display type............. RGB color
  Screen size.............. 380 x 310 mm (19.3 in)
  Power management......... Standby, Suspend, Active off/sleep
  Extension blocs.......... None
  -------------------------
  DDC/CI................... Supported
  MCCS revison............. 1.0
  Display technology....... TFT
  Controller............... Not specified
  Firmware revision........ Not supported
  Active power on time..... Not supported
  Power consumption........ Not supported
  Current frequency........ 16711.68kHz, 0.00Hz

Color characteristics
  Default color space...... sRGB
  Display gamma............ 2.20
  Red chromaticity......... Rx 0.640 - Ry 0.330
  Green chromaticity....... Gx 0.300 - Gy 0.600
  Blue chromaticity........ Bx 0.150 - By 0.060
  White point (default).... Wx 0.313 - Wy 0.329
  Additional descriptors... None

Timing characteristics
  Horizontal scan range.... 30-81kHz
  Vertical scan range...... 56-76Hz
  Video bandwidth.......... 140MHz
  CVT standard............. Not supported
  GTF standard............. Not supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 1280x1024p at 60Hz (5:4)
    Modeline............... "1280x1024" 108.000 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

Standard timings supported
     720 x  400p at  70Hz - IBM VGA
     640 x  480p at  60Hz - IBM VGA
     640 x  480p at  75Hz - VESA
     800 x  600p at  60Hz - VESA
     800 x  600p at  75Hz - VESA
    1024 x  768p at  60Hz - VESA
    1024 x  768p at  75Hz - VESA
    1280 x 1024p at  75Hz - VESA
    1152 x  864p at  75Hz - VESA STD
    1280 x 1024p at  60Hz - VESA STD
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 22, 2011, 01:05:34 pm
You may try this one:

monitor_specs0            30000.00-81000.00,56.00-76.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1024,1024


Remind to set: "monitor_orientation vertical" in mame.ini if your monitor is vertically mounted.

Good luck!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 27, 2011, 01:28:27 pm
Cheers Calamity!

Any development on the problem with HLSL not working?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 27, 2011, 04:58:03 pm
Hi lettuce, have a look at these threads:

http://forum.arcadecontrols.com/index.php?topic=113006.0 (http://forum.arcadecontrols.com/index.php?topic=113006.0)

http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=264168&page=0&view=expanded&sb=5&o=&vc=1 (http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=264168&page=0&view=expanded&sb=5&o=&vc=1)

I don't think it's the same issue but might point to some direction.

Do you remember, by any chance, which subversion of MameUI did you test (u1, u2, u5, etc.)? GroovyMAME is based on plain v0.143 with no update patch applied, so it should be tested against a regular plain v0.143 MAME. If this bug is MAME itself related, hopefully it we'll be fixed when we update the patches for v.0144.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 28, 2011, 04:00:57 pm
I will try your latest build on my laptop which has an ATI card to see if i get the same problem on an ATI based system. This is the info i got back from the moninfo program:

Monitor
  Manufacturer............. Samsung
  Plug and Play ID......... SEC5541
  Data string.............. 156AT05-T02
  Serial number............ n/a
  Manufacture date......... 2009, ISO week 0
  Filter driver............ None
  -------------------------
  EDID revision............ 1.3
  Input signal type........ Digital
  Color bit depth.......... Undefined
  Display type............. RGB color
  Screen size.............. 340 x 190 mm (15.3 in)
  Power management......... Not supported
  Extension blocs.......... None
  -------------------------
  DDC/CI................... Not supported

Color characteristics
  Default color space...... Non-sRGB
  Display gamma............ 2.20
  Red chromaticity......... Rx 0.620 - Ry 0.355
  Green chromaticity....... Gx 0.300 - Gy 0.580
  Blue chromaticity........ Bx 0.150 - By 0.090
  White point (default).... Wx 0.313 - Wy 0.329
  Additional descriptors... None

Timing characteristics
  Range limits............. Not available
  GTF standard............. Not supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 1366x768p at 60Hz (16:9)
    Modeline............... "1366x768" 72.330 1366 1414 1446 1526 768 770 775 790 -hsync -vsync

Standard timings supported

Report information
  Date generated........... 28/09/2011
  Software revision........ 2.60.0.964
  Data source.............. Real-time 0x0100
  Operating system......... 6.1.7600.2

Raw data
  00,FF,FF,FF,FF,FF,FF,00,4C,A3,41,55,00,00,00,00,00,13,01,03,80,22,13,78,0A,CE,85,9E,5B,4C,94,26,
  17,50,54,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,41,1C,56,A0,50,00,16,30,30,20,
  25,00,58,C1,10,00,00,19,00,00,00,0F,00,00,00,00,00,00,00,00,00,1E,--BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--,02,74,00,00,00,00,FE,00,53,
  41,4D,53,55,4E,47,0A,20,20,20,20,20,00,00,00,FE,00,31,35,36,41,54,30,35,2D,54,30,32,0A,20,00,B8


What modeline do i need to add in the mame.ini file, what other options do i need to enable in the mame.ini for a laptop running win 7 with an ATI card?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 28, 2011, 05:07:37 pm
That monitor doesn't have frequency ranges information available, so let's try with these values:

monitor_specs0            31000.00-50000.00,50.00-70.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,768,768

As usual, use these options: -ps -monitor lcd -video d3d

Good luck!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 30, 2011, 02:49:52 pm
Cheers for that. I have tried it on my laptop now and still get the same problem with HLSL. I have uploaded a video of final fight (using FRAPS) to show the problem...

Mame 2011 09 30 19 12 35 12 (http://www.youtube.com/watch?v=SIm2uEW5J74#)

Any ideas??? Its as if the screen has just zoomed into 1 pixel of the screen as when i start to mojavascript:void(0);ve the character the screen changes colour or in this case pixel!

I have also downloaded standard mame 0.143, from mamedev.org/downloader.php?file=releases/mame0143b.exe if i enable HLSL then it works with standard mame, so must be a problem with grooyMAME??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 30, 2011, 03:17:12 pm
Hi lettuce,

Could you check this?

Do you remember, by any chance, which subversion of MameUI did you test (u1, u2, u5, etc.)? GroovyMAME is based on plain v0.143 with no update patch applied, so it should be tested against a regular plain v0.143 MAME. If this bug is MAME itself related, hopefully it we'll be fixed when we update the patches for v.0144.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on September 30, 2011, 03:27:03 pm
I see...

Try disabling the "modeline" option in mame.ini to see if it works then.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on September 30, 2011, 05:41:47 pm
Ok have set the modeline back to auto, and now when running GroovyMAME with HLSL enable i get this result......

mame 2011 09 30 21 47 02 77 (http://www.youtube.com/watch?v=zUQ3na9XSqI#)

The video doesnt show it very well but there is also this massive scanline effect on the black screen at the start of the video!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on October 01, 2011, 07:33:29 pm
Any ideas on this Calamity? Its like its zoomed right into a cluster of pixels in the top left on the screen, as was using final fight in the example above and there is a blue sky on the top left of the screen as soon as you start a game which must be what the blue is on the video i posted. But why is it magnifying right into the screen
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on October 03, 2011, 12:23:03 pm
Hi lettuce, sorry I've been out for some days.

This is the sort of bugs I hate as are so difficult to trace, in order to make sure it's related to the last patches I introduced we should test it against the regular version of groovymame here:

http://mario.groovy.org/GroovyMame/0143/ (http://mario.groovy.org/GroovyMame/0143/)

(the one that didn't work for you because of the too many modes bug but that might work on your laptop instead and provide us a solid evidence.)

In fact, HLSL works perfect for me here (well, if you leave aside it's running at 17% of the original speed  :P ) and I'm using XP 32 and ATI HD 4350. See my screenshot, command line and logs:

groovymame32_0143.013c_test ffight -video d3d -monitor lcd -ps -v -md 4 >ffight.txt

(http://img546.imageshack.us/img546/5546/ffight.png) (http://imageshack.us/photo/my-images/546/ffight.png/)

However, I find HLSL somewhat buggy (as for plain v0.143), sometimes it shows the RGB grid, sometimes not...

Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on October 03, 2011, 01:56:22 pm
Ok i have tried groovymame32_0143.013 on my laptop, i have copied over the mame.ini file from my groovymame32_0143.013c test folder and removed the magic resolution line and Pstrip line form the ini file (as these werent implemented in groovymame32_0143.013). When loading  mame all i get now is just a black screen, i can hear the gaem running when i insert a credit and start a game etc!!

So Calamity your saying that you can run 'groovymame32_0143.013c test' with HLSL enable and it displays a picture?? If so it has to be Windows & releated??, as i cant get it to work with an ATI (laptop) or Nvidia card (PC) bith running windows 7 64
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on October 03, 2011, 06:09:25 pm
So Calamity your saying that you can run 'groovymame32_0143.013c test' with HLSL enable and it displays a picture?? If so it has to be Windows & releated??, as i cant get it to work with an ATI (laptop) or Nvidia card (PC) bith running windows 7 64

Yes it displays a picture, I haven't seen issues so far. I'll test it on a Win7 laptop tomorrow.

I wouldn't say it's W7 related, otherwise it shouldn't would when you use regular MAME. There's definitely something in GroovyMAME patches that makes it HLSL fail, but only in W7 systems it seems.

Don't know if I already suggested that, but try disabling multithreading just in case.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on October 04, 2011, 09:04:05 am
Yeah I'm seeing the issue here in a Win7 + HD 5470 laptop.

And it seems related to what's posted here.
http://forum.arcadecontrols.com/index.php?topic=113903.msg1218169#msg1218169 (http://forum.arcadecontrols.com/index.php?topic=113903.msg1218169#msg1218169)

Please check if the "shadow_mask_texture" value inside the individual game setup files in hlsl folder gets corrupted when using groovymame. That bug is in MAME side, not ours, however they seem to have fixed that in the binary currently available on their web, so we'll need to see what they did in order to fix that in next release (it will be fixed anyway when we update to v0.144)
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on October 05, 2011, 01:40:04 pm
Ive tried disabling multithreading but didnt have an effect!

So if we recomplied a 0.143u5 (as u6 is said to be broken) of groovymame, do you think that HLSL would then work?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on October 05, 2011, 03:54:15 pm
Not fully sure if it's the same issue, but here:

http://www.mametesters.org/view.php?id=4397 (http://www.mametesters.org/view.php?id=4397)

They recommend to delete hlslini %g in mame.ini for fixing that.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on October 08, 2011, 08:14:25 am
"shadow_mask_texture" value inside the individual game HLSL.ini file didnt have a value at all next to it. Also i couldnt hlslini %g in the mame.ini file.

Any idea when version 0.144 is due out??
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on October 25, 2011, 01:24:28 pm
Calamity, any chance you can look at the Throttle option in you next update?. Even if i enable throttle in the mame.ini it isnt enabled when i start mame, i have to enable it manual by pressing F10.

The only reason i want this option is because with it enabled mortal kombat runs at 100% and not the 110% it was running at before as we talked about
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on October 25, 2011, 01:49:44 pm
Calamity, any chance you can look at the Throttle option in you next update?. Even if i enable throttle in the mame.ini it isnt enabled when i start mame, i have to enable it manual by pressing F10.

The only reason i want this option is because with it enabled mortal kombat runs at 100% and not the 110% it was running at before as we talked about

Hi lettuce,

That's because you have -syncrefresh enabled. Your screen's refresh is fixed at 60 Hz and mk runs natively at 54 Hz, thus you're forcing it to run faster.
Disable -syncrefresh and enable -triplebuffer instead, that will keep the game at 100% while avoiding tearing.

In GroovyMAME, the -throttle option is managed internally depending on the sync options you use, syncrefresh turns throttle off indeed, that's one of the main differences with MAME and what actually keeps everything smooth  ;)


Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on October 26, 2011, 03:33:53 pm
Cheers for the info Calamity, ill disable stncrefresh and enable Tripplebuffer. Any chance you can do a 64 bit update to 0.143u8??...as alot of CAVE games have now been added in this update!
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on December 18, 2011, 07:04:43 am
I have noticed now i have disabled 'syncrefesh' and enabled 'tripplebuffer' on games that have some veritcal scrolling on (MK on credit screen, or Gaia Crusaders on high score screen) the scrolling is a bit choppy and not smooth anymore. Is there a way around this at all? Only thing with re-enabling 'syncrefresh' and disabling 'tripplebuffer' is some games run too fast, but pressing F10 (throttling) locks the game at 100% speed, but for some reason if i enable throttling in the mame.ini file it doesnt enabling it in a game i always have to press F10 to enable it.

Calamity is there anything that in enabling throttling will take away from the main goal of what groovymame is trying to achieve, i know using a LCD display is already limiting groovymame but any adverse effect using throttling would have?

Also i notice im getting a SwitchRes error on exit mame...

SwitchRes: Failed opening of System\CurrentControlSet\Control\Video\(DEB039CC-B7044FS3-B43E-9DD4432FA2E9)\0000 registery entry error 5
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on December 18, 2011, 12:25:13 pm
I have noticed now i have disabled 'syncrefesh' and enabled 'tripplebuffer' on games that have some veritcal scrolling on (MK on credit screen, or Gaia Crusaders on high score screen) the scrolling is a bit choppy and not smooth anymore. Is there a way around this at all?

I'm afraid not.

Only thing with re-enabling 'syncrefresh' and disabling 'tripplebuffer' is some games run too fast, but pressing F10 (throttling) locks the game at 100% speed, but for some reason if i enable throttling in the mame.ini file it doesnt enabling it in a game i always have to press F10 to enable it.

Calamity is there anything that in enabling throttling will take away from the main goal of what groovymame is trying to achieve, i know using a LCD display is already limiting groovymame but any adverse effect using throttling would have?

You're attempting the squaring of the circle.

You have to face the fact that the only possible way to have a game running at 100% with smooth scrolling is to get the videocard refresh at the same rate.

Usual MAME's CPU based throttling method ruins any attempt of smooth scrolling because it overlaps the videocard's refresh even if you enable syncrefresh or triplebuffer. That's why GroovyMAME needs to disable 'throttle' internally (regardless your ini setup) in order to achieve smooth scrolling.

GroovyMAME's triplebuffer achieves the same that you get when pressing F10, but much better because the emulation doesn't suffer from any lag. You remove tearing, but at the cost of producing choppy scroll.

So believe me, unless you get your videocard/screen refresh at the proper rate, that's the best you can get.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on December 18, 2011, 12:41:57 pm
Ok thanks for the info Calamity.

Any ideas on the SwitchRes error im seeing?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on December 18, 2011, 01:26:55 pm
Any ideas on the SwitchRes error im seeing?

That's the W7 registry issue, it's always been there, needs to be fixed at some point.
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on December 18, 2011, 04:32:46 pm
Just got a new LCD TV, what modeline should i use for this new TV, moninfo file attached
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on December 18, 2011, 04:52:48 pm
According to that info it would be something like this:

monitor_specs0   15000.00-75000.00,23.00-76.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080

Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: lettuce on December 27, 2011, 03:52:33 pm
Calamity, i wonder if you can help me tweat something thats be bothering me for a while. You know the Info screen you get when loading a rom (with the game name, date, cpu, sound and video info on) which has a white line border going around the edge of the screen?, well with my current Monitor spec of:

26000.00-68000.00,48.00-60.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080

i have noticed that i can only just about see the white line of the border at the very top of my LCD display and a tiny bit of it on the very right hand side of the screen, but cant see any of the white border at the bottom or left hand side of my LCD screen. What vaules can i try adjusting in the Monitor spec line to 'shrink' the size down so im able to see the whole white line board around the edge of the screen?, as i guess ideally you want it so you can see the whole white line border around the edge of the screen?
Title: Re: Setting up for Win7, LCD, and Nvidia Card??
Post by: Calamity on December 29, 2011, 11:38:40 am
Hi lettuce,

So does this happen all the time or only if you enable the -powerstrip option?

By now, we can't really tweak geometry settings when working with the powerstrip option, as these are the only values actually considered:

26000.00-68000.00,48.00-60.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,1080,1080

(the other ones are ignored)

This is because, with the -ps option, modeline values are not really calculated but just read from the hardware ports by means of PS, using the default desktop resolution. We then tweak the timings to adjust the vertical refresh, but that has the side effect of modifying the porch values to some extent, so that's probably what you're seeing. However, in the monitors I've tested this has no visible effects.

Hopefully when the PS integration is fully implemented we'll recalculate the whole modeline to avoid this issue.