Shader set for all emulators but not working on all
-
I'm using a Raspberry Pi 3 with the most recent Retropie and have Retropie set to output at 720p.
I've set a shader for all emulators in the retropie configuration editor (through the UI) but it doesn't seem to show on Master System, Megadrive or NES. It does work on SNES and PSX though, any idea why that might be?
-
https://github.com/RetroPie/RetroPie-Setup/wiki/Shaders-and-Smoothing
"Note: Shaders can only be used in Libretro emulators. Most default emulators in RetroPie are Libretro emulators, but you can confirm by looking for the lr- prefix in the emulator name via the Runcommand."
-
Yes both Master System and Megadrive emulators are lr-genesis-plus-gx or lr-picodrive while the NES emulator is lr-fceumm or lr-nestopia. I believe as far as being Libretro emulators they should work with the shader since I set it under the "Configure default options for all libretro emulators" option as in the URL
-
Appreciate any help in getting the shaders displaying
-
All the answers have been provided in this thread already. Part of the problem is that you didn't follow https://retropie.org.uk/forum/topic/3/read-this-first to enable the community to assist you. So to enable further support to happen you should post the list as requested, provide copies of your config files and describe what you tried based on the previous advice. Every detail matters with regards to this including every little change of syntax in these configuration files that you may or may not have altered.
-
it sounds like it should work from what you've done, so it must be something strange with the configs.
let's start with NES - can you please post the following cfgs?
/opt/retropie/configs/all/retroarch.cfg /opt/retropie/configs/nes/retroarch.cfg
-
This post is deleted! -
/opt/retropie/configs/nes/retroarch.cfg
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/nes/" #include "/opt/retropie/configs/all/retroarch.cfg"
/opt/retropie/configs/all/retroarch.cfg
I removed all of the "input_player"= "nul" entries to fit.cache_directory = "/tmp/retroarch" core_options_path = "/opt/retropie/configs/all/retroarch-core-options.cfg" system_directory = "~/RetroPie/BIOS" config_save_on_exit = "false" video_fullscreen_x = "960" video_fullscreen_y = "720" video_threaded = "true" video_smooth = "false" video_aspect_ratio_auto = "true" video_shader = "/opt/retropie/emulators/retroarch/shader/crt-caligari.glslp" video_shader_enable = "true" video_font_size = "12.000000" input_joypad_driver = "udev" input_autodetect_enable = "true" input_player1_a = "x" input_player1_b = "z" input_player1_y = "a" input_player1_x = "s" input_player1_start = "enter" input_player1_select = "rshift" input_player1_l = "q" input_player1_r = "w" input_player1_left = "left" input_player1_right = "right" input_player1_up = "up" input_player1_down = "down" input_exit_emulator = "escape" input_shader_next = "m" input_shader_prev = "n" input_rewind = "r" all_users_control_menu = "true" menu_driver = "rgui" rewind_enable = "false" rewind_buffer_size = "10" rewind_granularity = "2" video_gpu_screenshot = "true" input_enable_hotkey = "nul" auto_remaps_enable = "true" aspect_ratio_index = "0" core_updater_buildbot_assets_url = "http://buildbot.libretro.com/assets/" libretro_directory = "~/.config/retroarch/cores" libretro_info_path = "~/.config/retroarch/cores" content_database_path = "~/.config/retroarch/database/rdb" cheat_database_path = "~/.config/retroarch/cheats" content_history_path = "/opt/retropie/configs/all/content_history.lpl" content_music_history_path = "/opt/retropie/configs/all/content_music_history.lpl" content_video_history_path = "/opt/retropie/configs/all/content_video_history.lpl" content_image_history_path = "/opt/retropie/configs/all/content_image_history.lpl" cursor_directory = "~/.config/retroarch/database/cursors" screenshot_directory = "~/.config/retroarch/screenshots" input_remapping_directory = "~/.config/retroarch/config/remaps" video_shader_dir = "~/.config/retroarch/shaders" video_filter_dir = "default" core_assets_directory = "~/.config/retroarch/downloads" assets_directory = "~/.config/retroarch/assets" dynamic_wallpapers_directory = "default" thumbnails_directory = "~/.config/retroarch/thumbnails" playlist_directory = "~/.config/retroarch/playlists" joypad_autoconfig_dir = "~/.config/retroarch/autoconfig" audio_filter_dir = "default" savefile_directory = "default" savestate_directory = "default" rgui_browser_directory = "default" rgui_config_directory = "~/.config/retroarch/config" overlay_directory = "~/.config/retroarch/overlay" screenshot_directory = "~/.config/retroarch/screenshots" video_driver = "gl" record_driver = "null" camera_driver = "null" wifi_driver = "null" location_driver = "null" audio_driver = "alsathread" audio_resampler = "sinc" input_driver = "udev" video_aspect_ratio = "-1.000000" video_scale = "3.000000" video_refresh_rate = "59.940060" audio_rate_control_delta = "0.005000" audio_max_timing_skew = "0.050000" audio_volume = "0.000000" input_overlay_opacity = "0.700000" input_overlay_scale = "1.000000" menu_wallpaper_opacity = "0.300000" menu_footer_opacity = "1.000000" menu_header_opacity = "1.000000" video_message_pos_x = "0.050000" video_message_pos_y = "0.050000" fastforward_ratio = "0.000000" slowmotion_ratio = "3.000000" input_axis_threshold = "0.500000" input_bind_timeout = "5" input_turbo_period = "6" input_duty_cycle = "3" input_max_users = "5" input_menu_toggle_gamepad_combo = "0" audio_latency = "64" audio_block_frames = "0" autosave_interval = "0" libretro_log_level = "0" keyboard_gamepad_mapping_type = "1" input_poll_type_behavior = "2" video_monitor_index = "0" video_window_x = "0" video_window_y = "0" network_cmd_port = "55355" network_remote_base_port = "55400" dpi_override_value = "200" menu_thumbnails = "3" xmb_alpha_factor = "75" xmb_scale_factor = "100" xmb_theme = "0" xmb_menu_color_theme = "4" materialui_menu_color_theme = "0" menu_shader_pipeline = "1" audio_out_rate = "48000" custom_viewport_width = "960" custom_viewport_height = "720" custom_viewport_x = "0" custom_viewport_y = "0" content_history_size = "100" video_hard_sync_frames = "0" video_frame_delay = "0" video_max_swapchain_images = "3" video_swap_interval = "1" video_rotation = "0" state_slot = "0" netplay_ip_port = "0" netplay_delay_frames = "16" netplay_check_frames = "0" user_language = "0" bundle_assets_extract_version_current = "0" bundle_assets_extract_last_version = "0" input_device_p1 = "0" input_player1_joypad_index = "0" input_libretro_device_p1 = "1" input_player1_analog_dpad_mode = "0" input_device_p2 = "0" input_player2_joypad_index = "1" input_libretro_device_p2 = "1" input_player2_analog_dpad_mode = "0" input_device_p3 = "0" input_player3_joypad_index = "2" input_libretro_device_p3 = "1" input_player3_analog_dpad_mode = "0" input_device_p4 = "0" input_player4_joypad_index = "3" input_libretro_device_p4 = "1" input_player4_analog_dpad_mode = "0" input_device_p5 = "0" input_player5_joypad_index = "4" input_libretro_device_p5 = "1" input_player5_analog_dpad_mode = "0" input_device_p6 = "0" input_player6_joypad_index = "5" input_libretro_device_p6 = "1" input_player6_analog_dpad_mode = "0" input_device_p7 = "0" input_player7_joypad_index = "6" input_libretro_device_p7 = "1" input_player7_analog_dpad_mode = "0" input_device_p8 = "0" input_player8_joypad_index = "7" input_libretro_device_p8 = "1" input_player8_analog_dpad_mode = "0" input_device_p9 = "0" input_player9_joypad_index = "8" input_libretro_device_p9 = "1" input_player9_analog_dpad_mode = "0" input_device_p10 = "0" input_player10_joypad_index = "9" input_libretro_device_p10 = "1" input_player10_analog_dpad_mode = "0" input_device_p11 = "0" input_player11_joypad_index = "10" input_libretro_device_p11 = "1" input_player11_analog_dpad_mode = "0" input_device_p12 = "0" input_player12_joypad_index = "11" input_libretro_device_p12 = "1" input_player12_analog_dpad_mode = "0" input_device_p13 = "0" input_player13_joypad_index = "12" input_libretro_device_p13 = "1" input_player13_analog_dpad_mode = "0" input_device_p14 = "0" input_player14_joypad_index = "13" input_libretro_device_p14 = "1" input_player14_analog_dpad_mode = "0" input_device_p15 = "0" input_player15_joypad_index = "14" input_libretro_device_p15 = "1" input_player15_analog_dpad_mode = "0" input_device_p16 = "0" input_player16_joypad_index = "15" input_libretro_device_p16 = "1" input_player16_analog_dpad_mode = "0" ui_companion_start_on_boot = "true" ui_companion_enable = "false" video_gpu_record = "false" input_remap_binds_enable = "true" menu_swap_ok_cancel_buttons = "false" netplay_client_swap_input = "true" input_descriptor_label_show = "true" input_descriptor_hide_unbound = "false" load_dummy_on_core_shutdown = "true" builtin_mediaplayer_enable = "false" builtin_imageviewer_enable = "true" fps_show = "false" ui_menubar_enable = "true" suspend_screensaver_enable = "true" audio_sync = "true" video_allow_rotate = "true" video_windowed_fullscreen = "true" video_crop_overscan = "true" video_scale_integer = "false" video_force_aspect = "true" video_shared_context = "false" custom_bgm_enable = "false" auto_screenshot_filename = "true" video_force_srgb_disable = "false" video_fullscreen = "false" bundle_assets_extract_enable = "false" video_vsync = "true" video_hard_sync = "false" video_black_frame_insertion = "false" video_disable_composition = "false" pause_nonactive = "true" video_post_filter_record = "false" keyboard_gamepad_enable = "true" core_set_supports_no_game_enable = "true" audio_enable = "true" audio_mute_enable = "false" location_allow = "false" video_font_enable = "true" core_updater_auto_extract_archive = "true" camera_allow = "false" threaded_data_runloop_enable = "true" menu_throttle_framerate = "true" menu_linear_filter = "true" dpi_override_enable = "true" menu_pause_libretro = "true" menu_mouse_enable = "true" menu_pointer_enable = "false" menu_timedate_enable = "true" menu_core_enable = "true" menu_dynamic_wallpaper_enable = "false" xmb_shadows_enable = "true" xmb_show_settings = "true" xmb_show_images = "true" xmb_show_history = "true" rgui_show_start_screen = "false" menu_navigation_wraparound_enable = "true" menu_navigation_browser_filter_supported_extensions_enable = "true" menu_show_advanced_settings = "true" cheevos_enable = "false" cheevos_test_unofficial = "false" cheevos_hardcore_mode_enable = "false" input_overlay_enable = "true" input_overlay_enable_autopreferred = "true" input_overlay_hide_in_menu = "true" network_cmd_enable = "false" stdin_cmd_enable = "false" network_remote_enable = "false" netplay_spectator_mode_enable = "false" block_sram_overwrite = "false" savestate_auto_index = "false" savestate_auto_save = "false" savestate_auto_load = "false" history_list_enable = "true" game_specific_options = "false" auto_overrides_enable = "true" auto_shaders_enable = "true" sort_savefiles_enable = "false" sort_savestates_enable = "false" show_hidden_files = "true" audio_rate_control = "true" network_remote_enable_user_p1 = "false" network_remote_enable_user_p2 = "false" network_remote_enable_user_p3 = "false" network_remote_enable_user_p4 = "false" network_remote_enable_user_p5 = "false" network_remote_enable_user_p6 = "false" network_remote_enable_user_p7 = "false" network_remote_enable_user_p8 = "false" network_remote_enable_user_p9 = "false" network_remote_enable_user_p10 = "false" network_remote_enable_user_p11 = "false" network_remote_enable_user_p12 = "false" network_remote_enable_user_p13 = "false" network_remote_enable_user_p14 = "false" network_remote_enable_user_p15 = "false" network_remote_enable_user_p16 = "false" log_verbosity = "false" perfcnt_enable = "false" video_message_color = "ffff00" menu_entry_normal_color = "ffffffff" menu_entry_hover_color = "ff64ff64" menu_title_color = "ff64ff64" gamma_correction = "false" flicker_filter_enable = "false" soft_filter_enable = "false" soft_filter_index = "0" current_resolution_id = "0" flicker_filter_index = "0" xmb_font = "" netplay_nickname = "" video_filter = "" audio_dsp_plugin = "" core_updater_buildbot_url = "" netplay_ip_address = "" recording_output_directory = "" recording_config_directory = "" menu_wallpaper = "" input_overlay = "" video_font_path = "" content_history_dir = "" resampler_directory = "" xmb_font = "" playlist_names = "" playlist_cores = "" audio_device = "" camera_device = "" cheevos_username = "" cheevos_password = "" video_context_driver = "" input_keyboard_layout = "" bundle_assets_src_path = "" bundle_assets_dst_path = "" bundle_assets_dst_path_subdir = ""
-
@Mossface said in Shader set for all emulators but not working on all:
/opt/retropie/configs/all/retroarch.cfg
video_shader = "/opt/retropie/emulators/retroarch/shader/crt-caligari.glslp"
have you tried the crt-pi one instead of crt-caligari?
-
I have had to add the line video_shader_enable = "true" to the emulators I want the shader to work in as well. I may not be doing it right, but I don't use shaders on all emulators, so I just use the line in the individual configs to enable it. I did find out the other day that I need to configure the settings within the in-game retro arch config for scaling and nearest vs linear too or else the default to "don't care" and don't look the way I want them to.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.