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 -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.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.24 FPS 16.60 ms/f, avrg video: 42.85 FPS 23.34 ms/f, last video:   inf FPS 11.54 ms/f
  1.03s,   51 F, avrg game: 49.44 FPS 20.23 ms/f, avrg video: 64.53 FPS 15.50 ms/f, last video:   inf FPS 9.74 ms/f
  2.05s,  103 F, avrg game: 50.32 FPS 19.87 ms/f, avrg video: 70.66 FPS 14.15 ms/f, last video:   inf FPS 25.49 ms/f
  3.06s,  152 F, avrg game: 49.65 FPS 20.14 ms/f, avrg video: 75.49 FPS 13.25 ms/f, last video:   inf FPS 10.37 ms/f
  4.08s,  201 F, avrg game: 49.31 FPS 20.28 ms/f, avrg video: 78.83 FPS 12.69 ms/f, last video:   inf FPS 22.38 ms/f
  5.09s,  254 F, avrg game: 49.89 FPS 20.05 ms/f, avrg video: 83.10 FPS 12.03 ms/f, last video:   inf FPS 27.26 ms/f
  6.11s,  307 F, avrg game: 50.27 FPS 19.89 ms/f, avrg video: 86.63 FPS 11.54 ms/f, last video:   inf FPS 7.47 ms/f
  7.12s,  361 F, avrg game: 50.69 FPS 19.73 ms/f, avrg video: 89.50 FPS 11.17 ms/f, last video:   inf FPS 3.04 ms/f
  8.15s,  415 F, avrg game: 50.90 FPS 19.65 ms/f, avrg video: 91.29 FPS 10.95 ms/f, last video:   inf FPS 20.29 ms/f
  9.17s,  470 F, avrg game: 51.26 FPS 19.51 ms/f, avrg video: 93.46 FPS 10.70 ms/f, last video:   inf FPS 7.82 ms/f
 10.18s,  523 F, avrg game: 51.36 FPS 19.47 ms/f, avrg video: 94.59 FPS 10.57 ms/f, last video:   inf FPS 22.62 ms/f
 11.20s,  575 F, avrg game: 51.35 FPS 19.48 ms/f, avrg video: 94.72 FPS 10.56 ms/f, last video:   inf FPS 8.78 ms/f
 12.23s,  624 F, avrg game: 51.02 FPS 19.60 ms/f, avrg video: 92.24 FPS 10.84 ms/f, last video:   inf FPS 28.96 ms/f
 13.26s,  678 F, avrg game: 51.13 FPS 19.56 ms/f, avrg video: 90.22 FPS 11.08 ms/f, last video:   inf FPS 26.84 ms/f
 14.28s,  724 F, avrg game: 50.71 FPS 19.72 ms/f, avrg video: 87.30 FPS 11.45 ms/f, last video:   inf FPS 11.04 ms/f
 15.29s,  773 F, avrg game: 50.55 FPS 19.78 ms/f, avrg video: 85.52 FPS 11.69 ms/f, last video:   inf FPS 9.95 ms/f
 16.31s,  830 F, avrg game: 50.90 FPS 19.65 ms/f, avrg video: 86.75 FPS 11.53 ms/f, last video:   inf FPS 6.19 ms/f
 17.32s,  881 F, avrg game: 50.86 FPS 19.66 ms/f, avrg video: 87.30 FPS 11.45 ms/f, last video:   inf FPS 5.97 ms/f
 18.34s,  931 F, avrg game: 50.77 FPS 19.70 ms/f, avrg video: 87.71 FPS 11.40 ms/f, last video:   inf FPS 5.28 ms/f
 19.35s,  981 F, avrg game: 50.69 FPS 19.73 ms/f, avrg video: 88.08 FPS 11.35 ms/f, last video:   inf FPS 4.19 ms/f
 20.37s, 1034 F, avrg game: 50.77 FPS 19.70 ms/f, avrg video: 88.76 FPS 11.27 ms/f, last video:   inf FPS 6.09 ms/f
 21.38s, 1089 F, avrg game: 50.93 FPS 19.63 ms/f, avrg video: 89.62 FPS 11.16 ms/f, last video:   inf FPS 7.05 ms/f
 22.40s, 1138 F, avrg game: 50.81 FPS 19.68 ms/f, avrg video: 89.72 FPS 11.15 ms/f, last video:   inf FPS 24.86 ms/f
 23.41s, 1190 F, avrg game: 50.83 FPS 19.67 ms/f, avrg video: 90.14 FPS 11.09 ms/f, last video:   inf FPS 4.88 ms/f
 24.43s, 1243 F, avrg game: 50.89 FPS 19.65 ms/f, avrg video: 90.66 FPS 11.03 ms/f, last video:   inf FPS 4.46 ms/f
 25.44s, 1295 F, avrg game: 50.90 FPS 19.65 ms/f, avrg video: 90.93 FPS 11.00 ms/f, last video:   inf FPS 6.99 ms/f
Average speed: 84.90% (22 seconds)
sdl_kill: closing audio
Sound buffer: overflows=0 underflows=248
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"'
