• 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

Lincity-ng slow performance

Scheduled Pinned Locked Moved Help and Support
portsports retropieretropie 4.4
13 Posts 2 Posters 925 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.
  • R
    retropi19
    last edited by 8 May 2019, 09:10

    Hey there.i have installed and tested the Lincity-NG game with a Raspberry pi 3B+ and the game is performing really slow.

    i also tried it with matchbox its faster there but the mouse pointer is not visible.

    any suggestions ??

    Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

    Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 8 May 2019, 09:23

      Can you please add more info about your system - as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

      What is 'matchbox' ? Is it a Linux distribution ?

      R 1 Reply Last reply 8 May 2019, 09:32 Reply Quote 0
      • R
        retropi19 @mitu
        last edited by 8 May 2019, 09:32

        matchbox its a window manager etc matchbox-windows-manager its included in some ports configurations eg: the minecraft.sh has in the depends the xorg matchbox and inside the ports folder the minecraft,sh executable has the commands:

        #!/bin/bash
        xset -dpms s off s noblank
        matchbox-window-manager &
        /usr/bin/minecraft-pi

        so it can run correctly

        i have a Raspberry pi 3B+ with an official 2.5a power supply and a wireless usb mouse/keyboard 2in1 connected with a 8gb kingston c4 card in Latest retropie 4.4.12

        Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

        Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 8 May 2019, 11:06

          I'll give it a test, if it does make a difference then we might change the scriptmodule. What screen resolution are you using ?

          R 1 Reply Last reply 8 May 2019, 12:08 Reply Quote 0
          • R
            retropi19 @mitu
            last edited by 8 May 2019, 12:08

            i used the default resolution that came after installed the game i think it was 1024x768
            then i tried many resolution with matchbox but it did not make a difference
            if you run the game normal(xinit/xorg) the mouse pointer is visible but it performs slow
            if you run it with matchbox the mouse pointer is not visible but it performs faster

            Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

            Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

            1 Reply Last reply Reply Quote 0
            • M
              mitu Global Moderator
              last edited by 9 May 2019, 05:09

              I meant your screen resolution, I see the game starts at 1024x768 by default.
              Try the following modification and see if it makes things better:

              • open /opt/retropie/configs/ports/lincity-ng/emulators.cfg and modify the launch command for Lincity to
              lincity-ng = "xinit /usr/games/lincity-ng -f"
              default = "lincity-ng"
              

              This forces the game to start in fullscreen. I've run it and it doesn't seem to perform slow (on a 1080p screen, a normal RPI 3B).

              1 Reply Last reply Reply Quote 0
              • R
                retropi19
                last edited by retropi19 5 Sept 2019, 15:21 9 May 2019, 14:20

                i did that and i dont see any change the game performs slow and its not in full screen any other suggestion?

                Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

                M 1 Reply Last reply 9 May 2019, 14:29 Reply Quote 0
                • M
                  mitu Global Moderator @retropi19
                  last edited by 9 May 2019, 14:29

                  @retropi19 For me it doesn't seem so slow and it's fullscreen (though the game screen is just 1024x768, the rest is just a border). I'll test with matchbox started and see if it performs faster.
                  My intention is to find a better default configuration that we can add it by default, so it's useful to have someone else also test this configurations.

                  R 1 Reply Last reply 9 May 2019, 14:36 Reply Quote 0
                  • R
                    retropi19 @mitu
                    last edited by retropi19 5 Sept 2019, 15:55 9 May 2019, 14:36

                    No problem
                    i also tried from command line with the -f parameter eg: xinit /usr/games/lincity-ng -f it runs in full-screen but the mouse pointer is not visible.
                    it will be great to add a script in the Retropie-setup to add manual your own port

                    Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                    Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

                    M 1 Reply Last reply 9 May 2019, 18:16 Reply Quote 0
                    • M
                      mitu Global Moderator @retropi19
                      last edited by mitu 5 Sept 2019, 19:16 9 May 2019, 18:16

                      @retropi19 said in Lincity-ng slow performance:

                      I still can't reproduce the issue you're having, but that doesn't mean we can't modify the scriptmodule to add something extra. The 'start a WM before the main application' is also used for the SteamLink port. I'll try to add a patch to the scriptmodule.

                      it will be great to add a script in the Retropie-setup to add manual your own port

                      That's very easy to do - just create a .sh script in the ports folder that starts your game and that's it.

                      R 1 Reply Last reply 10 May 2019, 04:48 Reply Quote 0
                      • R
                        retropi19 @mitu
                        last edited by retropi19 5 Oct 2019, 06:00 10 May 2019, 04:48

                        @mitu thank you,but its not necessary all this maybe the problem is on my side only
                        anyway i installed battle of wesnoth and added manual an emulators.cfg and an sh file to ports and it works like a charm.i also did the same with hedgewars two good games the script should include.if you need tester for new ports/games let me know i have a small list of ports that added manual and are working.

                        what i mean with the script is like to create your own port just adding for example the name of the game/port in the script and its depends and it does the rest,creates an install entry for example in the experimental section,

                        Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                        Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

                        M 1 Reply Last reply 10 May 2019, 07:12 Reply Quote 0
                        • M
                          mitu Global Moderator @retropi19
                          last edited by 10 May 2019, 07:12

                          @retropi19 said in Lincity-ng slow performance:

                          what i mean with the script is like to create your own port just adding for example the name of the game/port in the script and its depends and it does the rest,creates an install entry for example in the experimental section,

                          It's not that simple, because a Port might require X installed or not, some ports require special configuration (arguments to start, GL backend settings, game data to be downloaded). That's why each port gets its own intallation script.

                          1 Reply Last reply Reply Quote 0
                          • R
                            retropi19
                            last edited by retropi19 5 Oct 2019, 11:40 10 May 2019, 07:16

                            i managed to run it in full speed with this command: startx lincity-ng the only downside is that its not full screen and the -f is not working with startx but its something
                            i know that some ports require different configuration,most of the ones i did i have found the configuration with many tests

                            thanks for helping

                            can you add to the lincity-ng install script the -f parameter its a good option for the game.

                            Rpi3B+ USB 2.0 Boot HDD Hitachi 40GB 5400rpm

                            Rpi4 4GB rev1.4 USB 3.0 Boot HDD Hitachi 160GB 7200rpm

                            1 Reply Last reply Reply Quote 0
                            13 out of 13
                            • First post
                              13/13
                              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