libretro / glsl-shaders

This repo is for glsl shaders converted by hand from libretro's common-shaders repo, since some don't play nicely with the cg2glsl script.
907 stars 222 forks source link

[Android] Why i cant use all options for 3d stereoscopic shader? #124

Open MarceloMachadoxD opened 4 years ago

MarceloMachadoxD commented 4 years ago

At Xiaomi Redmi Note 7 why I just can use the 3d shuttering from 3 different 3d stereoscopic avaliable shaders?

Android 9 Retroarch 1.8.9 The same issue to 32 and 64 bits version Just woking with open gl vídeo driver

Tested cores Parallel 64 Mgba Genesis gx Beetle psx Yabasanshiro Fbalpha 2012 Fbneo Atari stella 2600(2014) Wii dolphin Snes 9x 2010 Bsnes hd beta Ppsspp

doctor-amaton commented 4 years ago

So, are you experiencing an error when you try to load the stereoscopic (3D) shaders? I don't understand this issue very well.

MarceloMachadoxD commented 4 years ago

Follow the screenshots

Screenshot_2020-07-24-14-49-16-035_com.retroarch.aarch64.jpg

Screenshot_2020-07-24-14-49-29-576_com.retroarch.aarch64.jpg

Just the shuttering shader option load Screenshot_2020-07-24-14-49-42-410_com.retroarch.aarch64.jpg

MarceloMachadoxD commented 4 years ago

Log file debugging level0

[CORE]: Using content: /storage/emulated/0/roms/Psx/Mega Man Legends/Mega Man Legends.cue. [CORE]: Arg #0: retroarch [CORE]: Arg #1: /storage/emulated/0/roms/Psx/Mega Man Legends/Mega Man Legends.cue [CORE]: Arg #2: -s [CORE]: Arg #3: /storage/emulated/0/RetroArch/saves [CORE]: Arg #4: -S [CORE]: Arg #5: /storage/emulated/0/RetroArch/states [CORE]: Arg #6: -c [CORE]: Arg #7: /storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg [CORE]: Arg #8: -v Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [CORE]: Unloading core.. [CORE]: Unloading core symbols.. Threaded video stats: Frames pushed: 2575, Frames dropped: 0. RetroArch 1.8.9 (Git 4c6b139) [Overrides]: Redirecting save file to "/storage/emulated/0/RetroArch/saves/Mega Man Legends.srm". [Overrides]: Redirecting save state to "/storage/emulated/0/RetroArch/states/Mega Man Legends.state". === Build ======================================= Capabilities: ASIMD [INFO] Built: Jun 19 2020 [INFO] Version: 1.8.9 [INFO] Git: 4c6b139 [INFO] ================================================= jni_thread_destruct() [CORE]: Loading dynamic libretro core from: "/data/user/0/com.retroarch.aarch64/cores/mednafen_psx_libretro_android.so" [Overrides]: No core-specific overrides found at /storage/emulated/0/RetroArch/config/Beetle PSX/Beetle PSX.cfg. [Overrides]: No content-dir-specific overrides found at /storage/emulated/0/RetroArch/config/Beetle PSX/Mega Man Legends.cfg. [Overrides]: No game-specific overrides found at /storage/emulated/0/RetroArch/config/Beetle PSX/Mega Man Legends.cfg.

Environ: GET_LANGUAGE: "0".

Per-Game Options: game-specific core options found at /storage/emulated/0/RetroArch/config/Beetle PSX/Mega Man Legends.opt Core requested VFS version >= v1, providing v3

Controller port: 1 PlayStation Controller (ID: 1) DualShock (ID: 517) Analog Controller (ID: 261) Analog Joystick (ID: 773) Guncon / G-Con 45 (ID: 260) Justifier (ID: 516) Mouse (ID: 258) neGcon (ID: 1029) (null) (ID: 0) Controller port: 2 PlayStation Controller (ID: 1) DualShock (ID: 517) Analog Controller (ID: 261) Analog Joystick (ID: 773) Guncon / G-Con 45 (ID: 260) Justifier (ID: 516) Mouse (ID: 258) neGcon (ID: 1029) (null) (ID: 0) [Remaps]: remap directory: /storage/emulated/0/RetroArch/config/remaps [Overrides]: Redirecting save file to "/storage/emulated/0/RetroArch/saves/Mega Man Legends.srm". [Overrides]: Redirecting save state to "/storage/emulated/0/RetroArch/states/Mega Man Legends.state".

Environ: SYSTEM_DIRECTORY: "/storage/emulated/0/RetroArch/system".

Environ: PERFORMANCE_LEVEL: 15. [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own.

RetroPad, Port 1, Button "B (bottom)" => "Cross"
RetroPad, Port 1, Button "Y (left)" => "Square"
RetroPad, Port 1, Button "Select" => "Select"
RetroPad, Port 1, Button "Start" => "Start"
RetroPad, Port 1, Button "D-Pad Up" => "D-Pad Up"
RetroPad, Port 1, Button "D-Pad Down" => "D-Pad Down"
RetroPad, Port 1, Button "D-Pad Left" => "D-Pad Left"
RetroPad, Port 1, Button "D-Pad Right" => "D-Pad Right"
RetroPad, Port 1, Button "A (right)" => "Circle"
RetroPad, Port 1, Button "X (up)" => "Triangle"
RetroPad, Port 1, Button "L" => "L1"
RetroPad, Port 1, Button "R" => "R1"
RetroPad, Port 1, Button "L2" => "L2"
RetroPad, Port 1, Button "R2" => "R2"
RetroPad, Port 1, Button "L3" => "L3"
RetroPad, Port 1, Button "R3" => "R3"
RetroPad, Port 2, Button "B (bottom)" => "Cross"
RetroPad, Port 2, Button "Y (left)" => "Square"
RetroPad, Port 2, Button "Select" => "Select"
RetroPad, Port 2, Button "Start" => "Start"
RetroPad, Port 2, Button "D-Pad Up" => "D-Pad Up"
RetroPad, Port 2, Button "D-Pad Down" => "D-Pad Down"
RetroPad, Port 2, Button "D-Pad Left" => "D-Pad Left"
RetroPad, Port 2, Button "D-Pad Right" => "D-Pad Right"
RetroPad, Port 2, Button "A (right)" => "Circle"
RetroPad, Port 2, Button "X (up)" => "Triangle"
RetroPad, Port 2, Button "L" => "L1"
RetroPad, Port 2, Button "R" => "R1"
RetroPad, Port 2, Button "L2" => "L2"
RetroPad, Port 2, Button "R2" => "R2"
RetroPad, Port 2, Button "L3" => "L3"
RetroPad, Port 2, Button "R3" => "R3"
RetroPad, Port 3, Button "B (bottom)" => "Cross"
RetroPad, Port 3, Button "Y (left)" => "Square"
RetroPad, Port 3, Button "Select" => "Select"
RetroPad, Port 3, Button "Start" => "Start"
RetroPad, Port 3, Button "D-Pad Up" => "D-Pad Up"
RetroPad, Port 3, Button "D-Pad Down" => "D-Pad Down"
RetroPad, Port 3, Button "D-Pad Left" => "D-Pad Left"
RetroPad, Port 3, Button "D-Pad Right" => "D-Pad Right"
RetroPad, Port 3, Button "A (right)" => "Circle"
RetroPad, Port 3, Button "X (up)" => "Triangle"
RetroPad, Port 3, Button "L" => "L1"
RetroPad, Port 3, Button "R" => "R1"
RetroPad, Port 3, Button "L2" => "L2"
RetroPad, Port 3, Button "R2" => "R2"
RetroPad, Port 3, Button "L3" => "L3"
RetroPad, Port 3, Button "R3" => "R3"
RetroPad, Port 4, Button "B (bottom)" => "Cross"
RetroPad, Port 4, Button "Y (left)" => "Square"
RetroPad, Port 4, Button "Select" => "Select"
RetroPad, Port 4, Button "Start" => "Start"
RetroPad, Port 4, Button "D-Pad Up" => "D-Pad Up"
RetroPad, Port 4, Button "D-Pad Down" => "D-Pad Down"
RetroPad, Port 4, Button "D-Pad Left" => "D-Pad Left"
RetroPad, Port 4, Button "D-Pad Right" => "D-Pad Right"
RetroPad, Port 4, Button "A (right)" => "Circle"
RetroPad, Port 4, Button "X (up)" => "Triangle"
RetroPad, Port 4, Button "L" => "L1"
RetroPad, Port 4, Button "R" => "R1"
RetroPad, Port 4, Button "L2" => "L2"
RetroPad, Port 4, Button "R2" => "R2"
RetroPad, Port 4, Button "L3" => "L3"
RetroPad, Port 4, Button "R3" => "R3"
RetroPad, Port 5, Button "B (bottom)" => "Cross"
RetroPad, Port 5, Button "Y (left)" => "Square"
RetroPad, Port 5, Button "Select" => "Select"
RetroPad, Port 5, Button "Start" => "Start"
RetroPad, Port 5, Button "D-Pad Up" => "D-Pad Up"
RetroPad, Port 5, Button "D-Pad Down" => "D-Pad Down"
RetroPad, Port 5, Button "D-Pad Left" => "D-Pad Left"
RetroPad, Port 5, Button "D-Pad Right" => "D-Pad Right"
RetroPad, Port 5, Button "A (right)" => "Circle"
RetroPad, Port 5, Button "X (up)" => "Triangle"
RetroPad, Port 5, Button "L" => "L1"
RetroPad, Port 5, Button "R" => "R1"
RetroPad, Port 5, Button "L2" => "L2"
RetroPad, Port 5, Button "R2" => "R2"
RetroPad, Port 5, Button "L3" => "L3"
RetroPad, Port 5, Button "R3" => "R3"

Rumble interface supported! Environ: SET_PIXEL_FORMAT: XRGB8888. Environ: GET_VARIABLE beetle_psx_cd_access_method: precache Environ: GET_VARIABLE beetle_psx_cpu_dynarec: execute Environ: GET_VARIABLE beetle_psx_dynarec_invalidate: full Environ: GET_VARIABLE beetle_psx_dynarec_eventcycles: 1024 Environ: GET_VARIABLE beetle_psx_cpu_freq_scale: 140 Environ: GET_VARIABLE beetle_psx_gte_overclock: enabled Environ: GET_VARIABLE beetle_psx_gpu_overclock: 4x Environ: GET_VARIABLE beetle_psx_skip_bios: disabled Environ: GET_VARIABLE beetle_psx_widescreen_hack: enabled Environ: GET_VARIABLE beetle_psx_pal_video_timing_override: disabled Environ: GET_VARIABLE beetle_psx_analog_calibration: disabled Environ: GET_VARIABLE beetle_psx_core_timing_fps: force_progressive Environ: GET_VARIABLE beetle_psx_aspect_ratio: corrected Environ: GET_VARIABLE beetle_psx_renderer: N/A Environ: GET_VARIABLE beetle_psx_internal_resolution: 1x(native) Environ: GET_VARIABLE beetle_psx_dither_mode: internal resolution Environ: GET_VARIABLE beetle_psx_pgxp_mode: memory only Environ: GET_VARIABLE beetle_psx_pgxp_vertex: N/A Environ: GET_VARIABLE beetle_psx_pgxp_texture: N/A Environ: GET_VARIABLE beetle_psx_line_render: default Environ: GET_VARIABLE beetle_psx_filter: N/A Environ: GET_VARIABLE beetle_psx_analog_toggle: disabled Environ: GET_VARIABLE beetle_psx_enable_multitap_port1: disabled Environ: GET_VARIABLE beetle_psx_enable_multitap_port2: disabled Environ: GET_VARIABLE beetle_psx_mouse_sensitivity: 100 Environ: GET_VARIABLE beetle_psx_gun_cursor: cross Environ: GET_VARIABLE beetle_psx_gun_input_mode: lightgun Environ: GET_VARIABLE beetle_psx_negcon_deadzone: 0 Environ: GET_VARIABLE beetle_psx_negcon_response: linear Environ: GET_VARIABLE beetle_psx_initial_scanline: 0 Environ: GET_VARIABLE beetle_psx_last_scanline: 239 Environ: GET_VARIABLE beetle_psx_initial_scanline_pal: 0 Environ: GET_VARIABLE beetle_psx_last_scanline_pal: 287

Controller port: 1 PlayStation Controller (ID: 1) DualShock (ID: 517) Analog Controller (ID: 261) Analog Joystick (ID: 773) Guncon / G-Con 45 (ID: 260) Justifier (ID: 516) Mouse (ID: 258) neGcon (ID: 1029) (null) (ID: 0) Controller port: 2 PlayStation Controller (ID: 1) DualShock (ID: 517) Analog Controller (ID: 261) Analog Joystick (ID: 773) Guncon / G-Con 45 (ID: 260) Justifier (ID: 516) Mouse (ID: 258) neGcon (ID: 1029) (null) (ID: 0) Environ: GET_VARIABLE beetle_psx_use_mednafen_memcard0_method: libretro Environ: GET_VARIABLE beetle_psx_enable_memcard1: enabled Environ: GET_VARIABLE beetle_psx_shared_memory_cards: disabled Environ: GET_VARIABLE beetle_psx_frame_duping: enabled Environ: GET_CAN_DUPE: true Environ: GET_VARIABLE beetle_psx_display_internal_fps: disabled Environ: GET_VARIABLE beetle_psx_crop_overscan: enabled Environ: GET_VARIABLE beetle_psx_image_offset: disabled Environ: GET_VARIABLE beetle_psx_image_crop: disabled Environ: GET_VARIABLE beetle_psx_cd_fastload: 2x(native) Environ: GET_VARIABLE beetle_psx_memcard_left_index: 0 Environ: GET_VARIABLE beetle_psx_memcard_right_index: 1 Loading /storage/emulated/0/roms/Psx/Mega Man Legends/Mega Man Legends.cue... CD 1 Layout: Track 1, LBA: 0 DATA Track 2, LBA: 207295 AUDIO Leadout: 223045 Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port1.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port2.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port3.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port4.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port5.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port6.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port7.gun_chairs

Environ: SET_MESSAGE_EXT: unhandled setting UI: psx.input.port8.gun_chairs

Checking if required firmware is present... Firmware found: /storage/emulated/0/RetroArch/system/SCPH-5501.bin Firmware SHA1: 0555C6FAE8906F3F09BAF5988F00E55F88E9F30B Lightrec map addresses: M=0x40000000, P=0x74e4c03e40, R=0x5fc00000, H=0x5f800000 Environ: GET_VARIABLE beetle_psx_renderer: N/A

[SRAM]: Skipping SRAM load.. Version of libretro API: 1 [INFO] Compiled against API: 1 [Cheats]: Load game-specific cheatfile: /storage/emulated/0/RetroArch/cheats/Beetle PSX/Mega Man Legends.cht [Audio]: Set audio input rate to: 44228.26 Hz. [Video]: Video @ 1281x720 [Video]: Starting threaded video driver ... Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.5 [GL]: Found GL context: android [GL]: Detecting screen resolution 0x0. [EGL]: Current context: 0x756feea080. [GL]: Vendor: Qualcomm, Renderer: Adreno (TM) 512. [GL]: Version: OpenGL ES 3.2 V@415.0 (GIT@f2ab992, I401605978b, 1569657027) (Date:09/28/19). [GL]: Using resolution 1080x2261 [GL]: Default shader backend found: glsl. [Shaders]: Specific shader preset found at /storage/emulated/0/RetroArch/config/Beetle PSX/Mega Man Legends.glslp. [Shader driver]: Using GLSL shader backend. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 4 textures. [GL]: Loaded 3 program(s). [GL]: Creating FBO 0 @ 1024x1024 [GL]: Creating FBO 1 @ 1024x1024 [GL]: Creating FBO 2 @ 1024x1024 [Joypad]: Found joypad driver: "android". [Font]: Using font rendering backend: stb-unicode. [Video]: Found display server: android [Shaders]: Found shader "/data/user/0/com.retroarch.aarch64/shaders/retroarch.glslp" [OpenSL]: Requested audio latency: 128 ms.[OpenSL]: Setting audio latency: Block size = 768, Blocks = 32, Total = 24576 ... [Display]: Found display driver: "gl". [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [Font]: Using font rendering backend: stb-unicode. [LED]: LED driver = 'null' 0x7511dd4148 [MIDI]: Input disabled. [MIDI]: Output disabled. [MIDI]: Initialized "null" driver. Controller 1: PlayStation Controller Controller 2: PlayStation Controller [Playlist]: Loading history file: [/data/user/0/com.retroarch.aarch64/content_history.lpl]. [Playlist]: Loading history file: [/data/user/0/com.retroarch.aarch64/content_music_history.lpl]. [Playlist]: Loading history file: [/data/user/0/com.retroarch.aarch64/content_image_history.lpl]. [Playlist]: Loading favorites file: [/data/user/0/com.retroarch.aarch64/content_favorites.lpl]. [Playlist]: Written to playlist file: /data/user/0/com.retroarch.aarch64/content_history.lpl [Shader driver]: Using GLSL shader backend. [Shaders]: Found #pragma parameter Anaglyph Color Mode (anaglyph_mode) 1.000000 1.000000 6.000000 1.000000 in pass 0 [Shaders]: Found #pragma parameter Eye Separation (eye_sep) 0.350000 -1.000000 5.000000 0.050000 in pass 0 [Shaders]: Found #pragma parameter Vertical Placement (y_loc) 0.350000 -1.000000 1.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Horizontal Placement (BOTH) 0.750000 -2.000000 2.000000 0.005000 in pass 0 [Shaders]: Found #pragma parameter Zoom (ana_zoom) 0.750000 -2.000000 2.000000 0.050000 in pass 0 [Shaders]: Found #pragma parameter Image Width (WIDTH) 3.050000 1.000000 7.000000 0.050000 in pass 0 [Shaders]: Found #pragma parameter Image Height (HEIGHT) 2.000000 1.000000 5.000000 0.100000 in pass 0 [Shaders]: Found #pragma parameter Red Palette Toggle (palette) 0.000000 0.000000 1.000000 1.000000 in pass 0 [Shaders]: Found #pragma parameter Lens Warp Correction X (warpX) 0.300000 0.000000 0.500000 0.050000 in pass 0 [Shaders]: Found #pragma parameter Lens Warp Correction Y (warpY) 0.300000 0.000000 0.500000 0.050000 in pass 0 [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. Shader log: ERROR: 0:133: '<' : wrong operand types no operation '<' exists that takes a left-hand operand of type 'varying float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:134: '!=' : wrong operand types no operation '!=' exists that takes a left-hand operand of type 'varying float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:134: 'assign' : cannot convert from 'float' to '3-component vector of float' ERROR: 3 compilation errors. No code generated.

Failed to compile fragment shader #0 Failed to link program #0. Failed to create GL program #0. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. GL: Invalid operation. Detected GL error in GLSL. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Failed to set multipass shader. Falling back to stock. [Shader driver]: Using GLSL shader backend. [Shaders]: Invalid wrapping type edge. Valid ones are: clamp_to_border (default), clamp_to_edge, repeat and mirrored_repeat. Falling back to default. [Shaders]: Found #pragma parameter Zoom (ZOOM) 1.000000 0.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Vertical Modifier (vert_pos) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Horizontal Modifier (horz_pos) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Eye Separation (separation) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Hold Last Frame (reduce flicker) (flicker) 0.000000 0.000000 1.000000 0.250000 in pass 0 [Shaders]: Found #pragma parameter Image Height (height_mod) 1.000000 0.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Swap Eye Sequence (swap_eye) 0.000000 0.000000 1.000000 1.000000 in pass 0 [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. Setting Menu shader: /data/user/0/com.retroarch.aarch64/shaders/shaders_glsl/stereoscopic-3d/shutter-to-side-by-side.glslp. [Shaders]: Invalid wrapping type edge. Valid ones are: clamp_to_border (default), clamp_to_edge, repeat and mirrored_repeat. Falling back to default. [Shaders]: Found #pragma parameter Zoom (ZOOM) 1.000000 0.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Vertical Modifier (vert_pos) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Horizontal Modifier (horz_pos) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Eye Separation (separation) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Hold Last Frame (reduce flicker) (flicker) 0.000000 0.000000 1.000000 0.250000 in pass 0 [Shaders]: Found #pragma parameter Image Height (height_mod) 1.000000 0.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Swap Eye Sequence (swap_eye) 0.000000 0.000000 1.000000 1.000000 in pass 0 Applying shader "/data/user/0/com.retroarch.aarch64/shaders/shaders_glsl/stereoscopic-3d/shutter-to-side-by-side.glslp". Setting Menu shader: /data/user/0/com.retroarch.aarch64/shaders/shaders_glsl/stereoscopic-3d/shutter-to-side-by-side.glslp. [Shaders]: Invalid wrapping type edge. Valid ones are: clamp_to_border (default), clamp_to_edge, repeat and mirrored_repeat. Falling back to default. [Shaders]: Found #pragma parameter Zoom (ZOOM) 1.000000 0.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Vertical Modifier (vert_pos) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Horizontal Modifier (horz_pos) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Eye Separation (separation) 0.000000 -2.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Hold Last Frame (reduce flicker) (flicker) 0.000000 0.000000 1.000000 0.250000 in pass 0 [Shaders]: Found #pragma parameter Image Height (height_mod) 1.000000 0.000000 2.000000 0.010000 in pass 0 [Shaders]: Found #pragma parameter Swap Eye Sequence (swap_eye) 0.000000 0.000000 1.000000 1.000000 in pass 0 [Shader driver]: Using GLSL shader backend. [CGP/GLSLP]: Parameter eye_sep is set in the preset, but no shader uses this parameter, ignoring. [CGP/GLSLP]: Parameter y_loc is set in the preset, but no shader uses this parameter, ignoring. [CGP/GLSLP]: Parameter ana_zoom is set in the preset, but no shader uses this parameter, ignoring. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. Failed to load GLSL shader: /data/user/0/com.retroarch.aarch64/shaders/shaders_glsl/stereoscopic-3d/side-by-side-simple.glsl. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Failed to set multipass shader. Falling back to stock. Pause: 0x756366e940 WindowFocusChanged: 0x756366e940 -- 0 NativeWindowDestroyed: 0x756366e940 -- 0x7563859010 Stop: 0x756366e940 SaveInstanceState: 0x756366e940 InputQueueDestroyed: 0x756366e940 -- 0x756366ea80 onDestroy: 0x756366e940

rbreaves commented 3 years ago

The normal side by side shader did have a missing path. Not sure why the others wouldn't load for you, they did on my iphone, but the defaults were definitely not designed for my phone. Submitted a fix for the bad path here.

https://github.com/libretro/glsl-shaders/pull/130

I think some of the parameter names were poorly decided. y_loc was good but then the other axis ended up being called "BOTH" in all caps when I was expecting x_loc... based on logic before having looked at the source.

MarceloMachadoxD commented 3 years ago

The normal side by side shader did have a missing path. Not sure why the others wouldn't load for you, they did on my iphone, but the defaults were definitely not designed for my phone. Submitted a fix for the bad path here.

130

I think some of the parameter names were poorly decided. y_loc was good but then the other axis ended up being called "BOTH" in all caps when I was expecting x_loc... based on logic before having looked at the source.

thanks guy, i need wait until it merge to master branch to test?

rbreaves commented 3 years ago

The normal side by side shader did have a missing path. Not sure why the others wouldn't load for you, they did on my iphone, but the defaults were definitely not designed for my phone. Submitted a fix for the bad path here.

130

I think some of the parameter names were poorly decided. y_loc was good but then the other axis ended up being called "BOTH" in all caps when I was expecting x_loc... based on logic before having looked at the source.

thanks guy, i need wait until it merge to master branch to test?

I don't actually know, depends on what their upstream process is like - it has been merged on this particular repo, but I have no idea how frequently they then rebuild the beta or stable builds of RetroArch itself. It might be there and it might not.

If not you can go through the trouble of finding the install path of your shaders and create the files themselves, however you want to go about doing that.. email, adb, a messenger app.. snapdrop.net, etc.

The files with the full update were actually on #132 and was merged 11 days ago, but again no idea when RetroArch rebuilds.

https://github.com/libretro/glsl-shaders/pull/132/files

If this does solve your problem though then this ticket might be as good as closed.

rbreaves commented 3 years ago

You will need to change your emulator's core aspect ratio to 16x9 in the settings otherwise it will possibly squash your output to 4:3. Not aware if it is possible to update the shader to reset a core's aspect ratio.

hizzlekizzle commented 3 years ago

Shaders can't set the frontend's aspect ratio, no. It would be nice, though.