RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Theme for super CRT resolutions 1920 x 240

    Scheduled Pinned Locked Moved Projects and Themes
    themeretrocrtswitchres1920 x 240
    26 Posts 6 Posters 6.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by

      @NikooZ said in Theme for super CRT resolutions 1920 x 240:

      But I don't know how to do that, I'm not sure if the emulators can change the system resolutions ?

      You can use the runcommand scripting support to change resolution before and after the the emulator(s) run. Something like this.

      NikooZN 1 Reply Last reply Reply Quote 0
      • NikooZN
        NikooZ
        last edited by

        Very useful, thanks, I will try that !

        1 Reply Last reply Reply Quote 0
        • NikooZN
          NikooZ @mitu
          last edited by

          @mitu I tried the script, but it doesn't work... Maybe it was made for the RetroTink adapter, I personnally use a vga666 adapter, the parameters in the scrips doesn't seem to be the same...

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            You can use the resolution line in your config.txt (for the super-resolution) in the on-start scripts, replacing the values there (which might not fit the VGA666 adapter) and see if it works.

            NikooZN 1 Reply Last reply Reply Quote 0
            • M
              M3th0D
              last edited by

              Gonna jump in on this thread as I want to do something similar.

              My setup is an arcade monitor 15khz using a JPac and HDMI to VGA converter.

              config:
              hdmi_cvt=1920 240 60 1 1 0 0
              hdmi_group=1
              hdmi_mode=6

              runcommand-onstart.sh:
              tvservice -e "DMT 87" ; sleep 3 ; fbset -depth 8 ; fbset -depth 32; tvservice -s

              runcommand-onend.sh
              tvservice -e "CEA 6" ; sleep 3 ; fbset -depth 8 ; fbset -depth 32; tvservice -s

              This gives 480i emulation station and 1920x240 in retroarch.
              What Id like to do is have 320x240 in emulation station and 1920x240.

              Unfortunately HDMI timing doesn't work with this setup. Is there a way to do it in the config?

              1 Reply Last reply Reply Quote 0
              • NikooZN
                NikooZ @mitu
                last edited by

                @mitu That's what I did. Runcommand error log return an error on tvservice which could not activate the DMT 87 function. Seems logical, because my VGA adapter is on the GPIO ports, and TVservice seems to work only with HDMI ports. I looked on other forums, and it seems to be a problem linked to the Raspberry pi4 and tvservice which is not supported...

                M 1 Reply Last reply Reply Quote 0
                • M
                  M3th0D @NikooZ
                  last edited by

                  @NikooZ Im sure i remember reading that you use hdmi_timings for the vga666. Sorry I don't know that much about it.

                  NikooZN 1 Reply Last reply Reply Quote 0
                  • NikooZN
                    NikooZ @M3th0D
                    last edited by

                    @M3th0D Yes my VGA adapter for GPIO works with vga666 overlay

                    1 Reply Last reply Reply Quote 0
                    • Y
                      youxia
                      last edited by

                      @NikooZ Retrotink is a very similar setup to GPIO, maybe overlay is different but we use the same runcommands. It should work for you, are you sure you did everything right?

                      I use Pi2SCART (GPIO, 666 overlay) and this is my runcommand-onstart:

                      #vcgencmd hdmi_timings 1920 1 24 192 184 240 1 4 5 14 0 0 0 60.0 0 36609600 1
                      tvservice -e "DMT 87"
                      fbset -depth 32 && fbset -depth 32 -xres 320 -yres 256
                      
                      

                      You can replace the values after hdmi_timings with your own hi-res ones. Just make sure you get rid of them in config.txt (put hdmi_timings 320 1 23 25 39 240 1 4 3 15 0 0 0 60 0 6400000 1 instead, they work on my generic Trinitron)

                      and runcommand-onend:

                      vcgencmd hdmi_timings 320 1 23 25 39 240 1 4 3 15 0 0 0 60 0 6400000 1
                      tvservice -e "DMT 87"
                      fbset -depth 8 && fbset -depth 16 -xres 320 -yres 240
                      

                      Alternatively you can try to use this ready made images (download vga666 version): https://www.elotrolado.net/hilo_retropie-crt-edition-raspberry-pi-2b-3b-3b-tv-15khz-vga666-pi2scart-rgb-pi_2328132

                      @M3th0D there was a thread about using this adapter and settings for it recently, have a look around

                      M NikooZN 3 Replies Last reply Reply Quote 1
                      • M
                        M3th0D @youxia
                        last edited by

                        @youxia I've had a good look around the forum but can't find what I'm looking for. It's ok if i use 480i but i have a decent 240p theme. I am having to play at 320x240 atm :/

                        1 Reply Last reply Reply Quote 0
                        • NikooZN
                          NikooZ @youxia
                          last edited by

                          @youxia Thank you ! I will try it !

                          1 Reply Last reply Reply Quote 0
                          • NikooZN
                            NikooZ @youxia
                            last edited by

                            @youxia That didn't work. The error log show me the same error as my previous tries :

                            [E] Failed to power on HDMI with explicit settings (DMT mode 87)
                            ioctl FBIOPUT_VSCREENINFO: Invalid argument
                            Parameters:
                            Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbneo/fbneo_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/sfa3.zip" --appendconfig /dev/shm/retroarch.cfg
                            [CDROM] No sg devices found and sg kernel module is not loaded.
                            [E] Failed to power on HDMI with explicit settings (DMT mode 87)
                            ioctl FBIOPUT_VSCREENINFO: Invalid argument

                            1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator
                              last edited by

                              @NikooZ what PI model do you have ?

                              NikooZN 1 Reply Last reply Reply Quote 0
                              • NikooZN
                                NikooZ @mitu
                                last edited by

                                @mitu Pi4

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @NikooZ
                                  last edited by mitu

                                  @NikooZ tvservice for resolution switching is not recommended anymore for the Pi4, due to the change in the GPU driver stack. Most likely any setups relying on it for dynamic resolution switching will encounter problems.

                                  NikooZN 1 Reply Last reply Reply Quote 1
                                  • NikooZN
                                    NikooZ @mitu
                                    last edited by

                                    @mitu OK thanks. We have to wait for a solution, then !

                                    Meanwhile, I can test these previous settings on a pi3b+, this will work ?

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @NikooZ
                                      last edited by

                                      Meanwhile, I can test these previous settings on a pi3b+, this will work ?

                                      Yes, they should work.

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        youxia
                                        last edited by youxia

                                        @M3th0D I don't really know much about this method (pun not intended :), you can have a look at these two threads, maybe you can salvage something from there. shmups.System11 is always a good place to ask about such stuff anyway:

                                        https://shmups.system11.org/viewtopic.php?f=6&t=64797

                                        http://forum.attractmode.org/index.php?topic=1324.0

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          M3th0D
                                          last edited by

                                          I think the only way is to have something like:

                                          CEA for emulationstation and DMT for retroarch. I can't figure out any other way :/

                                          1 Reply Last reply Reply Quote 0
                                          • ohmycommodoreO
                                            ohmycommodore
                                            last edited by

                                            I don't think anyone really replied as to the best theme for this type of setup? What themes that work well?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.