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) (0x52c) 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 -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.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: 60.10 FPS 16.64 ms/f, avrg video: 45.25 FPS 22.10 ms/f, last video:   inf FPS 10.50 ms/f
  1.05s,   52 F, avrg game: 49.61 FPS 20.16 ms/f, avrg video: 64.98 FPS 15.39 ms/f, last video:   inf FPS 27.59 ms/f
  2.06s,  104 F, avrg game: 50.41 FPS 19.84 ms/f, avrg video: 66.18 FPS 15.11 ms/f, last video:   inf FPS 12.02 ms/f
  3.08s,  153 F, avrg game: 49.70 FPS 20.12 ms/f, avrg video: 70.25 FPS 14.24 ms/f, last video:   inf FPS 3.19 ms/f
  4.11s,  206 F, avrg game: 50.12 FPS 19.95 ms/f, avrg video: 76.43 FPS 13.08 ms/f, last video:   inf FPS 27.17 ms/f
  5.13s,  254 F, avrg game: 49.56 FPS 20.18 ms/f, avrg video: 78.85 FPS 12.68 ms/f, last video:   inf FPS 8.35 ms/f
  6.14s,  308 F, avrg game: 50.16 FPS 19.94 ms/f, avrg video: 82.96 FPS 12.05 ms/f, last video:   inf FPS 4.76 ms/f
  7.16s,  363 F, avrg game: 50.73 FPS 19.71 ms/f, avrg video: 86.58 FPS 11.55 ms/f, last video:   inf FPS 8.16 ms/f
  8.17s,  412 F, avrg game: 50.43 FPS 19.83 ms/f, avrg video: 87.61 FPS 11.41 ms/f, last video:   inf FPS 7.40 ms/f
  9.19s,  461 F, avrg game: 50.19 FPS 19.92 ms/f, avrg video: 88.37 FPS 11.32 ms/f, last video:   inf FPS 6.37 ms/f
 10.20s,  510 F, avrg game: 50.00 FPS 20.00 ms/f, avrg video: 88.82 FPS 11.26 ms/f, last video:   inf FPS 10.20 ms/f
 11.22s,  562 F, avrg game: 50.11 FPS 19.96 ms/f, avrg video: 88.64 FPS 11.28 ms/f, last video:   inf FPS 10.58 ms/f
 12.25s,  616 F, avrg game: 50.30 FPS 19.88 ms/f, avrg video: 88.86 FPS 11.25 ms/f, last video:   inf FPS 20.76 ms/f
 13.26s,  666 F, avrg game: 50.22 FPS 19.91 ms/f, avrg video: 86.83 FPS 11.52 ms/f, last video:   inf FPS 11.95 ms/f
 14.28s,  715 F, avrg game: 50.08 FPS 19.97 ms/f, avrg video: 84.69 FPS 11.81 ms/f, last video:   inf FPS 12.62 ms/f
 15.31s,  765 F, avrg game: 49.97 FPS 20.01 ms/f, avrg video: 82.89 FPS 12.06 ms/f, last video:   inf FPS 28.50 ms/f
 16.32s,  812 F, avrg game: 49.74 FPS 20.10 ms/f, avrg video: 81.30 FPS 12.30 ms/f, last video:   inf FPS 29.33 ms/f
 17.34s,  861 F, avrg game: 49.66 FPS 20.14 ms/f, avrg video: 81.47 FPS 12.27 ms/f, last video:   inf FPS 21.37 ms/f
 18.35s,  909 F, avrg game: 49.53 FPS 20.19 ms/f, avrg video: 81.69 FPS 12.24 ms/f, last video:   inf FPS 27.09 ms/f
 19.37s,  957 F, avrg game: 49.41 FPS 20.24 ms/f, avrg video: 81.92 FPS 12.21 ms/f, last video:   inf FPS 22.85 ms/f
 20.38s, 1007 F, avrg game: 49.40 FPS 20.24 ms/f, avrg video: 82.36 FPS 12.14 ms/f, last video:   inf FPS 8.34 ms/f
 21.40s, 1056 F, avrg game: 49.35 FPS 20.26 ms/f, avrg video: 82.57 FPS 12.11 ms/f, last video:   inf FPS 4.90 ms/f
 22.41s, 1105 F, avrg game: 49.30 FPS 20.28 ms/f, avrg video: 82.84 FPS 12.07 ms/f, last video:   inf FPS 27.35 ms/f
 23.45s, 1151 F, avrg game: 49.09 FPS 20.37 ms/f, avrg video: 82.69 FPS 12.09 ms/f, last video:   inf FPS 22.56 ms/f
Average speed: 81.58% (19 seconds)
sdl_kill: closing audio
Sound buffer: overflows=10 underflows=12
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 
SwitchRes: xrandr original video mode restored.
