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: MAME Settings for G-Sync Monitors  (Read 4039 times)

0 Members and 1 Guest are viewing this topic.

Jason125

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:May 31, 2015, 10:29:53 pm
  • I want to build my own arcade controls!
MAME Settings for G-Sync Monitors
« on: January 18, 2014, 07:28:17 pm »
Hey, just wanted to share my current settings for MAME after completing my upgrade of the ASUS VG248QE LCD with the NVidia DIY kit. I posted similar information in the GroovyMAME section.

It really is amazing to run nearly any emulator, including MAME, and never see a bit of tearing. I can even use Nestopia and ZSNES without any sync or tearing issues. To my understanding, the G-Sync technology is NVidia's attempt to control the software and hardware to prevent the causes of vertical tearing. Granted, this does mean you need to use the NVidia hardware along the chain, including DisplayPort connection. There is also a Ultra Low Motion Blur (ULMB) mode, which I haven't tried yet. This reminds me of a newer version of LightBoost, which dims the screen but provides a more CRT-like experience.

MONInfo settings:
Code: [Select]
Monitor
  Model name............... G-SYNC 241910
  Windows description...... Generic PnP Monitor G-SYNC 241910
  Manufacturer............. NVD
  Plug and Play ID......... NVDFFFE
  Serial number............ #ASNjUmorAWjd
  Manufacture date......... 2013, ISO week 255
  Filter driver............ Monitor
  -------------------------
  EDID revision............ 1.4
  Input signal type........ Digital (DisplayPort)
  Color bit depth.......... 8 bits per primary color
  Color encoding formats... RGB 4:4:4
  Screen size.............. 530 x 300 mm (24.0 in)
  Power management......... Not supported
  Extension blocs.......... 1 (Unknown - 0x00)
  -------------------------
  DDC/CI................... Supported
  MCCS revison............. 2.2
  Display technology....... TFT
  Controller............... Unknown
  Firmware revision........ 1.9
  Firmware flags........... 0x0004FFFF
  Active power on time..... 19 hours
  Power consumption........ 6.55 kWh
  Current frequency........ 16777.22kHz, 655.35Hz

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.... 30-160kHz
  Vertical scan range...... 30-150Hz
  Video bandwidth.......... 330MHz
  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

Standard timings supported

Report information
  Date generated........... 1/18/2014
  Software revision........ 2.70.0.989
  Data source.............. Registry-Active*
  Operating system......... 6.1.7601.2.Service Pack 1

Raw data
  00,FF,FF,FF,FF,FF,FF,00,3A,C4,FE,FF,31,34,35,39,FF,17,01,04,A5,35,1E,78,02,EE,91,A3,54,4C,99,26,
  0F,50,54,00,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,13,2B,21,00,00,1E,00,00,00,FF,00,23,41,53,4E,6A,55,6D,6F,72,41,57,6A,64,00,00,00,FD,00,1E,
  96,1E,A0,21,01,0A,20,20,20,20,20,20,00,00,00,FC,00,47,2D,53,59,4E,43,20,32,34,31,39,31,30,01,66

And my MAME settings (with HLSL):
Code: [Select]
#
# CORE CONFIGURATION OPTIONS
#
readconfig                1
writeconfig               0
driver_config             all
disable_mechanical_driver 0

#
# CORE SEARCH PATH OPTIONS
#
rompath                   roms
hashpath                  hash
samplepath                samples
artpath                   artwork
ctrlrpath                 ctrlr
inipath                   .;ini
fontpath                  .
cheatpath                 cheat
crosshairpath             crosshair
langpath                  lang
ipspath                   ips

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

#
# CORE FILENAME OPTIONS
#
command_file              command.dat
hiscore_file              hiscore.dat

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

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
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              0
use_backdrops             1
use_overlays              1
use_bezels                1
use_cpanels               1
use_marquees              1

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  0.650
gamma                     0.750
pause_brightness          1.0
effect                    none
scale_effect              none

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam                      1.0
flicker                   0

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

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     X-Arcade
mouse                     1
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          mouse
lightgun_device           keyboard
positional_device         keyboard
mouse_device              mouse

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

#
# CORE MISC OPTIONS
#
drc                       1
drc_use_c                 0
bios                     
cheat                     0
skip_gameinfo             1
uifont                    default
ramsize                   
confirm_quit              0
ui_mouse                  0
autoboot_command         
autoboot_delay            2
autoboot_script           
http                      0
http_port                 8080
http_path                 web
playback_end_pause        0
ui_transparency           215
ips                       

#
# CORE PALETTE OPTIONS
#
main_background           16,16,48
cursor_sel_text           255,255,255
cursor_sel_background     60,120,240
cursor_hov_text           120,180,240
cursor_hov_background     32,32,0
button_red                255,64,64
button_yellow             255,238,0
button_green              0,255,64
button_blue               0,170,255
button_purple             170,0,255
button_pink               255,0,170
button_aqua               0,255,204
button_silver             255,0,255
button_navy               255,160,0
button_lime               190,190,190

#
# CORE LANGUAGE OPTIONS
#
language                  en_US
use_lang_list             1

#
# WINDOWS DEBUGGING OPTIONS
#
oslog                     0
watchdog                  0
debugger_font             "Lucida Console"
debugger_font_size        9

#
# WINDOWS PERFORMANCE OPTIONS
#
priority                  0
multithreading            0
numprocessors             auto
profile                   0
bench                     0

#
# WINDOWS VIDEO OPTIONS
#
video                     d3d
numscreens                1
window                    0
maximize                  1
keepaspect                1
unevenstretch             1
prescale                  1
waitvsync                 0
syncrefresh               0
menu                      0

#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch                 1

#
# DIRECT3D-SPECIFIC OPTIONS
#
filter                    0

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable               1
hlslpath                  hlsl
hlsl_prescale_x           0
hlsl_prescale_y           0
hlsl_preset               -1
hlsl_write               
hlsl_snap_width           2048
hlsl_snap_height          1536
shadow_mask_alpha         0.000000
shadow_mask_texture       aperture.png
shadow_mask_x_count       320
shadow_mask_y_count       240
shadow_mask_usize         0.093750
shadow_mask_vsize         0.109375
curvature                 0.000000
pincushion                0.000000
scanline_alpha            0.550000
scanline_size             1.000000
scanline_height           1.000000
scanline_bright_scale     1.000000
scanline_bright_offset    0.000000
scanline_jitter           0.000000
defocus                   0.500000,0.500000
converge_x                0.000000,0.000000,0.000000
converge_y                0.000000,0.000000,0.000000
radial_converge_x         0.000000,0.000000,0.000000
radial_converge_y         0.000000,0.000000,0.000000
red_ratio                 1.000000,0.000000,0.000000
grn_ratio                 0.000000,1.000000,0.000000
blu_ratio                 0.000000,0.000000,1.000000
saturation                1.400000
offset                    0.000000,0.000000,0.000000
scale                     1.000000,1.000000,1.000000
power                     1.000000,1.000000,1.000000
floor                     0.000000,0.000000,0.000000
phosphor_life             0.000000,0.000000,0.000000

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable                0
yiq_cc                    3.59754545
yiq_a                     0.5
yiq_b                     0.5
yiq_o                     1.570796325
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.8
vector_length_ratio       500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
vector_bloom_scale        0.3
raster_bloom_scale        0.225
bloom_lvl0_weight         1.0
bloom_lvl1_weight         0.21
bloom_lvl2_weight         0.19
bloom_lvl3_weight         0.17
bloom_lvl4_weight         0.15
bloom_lvl5_weight         0.14
bloom_lvl6_weight         0.13
bloom_lvl7_weight         0.12
bloom_lvl8_weight         0.11
bloom_lvl9_weight         0.10
bloom_lvl10_weight        0.09

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    auto
resolution                auto
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

#
# FULL SCREEN OPTIONS
#
triplebuffer              0
switchres                 0
full_screen_brightness    1.0
full_screen_contrast      1.0
full_screen_gamma         1.0

#
# WINDOWS SOUND OPTIONS
#
audio_latency             2
audio_sync                0

#
# INPUT DEVICE OPTIONS
#
dual_lightgun             0
joyid1                    0
joyid2                    1
joyid3                    2
joyid4                    3
joyid5                    4
joyid6                    5
joyid7                    6
joyid8                    7

Any questions or suggestions?