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 93.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.
    • P
      phialek @mechafatnick
      last edited by

      @mechafatnick

      i hope this will help to get it running, here is the content:

      ;;
      ;; Supermodel Configuration File
      ;; Default settings for Version 0.3a.
      ;;

      ;
      ; Quick Overview
      ; --------------
      ;
      ; All settings are case sensitive. Numbers must be integers. Check your
      ; spelling carefully because invalid settings are silently ignored. To verify
      ; that your settings are being parsed correctly, check the contents of
      ; error.log.
      ;
      ; Global options apply to all games. To create configuration profiles for
      ; individual games, place settings under sections with the same name as the
      ; corresponding MAME ROM set, like so:
      ;
      ; ; Scud Race
      ; [ scud ]
      ;
      ; SoundVolume = 50
      ; MusicVolume = 200
      ; ; ... etc. ...
      ;
      ; Input mappings are an exceptional case: they are only allowed in the global
      ; section. Per-game input mappings are not supported.
      ;
      ; For a list of all valid settings, please consult README.txt. Only default
      ; inputs are assigned here.
      ;

      [ Global ] ; Input settings can only be read from the global section!

      ; Network board
      Network = 0
      SimulateNet = 1
      PortIn = 1970
      PortOut = 1971
      AddressOut = "127.0.0.1"

      ; Common
      InputStart1 = "KEY_1,JOY1_BUTTON9"
      InputStart2 = "KEY_2,JOY2_BUTTON9"
      InputCoin1 = "KEY_3,JOY1_BUTTON10"
      InputCoin2 = "KEY_4,JOY2_BUTTON10"
      InputServiceA = "KEY_5"
      InputServiceB = "KEY_7"
      InputTestA = "KEY_6"
      InputTestB = "KEY_8"
      InputUIExit = "KEY_ESCAPE,JOY1_BUTTON10+JOY1_BUTTON9"
      InputUIPause = "JOY1_BUTTON9+JOY1_BUTTON1"
      InputUIScreenShot = "JOY1_BUTTON9+JOY1_BUTTON5"
      InputUISaveState = "JOY1_BUTTON9+JOY1_BUTTON7"
      InputUILoadState = "JOY1_BUTTON9+JOY1_BUTTON8"

      ; 4-way digital joysticks
      InputJoyUp = "KEY_UP,JOY1_UP"
      InputJoyDown = "KEY_DOWN,JOY1_DOWN"
      InputJoyLeft = "KEY_LEFT,JOY1_LEFT"
      InputJoyRight = "KEY_RIGHT,JOY1_RIGHT"
      InputJoyUp2 = "JOY2_UP"
      InputJoyDown2 = "JOY2_DOWN"
      InputJoyLeft2 = "JOY2_LEFT"
      InputJoyRight2 = "JOY2_RIGHT"

      ; Fighting game buttons
      InputPunch = "KEY_A,JOY1_BUTTON1"
      InputKick = "KEY_S,JOY1_BUTTON2"
      InputGuard = "KEY_D,JOY1_BUTTON3"
      InputEscape = "KEY_F,JOY1_BUTTON4"
      InputPunch2 = "JOY2_BUTTON1"
      InputKick2 = "JOY2_BUTTON2"
      InputGuard2 = "JOY2_BUTTON3"
      InputEscape2 = "JOY2_BUTTON4"

      ; Spikeout buttons
      InputShift = "KEY_A,JOY1_BUTTON1"
      InputBeat = "KEY_S,JOY1_BUTTON2"
      InputCharge = "KEY_D,JOY1_BUTTON3"
      InputJump = "KEY_F,JOY1_BUTTON4"

      ; Virtua Striker buttons
      InputShortPass = "KEY_A,JOY1_BUTTON1"
      InputLongPass = "KEY_S,JOY1_BUTTON2"
      InputShoot = "KEY_D,JOY1_BUTTON3"
      InputShortPass2 = "JOY2_BUTTON1"
      InputLongPass2 = "JOY2_BUTTON2"
      InputShoot2 = "JOY2_BUTTON3"

      ; Steering wheel
      InputSteeringLeft = "KEY_LEFT" ; digital, turn wheel left
      InputSteeringRight = "KEY_RIGHT" ; digital, turn wheel right
      InputSteering = "JOY1_XAXIS" ; analog, full steering range

      ; Pedals
      InputAccelerator = "KEY_UP,JOY1_UP"
      InputBrake = "KEY_DOWN,JOY1_DOWN"

      ; Up/down shifter manual transmission (all racers)
      InputGearShiftUp = "KEY_Y" ; sequential shift up
      InputGearShiftDown = "KEY_H" ; sequential shift down

      ; 4-Speed manual transmission (Daytona 2, Sega Rally 2, Scud Race)
      InputGearShift1 = "KEY_Q,JOY1_BUTTON5"
      InputGearShift2 = "KEY_W,JOY1_BUTTON6"
      InputGearShift3 = "KEY_E,JOY1_BUTTON7"
      InputGearShift4 = "KEY_R,JOY1_BUTTON8"
      InputGearShiftN = "KEY_T"

      ; VR4 view change buttons (Daytona 2, Le Mans 24, Scud Race)
      InputVR1 = "KEY_A,JOY1_BUTTON1"
      InputVR2 = "KEY_S,JOY1_BUTTON2"
      InputVR3 = "KEY_D,JOY1_BUTTON3"
      InputVR4 = "KEY_F,JOY1_BUTTON4"

      ; Single view change button (Dirt Devils, ECA, Harley-Davidson, Sega Rally 2)
      InputViewChange = "KEY_A,JOY1_BUTTON1"

      ; Handbrake (Dirt Devils, Sega Rally 2)
      InputHandBrake = "KEY_S,JOY1_BUTTON2"

      ; Harley-Davidson controls
      InputRearBrake = "KEY_S,JOY1_BUTTON2"
      InputMusicSelect = "KEY_D,JOY1_BUTTON3"

      ; Virtual On macros
      InputTwinJoyTurnLeft = "KEY_Q,JOY1_RXAXIS_NEG"
      InputTwinJoyTurnRight = "KEY_W,JOY1_RXAXIS_POS"
      InputTwinJoyForward = "KEY_UP,JOY1_YAXIS_NEG"
      InputTwinJoyReverse = "KEY_DOWN,JOY1_YAXIS_POS"
      InputTwinJoyStrafeLeft = "KEY_LEFT,JOY1_XAXIS_NEG"
      InputTwinJoyStrafeRight = "KEY_RIGHT,JOY1_XAXIS_POS"
      InputTwinJoyJump = "KEY_E,JOY1_BUTTON1"
      InputTwinJoyCrouch = "KEY_R,JOY1_BUTTON2"

      ; Virtual On individual joystick mapping
      InputTwinJoyLeft1 = "NONE"
      InputTwinJoyLeft2 = "NONE"
      InputTwinJoyRight1 = "NONE"
      InputTwinJoyRight2 = "NONE"
      InputTwinJoyUp1 = "NONE"
      InputTwinJoyUp2 = "NONE"
      InputTwinJoyDown1 = "NONE"
      InputTwinJoyDown2 = "NONE"

      ; Virtual On buttons
      InputTwinJoyShot1 = "KEY_A,JOY1_BUTTON5"
      InputTwinJoyShot2 = "KEY_S,JOY1_BUTTON6"
      InputTwinJoyTurbo1 = "KEY_Z,JOY1_BUTTON7"
      InputTwinJoyTurbo2 = "KEY_X,JOY1_BUTTON8"

      ; Analog joystick (Star Wars Trilogy)
      InputAnalogJoyLeft = "KEY_LEFT" ; digital, move left
      InputAnalogJoyRight = "KEY_RIGHT" ; digital, move right
      InputAnalogJoyUp = "KEY_UP" ; digital, move up
      InputAnalogJoyDown = "KEY_DOWN" ; digital, move down
      InputAnalogJoyX = "JOY_XAXIS,MOUSE_XAXIS" ; analog, full X axis
      InputAnalogJoyY = "JOY_YAXIS,MOUSE_YAXIS" ; analog, full Y axis
      InputAnalogJoyTrigger = "KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON"
      InputAnalogJoyEvent = "KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON"
      InputAnalogJoyTrigger2 = "KEY_D,JOY_BUTTON2"
      InputAnalogJoyEvent2 = "NONE"

      ; Light guns (Lost World)
      InputGunLeft = "KEY_LEFT" ; digital, move gun left
      InputGunRight = "KEY_RIGHT" ; digital, move gun right
      InputGunUp = "KEY_UP" ; digital, move gun up
      InputGunDown = "KEY_DOWN" ; digital, move gun down
      InputGunX = "MOUSE_XAXIS,JOY1_XAXIS" ; analog, full X axis
      InputGunY = "MOUSE_YAXIS,JOY1_YAXIS" ; analog, full Y axis
      InputTrigger = "KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON"
      InputOffscreen = "KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON" ; point off-screen
      InputAutoTrigger = 0 ; automatic reload when off-screen
      InputGunLeft2 = "NONE"
      InputGunRight2 = "NONE"
      InputGunUp2 = "NONE"
      InputGunDown2 = "NONE"
      InputGunX2 = "JOY2_XAXIS"
      InputGunY2 = "JOY2_YAXIS"
      InputTrigger2 = "JOY2_BUTTON1"
      InputOffscreen2 = "JOY2_BUTTON2"
      InputAutoTrigger2 = 0

      ; Analog guns (Ocean Hunter, LA Machineguns)
      InputAnalogGunLeft = "KEY_LEFT" ; digital, move gun left
      InputAnalogGunRight = "KEY_RIGHT" ; digital, move gun right
      InputAnalogGunUp = "KEY_UP" ; digital, move gun up
      InputAnalogGunDown = "KEY_DOWN" ; digital, move gun down
      InputAnalogGunX = "MOUSE_XAXIS,JOY1_XAXIS" ; analog, full X axis
      InputAnalogGunY = "MOUSE_YAXIS,JOY1_YAXIS" ; analog, full Y axis
      InputAnalogTriggerLeft = "KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON"
      InputAnalogTriggerRight = "KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON"
      InputAnalogGunLeft2 = "NONE"
      InputAnalogGunRight2 = "NONE"
      InputAnalogGunUp2 = "NONE"
      InputAnalogGunDown2 = "NONE"
      InputAnalogGunX2 = "NONE"
      InputAnalogGunY2 = "NONE"
      InputAnalogTriggerLeft2 = "NONE"
      InputAnalogTriggerRight2 = "NONE"

      ; Ski Champ controls
      InputSkiLeft = "KEY_LEFT"
      InputSkiRight = "KEY_RIGHT"
      InputSkiUp = "KEY_UP"
      InputSkiDown = "KEY_DOWN"
      InputSkiX = "JOY1_XAXIS"
      InputSkiY = "JOY1_YAXIS"
      InputSkiPollLeft = "KEY_A,JOY1_BUTTON1"
      InputSkiPollRight = "KEY_S,JOY1_BUTTON2"
      InputSkiSelect1 = "KEY_Q,JOY1_BUTTON3"
      InputSkiSelect2 = "KEY_W,JOY1_BUTTON4"
      InputSkiSelect3 = "KEY_E,JOY1_BUTTON5"

      ; Magical Truck Adventure controls
      InputMagicalLeverUp1 = "KEY_UP"
      InputMagicalLeverDown1 = "KEY_DOWN"
      InputMagicalLeverUp2 = "NONE"
      InputMagicalLeverDown2 = "NONE"
      InputMagicalLever1 = "JOY1_YAXIS"
      InputMagicalLever2 = "JOY2_YAXIS"
      InputMagicalPedal1 = "KEY_A,JOY1_BUTTON1"
      InputMagicalPedal2 = "KEY_S,JOY2_BUTTON1"

      ; Sega Bass Fishing / Get Bass controls
      InputFishingRodLeft = "KEY_LEFT"
      InputFishingRodRight = "KEY_RIGHT"
      InputFishingRodUp = "KEY_UP"
      InputFishingRodDown = "KEY_DOWN"
      InputFishingStickLeft = "KEY_A"
      InputFishingStickRight = "KEY_D"
      InputFishingStickUp = "KEY_W"
      InputFishingStickDown = "KEY_S"
      InputFishingRodX = "JOY1_XAXIS"
      InputFishingRodY = "JOY1_YAXIS"
      InputFishingStickX = "JOY1_RXAXIS"
      InputFishingStickY = "JOY1_RYAXIS"
      InputFishingReel = "KEY_SPACE,JOY1_ZAXIS_POS"
      InputFishingCast = "KEY_Z,JOY1_BUTTON1"
      InputFishingSelect = "KEY_X,JOY1_BUTTON2"
      InputFishingTension = "KEY_T,JOY1_ZAXIS_NEG"
      ;Our pi-specific non input settings...
      EmulateDSB = 0
      MusicVolume = 60
      SoundVolume = 60
      Stretch=1
      VSync=0
      Throttle=0
      ;GameXMLFile= Config/Games.xml
      New3DEngine=0
      ;daytona 2 power edition
      [ dayto2pe ]
      PowerPCFrequency = 90
      EmulateDSB = 1
      ;daytona 2: battle to the edge
      [ daytona2 ]
      PowerPCFrequency = 90
      EmulateDSB = 1
      ;Dirt Devils (Export, Revision A)
      [ dirtdvls ]
      PowerPCFrequency = 60
      ;Dirt Devils (Australia, Revision A)
      [ dirtdvlsa ]
      PowerPCFrequency = 60
      ;Dirt Devils (German)
      [ dirtdvlsg ]
      PowerPCFrequency = 60
      ;Dirt Devils (Japan, Revision A)
      [ dirtdvlsj ]
      PowerPCFrequency = 60
      ;Emergency Call Ambulance (Export) - NOT WORKING PI
      [ eca ]
      ;Emergency Call Ambulance (Japan) - NOIT WORKING PI
      [ ecaj ]
      ;Emergency Call Ambulance (US location test?) - NOT WORKING PI
      [ ecap ]
      ;Emergency Call Ambulance (USA) - NOT WORKING PI
      [ ecau ]
      ;Fighting Vipers 2 (Japan, Revision A)
      [ fvipers2 ]

      PowerPCFrequency = 55
      ;Fighting Vipers 2 (?)
      [ fvipers2o ]
      PowerPCFrequency = 48
      ;Get Bass (?)
      [ getbass ]
      PowerPCFrequency = 30
      ;Harley-Davidson and L.A. Riders (Revision B) - pi too slow
      [ harley ]
      PowerPCFrequency = 166
      ;Harley-Davidson and L.A. Riders (Revision A) - pi too slow
      [ harleya ]
      PowerPCFrequency = 166
      ;L.A. Machineguns: Rage of the Machines (Japan)
      [ lamachin ]
      PowerPCFrequency = 40
      EmulateDSB = 1
      ;Le Mans 24 (Revision B)
      [ lemans24 ]
      ;The Lost World (Japan, Revision A)
      [ lostwsga ];The Lost World (Original Revision)
      PowerPCFrequency = 30
      [ lostwsgo ]
      PowerPCFrequency = 30
      ;Magical Truck Adventure (Japan)
      [ magtruck ]
      ;The Ocean Hunter - Default works fine on pi
      [ oceanhun ]
      ;Scud Race (Australia, Twin)
      [ scud ]
      PowerPCFrequency = 35
      MusicVolume = 200
      EmulateDSB = 10
      ;Scud Race (Export, Twin)
      [ scuda ]
      PowerPCFrequency = 35
      MusicVolume = 200
      EmulateDSB = 1
      ;Scud Race (Japan, Deluxe)
      [ scudj ]
      PowerPCFrequency = 35
      MusicVolume = 200
      EmulateDSB = 1
      ;Scud Race Plus (Revision A)
      [ scudplus ]
      PowerPCFrequency = 35
      MusicVolume = 200
      EmulateDSB = 1
      ;Scud Race Plus (?)
      [ scudplusa ]
      PowerPCFrequency = 35
      MusicVolume = 200
      EmulateDSB = 1
      ;Ski Champ (Japan)
      [ skichamp ]
      ;PowerPCFrequency = 43
      PowerPCFrequency = 60
      InitStateFile = Saves/skichamp.st

      ;Spikeout Final Edition (?) - too slow on pi
      [ spikeofe ]
      PowerPCFrequency = 100
      EmulateDSB = 1
      ;Spikeout (Revision C)
      [ spikeout ]
      ;PowerPCFrequency = 35
      PowerPCFrequency = 55
      EmulateDSB = 1
      ;Sega Rally 2 (?)
      [ srally2 ]
      EmulateDSB = 1
      PowerPCFrequency = 60
      InitStateFile = Saves/srally2.st
      ;Sega Rally 2 (Prototype)
      [ srally2p ]
      PowerPCFrequency = 48
      EmulateDSB = 1
      ;Sega Rally 2 (Prototype Version A)
      [ srally2pa ]
      PowerPCFrequency = 48
      EmulateDSB = 1
      ;Sega Rally 2 (Deluxe)
      [ srally2x ] ; Playable on pi but more slower down than srally2
      EmulateDSB = 1
      ;Star Wars Trilogy Arcade (Revision A) - not working pi
      [ swtrilgy ]
      PowerPCFrequency = 110
      EmulateDSB = 1
      ;Star Wars Trilogy Arcade (?)
      [ swtrilgya ]
      PowerPCFrequency = 110
      EmulateDSB = 1
      ;Star Wars Trilogy Arcade (?)
      [ swtrilgyp ]
      PowerPCFrequency = 110
      EmulateDSB = 1
      ;Virtua Fighter 3 (Revision D)
      [ vf3 ]
      PowerPCFrequency = 40
      ;Virtua Fighter 3 (Revision A)
      [ vf3a ]
      PowerPCFrequency = 40
      ;Virtua Fighter 3 (Revision C)
      [ vf3c ]
      PowerPCFrequency = 40
      ;Virtua Fighter 3 Team Battle (?)
      [ vf3tb ]
      PowerPCFrequency = 40
      ;Virtual On 2: Oratorio Tangram (Revision B)
      [ von2 ]
      PowerPCFrequency = 30
      ;Virtual On 2: Oratorio Tangram (Ver 5.4g)
      [ von254g ]
      PowerPCFrequency = 30
      ;Virtual On 2: Oratorio Tangram (Revision A)
      [ von2a ]
      PowerPCFrequency = 30
      ;Virtual On 2: Oratorio Tangram (?)
      [ von2o ]
      PowerPCFrequency = 35
      ;Virtua Striker 2 (Step 2.0) - no special settings
      [ vs2 ]
      ;Virtua Striker 2 (Step 1.5) - no special settings
      [ vs215 ]
      ;Virtua Striker 2 (Step 1.5, older) - no special settings
      [ vs215o ]
      ;Virtua Striker 2 '98 (Step 2.0) - no special settings
      [ vs298 ]
      ;Virtua Striker 2 '98 (Step 1.5) - no special settings
      [ vs29815 ]
      ;Virtua Striker 2 '99 (?)
      [ vs299 ]
      ;Virtua Striker 2 '99 (Step 1.5)
      [ vs29915 ]
      ;Virtua Striker 2 '99 (Revision A)
      [ vs299a ]
      ;Virtua Striker 2 '99 (Revision B)
      [ vs299b ]
      ;Virtua Striker 2 '99.1 (Revision B)
      [ vs2v991 ]

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

        @phialek Hmm that's all as it should be:
        New3DEngine=0

        I don't suppose you remember installing anything that would intefere with the standard X Server?

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

          @mechafatnick

          I don't know what a standard x server is. :))

          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 800x600

          I really think the problem is in those lines

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