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

    Sega model 3 #segamodel3

    Scheduled Pinned Locked Moved Ideas and Development
    sega model 3supermodel
    304 Posts 23 Posters 94.6k 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.
    • F
      Folly @phialek
      last edited by Folly

      @phialek

      Can you do commands in the terminal ?
      Can you post the output of "xrandr" ?
      Perhaps there is a lead, in there.
      Just type "xrandr" like this :

      pi@raspberrypi:~ $ xrandr
      Screen 0: minimum 320 x 200, current 1600 x 900, maximum 7680 x 7680
      HDMI-1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 440mm x 250mm
         1600x900      60.00*+
         1920x1080     60.00    59.94  
         1440x900      59.90  
         1280x800      59.91  
         1152x864      75.00  
         1280x720      60.00    59.94  
         1024x768      75.03    60.00  
         832x624       74.55  
         800x600       75.00    60.32    56.25  
         720x480       60.00    59.94  
         640x480       75.00    60.00    59.94  
         720x400       70.08
      
      P 1 Reply Last reply Reply Quote 0
      • P
        phialek @Folly
        last edited by

        @folly

        The outcome is quite funny:

        Can't open display

        That's all what the terminal is giving me back.

        F 1 Reply Last reply Reply Quote 0
        • F
          Folly @phialek
          last edited by Folly

          @phialek

          Oh yea sorry, I forgot, you can't run xrandr without X-windows/xinit.
          As you do not have a desktop environment.
          So in this state, this output is ok.

          We have to do it a bit different.
          Can you add a line in /opt/retropie/configs/supermodel/emulators.cfg :

          xrandr = "XINIT:xrandr"
          

          And when you boot a rom select this line at launch.

          Now the output of xrandr will show in :
          /dev/shm/runcommand.log

          P 1 Reply Last reply Reply Quote 0
          • P
            phialek @Folly
            last edited by

            @folly

            ok

            this is the outcome:

            Parameters:
            Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty

            X.Org X Server 1.20.4
            X Protocol Version 11, Revision 0
            Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
            Current Operating System: Linux retropie 5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021 armv7l
            Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=E4:5F:01:37:FC:DD vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=2aba0d10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
            Build Date: 19 April 2021 03:23:36PM
            xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support)
            Current version of pixman: 0.36.0
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
            Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
            (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Wed Aug 11 19:34:27 2021
            (==) Using system config directory "/usr/share/X11/xorg.conf.d"
            modprobe: FATAL: Module g2d_23 not found in directory /lib/modules/5.10.52-v7l+
            xrandr: Failed to get size of gamma for output default
            xrandr: cannot find mode 640x480
            Set mode 640x480@60Hz on default

            Executing (via xinit): SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=37 xrandr

            xrandr: Failed to get size of gamma for output default
            Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
            default connected 1920x1080+0+0 0mm x 0mm
            1920x1080 0.00*
            xinit: connection to X server lost

            waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

            F 1 Reply Last reply Reply Quote 0
            • F
              Folly @phialek
              last edited by

              @phialek

              Thanks.

              There are a few things I see.
              xrandr only sees 1 resolution.
              And I don't have this :
              SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=37

              Well, I have to think about that.
              Not really sure where to look.
              I think I will hook up a TV and see what my output is.

              I will look at it tomorrow again and it can take a while before I respond to it.

              P 1 Reply Last reply Reply Quote 0
              • P
                phialek @Folly
                last edited by

                @folly
                im really thankful!

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

                  @phialek said in Sega model 3 #segamodel3:

                  xrandr: Failed to get size of gamma for output default
                  Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
                  default connected 1920x1080+0+0 0mm x 0mm
                  1920x1080 0.00*

                  This may happen because you modified config.txt and instructed the bootloader to ignore the display's EDID. Did you edit the config.txt file ? Then post the contents here - surrounded by code tags (```).

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    phialek @mitu
                    last edited by mitu

                    @mitu

                    thanks for your help. ive defiantly altered the config file because of overclocking, which runs stable. ive also tested supermodel without oc whivh was even slower. here is the 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=2
                    hdmi_mode=82
                    
                    hdmi_ignore_edid_audio=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
                    over_voltage=8
                    arm_freq=2147
                    gpu_freq=750
                    
                    # 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
                    #overscan_scale=1
                    gpu_mem=64
                    
                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @phialek
                      last edited by

                      @phialek Any reason you've added the hdmi_group/mode options ? Comment them, along with the hdmi_force_audio_edid=1 and try again. If you have a Pi4, the gpu_mem is also redundant and it's not needed (default is 76M).

                      P 1 Reply Last reply Reply Quote 1
                      • P
                        phialek @mitu
                        last edited by phialek

                        @mitu

                        I think i was trying to rotate the screen in moonlight, but i don't remember that really.

                        Can i just delete the hdmi group and hdmi mode comments there?

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Folly @phialek
                          last edited by Folly

                          @phialek

                          Good call of @mitu.
                          Actually I was thinking a bit in the same area, yesterday.

                          I would not delete the lines just comment them with # .
                          Your pi should boot if you comment those lines, just like this :

                          # 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=2
                          #hdmi_mode=82
                          
                          #hdmi_ignore_edid_audio=1
                          

                          Be aware that you always turn on your TV or monitor before turning on the pi.
                          Not the other way around, as the pi might not recognize the TV or monitor.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            phialek @Folly
                            last edited by

                            @folly

                            That is a small problem. I have a cabinet and everything will is powered on at the sane time. I will try it out anyway :)

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Folly @phialek
                              last edited by Folly

                              @phialek said in Sega model 3 #segamodel3:

                              @folly

                              That is a small problem. I have a cabinet and everything will is powered on at the sane time. I will try it out anyway :)

                              Powering the tv and pi at the same time will often give the same problem, not recognizing the TV or monitor properly.

                              Curious if it will improve after all recommendations.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                phialek @Folly
                                last edited by

                                @folly

                                unfortunatly that didnt help at all....

                                the log changed though, no more errors. but performance is as slow as before.

                                supermodel
                                Supermodel-mechafatnick-496x384
                                /home/pi/RetroPie/roms/supermodel/daytona2.zip
                                SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=37 pushd /opt/retropie/emulators/supermodel-mechafatnick; SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=37 ./supermodel -res=496,384 "/home/pi/RetroPie/roms/supermodel/daytona2.zip"

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  Folly @phialek
                                  last edited by

                                  @phialek

                                  Sad to hear it isn't improved.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    phialek @Folly
                                    last edited by

                                    @folly

                                    It's ok, ill stream those games over moonlight.

                                    Im sure though that one day i will get it to work ;)

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      mechafatnick @phialek
                                      last edited by

                                      @phialek How do other games hold up? Try Virtua Fighter 3.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Folly @mechafatnick
                                        last edited by

                                        @mechafatnick said in Sega model 3 #segamodel3:

                                        @folly Yes we talked about that didn't we? This is a good plan

                                        I canceled my idea of making a new thread, at this moment.
                                        It seems there isn't that much amino for it, otherwise more people would have reacted on the idea.

                                        We can always do it in the future, when there is more desire.
                                        Agreed ?

                                        CrushC LibationL 2 Replies Last reply Reply Quote 0
                                        • CrushC
                                          Crush @Folly
                                          last edited by

                                          @folly I was waiting with great anticipation for it :-p cause i'm totally lost in this thread, not sure whats still relevant and what is now obsolete instruction wize.

                                          1 Reply Last reply Reply Quote 1
                                          • LibationL
                                            Libation @Folly
                                            last edited by

                                            @folly I agree with Crush, I'd like to see a separate thread as well for the same reasons.

                                            1 Reply Last reply Reply Quote 2
                                            • 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.