Can’t change Video mode resolution Pi4
-
Which command(s) are you using ?
runcommand
can already change the resolution through the menu.
Also, please add the complete information asked in https://retropie.org.uk/forum/topic/3/read-this-first - how did you install RetroPie and what image did you use, what controllers you have attached, etc. -
@mitu thanks for taking a look I used run command option 5 “select video mode for…” I also used run command option 4 which will “select default video mode for…”
Both options nothing changes but the game launches, the emulator has a lr- prefix
Is this method to change resolution supported on a Pi 4? some of my research says “tv service” is not supported on pi 4
I updated the RetroPie setup script to 4.8 on my Microsd card successfully from a RetroPie install from 2021 I believe it was 4.6.
I have 2 dragon rise controllers plugged into the usb ports
-
[..]
Is this method to change resolution supported on a Pi 4? some of my research says “tv service” is not supported on pi 4
Yes, it's supported on the Pi4.
tvservice
is indeed not supported on a Pi4, butruncommand
video resolution change is not done withtvservice
in this case. -
@mitu thank you for confirming, and if video mode is not supported by the monitor I have plugged in the mode should not show on list of modes I can change to?
If changed to an unsupported video mode there should be an error flashed up? Or at least in a log somewhere?
-
@Petervenkman said in Can’t change Video mode resolution Pi4:
@mitu thank you for confirming, and if video mode is not supported by the monitor I have plugged in the mode should not show on list of modes I can change to?
The
runcommand
menu shows only the video modes reported by the monitor/TV as supported. If you wish to change to an arbitrary video mode (that's not shown in the list), that's not something thatruncommand
can do.I know there were certain 'start'-up scripts that used
tvservice
to change to a certain video mode that was created on-the-fly, but those are not supported on the Pi4 sincetvservice
itself is not supported. Is that what you mean by 'command before loading the game' ? -
@mitu great, no do not want to change to anything not already in the list i have. i was not sure if my runcommand launch menu was trying to use tvservice to change the resolution or not
here is my runcommand.log
bash: /opt/retropie/supplementary/joystick-selection/js-onstart.sh: No such file or directory
Parameters:
Executing: SDL_VIDEO_KMSDRM_CRTCID=49 SDL_VIDEO_KMSDRM_MODEID=4 /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so --config /opt/retropie/configs/mastersystem/retroarch.cfg "/home/pi/RetroPie/roms/mastersystem/Sonic The Hedgehog (USA, Europe).zip" --appendconfig /dev/shm/retroarch.cfg
[CDROM] No sg devices found and sg kernel module is not loaded.could this be a problem? im running : Linux 4.19.97-v71+ armv71
Rasbian GMU/Linux 10 (buster) -
@Petervenkman said in Can’t change Video mode resolution Pi4:
here is my runcommand.log
It doesn't show much, you should enable verbose loging to get more info in the logs and upload the resulting log file to pastebin.com.
One reason why it might not work is if you have an override for the system/core/game, which is setting the video resolution according to that override.
-
@mitu thanks here is verbose log located in /dev/shm/runcommand.log
it looks like there are some overrides present?
bash: /opt/retropie/supplementary/joystick-selection/js-onstart.sh: No such file or directory
Parameters:
Executing: SDL_VIDEO_KMSDRM_CRTCID=49 SDL_VIDEO_KMSDRM_MODEID=4 /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so --config /opt/retropie/configs/mastersystem/retroarch.cfg "/home/pi/RetroPie/roms/mastersystem/Sonic The Hedgehog (USA, Europe).zip" --verbose --appendconfig /dev/shm/retroarch.cfg
[INFO] RetroArch 1.8.4 (Git 9e25601)
[INFO] Redirecting save file to "/home/pi/RetroPie/saves/mastersystem/Sonic The Hedgehog (USA, Europe).srm".
[INFO] Redirecting savestate to "/home/pi/RetroPie/saves/mastersystem/states/Sonic The Hedgehog (USA, Europe).state".
[INFO] === Build =======================================
[INFO] Capabilities: NEON VFPv3 VFPv4
[INFO] Built: Mar 13 2020
[INFO] Version: 1.8.4
[INFO] Git: 9e25601
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so"
[INFO] [Overrides] core-specific overrides found at /home/pi/.config/retroarch/config/Genesis Plus GX/Genesis Plus GX.cfg.
[INFO] [Overrides] content-dir-specific overrides found at /home/pi/.config/retroarch/config/Genesis Plus GX/Sonic The Hedgehog (USA, Europe).cfg.
[INFO] [Overrides] content-dir-specific overrides stacking on top of previous overrides.
[INFO] [Overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/Genesis Plus GX/Sonic The Hedgehog (USA, Europe).cfg.
[INFO] Config: appending config "/home/pi/.config/retroarch/config/Genesis Plus GX/Genesis Plus GX.cfg"
[INFO] Config: appending config "/home/pi/.config/retroarch/config/Genesis Plus GX/mastersystem.cfg"
[CDROM] No sg devices found and sg kernel module is not loaded. -
Yes, you do have some overrides (system and core), but without a complete log it's hard to tell which resolution is chosen. Also, despite you saying you're on RetroPie 4.8.6, your RetroArch installation is not updated - the current version is 1.16.0.
-
@mitu Thank you, youve made a grown man very happy
im not sure how this interacts with retroarch overrides as no video mode was selected in the override .cfgs the log file referenced but all i did was updated retroarch from binary to latest 1.16.0, loaded the same rom and i got a msg on lower left configuration override loaded but can change video mode from the runcommand launch menu and it now works.
i can now can select 50zh video mode and get smooth scrolling on PAL and on Amstrad CPC :)
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.