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) (0x502) 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 -nowaitvsync
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
  0.03s,    1 F, avrg game: 29.51 FPS 33.89 ms/f, avrg video: 270.72 FPS 3.69 ms/f, last video:   inf FPS 2.06 ms/f
  1.04s,   31 F, avrg game: 29.89 FPS 33.46 ms/f, avrg video: 527.83 FPS 1.89 ms/f, last video:   inf FPS 1.47 ms/f
  2.04s,   61 F, avrg game: 29.88 FPS 33.47 ms/f, avrg video: 539.78 FPS 1.85 ms/f, last video:   inf FPS 2.09 ms/f
  3.05s,   91 F, avrg game: 29.88 FPS 33.47 ms/f, avrg video: 545.24 FPS 1.83 ms/f, last video:   inf FPS 1.62 ms/f
  4.05s,  121 F, avrg game: 29.88 FPS 33.47 ms/f, avrg video: 546.27 FPS 1.83 ms/f, last video:   inf FPS 1.90 ms/f
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
  5.06s,  151 F, avrg game: 29.82 FPS 33.53 ms/f, avrg video: 559.41 FPS 1.79 ms/f, last video:   inf FPS 1.02 ms/f
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
  6.07s,  212 F, avrg game: 34.92 FPS 28.64 ms/f, avrg video: 668.40 FPS 1.50 ms/f, last video:   inf FPS 0.74 ms/f
  7.07s,  272 F, avrg game: 38.47 FPS 26.00 ms/f, avrg video: 739.75 FPS 1.35 ms/f, last video:   inf FPS 0.88 ms/f
  8.07s,  332 F, avrg game: 41.12 FPS 24.32 ms/f, avrg video: 803.58 FPS 1.24 ms/f, last video:   inf FPS 0.75 ms/f
  9.09s,  393 F, avrg game: 43.24 FPS 23.13 ms/f, avrg video: 858.86 FPS 1.16 ms/f, last video:   inf FPS 0.79 ms/f
 10.11s,  454 F, avrg game: 44.93 FPS 22.26 ms/f, avrg video: 903.20 FPS 1.11 ms/f, last video:   inf FPS 0.79 ms/f
 11.12s,  515 F, avrg game: 46.32 FPS 21.59 ms/f, avrg video: 940.85 FPS 1.06 ms/f, last video:   inf FPS 0.77 ms/f
 12.12s,  575 F, avrg game: 47.44 FPS 21.08 ms/f, avrg video: 974.34 FPS 1.03 ms/f, last video:   inf FPS 0.70 ms/f
 13.13s,  636 F, avrg game: 48.43 FPS 20.65 ms/f, avrg video: 1005.78 FPS 0.99 ms/f, last video:   inf FPS 0.66 ms/f
 14.15s,  697 F, avrg game: 49.26 FPS 20.30 ms/f, avrg video: 1032.85 FPS 0.97 ms/f, last video:   inf FPS 0.82 ms/f
 15.15s,  757 F, avrg game: 49.97 FPS 20.01 ms/f, avrg video: 1055.35 FPS 0.95 ms/f, last video:   inf FPS 0.74 ms/f
 16.16s,  818 F, avrg game: 50.62 FPS 19.75 ms/f, avrg video: 1078.62 FPS 0.93 ms/f, last video:   inf FPS 0.82 ms/f
 17.17s,  879 F, avrg game: 51.19 FPS 19.53 ms/f, avrg video: 1088.01 FPS 0.92 ms/f, last video:   inf FPS 0.91 ms/f
 18.18s,  940 F, avrg game: 51.69 FPS 19.35 ms/f, avrg video: 1098.07 FPS 0.91 ms/f, last video:   inf FPS 0.80 ms/f
 19.20s, 1001 F, avrg game: 52.13 FPS 19.18 ms/f, avrg video: 1104.34 FPS 0.91 ms/f, last video:   inf FPS 1.01 ms/f
 20.20s, 1061 F, avrg game: 52.52 FPS 19.04 ms/f, avrg video: 1116.54 FPS 0.90 ms/f, last video:   inf FPS 0.77 ms/f
 21.22s, 1122 F, avrg game: 52.88 FPS 18.91 ms/f, avrg video: 1129.75 FPS 0.89 ms/f, last video:   inf FPS 0.68 ms/f
 22.24s, 1183 F, avrg game: 53.20 FPS 18.80 ms/f, avrg video: 1142.59 FPS 0.88 ms/f, last video:   inf FPS 0.60 ms/f
 23.25s, 1244 F, avrg game: 53.50 FPS 18.69 ms/f, avrg video: 1152.98 FPS 0.87 ms/f, last video:   inf FPS 0.64 ms/f
 24.26s, 1305 F, avrg game: 53.79 FPS 18.59 ms/f, avrg video: 1163.42 FPS 0.86 ms/f, last video:   inf FPS 0.63 ms/f
 25.28s, 1366 F, avrg game: 54.04 FPS 18.51 ms/f, avrg video: 1172.43 FPS 0.85 ms/f, last video:   inf FPS 0.82 ms/f
 26.28s, 1426 F, avrg game: 54.26 FPS 18.43 ms/f, avrg video: 1180.05 FPS 0.85 ms/f, last video:   inf FPS 0.66 ms/f
 27.29s, 1487 F, avrg game: 54.48 FPS 18.36 ms/f, avrg video: 1188.68 FPS 0.84 ms/f, last video:   inf FPS 0.73 ms/f
 28.30s, 1548 F, avrg game: 54.69 FPS 18.28 ms/f, avrg video: 1197.26 FPS 0.84 ms/f, last video:   inf FPS 0.65 ms/f
 29.31s, 1608 F, avrg game: 54.86 FPS 18.23 ms/f, avrg video: 1203.96 FPS 0.83 ms/f, last video:   inf FPS 0.64 ms/f
 30.32s, 1669 F, avrg game: 55.04 FPS 18.17 ms/f, avrg video: 1210.49 FPS 0.83 ms/f, last video:   inf FPS 0.64 ms/f
 31.34s, 1730 F, avrg game: 55.20 FPS 18.11 ms/f, avrg video: 1215.92 FPS 0.82 ms/f, last video:   inf FPS 0.60 ms/f
 32.35s, 1791 F, avrg game: 55.36 FPS 18.06 ms/f, avrg video: 1223.29 FPS 0.82 ms/f, last video:   inf FPS 0.72 ms/f
 33.36s, 1852 F, avrg game: 55.51 FPS 18.01 ms/f, avrg video: 1228.66 FPS 0.81 ms/f, last video:   inf FPS 0.75 ms/f
 34.36s, 1912 F, avrg game: 55.64 FPS 17.97 ms/f, avrg video: 1233.53 FPS 0.81 ms/f, last video:   inf FPS 0.76 ms/f
 35.38s, 1973 F, avrg game: 55.77 FPS 17.93 ms/f, avrg video: 1238.02 FPS 0.81 ms/f, last video:   inf FPS 0.76 ms/f
 36.38s, 2033 F, avrg game: 55.88 FPS 17.90 ms/f, avrg video: 1242.81 FPS 0.80 ms/f, last video:   inf FPS 0.64 ms/f
 37.39s, 2094 F, avrg game: 56.00 FPS 17.86 ms/f, avrg video: 1247.80 FPS 0.80 ms/f, last video:   inf FPS 0.87 ms/f
 38.41s, 2155 F, avrg game: 56.11 FPS 17.82 ms/f, avrg video: 1251.63 FPS 0.80 ms/f, last video:   inf FPS 0.74 ms/f
 39.42s, 2216 F, avrg game: 56.21 FPS 17.79 ms/f, avrg video: 1255.11 FPS 0.80 ms/f, last video:   inf FPS 0.64 ms/f
 40.44s, 2277 F, avrg game: 56.30 FPS 17.76 ms/f, avrg video: 1258.31 FPS 0.79 ms/f, last video:   inf FPS 0.64 ms/f
 41.45s, 2338 F, avrg game: 56.40 FPS 17.73 ms/f, avrg video: 1261.79 FPS 0.79 ms/f, last video:   inf FPS 0.82 ms/f
 42.47s, 2399 F, avrg game: 56.49 FPS 17.70 ms/f, avrg video: 1264.28 FPS 0.79 ms/f, last video:   inf FPS 0.72 ms/f
 43.48s, 2460 F, avrg game: 56.57 FPS 17.68 ms/f, avrg video: 1267.90 FPS 0.79 ms/f, last video:   inf FPS 0.80 ms/f
 44.50s, 2521 F, avrg game: 56.65 FPS 17.65 ms/f, avrg video: 1271.89 FPS 0.79 ms/f, last video:   inf FPS 0.60 ms/f
 45.51s, 2582 F, avrg game: 56.73 FPS 17.63 ms/f, avrg video: 1274.58 FPS 0.78 ms/f, last video:   inf FPS 0.77 ms/f
 46.51s, 2642 F, avrg game: 56.80 FPS 17.61 ms/f, avrg video: 1277.98 FPS 0.78 ms/f, last video:   inf FPS 0.61 ms/f
 47.52s, 2703 F, avrg game: 56.88 FPS 17.58 ms/f, avrg video: 1280.96 FPS 0.78 ms/f, last video:   inf FPS 0.73 ms/f
 48.53s, 2763 F, avrg game: 56.94 FPS 17.56 ms/f, avrg video: 1283.55 FPS 0.78 ms/f, last video:   inf FPS 0.60 ms/f
 49.54s, 2824 F, avrg game: 57.01 FPS 17.54 ms/f, avrg video: 1286.06 FPS 0.78 ms/f, last video:   inf FPS 0.79 ms/f
 50.56s, 2885 F, avrg game: 57.06 FPS 17.52 ms/f, avrg video: 1287.75 FPS 0.78 ms/f, last video:   inf FPS 0.73 ms/f
 51.57s, 2946 F, avrg game: 57.12 FPS 17.51 ms/f, avrg video: 1289.22 FPS 0.78 ms/f, last video:   inf FPS 0.81 ms/f
 52.59s, 3007 F, avrg game: 57.18 FPS 17.49 ms/f, avrg video: 1290.58 FPS 0.77 ms/f, last video:   inf FPS 0.60 ms/f
 53.60s, 3068 F, avrg game: 57.24 FPS 17.47 ms/f, avrg video: 1292.58 FPS 0.77 ms/f, last video:   inf FPS 0.69 ms/f
Average speed: 100.00% (48 seconds)
sdl_kill: closing audio
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 
SwitchRes: xrandr original video mode restored.
