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

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

  

Author Topic: GroovyMAME bad resolution and tearing  (Read 2639 times)

0 Members and 1 Guest are viewing this topic.

toko55

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 06, 2017, 03:11:34 pm
  • I want to build my own arcade controls!
GroovyMAME bad resolution and tearing
« on: April 30, 2017, 04:42:13 pm »
I've followed this and this guide to proper configure GroovyMAME. I can play all games with no noticable input lag and no other problems. The only problem is the resolution. If I start a game with cmd (Admin rights) 
Quote
mame64 umk3
the resolution is very (you can barely read the text in the image linked below) bad and colors are a bit dark but the picture is 100% stable (no tearing on scrolling games).

Here you can see the resolution:



But if I start a game with cmd (Admin rights)
Quote
mame64 umk3 -resolution 480x0
the resolution is very sharp and colors are bright. But the picture is not 100% stable and you notice big tearing on fast scrolling games.

My goal is to have a stable picture with good resolution  ;D. As far as i know starting a game with -resolution 2560x0 will pick automatically the best resolution if proper configured. So what I am doing wrong?

Does anybody know whats the problem here?

modelines


mame.ini
Quote
#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               0

#
# CORE SEARCH PATH OPTIONS
#
rompath                   roms
hashpath                  hash
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   .;ini
fontpath                  .
cheatpath                 cheat
crosshairpath             crosshair
pluginspath               plugins
languagepath              language

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory             cfg
nvram_directory           nvram
input_directory           inp
state_directory           sta
snapshot_directory        snap
diff_directory            diff
comment_directory         comments

#
# CORE OUTPUT DIRECTORY OPTIONS
#
hiscore_directory         hi

#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                 
record                   
record_timecode           0
exit_after_playback       0
mngwrite                 
aviwrite                 
wavwrite                 
snapname                  %g/%i
snapsize                  auto
snapview                  internal
snapbilinear              1
statename                 %g
burnin                    0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
syncrefresh               0
sleep                     1
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              1
use_backdrops             0
use_overlays              0
use_bezels                0
use_cpanels               0
use_marquees              0

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.65
effect                    none

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam_width_min            1.0
beam_width_max            1.0
beam_intensity_weight     0
flicker                   0

#
# CORE SOUND OPTIONS
#
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     0
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
ui_active                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85
natural                   0
joystick_contradictory    0
coin_impulse              0

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             keyboard
adstick_device            keyboard
pedal_device              keyboard
dial_device               keyboard
trackball_device          keyboard
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
verbose                   0
log                       0
oslog                     0
debug                     0
update_in_pause           0
debugscript               

#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           127.0.0.1
comm_remoteport           15112

#
# CORE MISC OPTIONS
#
drc                       1
drc_use_c                 0
drc_log_uml               0
drc_log_native            0
bios                     
cheat                     0
skip_gameinfo             0
uifont                    default
ui                        cabinet
ramsize                   
confirm_quit              0
ui_mouse                  1
autoboot_command         
autoboot_delay            2
autoboot_script           
console                   0
language                  English

#
# CORE MKChamp OPTIONS
#
disable_hiscore_patch     0
disable_nagscreen_patch   1
disable_loading_patch     1

#
# CORE SWITCHRES OPTIONS
#
modeline_generation       1
monitor                   custom
orientation               horizontal
connector                 auto
interlace                 1
doublescan                1
cleanstretch              2
changeres                 1
powerstrip                0
lock_system_modes         1
lock_unsupported_modes    1
refresh_dont_care         0
dotclock_min              0
sync_refresh_tolerance    2.0
frame_delay               7
vsync_offset              5
black_frame_insertion     0
modeline                  auto
ps_timing                 auto
lcd_range                 auto
crt_range0                15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576
crt_range1                15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576
crt_range2                auto
crt_range3                auto
crt_range4                auto
crt_range5                auto
crt_range6                auto
crt_range7                auto
crt_range8                auto
crt_range9                auto

#
# OSD KEYBOARD MAPPING OPTIONS
#
uimodekey                 SCRLOCK

#
# OSD FONT OPTIONS
#
uifontprovider            auto

#
# OSD DEBUGGING OPTIONS
#
debugger                  auto
debugger_font             auto
debugger_font_size        0
watchdog                  0

#
# OSD PERFORMANCE OPTIONS
#
multithreading            0
numprocessors             auto
bench                     0

#
# OSD VIDEO OPTIONS
#
video                     auto
numscreens                1
window                    0
maximize                  1
keepaspect                0
unevenstretch             0
waitvsync                 0

#
# OSD PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    4:3
resolution                2560x0
view                      auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# OSD FULL SCREEN OPTIONS
#
switchres                 1

#
# OSD ACCELERATED VIDEO OPTIONS
#
filter                    0
prescale                  1

#
# OpenGL-SPECIFIC OPTIONS
#
gl_forcepow2texture       0
gl_notexturerect          0
gl_vbo                    1
gl_pbo                    1
gl_glsl                   0
gl_glsl_filter            1
glsl_shader_mame0         none
glsl_shader_mame1         none
glsl_shader_mame2         none
glsl_shader_mame3         none
glsl_shader_mame4         none
glsl_shader_mame5         none
glsl_shader_mame6         none
glsl_shader_mame7         none
glsl_shader_mame8         none
glsl_shader_mame9         none
glsl_shader_screen0       none
glsl_shader_screen1       none
glsl_shader_screen2       none
glsl_shader_screen3       none
glsl_shader_screen4       none
glsl_shader_screen5       none
glsl_shader_screen6       none
glsl_shader_screen7       none
glsl_shader_screen8       none
glsl_shader_screen9       none

#
# OSD SOUND OPTIONS
#
sound                     auto
audio_latency             2.0

#
# ASIO OPTIONS
#
asio_device               0
asio_log                  0

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  0
profile                   0

#
# WINDOWS VIDEO OPTIONS
#
menu                      0

#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch                 0

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable               0
hlslpath                  hlsl
hlsl_prescale_x           0
hlsl_prescale_y           0
hlsl_write               
hlsl_snap_width           2048
hlsl_snap_height          1536
shadow_mask_tile_mode     0
shadow_mask_alpha         0.0
shadow_mask_texture       shadow-mask.png
shadow_mask_x_count       6
shadow_mask_y_count       4
shadow_mask_usize         0.1875
shadow_mask_vsize         0.25
shadow_mask_uoffset       0.0
shadow_mask_voffset       0.0
curvature                 0.0
round_corner              0.0
smooth_border             0.0
reflection                0.0
vignetting                0.0
scanline_alpha            0.0
scanline_size             1.0
scanline_height           1.0
scanline_bright_scale     1.0
scanline_bright_offset    0.0
scanline_jitter           0.0
hum_bar_alpha             0.0
defocus                   1.0,0.0
converge_x                0.25,0.00,-0.25
converge_y                0.0,0.25,-0.25
radial_converge_x         0.0,0.0,0.0
radial_converge_y         0.0,0.0,0.0
red_ratio                 1.0,0.0,0.0
grn_ratio                 0.0,1.0,0.0
blu_ratio                 0.0,0.0,1.0
saturation                1.4
offset                    0.0,0.0,0.0
scale                     0.95,0.95,0.95
power                     0.8,0.8,0.8
floor                     0.05,0.05,0.05
phosphor_life             0.4,0.4,0.4

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable                0
yiq_jitter                0.0
yiq_cc                    3.57954545
yiq_a                     0.5
yiq_b                     0.5
yiq_o                     0.0
yiq_p                     1.0
yiq_n                     1.0
yiq_y                     6.0
yiq_i                     1.2
yiq_q                     0.6
yiq_scan_time             52.6
yiq_phase_count           2

#
# VECTOR POST-PROCESSING OPTIONS
#
vector_length_scale       0.5
vector_length_ratio       500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode          0
bloom_scale               0.25
bloom_overdrive           1.0,1.0,1.0
bloom_lvl0_weight         1.0
bloom_lvl1_weight         0.64
bloom_lvl2_weight         0.32
bloom_lvl3_weight         0.16
bloom_lvl4_weight         0.08
bloom_lvl5_weight         0.04
bloom_lvl6_weight         0.04
bloom_lvl7_weight         0.02
bloom_lvl8_weight         0.02
bloom_lvl9_weight         0.01
bloom_lvl10_weight        0.01

#
# FULL SCREEN OPTIONS
#
triplebuffer              1
full_screen_brightness    1.0
full_screen_contrast      1.0
full_screen_gamma         1.0

#
# INPUT DEVICE OPTIONS
#
global_inputs             0
dual_lightgun             0

Specs:
* Windows 7x64
* Crt Emu Driver 2.0
* GroovyMAME
* UMSA
* SCART LOEWE Contur CRT

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6555
  • Last login:Yesterday at 05:00:43 pm
Re: GroovyMAME bad resolution and tearing
« Reply #1 on: April 30, 2017, 04:57:09 pm »
(you can barely read the text in the image linked below)

Seriously?
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

toko55

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 06, 2017, 03:11:34 pm
  • I want to build my own arcade controls!
Re: GroovyMAME bad resolution and tearing
« Reply #2 on: April 30, 2017, 05:16:06 pm »
(you can barely read the text in the image linked below)

Seriously?

If you zoom in you can count the pixels in the image. I think it should not look like this.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1199
  • Last login:May 09, 2019, 05:40:37 am
  • retro maniac
Re: GroovyMAME bad resolution and tearing
« Reply #3 on: May 01, 2017, 01:30:03 pm »
Everything is fine here. You can't expect crisp fonts on CRT TV with such big raster. Though horizontally You have 2560 pixels TVs can't display super sharp such resolution. On the other hand 256 lines is not too much.

As for tearing - is also expected and this will be probably helpfull - http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=293

BTW. Why You are using two identical crt ranges and why You are using custom crt range 15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576 that is exactly arcade_15 mode. Also judging from ini You are using old groovymame. You can do yourself a favor and switch to latest groovymame.
« Last Edit: May 01, 2017, 01:39:28 pm by haynor666 »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6555
  • Last login:Yesterday at 05:00:43 pm
Re: GroovyMAME bad resolution and tearing
« Reply #4 on: May 01, 2017, 03:00:44 pm »
why You are using custom crt range 15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576 that is exactly arcade_15 mode.

That's probably because he's using the option in VMMaker to export monitor settings to GM. VMMaker always exports "monitor custom" whatever the preset in use. Nothing to worry about (the duplicated crt_range is wrong however).

OP reports tearing only when setting the absurd option -resolution 480x0, which will be rejected by GM, disabling Switchres because of this and causing tearing.
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

toko55

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 06, 2017, 03:11:34 pm
  • I want to build my own arcade controls!
Re: GroovyMAME bad resolution and tearing
« Reply #5 on: May 01, 2017, 03:11:55 pm »
Thank you for your reply.  :)

Quote
You can do yourself a favor and switch to latest groovymame.

The reason why I have not the latest GroovyMAME version are the Mortal Kombat games. These games won't run on the new MAME releases.


Quote
Why You are using two identical crt ranges and why You are using custom crt range 15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576 that is exactly arcade_15 mode. Also judging from ini You are using old groovymame.

The monitor settings in mame.ini are default as far as i know but I have used an old version of the CRT-Emu driver (2.0). I've found a new version CRT Emudriver 1.2b (Catalyst 13.1) for Windows 7-64 + VMMaker + Arcade_OSD 1.4b and will test it tomorrow.

Whats the matter that the game looks quite nice with disabled switchres? Isn't GroovyMAME supposed to display better resolution?  ???



Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6555
  • Last login:Yesterday at 05:00:43 pm
Re: GroovyMAME bad resolution and tearing
« Reply #6 on: May 01, 2017, 04:00:35 pm »
The monitor settings in mame.ini are default as far as i know but I have used an old version of the CRT-Emu driver (2.0). I've found a new version CRT Emudriver 1.2b (Catalyst 13.1) for Windows 7-64 + VMMaker + Arcade_OSD 1.4b and will test it tomorrow.

CRT Emudriver 1.2b is OLDER than 2.0. Please don't use it.

Quote
Whats the matter that the game looks quite nice with disabled switchres? Isn't GroovyMAME supposed to display better resolution?  ???

Yes, it is. And it's working great judging by your picture. It's only that you prefer it the wrong way.

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

toko55

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:May 06, 2017, 03:11:34 pm
  • I want to build my own arcade controls!
Re: GroovyMAME bad resolution and tearing
« Reply #7 on: May 06, 2017, 02:51:24 pm »
Thank you for your reply. I have changed a few settings on my TV with the service menu. My picture looks now a little bit better with GM. But one thing I don't understand yet. On my picture you can see the MAME "border". Why is the vertical line so thin?

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1961
  • Last login:May 19, 2019, 09:54:20 am
  • Gotta have blue hair.
Re: GroovyMAME bad resolution and tearing
« Reply #8 on: May 06, 2017, 10:47:20 pm »
The reason why I have not the latest GroovyMAME version are the Mortal Kombat games. These games won't run on the new MAME releases.

As far as I know, there's no problem with Mortal Kombat in the latest versions of MAME.  You're probably missing some required ROM files.
When you run it from the command prompt with the latest version of MAME, what error messages do you get?
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1199
  • Last login:May 09, 2019, 05:40:37 am
  • retro maniac
Re: GroovyMAME bad resolution and tearing
« Reply #9 on: May 07, 2017, 06:35:37 am »
Probably midssio.zip

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6555
  • Last login:Yesterday at 05:00:43 pm
Re: GroovyMAME bad resolution and tearing
« Reply #10 on: May 08, 2017, 12:58:41 pm »
Why is the vertical line so thin?

Because its thickness is 1/2560 of the screen width.
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