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) (0x505) 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 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: 59.82 FPS 16.72 ms/f, avrg video: 42.29 FPS 23.64 ms/f, last video:   inf FPS 12.80 ms/f
  1.03s,   47 F, avrg game: 45.55 FPS 21.95 ms/f, avrg video: 58.06 FPS 17.22 ms/f, last video:   inf FPS 11.69 ms/f
  2.05s,   91 F, avrg game: 44.46 FPS 22.49 ms/f, avrg video: 57.33 FPS 17.44 ms/f, last video:   inf FPS 27.34 ms/f
  3.06s,  139 F, avrg game: 45.40 FPS 22.03 ms/f, avrg video: 65.44 FPS 15.28 ms/f, last video:   inf FPS 7.36 ms/f
  4.08s,  188 F, avrg game: 46.11 FPS 21.69 ms/f, avrg video: 71.63 FPS 13.96 ms/f, last video:   inf FPS 10.26 ms/f
  5.09s,  236 F, avrg game: 46.35 FPS 21.58 ms/f, avrg video: 75.42 FPS 13.26 ms/f, last video:   inf FPS 8.35 ms/f
  6.11s,  281 F, avrg game: 46.01 FPS 21.73 ms/f, avrg video: 76.33 FPS 13.10 ms/f, last video:   inf FPS 22.72 ms/f
  7.12s,  326 F, avrg game: 45.77 FPS 21.85 ms/f, avrg video: 77.55 FPS 12.89 ms/f, last video:   inf FPS 18.94 ms/f
  8.14s,  371 F, avrg game: 45.59 FPS 21.93 ms/f, avrg video: 78.37 FPS 12.76 ms/f, last video:   inf FPS 9.97 ms/f
  9.15s,  421 F, avrg game: 46.00 FPS 21.74 ms/f, avrg video: 80.65 FPS 12.40 ms/f, last video:   inf FPS 3.01 ms/f
 10.17s,  469 F, avrg game: 46.13 FPS 21.68 ms/f, avrg video: 80.65 FPS 12.40 ms/f, last video:   inf FPS 3.51 ms/f
 11.18s,  514 F, avrg game: 45.97 FPS 21.75 ms/f, avrg video: 81.00 FPS 12.34 ms/f, last video:   inf FPS 3.49 ms/f
 12.21s,  562 F, avrg game: 46.01 FPS 21.73 ms/f, avrg video: 81.57 FPS 12.26 ms/f, last video:   inf FPS 26.66 ms/f
 13.23s,  606 F, avrg game: 45.81 FPS 21.83 ms/f, avrg video: 81.36 FPS 12.29 ms/f, last video:   inf FPS 10.87 ms/f
 14.24s,  655 F, avrg game: 45.98 FPS 21.75 ms/f, avrg video: 79.32 FPS 12.61 ms/f, last video:   inf FPS 30.29 ms/f
 15.26s,  706 F, avrg game: 46.27 FPS 21.61 ms/f, avrg video: 77.77 FPS 12.86 ms/f, last video:   inf FPS 13.19 ms/f
 16.27s,  752 F, avrg game: 46.21 FPS 21.64 ms/f, avrg video: 76.19 FPS 13.12 ms/f, last video:   inf FPS 27.54 ms/f
 17.29s,  798 F, avrg game: 46.16 FPS 21.67 ms/f, avrg video: 75.19 FPS 13.30 ms/f, last video:   inf FPS 4.29 ms/f
 18.32s,  847 F, avrg game: 46.23 FPS 21.63 ms/f, avrg video: 75.96 FPS 13.16 ms/f, last video:   inf FPS 21.33 ms/f
 19.34s,  893 F, avrg game: 46.18 FPS 21.65 ms/f, avrg video: 76.45 FPS 13.08 ms/f, last video:   inf FPS 2.92 ms/f
 20.37s,  939 F, avrg game: 46.10 FPS 21.69 ms/f, avrg video: 76.66 FPS 13.04 ms/f, last video:   inf FPS 21.87 ms/f
 21.38s,  987 F, avrg game: 46.16 FPS 21.66 ms/f, avrg video: 77.12 FPS 12.97 ms/f, last video:   inf FPS 8.47 ms/f
 22.40s, 1033 F, avrg game: 46.12 FPS 21.68 ms/f, avrg video: 77.38 FPS 12.92 ms/f, last video:   inf FPS 8.41 ms/f
 23.41s, 1077 F, avrg game: 46.00 FPS 21.74 ms/f, avrg video: 77.39 FPS 12.92 ms/f, last video:   inf FPS 4.03 ms/f
 24.43s, 1122 F, avrg game: 45.93 FPS 21.77 ms/f, avrg video: 77.48 FPS 12.91 ms/f, last video:   inf FPS 23.14 ms/f
 25.44s, 1168 F, avrg game: 45.91 FPS 21.78 ms/f, avrg video: 77.69 FPS 12.87 ms/f, last video:   inf FPS 11.12 ms/f
 26.46s, 1213 F, avrg game: 45.85 FPS 21.81 ms/f, avrg video: 77.83 FPS 12.85 ms/f, last video:   inf FPS 4.23 ms/f
 27.47s, 1262 F, avrg game: 45.94 FPS 21.77 ms/f, avrg video: 78.27 FPS 12.78 ms/f, last video:   inf FPS 8.92 ms/f
 28.50s, 1306 F, avrg game: 45.82 FPS 21.83 ms/f, avrg video: 78.26 FPS 12.78 ms/f, last video:   inf FPS 21.65 ms/f
 29.52s, 1352 F, avrg game: 45.80 FPS 21.83 ms/f, avrg video: 78.44 FPS 12.75 ms/f, last video:   inf FPS 11.04 ms/f
 30.53s, 1403 F, avrg game: 45.95 FPS 21.76 ms/f, avrg video: 78.95 FPS 12.67 ms/f, last video:   inf FPS 8.89 ms/f
 31.55s, 1451 F, avrg game: 45.99 FPS 21.74 ms/f, avrg video: 79.13 FPS 12.64 ms/f, last video:   inf FPS 7.74 ms/f
 32.56s, 1503 F, avrg game: 46.15 FPS 21.67 ms/f, avrg video: 79.60 FPS 12.56 ms/f, last video:   inf FPS 8.52 ms/f
 33.58s, 1558 F, avrg game: 46.40 FPS 21.55 ms/f, avrg video: 80.30 FPS 12.45 ms/f, last video:   inf FPS 11.23 ms/f
 34.59s, 1614 F, avrg game: 46.65 FPS 21.43 ms/f, avrg video: 81.08 FPS 12.33 ms/f, last video:   inf FPS 8.48 ms/f
 35.61s, 1666 F, avrg game: 46.79 FPS 21.37 ms/f, avrg video: 81.46 FPS 12.28 ms/f, last video:   inf FPS 5.01 ms/f
 36.62s, 1718 F, avrg game: 46.91 FPS 21.32 ms/f, avrg video: 81.85 FPS 12.22 ms/f, last video:   inf FPS 5.39 ms/f
 37.64s, 1769 F, avrg game: 47.00 FPS 21.28 ms/f, avrg video: 82.17 FPS 12.17 ms/f, last video:   inf FPS 10.42 ms/f
 38.65s, 1820 F, avrg game: 47.08 FPS 21.24 ms/f, avrg video: 82.55 FPS 12.11 ms/f, last video:   inf FPS 10.69 ms/f
 39.69s, 1871 F, avrg game: 47.14 FPS 21.21 ms/f, avrg video: 82.82 FPS 12.07 ms/f, last video:   inf FPS 25.70 ms/f
 40.72s, 1921 F, avrg game: 47.18 FPS 21.20 ms/f, avrg video: 82.99 FPS 12.05 ms/f, last video:   inf FPS 22.60 ms/f
 41.73s, 1976 F, avrg game: 47.35 FPS 21.12 ms/f, avrg video: 83.54 FPS 11.97 ms/f, last video:   inf FPS 4.79 ms/f
 42.75s, 2024 F, avrg game: 47.35 FPS 21.12 ms/f, avrg video: 83.64 FPS 11.96 ms/f, last video:   inf FPS 8.59 ms/f
 43.76s, 2070 F, avrg game: 47.30 FPS 21.14 ms/f, avrg video: 83.62 FPS 11.96 ms/f, last video:   inf FPS 3.66 ms/f
 44.78s, 2119 F, avrg game: 47.32 FPS 21.13 ms/f, avrg video: 83.74 FPS 11.94 ms/f, last video:   inf FPS 22.05 ms/f
Average speed: 78.74% (36 seconds)
sdl_kill: closing audio
Sound buffer: overflows=23 underflows=26
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 
SwitchRes: xrandr original video mode restored.
