System update broke configs/ Also can't get 1080p.
-
Two questions, if ya'll don't mind.
I updated the system, and maybe did it wrong:
sudo apt update sudo apt full-upgrade
This somehow made all emulators default to a really tiny resolution, and lost button mappings in EmulationStation. I corrected the issues, and had to force a viewing mode of 720p through RunCommand on each emulator. Since I didn't do the update all packages in Retropie settings, do I still have to? Did every Retropie package get updated as well?
The only other issues I have is when I choose 1080p. It will play in the same small resolution, as if 1080p doesn't exist. ES plays in 1080p. I see there are some options I can add to the boot config, but is that the fix, or is there something else going on here regarding 1080p?
-
Please add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
Generally, a system update (
via apt
) would not trigger a loss of controller configuration(s) or changes to the video resolution.
If you're using a Pi4, then there was a kernel update that would affect the resolution if you had the video resolution saved via Runcommand, but that was almost a year ago - there hasn't been something similar lately.
Your post is tagged 'Updating to 4.2', which excludes a Pi4 though. Version 4.2 is also 4 years old (March 2017), so are you really trying to upgrade to RetroPie 4.2 ?The only other issues I have is when I choose 1080p. It will play in the same small resolution, as if 1080p doesn't exist. ES plays in 1080p. I see there are some options I can add to the boot config, but is that the fix, or is there something else going on here regarding 1080p?
This doesn't look like something that's configured in the boot config, more likely a saved video resolution configuration that doesn't apply anymore. Some logs or some further info about your setup would clear this up.
-
@mitu Sorry, the tag must have added that without me paying attention. I corrected the tag. I was running Retropie 4.7.1. It's on a Pi3B installed using the Pi imager. It is also in a Nespi case, with Canakit PS. I edited a couple of config files to get these wireless Logitech controllers working, and I overclocked the system. Other than that, I can't remember any other changes, and definitely didn't alter any resolution configurations. Before the update, all the Runcommand settings were default, except for lr-mupenplus64-next. I had to force a resolution for it via Runcommand, and alter it's RetroArch config to get the controllers working.
Not to sound ignorant, but what kind of logs would you like, and what command to obtain them? I've never messed with logging, so my knowledge is lacking in that department.
This system is for my nephew, and at my brother's house. I'll have to get logs later in the week. So far, everything is working great, once I fixed the update issues. He unwrapped his present, and I had to fix it on the fly. I should have done a final test after updating, but I was in a hurry. I was mainly curious why the update altered stuff, and if I can actually get emulators to run in 1080p.
-
@mitu I guess I should also add that I performed the update vis SSH on my home network. As unheard of as this sounds, my brother doesn't have internet at his place. He just uses his phone hotspot for his smart tv and a single computer. I could never get the Pi to connect to his hotspot, so all updates and saving logs would have to happen with me bringing the system back over to my house...
-
@nerlins said in System update broke configs/ Also can't get 1080p.:
Not to sound ignorant, but what kind of logs would you like, and what command to obtain them? I've never messed with logging, so my knowledge is lacking in that department.
A copy of the
/boot/config.txt
file would be useful and a verbose log from the emulator running in a small resolution. The custom video modes set via the runcommand launch menu would also be useful, these are stored in/opt/retropie/configs/all/videomodes.cfg
. -
@mitu I finally got the system back over to my place. I have some overclock settings, which may or may not be the best, but the system has been tested 6+ hours of continuous gaming.
Boot Config:# 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=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # 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=1 # 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=2 #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 infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] #dtoverlay=vc4-fkms-v3d #gpu_mem_256=128 #gpu_mem_512=256 #gpu_mem_1024=256 overscan_scale=1 #Overclock Settings arm_freq=1375 over_voltage=5 temp_limit=80 core_freq=525 #GPU Based h264_freq=333 avoid_pwm_pll=1 gpu_mem=320 v3d_freq=500 force_turbo=1 #Ram Overclock sdram_freq=600 sdram_schmoo=0x02000020 over_voltage_sdram_p=5 over_voltage_sdram_i=4 over_voltage_sdram_c=4 dtoverlay=RetroFlag_pw_io.dtbo enable_uart=1 #NoSplash disable_splash=1
I had to set these after the update, since default was playing in a tiny window.
Video Modes:mupen64plus-gles2n64_fb = "640x480" mupen64plus-gles2n64_SuperMario64USA = "CEA-1" chromium = "CEA-1" lr-mupen64plus_render = "config" lr-pcsx-rearmed_render = "config" lr-genesis-plus-gx = "CEA-4" lr-snes9x2010 = "CEA-4" lr-beetle-pce-fast = "CEA-4" lr-fceumm = "CEA-4" lr-pcsx-rearmed = "CEA-4" lr-mupen64plus-next = "CEA-4" lr-mupen64plus = "CEA-4"
Logs from the Genesis emulator; 1080P CEA-5 choice; but running small. (all emulators do this, and all 1080P choices do this)
Verbose Log:Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so --config /opt/retropie/configs/megadrive/retroarch.cfg "/home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog (USA, Europe).md" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.9.4 (Git c226bd8) [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: May 31 2021 [INFO] Version: 1.9.4 [INFO] Git: c226bd8 [INFO] ================================================= [INFO] [Input]: Found input driver: "udev". [INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so" [INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/Genesis Plus GX/Genesis Plus GX.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/Genesis Plus GX/megadrive.cfg". [INFO] [Overrides]: No game-specific overrides found at "/home/pi/.config/retroarch/config/Genesis Plus GX/Sonic The Hedgehog (USA, Europe).cfg". [INFO] [Environ]: GET_CORE_OPTIONS_VERSION. [INFO] [Environ]: GET_LANGUAGE: "0". [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: UNSUPPORTED (#65). [INFO] Core requested VFS version >= v1, providing v3 [INFO] [Remaps]: Remap directory: "/opt/retropie/configs/megadrive/". [INFO] [Overrides]: Redirecting save file to "/home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog (USA, Europe).srm". [INFO] [Overrides]: Redirecting save state to "/home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog (USA, Europe).state". [INFO] [Environ]: PERFORMANCE_LEVEL: 1. [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: PERFORMANCE_LEVEL: 7. [INFO] [Environ]: SET_SERIALIZATION_QUIRKS. [INFO] [Environ]: SET_DISK_CONTROL_INTERFACE. [INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own. [INFO] [Environ]: UNSUPPORTED (#66). [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS". [INFO] [Environ]: GET_SAVE_DIRECTORY. [libretro INFO] Game Genie ROM should be located at: /home/pi/RetroPie/BIOS/ggenie.bin [libretro INFO] Action Replay (Pro) ROM should be located at: /home/pi/RetroPie/BIOS/areplay.bin [libretro INFO] Sonic & Knuckles (2 MB) ROM should be located at: /home/pi/RetroPie/BIOS/sk.bin [libretro INFO] Sonic & Knuckles UPMEM (256 KB) ROM should be located at: /home/pi/RetroPie/BIOS/sk2chip.bin [libretro INFO] Mega Drive TMSS BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_MD.bin [libretro INFO] Game Gear TMSS BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios.gg [libretro INFO] Master System (PAL) BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_E.sms [libretro INFO] Master System (NTSC-U) BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_U.sms [libretro INFO] Master System (NTSC-J) BOOTROM should be located at: /home/pi/RetroPie/BIOS/bios_J.sms [libretro INFO] Mega CD (PAL) BIOS should be located at: /home/pi/RetroPie/BIOS/bios_CD_E.bin [libretro INFO] Sega CD (NTSC-U) BIOS should be located at: /home/pi/RetroPie/BIOS/bios_CD_U.bin [libretro INFO] Mega CD (NTSC-J) BIOS should be located at: /home/pi/RetroPie/BIOS/bios_CD_J.bin [libretro INFO] Mega CD (PAL) BRAM is located at: /home/pi/RetroPie/roms/megadrive//scd_E.brm [libretro INFO] Sega CD (NTSC-U) BRAM is located at: /home/pi/RetroPie/roms/megadrive//scd_U.brm [libretro INFO] Mega CD (NTSC-J) BRAM is located at: /home/pi/RetroPie/roms/megadrive//scd_J.brm [libretro INFO] Sega/Mega CD RAM CART is located at: /home/pi/RetroPie/roms/megadrive//cart.brm [libretro INFO] INFORMATION - Loading 524288 bytes ... [INFO] [Environ]: SET_AUDIO_BUFFER_STATUS_CALLBACK. [INFO] [SRAM]: Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 44156.86 Hz. [INFO] [Video]: Video @ 768x576 [INFO] [Video]: Starting threaded video driver ... [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1. [INFO] [GL]: Found GL context: egl_videocore [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. [INFO] [GL]: Version: OpenGL ES 2.0. [INFO] Querying EGL extension: KHR_image => exists [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [WARN] [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*? [WARN] [udev]: Full-screen pointer won't be available. [INFO] [udev]: Pad #0 (/dev/input/event0) supports force feedback. [INFO] [udev]: Pad #0 (/dev/input/event0) supports 16 force feedback effects. [INFO] [udev]: Pad #1 (/dev/input/event1) supports force feedback. [INFO] [udev]: Pad #1 (/dev/input/event1) supports 16 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Video]: Found display server: null [INFO] ALSA: Using floating point format. [INFO] ALSA: Period size: 480 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Display]: Found display driver: "gl". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/megadrive/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/megadrive/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/megadrive/content_video_history.lpl]. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/megadrive/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/opt/retropie/configs/megadrive/content_favorites.lpl]. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_MINIMUM_AUDIO_LATENCY. [INFO] [Environ]: SET_GEOMETRY: 320x224, aspect: 1.306. [INFO] [SRAM]: Saving RAM type #0 to "/home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog (USA, Europe).srm". [INFO] [SRAM]: Saved successfully to "/home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog (USA, Europe).srm". [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 09 seconds. [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core Options]: Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg" [INFO] Threaded video stats: Frames pushed: 553, Frames dropped: 1.
If some emulators are not possible to push to 1080P, then I understand. I don't think I've ever gotten them past 720P, which is still playable and loads of fun.
-
While the screen resolution is 1080p, it looks like the video resolution of the emulator is less:
[INFO] [Video]: Video @ 768x576
[INFO] [Video]: Starting threaded video driver ...
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x1.
[INFO] [GL]: Found GL context: egl_videocore
[INFO] [GL]: Detecting screen resolution 1920x1080.You say:
Logs from the Genesis emulator; 1080P CEA-5
but the configuration file (
videomodes.cfg
) showslr-genesis-plus-gx
is configured asCEA-4
.Try removing/renaming the
videomodes.cfg
file and see if the games are scaled properly when playing. -
@mitu Right, I have it configured like that, but chose the CEA-5 as a test, and then get the small screen. The output you requested would be from the CEA-5 test. That videomodes.cfg paste would just be a copy from how I have it currently configured and working. I'll rename the file and see what happens.
-
@mitu deleting the file didn't change how CEA-5 acts (or any 1080P option), but it did seem to clear up the default video mode from launching in a small window.
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.