Skip to content

Instantly share code, notes, and snippets.

RetroArch [INFO] :: Environ GET_VARIABLE rustation_internal_upscale_factor:
RetroArch [INFO] :: 2
RetroArch [INFO] :: Environ SET_SYSTEM_AV_INFO.
RetroArch [libretro DEBUG] :: OpenGL context destroy
RetroArch [INFO] :: [X11]: Xinerama version: 1.1.
RetroArch [INFO] :: [X11]: Xinerama screens: 1.
RetroArch [INFO] :: [X11]: Saved monitor #0.
RetroArch [INFO] :: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
RetroArch [INFO] :: Set audio input rate to: 44240.07 Hz.
RetroArch [INFO] :: Found shader "/home/simias/.config/retroarch/shaders/retroarch.cgp"
RetroArch [INFO] :: Loading content file: /home/simias/sync/roms/gb/Picross 2 (Japan) (SGB Enhanced).gb.
retro_read_file: Failed to open /home/simias/sync/roms/gb/Picross 2 (Japan) (SGB Enhanced).ips: No such file or directory
retro_read_file: Failed to open /home/simias/sync/roms/gb/Picross 2 (Japan) (SGB Enhanced).bps: No such file or directory
retro_read_file: Failed to open /home/simias/sync/roms/gb/Picross 2 (Japan) (SGB Enhanced).ups: No such file or directory
RetroArch [INFO] :: Did not find a valid content patch.
retro_read_file: Failed to open {: No such file or directory
RetroArch [INFO] :: Loading state: "{".
RetroArch [ERROR] :: Failed to load state from "{".
RetroArch [INFO] :: CRC32: 0xf5aa5902 .
RetroArch [INFO] :: Skipping SRAM load..
@simias
simias / log.txt
Last active January 22, 2016 19:11
RetroArch [INFO] :: Config: loading config from: /home/simias/.config/retroarch/retroarch.cfg.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: Threaded rarch_task started
RetroArch [INFO] :: Set audio input rate to: 29999.99 Hz.
RetroArch [INFO] :: Found shader "/home/simias/.config/retroarch/shaders/retroarch.cgp"
RetroArch [INFO] :: Video @ 320x240
RetroArch [INFO] :: Found GL context: glx
RetroArch [INFO] :: Detecting screen resolution 1200x1920.
Target framebuffer size: 2048x1920
RetroArch [INFO] :: Environ SET_GEOMETRY.
RetroArch [INFO] :: SET_GEOMETRY: 2048x1920, aspect: 1.333.
DrawBuffer::bind() - BINDING BUFFER ID 50 AS A GL_ARRAY_BUFFER
DrawBuffer::bind() - BINDING BUFFER ID 50 AS A GL_ARRAY_BUFFER
DrawBuffer::draw() - BUFFER ID 50
DrawBuffer::draw() - BINDING VAO ID 4
DrawBuffer::draw() - BINDING PROGRAM ID 15
DrawBuffer::bind() - BINDING BUFFER ID 49 AS A GL_ARRAY_BUFFER
DrawBuffer::bind() - BINDING BUFFER ID 49 AS A GL_ARRAY_BUFFER
** Timing model
Those are all very approximate timings, they can vary by a significant
amount between calls.
| Step | Duration (CPU cycles) |
|------------------------------------------+-----------------------|
| Command register write -> param transfer | [9400; 1540][fn:1] |
| Param transfer (if any) | 1800 * n |
| Command execution | 2000 |
==12422== Use of uninitialised value of size 8
==12422== at 0x9408653: tolower (in /lib/x86_64-linux-gnu/libc-2.22.so)
==12422== by 0x4C2D90D: strcasecmp (vg_replace_strmem.c:687)
==12422== by 0x420A32: string_list_find_elem_prefix (string_list.c:270)
==12422== by 0x41F587: parse_dir_entry (dir_list.c:113)
==12422== by 0x420A32: string_list_find_elem_prefix (string_list.c:270)
==12422== by 0x41F587: parse_dir_entry (dir_list.c:113)
==12422== by 0x41F587: dir_list_new (dir_list.c:193)
==12422== by 0x420D44: dir_list_new_special (list_special.c:112)
==12422== by 0x418C52: shader_dir_init (runloop.c:292)
RetroArch [INFO] :: [Shader driver]: Using Cg shader backend.
RetroArch [ERROR] :: Invalid profile type
RetroArch [INFO] :: CG: Destroying programs.
RetroArch [ERROR] :: [GL]: Failed to initialize shader, falling back to stock.
RetroArch [INFO] :: [Shader driver]: Using Cg shader backend.
RetroArch [ERROR] :: Invalid profile type
RetroArch [INFO] :: CG: Destroying programs.
RetroArch [ERROR] :: [GL]: Shader initialization failed.
RetroArch [ERROR] :: Cannot open video driver ... Exiting ...
RetroArch [ERROR] :: Fatal error received in: "init_video()"
Those are all very approximate timings, they can vary by a significant
amount between calls.
| Step | Duration (CPU cycles) |
|------------------------------------------+-----------------------|
| Command register write -> param transfer | [9400; 15400][fn:1] |
| Param transfer (if any) | 1800 * n |
| Command execution | 2000 |
| RX FIFO clear | 2000 |
| Push response | 1500 * n[fn:2] |
In file included from rustation-libretro/src/renderer/GlRenderer.h:5:0,
from rustation-libretro/src/renderer/GlRenderer.cpp:1:
rustation-libretro/src/renderer/../retrogl/buffer.h: In member function ‘void DrawBuffer<T>::push_slice(T*, size_t)’:
rustation-libretro/src/renderer/../retrogl/buffer.h:217:64: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available [-fpermissive]
printf("DrawBuffer::push_slice() - Out of memory\n");
^
rustation-libretro/src/renderer/../retrogl/buffer.h:217:64: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from rsx/../rustation-libretro/src/retrogl/../renderer/GlRenderer.h:5:0,
from rsx/../rustation-libretro/src/retrogl/retrogl.h:8,
from rsx/rsx_lib_gl.h:7,
Shader compilation failed:
#version 330 core
uniform sampler2D fb_texture; uniform uint dither_scaling; uniform uint draw_semi_transparent; uniform uint texture_flt; uniform uint tww; uniform uint twh; uniform uint twx; uniform uint twy; in vec3 frag_shading_color; flat in uvec2 frag_texture_page; in vec2 frag_texture_coord; flat in uvec2 frag_clut; flat in uint frag_texture_blend_mode; flat in uint frag_depth_shift; flat in uint frag_dither; flat in uint frag_semi_transparent; out vec4 frag_color; const uint BLEND_MODE_NO_TEXTURE = 0U; const uint BLEND_MODE_RAW_TEXTURE = 1U; const uint BLEND_MODE_TEXTURE_BLEND = 2U; const uint FILTER_MODE_NEAREST = 0U; const uint FILTER_MODE_3POINT = 1U; vec4 vram_get_pixel(int x, int y) { return texelFetch(fb_texture, ivec2(x & 0x3ff, y & 1ff), 0); } uint rebuild_psx_color(vec4 color) { uint a = uint(floor(color.a + 0.5)); uint r = uint(floor(color.r * 31. + 0.5)); uint g = uint(floor(color.g * 31. + 0.5)); uint b = uint(floor(color.b * 31. + 0.5)); return (a << 15) | (b <