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

    Mupen64plus-gles2n64 - Small screen in the down left

    Scheduled Pinned Locked Moved Help and Support
    gles2n64n64resolution
    13 Posts 5 Posters 6.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.
    • KvitekvistK
      Kvitekvist
      last edited by

      Hello!

      I have an issue with the Mupen64plus-gles2n64. The screen resolution is very small and the posistion is somewhere down left on the screen.

      Very much like in this post:
      alt text
      https://retropie.org.uk/forum/topic/23313/solved-certain-n64-games-screen-size-issue

      My configs:
      Pi4 4GB
      Using the latest test build: retropie-buster-4.5.19-rpi4.img

      What I have tried:
      Updated the emulator from source.
      Setting the resolution in emulationstation pre-launch screen.
      Also tried adjusting the size in the gles2n64 config file.

      I am now back to default settings:
      #gles2n64 Graphics Plugin for N64
      #by Orkin / glN64 developers and Adventus.
      config version=2

      #Window Settings:
      window width=640
      window height=480
      multisampling=0
      auto resolution=1

      #Framebuffer Settings:
      framebuffer bilinear=0
      framebuffer width=640
      framebuffer height=480

      #VI Settings:
      video force=1
      video width=640
      video height=480
      video stretch=1

      Any advice on where I can make the correct changes so that this emulator goes fullscreen?

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @Kvitekvist
        last edited by

        @Kvitekvist there are still some issues with mupen64plus on the pi 4. One of them is that gles2n64 isn't scaling properly (I think because it's not reading mupen64plus.sh correctly). Change your video mode in the runcommand menu to match the resolution you set in the gles2n64.conf file.

        1 Reply Last reply Reply Quote 0
        • KvitekvistK
          Kvitekvist
          last edited by

          Thanks for the update. Sure I will give that a try. Which of the resolution settings should be changed in the file? There are 3 different ones:
          #Window Settings:
          window width=640
          window height=480
          multisampling=0
          auto resolution=1

          #Framebuffer Settings:
          framebuffer bilinear=0
          framebuffer width=640
          framebuffer height=480

          #VI Settings:
          video force=1
          video width=640
          video height=480
          video stretch=1

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @Kvitekvist
            last edited by

            @Kvitekvist you can leave that file be. 640x480 should be fine. In the runcommand menu (launch a n64 game and when the runcommand prompt pops up press any button to enter the menu) then change the video mode for gles2n64 to 640x480 assuming your TV/monitor supports that resolution.

            1 Reply Last reply Reply Quote 0
            • KvitekvistK
              Kvitekvist
              last edited by Kvitekvist

              Thanks! I do get full resolution with that, but the screen is offset. Can I adjust the X Y posistion of the screen, or have it "fullscreen" to maybe automatically adjust/fit?
              alt text

              quicksilverQ 1 Reply Last reply Reply Quote 0
              • quicksilverQ
                quicksilver @Kvitekvist
                last edited by

                @Kvitekvist try changing video stretch to 0

                1 Reply Last reply Reply Quote 0
                • dankcushionsD
                  dankcushions Global Moderator
                  last edited by dankcushions

                  i can confirm this issue. you can fix it by editing /opt/retropie/configs/n64/gles2n64.conf and setting

                  window width=1920
                  window height=1080
                  

                  or whatever your screen is, but that's not the proper fix - it really should stay at low resolution and be scaled to fit the screen. i'm thinking about a fix now...

                  1 Reply Last reply Reply Quote 0
                  • F
                    floppes
                    last edited by

                    I am having the same issues with retropie-buster-4.6-rpi4 and a Pi 4 on my TV (1920x1080). When setting the N64 emulator to mupen64plus, the games are displayed very small in the lower left corner of the screen. Neither of the suggestions in this thread worked.
                    @dankcushions did you mean /opt/retropie/configs/n64/gles2n64.conf?

                    dankcushionsD KvitekvistK 2 Replies Last reply Reply Quote 1
                    • dankcushionsD
                      dankcushions Global Moderator @floppes
                      last edited by

                      @floppes yes, sorry - edited my post.

                      unfortunately i don't have the motivation to fix this and would sooner focus our efforts on GLideN64, which is the only maintained HLE plugin for n64. if anyone else wants to have a go, i put some hints here: https://github.com/RetroPie/RetroPie-Setup/issues/3118

                      1 Reply Last reply Reply Quote 0
                      • KvitekvistK
                        Kvitekvist
                        last edited by

                        I can confirm that your solution worked. BUT performance took a heavy hit. As you mention, this is probably because the resolution being too high? I will also test performance and the GLideN64. Thanks for mentioning this :)

                        quicksilverQ 1 Reply Last reply Reply Quote 0
                        • KvitekvistK
                          Kvitekvist @floppes
                          last edited by

                          @floppes This could be because some games are already "optimized" on rom level.
                          In the same folder there is a file named "gles2n64rom.conf". Try to change the resolution for the games you have issue with if they have resolutions set in that file.

                          1 Reply Last reply Reply Quote 0
                          • quicksilverQ
                            quicksilver @Kvitekvist
                            last edited by

                            @Kvitekvist if your display supports lower resolutions change the window size in the gles2n64.conf file to 640x480. Then when you launch a game, enter the runcommand menu before the game boots and change the default video mode for gles2n64 to 640x480.

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

                              This post is deleted!
                              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.