• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

RP4 on 15kHz arcade cabinet : how to properly set TATE games resolution?

Scheduled Pinned Locked Moved Help and Support
retropie 4.6resolutiontate modemame 2003 plus
17 Posts 3 Posters 3.1k 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.
  • N
    Nevohteeb
    last edited by 19 Jul 2020, 17:29

    Hi Rion,

    I'll give that a try, thx.

    N 1 Reply Last reply 21 Jul 2020, 15:20 Reply Quote 0
    • N
      Nevohteeb @Nevohteeb
      last edited by 21 Jul 2020, 15:20

      Hello everyone,

      there must be something I do not do well or I do not understand.

      Actually, I manage to change the resolution by using the vcgencmd. It actually works under emulstation (I can see the difference between old/new resolution).
      Nevertheless, as soon as I launch any game, the screen remains black. I don't even see the launch message (the white strip with the name of the emulator, I guess you know the one.).

      I also tried to use the run command-onstart/onend.sh scripts. Same problem.

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 21 Jul 2020, 16:09

        Can you post your onstart script ?

        N 1 Reply Last reply 21 Jul 2020, 16:48 Reply Quote 0
        • N
          Nevohteeb @mitu
          last edited by 21 Jul 2020, 16:48

          @mitu said in RP4 on 15kHz arcade cabinet : how to properly set TATE games resolution?:

          Can you post your onstart script ?

          Here it is :

          vcgencmd hdmi_timings 384 1 75 32 115 224 1 14 10 18 0 0 0 60 0 9600000 1
          tvservice -e "DMT 87"
          fbset -depth 8 && fbset -depth 16 -xres 384 -yres 224

          The hdmi_timings here are just an example.

          1 Reply Last reply Reply Quote 0
          • M
            mitu Global Moderator
            last edited by 21 Jul 2020, 16:58

            tvservice doesn't function correctly on a Pi4 - since it use a new set of drivers and tvservice doesn't know about the DRM/KMS layer.

            N 2 Replies Last reply 21 Jul 2020, 17:10 Reply Quote 0
            • N
              Nevohteeb @mitu
              last edited by 21 Jul 2020, 17:10

              Well, I indeed read that somewhere, but what I do not understand is that if I just write the aforementioned script under another name, let's say "set_video.sh", I actually see the image changing, which makes me think the resolution changed.

              Then, is there another way to modify the resolution on the fly ?

              M 1 Reply Last reply 21 Jul 2020, 17:13 Reply Quote 0
              • M
                mitu Global Moderator @Nevohteeb
                last edited by mitu 21 Jul 2020, 17:13

                @Nevohteeb said in RP4 on 15kHz arcade cabinet : how to properly set TATE games resolution?:

                Then, is there another way to modify the resolution on the fly ?

                AFAIK, only if you're running under X and using xrandr to create new resolutions and change them on the fly. Not sure you'll get 100% the same functionality as tvservice offered on previous Pi models.

                1 Reply Last reply Reply Quote 0
                • N
                  Nevohteeb @mitu
                  last edited by 21 Jul 2020, 17:19

                  @mitu said in RP4 on 15kHz arcade cabinet : how to properly set TATE games resolution?:

                  tvservice doesn't function correctly on a Pi4 - since it use a new set of drivers and tvservice doesn't know about the DRM/KMS layer.

                  Just one question about that: if tvsercice does not work on RPI 4, why is it mentioned in the documentation here : https://www.raspberrypi.org/documentation/configuration/hdmi-config.md

                  Even for RPI 4.

                  M 1 Reply Last reply 21 Jul 2020, 17:23 Reply Quote 0
                  • M
                    mitu Global Moderator @Nevohteeb
                    last edited by 21 Jul 2020, 17:23

                    @Nevohteeb tvservice still works when you're not using the v3d KMS/DRM driver, but then you'll loose all the 3D/GL functionality - not a very usable system for RetroPie and the emulators included.
                    Maybe the documentation needs updated to specify the Pi4 limitations for tvservice.

                    N 1 Reply Last reply 21 Jul 2020, 17:26 Reply Quote 0
                    • N
                      Nevohteeb @mitu
                      last edited by 21 Jul 2020, 17:26

                      Ok, well, thx. :)
                      I guess I should downgrade to RPI 3 then.

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nevohteeb
                        last edited by 23 Jul 2020, 11:35

                        @mitu said in RP4 on 15kHz arcade cabinet : how to properly set TATE games resolution?:

                        tvservice doesn't function correctly on a Pi4 - since it use a new set of drivers and tvservice doesn't know about the DRM/KMS layer.

                        I installed retropie on a RPI3 and I still have the same message.

                        [E] Failed to power on HDMI with explicit settings (DMT mode 87)
                        
                        M 1 Reply Last reply 23 Jul 2020, 13:08 Reply Quote 0
                        • M
                          mitu Global Moderator @Nevohteeb
                          last edited by 23 Jul 2020, 13:08

                          @Nevohteeb You'll have to provide the complete command that gives this error - maybe the video mode you're trying to set is not correct ?

                          N 1 Reply Last reply 23 Jul 2020, 16:10 Reply Quote 0
                          • N
                            Nevohteeb @mitu
                            last edited by 23 Jul 2020, 16:10

                            @mitu

                            Hi mitu,

                            it happens when i do:

                            vcgencmd hdmi_timings 320 1 16 30 34 240 1 2 3 22 0 0 0 60 0 6400000 1
                            tvservice -e "DMT 87"

                            Actually, the hdmi_timings are good. The problematic part is the tvservice one.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mitu Global Moderator
                              last edited by 23 Jul 2020, 16:42

                              From the looks of it, tvservice may be trying to power on the actual HDMI port. Do you have configured the PI to output to GPIO by default ?

                              enable_dpi_lcd=1
                              display_default_lcd=1
                              
                              1 Reply Last reply Reply Quote 0
                              • N
                                Nevohteeb
                                last edited by 24 Jul 2020, 10:09

                                This is the results of vcgencmd get_config int.
                                enable_dpi_lcd and display_default_lcd are set to 1.

                                arm_freq=1500
                                audio_pwm_mode=514
                                config_hdmi_boost=5
                                core_freq=500
                                core_freq_min=200
                                disable_audio_dither=1
                                disable_commandline_tags=2
                                disable_l2cache=1
                                display_default_lcd=1
                                display_hdmi_rotate=-1
                                display_lcd_rotate=-1
                                dpi_group=2
                                dpi_mode=87
                                enable_dpi_lcd=1
                                enable_gic=1
                                force_eeprom_read=1
                                force_pwm_open=1
                                framebuffer_ignore_alpha=1
                                framebuffer_swap=1
                                gpu_freq=500
                                gpu_freq_min=250
                                init_uart_clock=0x2dc6c00
                                mask_gpu_interrupt0=1024
                                mask_gpu_interrupt1=0x10000
                                max_framebuffers=2
                                over_voltage_avs=-23750
                                overscan_scale=1
                                pause_burst_frames=1
                                program_serial_random=1
                                total_mem=4096
                                hdmi_force_cec_address:0=65535
                                hdmi_force_cec_address:1=65535
                                hdmi_ignore_edid_audio:0=1
                                hdmi_pixel_freq_limit:0=0x11e1a300
                                hdmi_pixel_freq_limit:1=0x11e1a300
                                
                                
                                1 Reply Last reply Reply Quote 0
                                17 out of 17
                                • First post
                                  17/17
                                  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.

                                  This community forum collects and processes your personal information.
                                  consent.not_received