SwitchRes: v0.016_alpha6, 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: Found output connector 'VGA-1'

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.016_alpha6:[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: Running 'xrandr  --newmode "512x225_60.098476" 9.875381 512 536 584 632 225 238 241 260   -hsync -vsync'
SwitchRes: Running 'xrandr  --addmode VGA-1 "512x225_60.098476"'
SwitchRes: Running 'xrandr  --output VGA-1 --mode "512x225_60.098476"'
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 -syncrefresh
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.181 (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__=5 __GNUC_MINOR__=4 __GNUC_PATCHLEVEL__=0 __VERSION__="5.4.0 20160609" 
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 OpenGL driver (SDL 2.0+)
/dev/dri/card0 successfully opened

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
OpenGL: nouveau
OpenGL: Gallium 0.4 on NVA8
OpenGL: 3.0 Mesa 12.0.6
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 8192 x 8192
Leave renderer_ogl::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
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
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
GL texture: copy 0, shader 0, dynamic 0, 512x225 512x225 [RGB32, Equal: 1, Palette: 0,
            scale 1x1, border 0, pitch 682,512/8192], bytes/pix 4
GL texture: copy 0, shader 0, dynamic 0, 512x225 512x225 [RGB32, Equal: 1, Palette: 0,
            scale 1x1, border 0, pitch 682,512/8192], bytes/pix 4
  0.02s,    1 F, avrg game: 60.01 FPS 16.66 ms/f, avrg video: 43.53 FPS 22.97 ms/f, last video:   inf FPS 12.84 ms/f
  1.05s,   49 F, avrg game: 46.74 FPS 21.40 ms/f, avrg video: 61.56 FPS 16.24 ms/f, last video:   inf FPS 29.50 ms/f
  2.06s,   97 F, avrg game: 47.01 FPS 21.27 ms/f, avrg video: 62.22 FPS 16.07 ms/f, last video:   inf FPS 10.13 ms/f
  3.08s,  143 F, avrg game: 46.45 FPS 21.53 ms/f, avrg video: 65.88 FPS 15.18 ms/f, last video:   inf FPS 10.82 ms/f
  4.11s,  190 F, avrg game: 46.23 FPS 21.63 ms/f, avrg video: 70.35 FPS 14.21 ms/f, last video:   inf FPS 27.26 ms/f
  5.14s,  236 F, avrg game: 45.90 FPS 21.79 ms/f, avrg video: 72.51 FPS 13.79 ms/f, last video:   inf FPS 21.21 ms/f
  6.16s,  281 F, avrg game: 45.64 FPS 21.91 ms/f, avrg video: 73.99 FPS 13.52 ms/f, last video:   inf FPS 3.85 ms/f
  7.19s,  330 F, avrg game: 45.91 FPS 21.78 ms/f, avrg video: 76.54 FPS 13.07 ms/f, last video:   inf FPS 22.21 ms/f
  8.20s,  374 F, avrg game: 45.59 FPS 21.93 ms/f, avrg video: 76.89 FPS 13.01 ms/f, last video:   inf FPS 20.26 ms/f
  9.24s,  420 F, avrg game: 45.48 FPS 21.99 ms/f, avrg video: 77.98 FPS 12.82 ms/f, last video:   inf FPS 20.26 ms/f
 10.25s,  466 F, avrg game: 45.46 FPS 22.00 ms/f, avrg video: 78.55 FPS 12.73 ms/f, last video:   inf FPS 5.18 ms/f
 11.27s,  516 F, avrg game: 45.81 FPS 21.83 ms/f, avrg video: 79.95 FPS 12.51 ms/f, last video:   inf FPS 4.87 ms/f
 12.28s,  565 F, avrg game: 46.01 FPS 21.73 ms/f, avrg video: 81.02 FPS 12.34 ms/f, last video:   inf FPS 6.14 ms/f
 13.30s,  613 F, avrg game: 46.11 FPS 21.69 ms/f, avrg video: 81.69 FPS 12.24 ms/f, last video:   inf FPS 7.65 ms/f
 14.33s,  661 F, avrg game: 46.14 FPS 21.67 ms/f, avrg video: 80.24 FPS 12.46 ms/f, last video:   inf FPS 26.48 ms/f
 15.36s,  708 F, avrg game: 46.10 FPS 21.69 ms/f, avrg video: 78.60 FPS 12.72 ms/f, last video:   inf FPS 29.00 ms/f
 16.37s,  757 F, avrg game: 46.23 FPS 21.63 ms/f, avrg video: 77.34 FPS 12.93 ms/f, last video:   inf FPS 14.19 ms/f
 17.39s,  808 F, avrg game: 46.47 FPS 21.52 ms/f, avrg video: 76.59 FPS 13.06 ms/f, last video:   inf FPS 11.47 ms/f
 18.40s,  857 F, avrg game: 46.57 FPS 21.47 ms/f, avrg video: 77.15 FPS 12.96 ms/f, last video:   inf FPS 5.02 ms/f
 19.42s,  910 F, avrg game: 46.86 FPS 21.34 ms/f, avrg video: 78.26 FPS 12.78 ms/f, last video:   inf FPS 7.35 ms/f
 20.43s,  963 F, avrg game: 47.13 FPS 21.22 ms/f, avrg video: 79.33 FPS 12.61 ms/f, last video:   inf FPS 10.70 ms/f
 21.45s, 1016 F, avrg game: 47.37 FPS 21.11 ms/f, avrg video: 79.76 FPS 12.54 ms/f, last video:   inf FPS 27.55 ms/f
 22.46s, 1065 F, avrg game: 47.41 FPS 21.09 ms/f, avrg video: 80.05 FPS 12.49 ms/f, last video:   inf FPS 8.40 ms/f
 23.48s, 1114 F, avrg game: 47.45 FPS 21.08 ms/f, avrg video: 80.41 FPS 12.44 ms/f, last video:   inf FPS 19.93 ms/f
 24.49s, 1164 F, avrg game: 47.52 FPS 21.04 ms/f, avrg video: 80.87 FPS 12.37 ms/f, last video:   inf FPS 8.84 ms/f
 25.51s, 1215 F, avrg game: 47.63 FPS 21.00 ms/f, avrg video: 81.48 FPS 12.27 ms/f, last video:   inf FPS 6.02 ms/f
 26.54s, 1266 F, avrg game: 47.70 FPS 20.96 ms/f, avrg video: 81.88 FPS 12.21 ms/f, last video:   inf FPS 25.26 ms/f
 27.56s, 1322 F, avrg game: 47.98 FPS 20.84 ms/f, avrg video: 82.83 FPS 12.07 ms/f, last video:   inf FPS 10.96 ms/f
 28.57s, 1371 F, avrg game: 47.99 FPS 20.84 ms/f, avrg video: 83.06 FPS 12.04 ms/f, last video:   inf FPS 6.18 ms/f
 29.59s, 1423 F, avrg game: 48.10 FPS 20.79 ms/f, avrg video: 83.57 FPS 11.97 ms/f, last video:   inf FPS 4.75 ms/f
 30.60s, 1473 F, avrg game: 48.14 FPS 20.77 ms/f, avrg video: 83.84 FPS 11.93 ms/f, last video:   inf FPS 4.79 ms/f
 31.62s, 1526 F, avrg game: 48.27 FPS 20.72 ms/f, avrg video: 84.30 FPS 11.86 ms/f, last video:   inf FPS 21.67 ms/f
 32.63s, 1578 F, avrg game: 48.36 FPS 20.68 ms/f, avrg video: 84.71 FPS 11.81 ms/f, last video:   inf FPS 5.12 ms/f
 33.65s, 1629 F, avrg game: 48.42 FPS 20.65 ms/f, avrg video: 84.96 FPS 11.77 ms/f, last video:   inf FPS 6.97 ms/f
 34.66s, 1682 F, avrg game: 48.53 FPS 20.61 ms/f, avrg video: 85.35 FPS 11.72 ms/f, last video:   inf FPS 7.19 ms/f
 35.68s, 1732 F, avrg game: 48.55 FPS 20.60 ms/f, avrg video: 85.52 FPS 11.69 ms/f, last video:   inf FPS 8.84 ms/f
 36.69s, 1786 F, avrg game: 48.68 FPS 20.54 ms/f, avrg video: 86.07 FPS 11.62 ms/f, last video:   inf FPS 22.67 ms/f
 37.71s, 1843 F, avrg game: 48.88 FPS 20.46 ms/f, avrg video: 86.88 FPS 11.51 ms/f, last video:   inf FPS 5.60 ms/f
 38.72s, 1893 F, avrg game: 48.89 FPS 20.45 ms/f, avrg video: 87.04 FPS 11.49 ms/f, last video:   inf FPS 9.23 ms/f
 39.74s, 1942 F, avrg game: 48.87 FPS 20.46 ms/f, avrg video: 87.07 FPS 11.48 ms/f, last video:   inf FPS 4.71 ms/f
 40.75s, 1997 F, avrg game: 49.00 FPS 20.41 ms/f, avrg video: 87.56 FPS 11.42 ms/f, last video:   inf FPS 8.03 ms/f
 41.77s, 2052 F, avrg game: 49.13 FPS 20.35 ms/f, avrg video: 88.05 FPS 11.36 ms/f, last video:   inf FPS 6.01 ms/f
 42.78s, 2103 F, avrg game: 49.16 FPS 20.34 ms/f, avrg video: 88.28 FPS 11.33 ms/f, last video:   inf FPS 3.08 ms/f
 43.80s, 2153 F, avrg game: 49.16 FPS 20.34 ms/f, avrg video: 88.41 FPS 11.31 ms/f, last video:   inf FPS 20.66 ms/f
 44.81s, 2208 F, avrg game: 49.27 FPS 20.29 ms/f, avrg video: 88.89 FPS 11.25 ms/f, last video:   inf FPS 7.78 ms/f
 45.83s, 2265 F, avrg game: 49.43 FPS 20.23 ms/f, avrg video: 89.43 FPS 11.18 ms/f, last video:   inf FPS 26.19 ms/f
 46.84s, 2317 F, avrg game: 49.46 FPS 20.22 ms/f, avrg video: 89.56 FPS 11.17 ms/f, last video:   inf FPS 5.82 ms/f
 47.86s, 2370 F, avrg game: 49.52 FPS 20.19 ms/f, avrg video: 89.74 FPS 11.14 ms/f, last video:   inf FPS 8.68 ms/f
 48.87s, 2421 F, avrg game: 49.54 FPS 20.19 ms/f, avrg video: 89.83 FPS 11.13 ms/f, last video:   inf FPS 24.65 ms/f
 49.89s, 2479 F, avrg game: 49.69 FPS 20.12 ms/f, avrg video: 90.30 FPS 11.07 ms/f, last video:   inf FPS 8.21 ms/f
 50.90s, 2528 F, avrg game: 49.66 FPS 20.14 ms/f, avrg video: 90.25 FPS 11.08 ms/f, last video:   inf FPS 3.20 ms/f
 51.92s, 2580 F, avrg game: 49.70 FPS 20.12 ms/f, avrg video: 90.34 FPS 11.07 ms/f, last video:   inf FPS 8.54 ms/f
 52.93s, 2633 F, avrg game: 49.74 FPS 20.10 ms/f, avrg video: 90.54 FPS 11.05 ms/f, last video:   inf FPS 5.28 ms/f
 53.95s, 2683 F, avrg game: 49.73 FPS 20.11 ms/f, avrg video: 90.53 FPS 11.05 ms/f, last video:   inf FPS 5.19 ms/f
 54.96s, 2738 F, avrg game: 49.82 FPS 20.07 ms/f, avrg video: 90.77 FPS 11.02 ms/f, last video:   inf FPS 11.07 ms/f
 55.98s, 2791 F, avrg game: 49.86 FPS 20.06 ms/f, avrg video: 90.95 FPS 10.99 ms/f, last video:   inf FPS 4.81 ms/f
 56.99s, 2844 F, avrg game: 49.90 FPS 20.04 ms/f, avrg video: 90.96 FPS 10.99 ms/f, last video:   inf FPS 10.87 ms/f
Average speed: 82.97% (48 seconds)
sdl_kill: closing audio
Sound buffer: overflows=21 underflows=21
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 648x480x60.00
SwitchRes: Running 'xrandr --output VGA-1 --mode 648x480x60.00'
SwitchRes: Running 'xrandr  --delmode VGA-1 "512x225_60.098476"'
SwitchRes: Running 'xrandr  --rmmode "512x225_60.098476"'
