Build Your Own Arcade Controls Forum
Software Support => GroovyMAME => Topic started by: lettuce on May 15, 2013, 02:44:54 pm
-
I have been messing around with HLSL setting on my main PC, and using cools suggested HLSL settings, today i moved GM 0.148u3 over to my PC box which is connected to my LCD TV. But upon loading either a Mame or Mess game that whilst the left hand side of the screen looks sharp and crisp the right hand side is all fuzzy/blurry!, i have never seen this effect before. I have tried moving the mame.exe file over to a fresh folder and creating a new ini file and adding the need folders from a freshly downloaded mameui, but i still got the same problem so it isnt a configuration problem, i have nailed it down to the monitor type selected in the mame.ini file, if i leave it on the 'generic 15khz' option, whilst it doesnt look good (as would be expected on an LCD) the blurry/fuzzy effect isnt present, its only present if i select 'lcd' as the monitor type. Any ideas what on earth can be causing this problem?
EDIT: the display is also fine if i disable HLSL settings in mame.ini
-
It's picking the wrong prescale value. Force it on the commandline with -prescale 3. Although this produces a harsh line on the right hand side of the display that's noticeable when scrolling.
-
But why is this happening?
-
For some reason it seems that the -prescale value, which used to work fine, messes with the new -hlsl_prescale_ values that are used now.
In my system, I'm currently using a separate "horizont.ini" file, with this contents:
prescale 0
hlsl_prescale_x 3
hlsl_prescale_y 3
This has proved to work the best (100% speed at native LCD res) on my LCD setup (1366x768, Nvidia GT 630M, Windows 7).
-
Ok thanks, hopefully this gets sorted soon. For now ill use your work around
-
In my system, I'm currently using a separate "horizont.ini" file, with this contents:
prescale 0
hlsl_prescale_x 3
hlsl_prescale_y 3
This has proved to work the best (100% speed at native LCD res) on my LCD setup (1366x768, Nvidia GT 630M, Windows 7).
I have change these settings in mame.ini but it doesnt appear to sort the problem. However if i add -prescale 3 at the end of the launch command it works, any ideas?
-
Im still having this issue even with the latest version of GM 0.152, even if i have the 'prescale' option in mame.ini set to 3 and also the 'hlsl_prescale_x' & 'hlsl_prescale_y' set to 3 i still get the out of focus effect on the right handside of the screen, only way to stop this effect is to add '-prescale 3' at the end of the command prompt for loading a game. But why does this work if i have the prescale options in mame.ini set to 3??
What is the actual cause of this bug, as its only been present in the last 3 version updates??
I dont appear to get this problem on my main PC just the PC connect to my LCD TV!. Now is it because my main PC has an AMD card and a res of 2560x1440 whilst my PC connected to the LCD is an Nvidia card and a res of 1920x1080 ??
EDIT: I think it must be a bug with GM, as have just tried MameUI, with the same INI settings (where possible) and i dont get the out of focus effect at all!
-
Happens to me still as well. I just don't use GM with HLSL, they don't seem to play nicely with scrolling and tearing anyway.
-
Hmmm well the problem i have is i use Mala Frontend, and im not sure how to add that '-prescale 3' command so that it gets applied to each rom i run through Mala??
-
Hi lettuce,
I already gave you the solution to this in September, in this post: http://forum.arcadecontrols.com/index.php/topic,132353.msg1386292.html#msg1386292 (http://forum.arcadecontrols.com/index.php/topic,132353.msg1386292.html#msg1386292)
The key is to place the prescale options in horizont.ini, *NOT* in mame.ini.
GM's option setting has a priority order just above mame.ini, but below any other ini file. GM sets the prescale options internally, so it overrides whatever you may set in mame.ini. Command line and other ini files have a priority order above GM's.
I dont appear to get this problem on my main PC just the PC connect to my LCD TV!. Now is it because my main PC has an AMD card and a res of 2560x1440 whilst my PC connected to the LCD is an Nvidia card and a res of 1920x1080 ??
EDIT: I think it must be a bug with GM, as have just tried MameUI, with the same INI settings (where possible) and i dont get the out of focus effect at all!
It's only that MameUI doesn't manage prescale internally. But what your tests seem to prove is that this is a bug in Nvidia drivers indeed. It doens't make sense that the scaling gets corrupt just by using a prescale factor higher than 3. Well the only thing I could do is limiting the prescale factor to a max of 3 in GroovyMAME source.
-
Come to think of it, I have an nvidia chip in the laptop I've seen this on.
Its weird though, it's not one half - each quarter of the screen is rendered with a different blur. I don't remember if it showed on snaps, I think it did.
-
That that is right cools, seems to be in quarters. Has only started happen in the last 3 versions or so.
I create a horizont.ini file with
prescale 0
hlsl_prescale_x 3
hlsl_prescale_y 3
and place than in my GM directory then Calamity, thanks. Do you know if this bug will get fixed in later builds?
-
Do you know if this bug will get fixed in later builds?
As I said, it is not a bug, at least not one of GM. It is a bug in your Nvidia drivers, or in the HLSL code and the way it interacts with your Nvidia drivers and the prescale option.
Anyway, I'll see if limiting the prescale maximum doesn't affect the new features for CRT monitors and if so I'll limit it it 3.
BTW, please let me know if you can use 'prescale 3' (not just the hlsl counterparts) in horizont.ini without issues.
-
Yeah that has appeared to have done the trick.
Im not sure if this is related to using the horizont.ini file, but have noticed that on games where there is writing scrolling down the screen there appears the be a constant fixed sync line that is noticeable. Is there an option in the ini file that need to be alter to remove this sync line?
-
Im not sure if this is related to using the horizont.ini file, but have noticed that on games where there is writing scrolling down the screen there appears the be a constant fixed sync line that is noticeable. Is there an option in the ini file that need to be alter to remove this sync line?
Are you using -frame_delay?
-
Are you using -frame_delay?
No that us disabled, as i recall you saying that the frame delay option can cause screen tearing on LCD displays. I have attached my Mame.ini file
-
Are you using -frame_delay?
No that us disabled, as i recall you saying that the frame delay option can cause screen tearing on LCD displays. I have attached my Mame.ini file
That's fine lettuce, just wanted to discard that. Yes, this is another issue I've seen with some drivers, I wrote about this here: http://forum.arcadecontrols.com/index.php/topic,128879.msg1367170.html#msg1367170 (http://forum.arcadecontrols.com/index.php/topic,128879.msg1367170.html#msg1367170)