Shaders not displaying properly, weird issue / CRT-PI etc.
-
@skykid said in Shaders not displaying properly, weird issue / CRT-PI etc.:
hdmi_drive=2
is there a particular reason you have this set? it shouldn't matter, but this is not default.
-
also seems to be using RA
1.7.3
, shouldn't RetroPie 4.4 be using1.7.5
? -
@hhromic I think the 4.4 image had 1.7.1 included, 1.7.5 was added at the beginning of October as binary update.
-
@mitu ah yes you are right, he mentioned using RP 4.4.2, which at the time was shipping RA
1.7.3
as binary update. Good call. -
Yep it was from the retropie option within emulationstation. I mentioned this in the above post but maybe I wasn't clear enough, apologies.
I uncommented hdmi_drive=2 because I wasn't recieving audio through the cable.
Here are the images from within the game RGUI options. I have also included a screenshot to try and demonstrate how the shader appears. This is crt-pi applied with no other image settings.
-
Sorry, here's the shot of the shader. Couldn't attach previously.
-
@skykid said in Shaders not displaying properly, weird issue / CRT-PI etc.:
Yep it was from the retropie option within emulationstation. I mentioned this in the above post but maybe I wasn't clear enough, apologies.
I uncommented hdmi_drive=2 because I wasn't recieving audio through the cable.
Here are the images from within the game RGUI options. I have also included a screenshot to try and demonstrate how the shader appears. This is crt-pi applied with no other image settings.
aspect ratio is set to 1:1. default in retropie for all cores is 'core provided'. please post /opt/retropie/configs/nes/retroarch.cfg
also /opt/retropie/configs/all/retroarch.cfg
sounds like you have some none-default settings.
-
Yes, I mentioned it was 1:1 previously.
@skykid said in Shaders not displaying properly, weird issue / CRT-PI etc.:
I also followed @mitu 's suggestion and switched off integer and adjusted the screen to 1:1 (as core provided stretched it too much).
Unfortunately "core provided" doesn't make any difference. It's just a stretched screen in 16:9 and the shader displays as pictured above (just with slightly larger crosshatching). There literally isn't a whisper of a scanline in core provided, I'd say it's even less than 1:1, which didn't have much to begin with.
Here is: /opt/retropie/configs/all/retroarch.cfg
I've removed the 16 player input data as I don't think it's relevant and the paste would be very lengthy:
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_threaded = "true" video_smooth = "false" video_aspect_ratio_auto = "true" video_font_size = "12.000000" video_message_bgcolor_enable = "false" video_message_bgcolor_red = "0" video_message_bgcolor_green = "0" video_message_bgcolor_blue = "0" video_message_bgcolor_opacity = "1.0" 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" menu_swap_ok_cancel_buttons = "false" input_exit_emulator = "escape" input_shader_next = "m" input_shader_prev = "n" input_rewind = "r" all_users_control_menu = "true" menu_driver = "rgui" menu_show_online_updater = "false" menu_show_core_updater = "false" menu_unified_controls = "true" rewind_enable = "false" rewind_buffer_size = "10" rewind_granularity = "2" video_gpu_screenshot = "true" input_enable_hotkey = "nul" auto_remaps_enable = "true" xmb_show_add = "false" xmb_show_history = "false" xmb_show_images = "false" xmb_show_music = "false" xmb_shadows_enable = "false" xmb_font = "" content_show_settings_password = "" kiosk_mode_password = "" netplay_nickname = "" video_filter = "" audio_dsp_plugin = "" core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/latest/" core_updater_buildbot_assets_url = "http://buildbot.libretro.com/assets/" netplay_ip_address = "" netplay_password = "" netplay_spectate_password = "" libretro_directory = "~/.config/retroarch/cores" libretro_info_path = "~/.config/retroarch/cores" video_shader = "" content_database_path = "~/.config/retroarch/database/rdb" cheat_database_path = "~/.config/retroarch/cheats" menu_wallpaper = "" content_history_path = "/opt/retropie/configs/all/content_history.lpl" content_favorites_path = "/opt/retropie/configs/all/content_favorites.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" input_overlay = "~/.config/retroarch/overlay/scanline_1280x960.cfg" video_font_path = "" cursor_directory = "~/.config/retroarch/database/cursors" content_history_dir = "" screenshot_directory = "~/.config/retroarch/screenshots" input_remapping_directory = "~/.config/retroarch/config/remaps" resampler_directory = "" 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" recording_output_directory = "" recording_config_directory = "" playlist_names = "" playlist_cores = "" video_driver = "gl" record_driver = "ffmpeg" camera_driver = "null" wifi_driver = "null" location_driver = "null" audio_device = "" camera_device = "" cheevos_username = "" cheevos_password = "" video_context_driver = "" audio_driver = "alsathread" audio_resampler = "sinc" input_driver = "udev" input_keyboard_layout = "" bundle_assets_src_path = "" bundle_assets_dst_path = "" bundle_assets_dst_path_subdir = "" led_driver = "null" netplay_mitm_server = "nyc" 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" audio_mixer_volume = "0.000000" input_overlay_opacity = "0.700000" input_overlay_scale = "1.000000" menu_wallpaper_opacity = "0.300000" menu_framebuffer_opacity = "0.900000" 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" video_msg_bgcolor_opacity = "1.000000" state_slot = "0" netplay_check_frames = "600" 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_resampler_quality = "2" audio_block_frames = "0" autosave_interval = "0" libretro_log_level = "1" keyboard_gamepad_mapping_type = "1" input_poll_type_behavior = "2" video_monitor_index = "0" video_fullscreen_x = "0" video_fullscreen_y = "0" video_window_x = "0" video_window_y = "0" video_window_opacity = "100" network_cmd_port = "55355" network_remote_base_port = "55400" keymapper_port = "0" dpi_override_value = "200" menu_thumbnails = "3" xmb_alpha_factor = "75" xmb_scale_factor = "100" xmb_theme = "0" xmb_menu_color_theme = "4" menu_font_color_red = "255" menu_font_color_green = "255" menu_font_color_blue = "255" materialui_menu_color_theme = "0" menu_shader_pipeline = "1" audio_out_rate = "48000" custom_viewport_width = "1280" custom_viewport_height = "960" 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" aspect_ratio_index = "21" netplay_ip_port = "55435" netplay_input_latency_frames_min = "0" netplay_input_latency_frames_range = "0" netplay_share_digital = "1" netplay_share_analog = "1" user_language = "0" bundle_assets_extract_version_current = "0" bundle_assets_extract_last_version = "0" input_overlay_show_physical_inputs_port = "0" video_msg_bgcolor_red = "0" video_msg_bgcolor_green = "0" video_msg_bgcolor_blue = "0" input_device_p1 = "0" input_player1_joypad_index = "0" input_libretro_device_p1 = "1" input_player1_analog_dpad_mode = "0" input_player1_mouse_index = "0" input_device_p2 = "0" input_player2_joypad_index = "1" input_libretro_device_p2 = "1" input_player2_analog_dpad_mode = "0" input_player2_mouse_index = "0" input_device_p3 = "0" input_player3_joypad_index = "2" input_libretro_device_p3 = "1" input_player3_analog_dpad_mode = "0" input_player3_mouse_index = "0" input_device_p4 = "0" input_player4_joypad_index = "3" input_libretro_device_p4 = "1" input_player4_analog_dpad_mode = "0" input_player4_mouse_index = "0" input_device_p5 = "0" input_player5_joypad_index = "4" input_libretro_device_p5 = "1" input_player5_analog_dpad_mode = "0" input_player5_mouse_index = "0" input_device_p6 = "0" input_player6_joypad_index = "5" input_libretro_device_p6 = "1" input_player6_analog_dpad_mode = "0" input_player6_mouse_index = "0" input_device_p7 = "0" input_player7_joypad_index = "6" input_libretro_device_p7 = "1" input_player7_analog_dpad_mode = "0" input_player7_mouse_index = "0" input_device_p8 = "0" input_player8_joypad_index = "7" input_libretro_device_p8 = "1" input_player8_analog_dpad_mode = "0" input_player8_mouse_index = "0" input_device_p9 = "0" input_player9_joypad_index = "8" input_libretro_device_p9 = "1" input_player9_analog_dpad_mode = "0" input_player9_mouse_index = "0" input_device_p10 = "0" input_player10_joypad_index = "9" input_libretro_device_p10 = "1" input_player10_analog_dpad_mode = "0" input_player10_mouse_index = "0" input_device_p11 = "0" input_player11_joypad_index = "10" input_libretro_device_p11 = "1" input_player11_analog_dpad_mode = "0" input_player11_mouse_index = "0" input_device_p12 = "0" input_player12_joypad_index = "11" input_libretro_device_p12 = "1" input_player12_analog_dpad_mode = "0" input_player12_mouse_index = "0" input_device_p13 = "0" input_player13_joypad_index = "12" input_libretro_device_p13 = "1" input_player13_analog_dpad_mode = "0" input_player13_mouse_index = "0" input_device_p14 = "0" input_player14_joypad_index = "13" input_libretro_device_p14 = "1" input_player14_analog_dpad_mode = "0" input_player14_mouse_index = "0" input_device_p15 = "0" input_player15_joypad_index = "14" input_libretro_device_p15 = "1" input_player15_analog_dpad_mode = "0" input_player15_mouse_index = "0" input_device_p16 = "0" input_player16_joypad_index = "15" input_libretro_device_p16 = "1" input_player16_analog_dpad_mode = "0" input_player16_mouse_index = "0" automatically_add_content_to_playlist = "false" ui_companion_start_on_boot = "true" ui_companion_enable = "false" video_gpu_record = "false" input_remap_binds_enable = "true" netplay_public_announce = "true" netplay_start_as_spectator = "false" netplay_allow_slaves = "true" netplay_require_slaves = "false" netplay_stateless_mode = "false" netplay_use_mitm_server = "false" netplay_request_device_p1 = "false" netplay_request_device_p2 = "false" netplay_request_device_p3 = "false" netplay_request_device_p4 = "false" netplay_request_device_p5 = "false" netplay_request_device_p6 = "false" netplay_request_device_p7 = "false" netplay_request_device_p8 = "false" netplay_request_device_p9 = "false" netplay_request_device_p10 = "false" netplay_request_device_p11 = "false" netplay_request_device_p12 = "false" netplay_request_device_p13 = "false" netplay_request_device_p14 = "false" netplay_request_device_p15 = "false" netplay_request_device_p16 = "false" input_descriptor_label_show = "true" input_descriptor_hide_unbound = "false" load_dummy_on_core_shutdown = "true" check_firmware_before_loading = "false" builtin_mediaplayer_enable = "true" builtin_imageviewer_enable = "true" fps_show = "false" framecount_show = "true" ui_menubar_enable = "true" suspend_screensaver_enable = "true" audio_sync = "true" video_shader_enable = "false" video_shader_watch_files = "false" video_allow_rotate = "true" video_windowed_fullscreen = "true" video_crop_overscan = "true" video_scale_integer = "false" video_force_aspect = "true" video_shared_context = "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" audio_mixer_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" menu_horizontal_animation = "true" dpi_override_enable = "true" menu_pause_libretro = "true" menu_mouse_enable = "true" menu_pointer_enable = "false" menu_timedate_enable = "true" menu_battery_level_enable = "true" menu_core_enable = "true" menu_dynamic_wallpaper_enable = "false" quick_menu_show_take_screenshot = "true" quick_menu_show_save_load_state = "true" quick_menu_show_undo_save_load_state = "true" quick_menu_show_add_to_favorites = "true" quick_menu_show_options = "true" quick_menu_show_controls = "true" quick_menu_show_cheats = "true" quick_menu_show_shaders = "true" quick_menu_show_save_core_overrides = "true" quick_menu_show_save_game_overrides = "true" quick_menu_show_information = "true" kiosk_mode_enable = "false" content_show_settings = "true" content_show_favorites = "true" content_show_images = "true" content_show_music = "true" content_show_video = "true" content_show_netplay = "true" content_show_history = "true" content_show_add = "true" menu_show_load_core = "true" menu_show_load_content = "true" menu_show_information = "true" menu_show_configurations = "true" menu_show_help = "true" menu_show_quit_retroarch = "true" menu_show_reboot = "true" filter_by_current_core = "false" rgui_show_start_screen = "false" menu_navigation_wraparound_enable = "true" menu_navigation_browser_filter_supported_extensions_enable = "true" menu_show_advanced_settings = "false" materialui_icons_enable = "true" cheevos_enable = "false" cheevos_test_unofficial = "false" cheevos_hardcore_mode_enable = "false" cheevos_leaderboards_enable = "false" cheevos_badges_enable = "false" cheevos_verbose_enable = "false" input_overlay_enable = "true" input_overlay_enable_autopreferred = "true" input_overlay_show_physical_inputs = "false" input_overlay_hide_in_menu = "true" network_cmd_enable = "false" stdin_cmd_enable = "false" network_remote_enable = "false" keymapper_enable = "true" netplay_nat_traversal = "true" block_sram_overwrite = "false" savestate_auto_index = "false" savestate_auto_save = "false" savestate_auto_load = "false" savestate_thumbnail_enable = "false" history_list_enable = "true" playlist_entry_remove = "true" playlist_entry_rename = "true" game_specific_options = "true" auto_overrides_enable = "true" auto_shaders_enable = "true" sort_savefiles_enable = "false" sort_savestates_enable = "false" show_hidden_files = "false" audio_rate_control = "true" savestates_in_content_dir = "false" savefiles_in_content_dir = "false" systemfiles_in_content_dir = "false" screenshots_in_content_dir = "false" video_msg_bgcolor_enable = "false" video_window_show_decorations = "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"
Here is: /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_overlay = "/opt/retropie/configs/all/retroarch/overlay/Nintendo-Entertainment-System.cfg" input_overlay_opacity = "1.000000" aspect_ratio_index = "16" video_force_aspect = "true" video_aspect_ratio = "-1.000000" input_remapping_directory = "/opt/retropie/configs/nes/" #include "/opt/retropie/configs/all/retroarch.cfg"
-
You didn't mention running a bezel - the RA.cfg file and the NES config file have also different aspect ratios and the ones from your NES system is going to take precedente.
Yourretroarch.cfg
file also has more than the usual configuration directives that are the default in RetroPie.
Try to do a test and- move the global
retroarch.cfg
and copy the default (retroarch.cfg-dist
) - remove the input overlay from the NES system.
Load a game again and play with just the shaders.
- move the global
-
@mitu said in Shaders not displaying properly, weird issue / CRT-PI etc.:
retroarch.cfg-dist
So essentially remove retroarch.cfg at "/opt/retropie/configs/all/retroarch.cfg" and replace with "retroarch.cfg-dist" and rename back to "retroarch.cfg" - is that correct?
I'm not sure where to locate the "retroarch.cfg-dist" file?
I should ask, will doing this have any impact on my controller configurations (as it took me an age to set up for all consoles).
Regarding the bezel, I just recently installed the Bezelproject and tested two systems, but that was after I already raised this shader issue with you guys. Nothing has changed since then.
Many thanks!
-
Normally when RetroArch is updated, the default configuration file is copied to the same location, but with the suffix
rp-dist
added to it. You probably updated at least once RetroArch, so this file should be next to theretroarch.cfg
in the/opt/retropie/configs/all
.I should ask, will doing this have any impact on my controller configurations (as it took me an age to set up for all consoles).
How did you configure those ? If you used the recommended method - via core input remapping - these configurations are saved separately. Did you use the RetroPie provided image from retropie.org.uk/download or another image ?
-
i agree with @mitu’s suggestion. i would also replace the nes/retroarch.cfg with its rp-dist version.
also, what does the run command offer in the video modes? what is it currently set to? a photo of the full menu and a photo of the video modes choices would be useful https://github.com/RetroPie/RetroPie-Setup/wiki/runcommand
-
@mitu I used the retropie provided image.
I configured my controllers using the RGUI and went to Quick Menu -> Controls and set them up individually and then saved the config per core. I didn't go to Settings -> Input because I found binding didn't work properly for me.
Will replacing retroarch.cfg ith the rp-dist version overwrite these controls?
@dankcushions I will take a look at the runcommand video options in a bit and let you know!
-
Replaced the retroarch.cgf in /opt/retropie/configs/all with rp-dist and renamed, restarted RPI, no change.
@dankcushions There's no rp-dist file in the NES folder, did you mean the .bkp file?
Here is the runcommand menu on NES rom startup:
-
@skykid Your video mode shows 1024x768, which is none of the ones you previously mentioned. Is your TV with an aspect ratio of 4:3 ? What model is it exactly ?
What I meant when talking about the NES system is to get rid of the overlay (bezel) you declared in the
nes/retroarch.cfg
, since it will modify your viewport. -
No, I was replying to @dankcushions where he said he also recommended replacing the NES rp-dist version.
I have no idea why this shows 1024x768! The TV is a 16:9 Samsung LCD 42". I've already reset everything back to default as you guy said I should, so maybe this is the automatic resolution as part of the handshake between TV and Pi?
-
@skykid Quit/Exit ES and check what's the resolution your Pi is using from the command line with the
tvservice -s
command. Here's what it looks like on my monitor/tvpi@retropie:~ $ tvservice -s state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
-
I got this:
pi@retropie:~ $ tvservice -s state 0x12000a [HDMI DMT (16) RGB full 4:3], 1024x768 @ 60.00Hz, progressive
Is this just a super weird TV problem? XD
Why it's giving back 4:3 I have no idea. I checked the TV settings and it's set at 16:9. I don't get it. When emulationstation runs the frontend is 16:9, and if I choose "core provided" on the video options within the RGUI it will display the game window stretched to 16:9 (almost to the edges but not quite, but definitely no way near 4:3).
-
when you're in emulationstation, can you try hitting the 'info' button on your TV remote? or anything else that flashes up the current resolution. i wonder if it's 1024*768 always
-
Yeah I did try that. The problem is that I can't get the resolution info to display on the TV until there's a connected device. Then it will display the output resolution of whatever that device is. For example the digital TV box has a different resolution when connected than the pi. And the pi is outputting at exactly what it says above, 1024x768.
@mitu After making those changes all my controller configs seem fine, but I'm getting a 'Failed to load config' message that only seems to appear when starting Megadrive games. Other systems don't have this (as far as I can tell). Also the text in the Mega Drive menu is kind of messed up (sort of jaggy text) whereas all the other consoles are fine.
I know replacing the retroarch.cfg with default has had some effect as whenever I go into the RGUI I get the "welcome to retroarch" message for every new title played, but I'm not sure how it would have affected the MD like this. Any ideas?
Oh, and theme is Tronkyfran, although I don't think that matters too much.
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.