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) (0x4f8) 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 -waitvsync
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_PRESENTVSYNC
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.02s,    1 F, avrg game: 59.69 FPS 16.75 ms/f, avrg video: 42.58 FPS 23.49 ms/f, last video:   inf FPS 11.21 ms/f
  1.05s,   44 F, avrg game: 41.97 FPS 23.83 ms/f, avrg video: 50.90 FPS 19.65 ms/f, last video:   inf FPS 27.94 ms/f
  2.06s,   86 F, avrg game: 41.68 FPS 23.99 ms/f, avrg video: 53.27 FPS 18.77 ms/f, last video:   inf FPS 27.27 ms/f
  3.08s,  132 F, avrg game: 42.88 FPS 23.32 ms/f, avrg video: 60.18 FPS 16.62 ms/f, last video:   inf FPS 24.84 ms/f
  4.09s,  179 F, avrg game: 43.73 FPS 22.87 ms/f, avrg video: 64.94 FPS 15.40 ms/f, last video:   inf FPS 10.52 ms/f
  5.13s,  225 F, avrg game: 43.90 FPS 22.78 ms/f, avrg video: 67.34 FPS 14.85 ms/f, last video:   inf FPS 24.15 ms/f
  6.16s,  269 F, avrg game: 43.69 FPS 22.89 ms/f, avrg video: 68.08 FPS 14.69 ms/f, last video:   inf FPS 26.94 ms/f
  7.17s,  317 F, avrg game: 44.20 FPS 22.62 ms/f, avrg video: 70.65 FPS 14.15 ms/f, last video:   inf FPS 4.13 ms/f
  8.19s,  361 F, avrg game: 44.10 FPS 22.68 ms/f, avrg video: 71.20 FPS 14.04 ms/f, last video:   inf FPS 21.78 ms/f
  9.20s,  404 F, avrg game: 43.91 FPS 22.78 ms/f, avrg video: 71.45 FPS 14.00 ms/f, last video:   inf FPS 22.12 ms/f
 10.22s,  451 F, avrg game: 44.14 FPS 22.65 ms/f, avrg video: 72.71 FPS 13.75 ms/f, last video:   inf FPS 10.23 ms/f
 11.25s,  495 F, avrg game: 44.01 FPS 22.72 ms/f, avrg video: 72.85 FPS 13.73 ms/f, last video:   inf FPS 24.10 ms/f
 12.26s,  540 F, avrg game: 44.03 FPS 22.71 ms/f, avrg video: 73.32 FPS 13.64 ms/f, last video:   inf FPS 6.11 ms/f
 13.28s,  588 F, avrg game: 44.28 FPS 22.58 ms/f, avrg video: 74.15 FPS 13.49 ms/f, last video:   inf FPS 10.09 ms/f
 14.29s,  635 F, avrg game: 44.43 FPS 22.51 ms/f, avrg video: 72.49 FPS 13.79 ms/f, last video:   inf FPS 27.34 ms/f
 15.33s,  676 F, avrg game: 44.11 FPS 22.67 ms/f, avrg video: 70.55 FPS 14.17 ms/f, last video:   inf FPS 28.52 ms/f
 16.34s,  723 F, avrg game: 44.25 FPS 22.60 ms/f, avrg video: 69.67 FPS 14.35 ms/f, last video:   inf FPS 26.59 ms/f
 17.36s,  772 F, avrg game: 44.48 FPS 22.48 ms/f, avrg video: 69.27 FPS 14.44 ms/f, last video:   inf FPS 10.25 ms/f
 18.37s,  818 F, avrg game: 44.53 FPS 22.46 ms/f, avrg video: 69.73 FPS 14.34 ms/f, last video:   inf FPS 10.74 ms/f
 19.39s,  870 F, avrg game: 44.88 FPS 22.28 ms/f, avrg video: 70.96 FPS 14.09 ms/f, last video:   inf FPS 5.05 ms/f
 20.40s,  917 F, avrg game: 44.95 FPS 22.25 ms/f, avrg video: 71.45 FPS 14.00 ms/f, last video:   inf FPS 7.88 ms/f
 21.43s,  964 F, avrg game: 44.98 FPS 22.23 ms/f, avrg video: 71.70 FPS 13.95 ms/f, last video:   inf FPS 24.69 ms/f
 22.46s, 1012 F, avrg game: 45.05 FPS 22.20 ms/f, avrg video: 72.15 FPS 13.86 ms/f, last video:   inf FPS 20.25 ms/f
 23.48s, 1058 F, avrg game: 45.06 FPS 22.19 ms/f, avrg video: 72.34 FPS 13.82 ms/f, last video:   inf FPS 5.57 ms/f
 24.51s, 1109 F, avrg game: 45.25 FPS 22.10 ms/f, avrg video: 72.98 FPS 13.70 ms/f, last video:   inf FPS 27.61 ms/f
 25.54s, 1153 F, avrg game: 45.14 FPS 22.15 ms/f, avrg video: 72.94 FPS 13.71 ms/f, last video:   inf FPS 23.96 ms/f
 26.56s, 1204 F, avrg game: 45.34 FPS 22.06 ms/f, avrg video: 73.57 FPS 13.59 ms/f, last video:   inf FPS 11.16 ms/f
 27.57s, 1255 F, avrg game: 45.52 FPS 21.97 ms/f, avrg video: 73.80 FPS 13.55 ms/f, last video:   inf FPS 6.61 ms/f
 28.59s, 1305 F, avrg game: 45.65 FPS 21.91 ms/f, avrg video: 74.25 FPS 13.47 ms/f, last video:   inf FPS 3.65 ms/f
 29.60s, 1353 F, avrg game: 45.71 FPS 21.88 ms/f, avrg video: 74.56 FPS 13.41 ms/f, last video:   inf FPS 4.79 ms/f
 30.62s, 1404 F, avrg game: 45.86 FPS 21.81 ms/f, avrg video: 75.14 FPS 13.31 ms/f, last video:   inf FPS 4.77 ms/f
 31.63s, 1449 F, avrg game: 45.81 FPS 21.83 ms/f, avrg video: 75.11 FPS 13.31 ms/f, last video:   inf FPS 8.36 ms/f
 32.65s, 1500 F, avrg game: 45.95 FPS 21.76 ms/f, avrg video: 75.58 FPS 13.23 ms/f, last video:   inf FPS 5.43 ms/f
 33.66s, 1543 F, avrg game: 45.84 FPS 21.82 ms/f, avrg video: 75.33 FPS 13.27 ms/f, last video:   inf FPS 4.97 ms/f
 34.68s, 1589 F, avrg game: 45.82 FPS 21.82 ms/f, avrg video: 75.34 FPS 13.27 ms/f, last video:   inf FPS 7.00 ms/f
 35.69s, 1631 F, avrg game: 45.70 FPS 21.88 ms/f, avrg video: 74.97 FPS 13.34 ms/f, last video:   inf FPS 23.78 ms/f
 36.71s, 1673 F, avrg game: 45.58 FPS 21.94 ms/f, avrg video: 74.74 FPS 13.38 ms/f, last video:   inf FPS 10.33 ms/f
 37.72s, 1722 F, avrg game: 45.65 FPS 21.91 ms/f, avrg video: 74.96 FPS 13.34 ms/f, last video:   inf FPS 3.27 ms/f
 38.74s, 1759 F, avrg game: 45.41 FPS 22.02 ms/f, avrg video: 74.39 FPS 13.44 ms/f, last video:   inf FPS 24.57 ms/f
 39.75s, 1802 F, avrg game: 45.33 FPS 22.06 ms/f, avrg video: 74.31 FPS 13.46 ms/f, last video:   inf FPS 25.16 ms/f
 40.77s, 1849 F, avrg game: 45.35 FPS 22.05 ms/f, avrg video: 74.44 FPS 13.43 ms/f, last video:   inf FPS 25.78 ms/f
 41.80s, 1892 F, avrg game: 45.26 FPS 22.09 ms/f, avrg video: 74.21 FPS 13.48 ms/f, last video:   inf FPS 25.12 ms/f
 42.81s, 1937 F, avrg game: 45.24 FPS 22.10 ms/f, avrg video: 74.14 FPS 13.49 ms/f, last video:   inf FPS 10.61 ms/f
 43.83s, 1978 F, avrg game: 45.13 FPS 22.16 ms/f, avrg video: 73.88 FPS 13.53 ms/f, last video:   inf FPS 27.47 ms/f
 44.86s, 2026 F, avrg game: 45.16 FPS 22.14 ms/f, avrg video: 74.04 FPS 13.51 ms/f, last video:   inf FPS 23.38 ms/f
 45.88s, 2070 F, avrg game: 45.12 FPS 22.16 ms/f, avrg video: 74.03 FPS 13.51 ms/f, last video:   inf FPS 6.73 ms/f
 46.91s, 2108 F, avrg game: 44.94 FPS 22.25 ms/f, avrg video: 73.58 FPS 13.59 ms/f, last video:   inf FPS 22.42 ms/f
 47.94s, 2150 F, avrg game: 44.85 FPS 22.30 ms/f, avrg video: 73.39 FPS 13.63 ms/f, last video:   inf FPS 24.18 ms/f
Average speed: 74.59% (37 seconds)
sdl_kill: closing audio
Sound buffer: overflows=45 underflows=51
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 
SwitchRes: xrandr original video mode restored.
