Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

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

  

Author Topic: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??  (Read 6103 times)

0 Members and 1 Guest are viewing this topic.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« 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

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:May 17, 2025, 02:24:48 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #1 on: May 15, 2013, 04:50:13 pm »
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.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #2 on: September 01, 2013, 06:57:33 pm »
But why is this happening?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #3 on: September 07, 2013, 12:03:29 pm »
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:

Code: [Select]
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).
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

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

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #4 on: September 08, 2013, 02:33:17 pm »
Ok thanks, hopefully this gets sorted soon. For now ill use your work around

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #5 on: September 28, 2013, 07:57:07 am »
In my system, I'm currently using a separate "horizont.ini" file, with this contents:

Code: [Select]
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?

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #6 on: December 31, 2013, 05:11:09 pm »
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!
« Last Edit: December 31, 2013, 05:29:03 pm by lettuce »

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:May 17, 2025, 02:24:48 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #7 on: January 01, 2014, 07:41:21 am »
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.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #8 on: January 01, 2014, 09:07:57 am »
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??

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #9 on: January 01, 2014, 01:15:40 pm »
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

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.

Quote
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.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

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

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:May 17, 2025, 02:24:48 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #10 on: January 01, 2014, 02:57:23 pm »
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.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #11 on: January 01, 2014, 03:16:14 pm »
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?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #12 on: January 01, 2014, 03:47:19 pm »
Quote
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.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

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

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #13 on: January 02, 2014, 06:39:43 pm »
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?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #14 on: January 03, 2014, 06:11:15 am »
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?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

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

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #15 on: January 03, 2014, 11:46:31 am »
Quote from: Calamity
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

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GM 0.148u3 HLSL 1 side of screen fuzzy/blurry??
« Reply #16 on: January 03, 2014, 12:06:58 pm »
Quote from: Calamity
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
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

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