SwitchRes: v0.017c, Monitor: custom, Orientation: horizontal, Modeline generation: enabled
SwitchRes: Monitor range 15625.00-15750.00,49.50-65.00,2.000,4.700,5.000,0.064,0.192,0.500,0,0,192,288,448,576
SwitchRes: xrandr version 1.5
SwitchRes: Found output connector 'VGA-1'

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.017c:[snes] Calculating best video mode for 512x225@60.098476 orientation: normal

SwitchRes: (   1)x(   1)_(60=60.000000Hz)
   rng(0):  512 x 225_60.098476p 15.625604 [integ] scale(1, 1, 1) diff(0.00, 0.00, 0.0000) ratio(1.000, 1.000)

SwitchRes: [snes] (1) horizontal (512x225@60.098476)->(512x225@60.098476)
   rng(0):  512 x 225_60.098476p 15.625604 [integ] scale(1, 1, 1) diff(0.00, 0.00, 0.0000) ratio(1.000, 1.000)
SwitchRes: Modeline "512x225_60 15.625604KHz 60.098476Hz" 9.875381 512 536 584 632 225 238 241 260   -hsync -vsync
Switchres: CRTC 0: mode 0x65, 648x480+0+0.
Switchres: xrandr mode (GM-512x225_60.098476) (0x50f) 9.875381MHz
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -autoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nounevenstretchx
SwitchRes: Setting option -noblack_frame_insertion
SwitchRes: Setting option -nosyncrefresh
SwitchRes: Setting option -nowaitvsync
SwitchRes: Setting option -nofilter
Available videodrivers: x11 mir wayland dummy 
Current Videodriver: x11
	Display #0
		Renderdrivers:
			    opengl (0x0)
			 opengles2 (0x0)
			  software (0x0)
Available audio drivers: 
	pulseaudio          
	alsa                
	sndio               
	dsp                 
	disk                
	dummy               
Build version:      0.183 (unknown)
Build architecure:  
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    LSB_FIRST=1 PTR64=1 
SDL/OpenGL defines: SDL_COMPILEDVERSION=2004 USE_OPENGL=1 
Compiler defines A: __GNUC__=6 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=0 __VERSION__="6.2.0 20161005" 
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1 
Compiler defines C: __USE_FORTIFY_LEVEL=0 
Enter init_monitors
Adding monitor screen0 (512 x 225)
Leave init_monitors
Enter sdlwindow_init
Using SDL multi-window soft driver (SDL 2.0+)

Hints:
	SDL_FRAMEBUFFER_ACCELERATION             (null)
	SDL_RENDER_DRIVER                        (null)
	SDL_RENDER_OPENGL_SHADERS                (null)
	SDL_RENDER_SCALE_QUALITY                 (null)
	SDL_RENDER_VSYNC                         (null)
	SDL_VIDEO_X11_XVIDMODE                   (null)
	SDL_VIDEO_X11_XINERAMA                   (null)
	SDL_VIDEO_X11_XRANDR                     (null)
	SDL_GRAB_KEYBOARD                        (null)
	SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS         (null)
	SDL_IOS_IDLE_TIMER_DISABLED              (null)
	SDL_IOS_ORIENTATIONS                     (null)
	SDL_XINPUT_ENABLED                       (null)
	SDL_GAMECONTROLLERCONFIG                 (null)
	SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS     (null)
	SDL_ALLOW_TOPMOST                        (null)
	SDL_TIMER_RESOLUTION                     (null)
	SDL_RENDER_DIRECT3D_THREADSAFE           (null)
	SDL_VIDEO_ALLOW_SCREENSAVER              (null)
	SDL_ACCELEROMETER_AS_JOYSTICK            (null)
	SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK   (null)
	SDL_VIDEO_WIN_D3DCOMPILER                (null)
	SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT      (null)
	SDL_VIDEO_MAC_FULLSCREEN_SPACES          (null)
	SDL_MOUSE_RELATIVE_MODE_WARP             (null)
	SDL_RENDER_DIRECT3D11_DEBUG              (null)
	SDL_VIDEO_HIGHDPI_DISABLED               (null)
	SDL_WINRT_PRIVACY_POLICY_URL             (null)
	SDL_WINRT_PRIVACY_POLICY_LABEL           (null)
	SDL_WINRT_HANDLE_BACK_BUTTON             (null)
Leave sdlwindow_init
Enter sdl_info::create
window: using renderer opengl
renderer: flag SDL_RENDERER_ACCELERATED
Leave renderer_sdl2::create
Audio: Start initialization
Audio: Driver is pulseaudio
Audio: frequency: 48000, channels: 2, samples: 256
sdl_create_buffers: creating stream buffer of 25600 bytes
Audio: End initialization
Keyboard: Start initialization
Input: Adding keyboard #0: System keyboard (device id: System keyboard)
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding mouse #0: System mouse (device id: System mouse)
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Joystick: End initialization
Searching font Liberation Sans in -. path/s
Matching font: /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf
Region ':maincpu' created
Region ':sound_ipl' created
unzip: opened archive file /srv/pkg/roms/mame/snes.zip
unzip: found /srv/pkg/roms/mame/snes.zip ECD
unzip: /srv/pkg/roms/mame/snes.zip has no ZIP64 ECD locator
unzip: read /srv/pkg/roms/mame/snes.zip central directory
unzip: closing archive file /srv/pkg/roms/mame/snes.zip and sending to cache
Region ':snsslot:rom' created
unzip: found /srv/pkg/roms/mame/snes.zip in cache
unzip: closing archive file /srv/pkg/roms/mame/snes.zip and sending to cache
unzip: opened archive file /srv/pkg/roms/mame/snes/contra3.zip
unzip: found /srv/pkg/roms/mame/snes/contra3.zip ECD
unzip: /srv/pkg/roms/mame/snes/contra3.zip has no ZIP64 ECD locator
unzip: read /srv/pkg/roms/mame/snes/contra3.zip central directory
unzip: closing archive file /srv/pkg/roms/mame/snes/contra3.zip and sending to cache
Starting Super Nintendo Entertainment System / Super Famicom (NTSC) ':'
  (missing dependencies; rescheduling)
Starting 5A22 ':maincpu'
Starting SPC700 ':soundcpu'
Starting Video Screen ':screen'
Optional device ':screen:finder_dummy_tag' not found
Starting SNES PPU ':ppu'
Optional I/O port ':DEBUG4' not found
Optional I/O port ':DEBUG3' not found
Optional I/O port ':DEBUG2' not found
Optional I/O port ':DEBUG1' not found
Starting Nintendo SNES / SFC control port ':ctrl1'
Starting Nintendo SNES / SFC Control Pad ':ctrl1:joypad'
Starting Nintendo SNES / SFC control port ':ctrl2'
Starting Nintendo SNES / SFC Control Pad ':ctrl2:joypad'
Starting Speaker ':lspeaker'
  (missing dependencies; rescheduling)
Starting Speaker ':rspeaker'
  (missing dependencies; rescheduling)
Starting SNES Custom DSP (SPC700) ':spc700'
Starting SNES Cartridge Slot ':snsslot'
Starting SNES Cart (LoROM) ':snsslot:lorom'
Starting Software list ':cart_list'
Starting Software list ':bsx_list'
Starting Software list ':st_list'
Starting Super Nintendo Entertainment System / Super Famicom (NTSC) ':'
  (missing dependencies; rescheduling)
Starting Speaker ':lspeaker'
Starting Speaker ':rspeaker'
Starting Super Nintendo Entertainment System / Super Famicom (NTSC) ':'
Region ':snsslot:cart:rom' created
  0.03s,    1 F, avrg game: 30.04 FPS 33.29 ms/f, avrg video: 380.26 FPS 2.63 ms/f, last video:   inf FPS 1.23 ms/f
  1.04s,   31 F, avrg game: 29.89 FPS 33.46 ms/f, avrg video: 728.67 FPS 1.37 ms/f, last video:   inf FPS 1.32 ms/f
  2.05s,   70 F, avrg game: 34.22 FPS 29.22 ms/f, avrg video: 749.30 FPS 1.33 ms/f, last video:   inf FPS 1.67 ms/f
  3.06s,  131 F, avrg game: 42.84 FPS 23.34 ms/f, avrg video: 735.02 FPS 1.36 ms/f, last video:   inf FPS 1.15 ms/f
  4.07s,  192 F, avrg game: 47.16 FPS 21.20 ms/f, avrg video: 755.56 FPS 1.32 ms/f, last video:   inf FPS 0.98 ms/f
  5.08s,  252 F, avrg game: 49.65 FPS 20.14 ms/f, avrg video: 775.71 FPS 1.29 ms/f, last video:   inf FPS 1.18 ms/f
  6.10s,  313 F, avrg game: 51.35 FPS 19.47 ms/f, avrg video: 795.76 FPS 1.26 ms/f, last video:   inf FPS 0.85 ms/f
  7.10s,  374 F, avrg game: 52.65 FPS 18.99 ms/f, avrg video: 807.02 FPS 1.24 ms/f, last video:   inf FPS 0.94 ms/f
  8.11s,  434 F, avrg game: 53.53 FPS 18.68 ms/f, avrg video: 813.97 FPS 1.23 ms/f, last video:   inf FPS 1.41 ms/f
  9.12s,  495 F, avrg game: 54.27 FPS 18.42 ms/f, avrg video: 818.54 FPS 1.22 ms/f, last video:   inf FPS 1.13 ms/f
 10.12s,  555 F, avrg game: 54.83 FPS 18.24 ms/f, avrg video: 823.92 FPS 1.21 ms/f, last video:   inf FPS 1.45 ms/f
 11.13s,  616 F, avrg game: 55.34 FPS 18.07 ms/f, avrg video: 829.34 FPS 1.21 ms/f, last video:   inf FPS 1.10 ms/f
 12.15s,  677 F, avrg game: 55.72 FPS 17.95 ms/f, avrg video: 832.17 FPS 1.20 ms/f, last video:   inf FPS 1.33 ms/f
 13.16s,  738 F, avrg game: 56.09 FPS 17.83 ms/f, avrg video: 830.55 FPS 1.20 ms/f, last video:   inf FPS 1.19 ms/f
 14.17s,  799 F, avrg game: 56.37 FPS 17.74 ms/f, avrg video: 821.51 FPS 1.22 ms/f, last video:   inf FPS 1.39 ms/f
 15.17s,  859 F, avrg game: 56.61 FPS 17.67 ms/f, avrg video: 813.49 FPS 1.23 ms/f, last video:   inf FPS 1.88 ms/f
 16.18s,  919 F, avrg game: 56.80 FPS 17.61 ms/f, avrg video: 808.99 FPS 1.24 ms/f, last video:   inf FPS 0.96 ms/f
 17.19s,  980 F, avrg game: 57.02 FPS 17.54 ms/f, avrg video: 812.93 FPS 1.23 ms/f, last video:   inf FPS 1.20 ms/f
 18.20s, 1041 F, avrg game: 57.19 FPS 17.49 ms/f, avrg video: 817.63 FPS 1.22 ms/f, last video:   inf FPS 1.14 ms/f
 19.20s, 1101 F, avrg game: 57.33 FPS 17.44 ms/f, avrg video: 820.63 FPS 1.22 ms/f, last video:   inf FPS 1.13 ms/f
 20.22s, 1162 F, avrg game: 57.47 FPS 17.40 ms/f, avrg video: 824.01 FPS 1.21 ms/f, last video:   inf FPS 1.39 ms/f
 21.22s, 1222 F, avrg game: 57.59 FPS 17.36 ms/f, avrg video: 827.25 FPS 1.21 ms/f, last video:   inf FPS 0.89 ms/f
 22.23s, 1283 F, avrg game: 57.70 FPS 17.33 ms/f, avrg video: 831.88 FPS 1.20 ms/f, last video:   inf FPS 0.87 ms/f
 23.25s, 1344 F, avrg game: 57.80 FPS 17.30 ms/f, avrg video: 834.61 FPS 1.20 ms/f, last video:   inf FPS 0.88 ms/f
 24.26s, 1405 F, avrg game: 57.92 FPS 17.27 ms/f, avrg video: 838.30 FPS 1.19 ms/f, last video:   inf FPS 0.85 ms/f
 25.28s, 1466 F, avrg game: 58.00 FPS 17.24 ms/f, avrg video: 840.23 FPS 1.19 ms/f, last video:   inf FPS 1.30 ms/f
 26.29s, 1527 F, avrg game: 58.09 FPS 17.22 ms/f, avrg video: 843.39 FPS 1.19 ms/f, last video:   inf FPS 0.98 ms/f
 27.30s, 1588 F, avrg game: 58.16 FPS 17.19 ms/f, avrg video: 846.18 FPS 1.18 ms/f, last video:   inf FPS 1.03 ms/f
 28.30s, 1648 F, avrg game: 58.23 FPS 17.17 ms/f, avrg video: 849.10 FPS 1.18 ms/f, last video:   inf FPS 1.12 ms/f
 29.32s, 1709 F, avrg game: 58.29 FPS 17.16 ms/f, avrg video: 850.06 FPS 1.18 ms/f, last video:   inf FPS 1.42 ms/f
 30.33s, 1770 F, avrg game: 58.35 FPS 17.14 ms/f, avrg video: 852.56 FPS 1.17 ms/f, last video:   inf FPS 1.14 ms/f
 31.35s, 1831 F, avrg game: 58.41 FPS 17.12 ms/f, avrg video: 855.74 FPS 1.17 ms/f, last video:   inf FPS 1.13 ms/f
 32.35s, 1891 F, avrg game: 58.46 FPS 17.11 ms/f, avrg video: 856.50 FPS 1.17 ms/f, last video:   inf FPS 1.33 ms/f
 33.36s, 1952 F, avrg game: 58.51 FPS 17.09 ms/f, avrg video: 857.83 FPS 1.17 ms/f, last video:   inf FPS 0.93 ms/f
 34.36s, 2012 F, avrg game: 58.55 FPS 17.08 ms/f, avrg video: 858.37 FPS 1.16 ms/f, last video:   inf FPS 1.50 ms/f
 35.38s, 2073 F, avrg game: 58.60 FPS 17.07 ms/f, avrg video: 859.54 FPS 1.16 ms/f, last video:   inf FPS 1.33 ms/f
 36.39s, 2134 F, avrg game: 58.64 FPS 17.05 ms/f, avrg video: 860.71 FPS 1.16 ms/f, last video:   inf FPS 1.29 ms/f
 37.41s, 2195 F, avrg game: 58.67 FPS 17.04 ms/f, avrg video: 862.59 FPS 1.16 ms/f, last video:   inf FPS 0.90 ms/f
 38.42s, 2256 F, avrg game: 58.72 FPS 17.03 ms/f, avrg video: 862.83 FPS 1.16 ms/f, last video:   inf FPS 1.13 ms/f
 39.42s, 2316 F, avrg game: 58.75 FPS 17.02 ms/f, avrg video: 863.40 FPS 1.16 ms/f, last video:   inf FPS 1.30 ms/f
 40.42s, 2376 F, avrg game: 58.78 FPS 17.01 ms/f, avrg video: 863.53 FPS 1.16 ms/f, last video:   inf FPS 0.91 ms/f
 41.44s, 2437 F, avrg game: 58.81 FPS 17.00 ms/f, avrg video: 863.62 FPS 1.16 ms/f, last video:   inf FPS 0.90 ms/f
 42.45s, 2498 F, avrg game: 58.85 FPS 16.99 ms/f, avrg video: 863.71 FPS 1.16 ms/f, last video:   inf FPS 1.24 ms/f
 43.46s, 2559 F, avrg game: 58.88 FPS 16.99 ms/f, avrg video: 863.83 FPS 1.16 ms/f, last video:   inf FPS 1.40 ms/f
 44.48s, 2620 F, avrg game: 58.90 FPS 16.98 ms/f, avrg video: 864.39 FPS 1.16 ms/f, last video:   inf FPS 1.72 ms/f
 45.49s, 2681 F, avrg game: 58.93 FPS 16.97 ms/f, avrg video: 864.42 FPS 1.16 ms/f, last video:   inf FPS 1.35 ms/f
 46.51s, 2742 F, avrg game: 58.96 FPS 16.96 ms/f, avrg video: 865.07 FPS 1.16 ms/f, last video:   inf FPS 1.25 ms/f
 47.52s, 2803 F, avrg game: 58.98 FPS 16.96 ms/f, avrg video: 864.92 FPS 1.16 ms/f, last video:   inf FPS 1.50 ms/f
 48.54s, 2864 F, avrg game: 59.00 FPS 16.95 ms/f, avrg video: 865.50 FPS 1.16 ms/f, last video:   inf FPS 1.52 ms/f
 49.55s, 2925 F, avrg game: 59.03 FPS 16.94 ms/f, avrg video: 864.78 FPS 1.16 ms/f, last video:   inf FPS 1.25 ms/f
 50.57s, 2986 F, avrg game: 59.04 FPS 16.94 ms/f, avrg video: 865.58 FPS 1.16 ms/f, last video:   inf FPS 0.94 ms/f
Average speed: 99.99% (49 seconds)
sdl_kill: closing audio
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 
SwitchRes: xrandr original video mode restored.
