Shaders not displaying properly, weird issue / CRT-PI etc.
-
Using Retropie 4.4.2 I believe. Found the zfast shaders - initially I looked in the zfast directory at the top and it was empty, but found them near the bottom.
Regular Zfast CRT produces a very similar image to crt-pi, just even fainter in definition and no discernible scanlines. Zfast curvature makes the entire thing look like it was sprayed over with MS paint's brush tool, so something isn't right.
All I need to do now is figure out the resolution RA is running at, and apologies, I'm not sure where I'm meant to look. I tried starting a game, going into the RGUI. Under Quick Menu there are no 'Video Settings', but there is 'Video' under the 'Settings' option in the regular menu. In there I can see all my video options (aspect ratio, bilinear filtering etc) but nothing about resolution.
I tried exiting out to the Emulationstation front end and went into the Retropie option, then Retroarch, and into the RGUI that way. 'Video' under 'Settings' there shows the custom aspect ratio set at 1280 x 960 - is this what you were looking for?
@dankcushions Yes, the moire effects aren't serious now compared to before, but the scanline effect of the shaders are basically non-existent. You can't see any horizontal lines really. The entire thing is just one crosshatched sheet, and a lot of the shaders seem to display similarly.
-
@skykid said in Shaders not displaying properly, weird issue / CRT-PI etc.:
I tried exiting out to the Emulationstation front end and went into the Retropie option, then Retroarch, and into the RGUI that way. 'Video' under 'Settings' there shows the custom aspect ratio set at 1280 x 960 - is this what you were looking for?
this sounds wrong to me. can you take a picture of that screen? that should help us diagnose
-
@dankcushions Sure I'll get it over to you ASAP. Was that the correct place I was meant to be looking, though?
-
@skykid as good as place as any. i want to see that whole screen of settings.
-
Here we are.
I'll also just post my current config.txt here just to be sure there's still nothing missing there:
# For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=9 #overscan_right=6 #overscan_top=8 #overscan_bottom=9 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=4 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=1 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable the lirc-rpi module #dtoverlay=lirc-rpi # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on gpu_mem_256=128 gpu_mem_512=256 gpu_mem_1024=256 overscan_scale=1 disable_splash=1 enable_uart=1
-
@skykid your screenshots say 'no core' at the bottom. i take you are opening retraorch via the retropie-setup menu?
sorry, but to really diagnose you need to open up the retroarch menu within one of the games in questions, as you could have per-game/core overrides going on.
-
@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:
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.