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

    Freeze background with display mode change

    Scheduled Pinned Locked Moved Help and Support
    videoes bugresolution
    11 Posts 2 Posters 982 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.
    • mituM
      mitu Global Moderator @misterxyz83
      last edited by

      You can switch resolution using the runcommand launch menu, without extra scripts - any reason you're not using it ?

      Post the scripts you're using and your system setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

      M 1 Reply Last reply Reply Quote 0
      • M
        misterxyz83 @mitu
        last edited by

        @mitu Thanks for your answer!

        I can't try now but i will do the video mode switch using directly runcommand....why i didn't do? simply because i didn't know :D

        I'll try as soon as possible and then report here the results.
        I've started working with start-end scripts because i will drive a self-builded led sequencer for my cabinet with customized light animation for each game/platform, so i write

        #!/bin/bash
        #runcommand-onstart.sh
        
        xrandr --output DVI-I-0 --mode 640x480 --rate 60.00
        
        #!/bin/bash
        #runcommand-onend.sh
        
        xrandr --output DVI-I-0 --mode 1280x1024 --rate 60.00
        

        Sorry for not be compliant with the forum format, now i'm not on the Ubuntu system and i don't remember the RetroPie version. I will update later.

        Thanks again

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

          @mitu
          Here is my configuration:
          -Retropie: 4.15.14 x86
          -Ubuntu: 18.04.4

          By the way, i've delete my onend/onstart scripts and used runcommand options to set the video mode but i have the same problem; when i exit back to emulationstation i have the same problem...
          On exit i could see that runcommand tried to switch back to original resolution but prompts
          "xrandr: could not find mode n/a"

          Using runcommand i won't my original resolution but it keeps 640x480 (infact xrandr fails to switch back); using my script instead the resolution is correct but in both cases the display freezes/shutters.

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

            You haven't mentioned anything about your hardware - what kind/model of GPU do you have ? What's your display (TV/Monitor) ?

            Retropie: 4.15.14 x86

            That's the Linux kernel version, the RetroPie version is shown when you run the RetroPie-Setup script - can you take a look to see which version you're running ?

            Can you run xrandr --verbose and post the output on pastebin.com ? There's might be an issue with runcommand's video mode switching.

            M 1 Reply Last reply Reply Quote 0
            • M
              misterxyz83 @mitu
              last edited by misterxyz83

              @mitu

              4.15.14 x86 is the version i get from retropie_setup script.

              That's my linux kernel version (uname -r):

              5.4.0-53-generic #59~18.04.1-Ubuntu SMP Wed Oct 21 12:14:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

              GPU model: GeForce 8800GT
              CPU model: Intel Q6600

              That's the xrandr --verbose output for my LCD display:
              https://pastebin.com/C5VLyi8F

              That's the xrandr --verbose output for the CRT display:
              https://pastebin.com/ZS4BRCUm

              unfortunately the problem is present in both display.

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

                @misterxyz83 said in Freeze background with display mode change:

                4.15.14 x86 is the version i get from retropie_setup script.

                You should update your RetroPie-Setup script - there have been some changes to X11 mode switching since that version, though I don't think it would solve your particular use case.

                Can you Alt+Tab after returning back from the emulator and see if the ES window switches in focus ? The issue might be a focus lost problem - the ES starting terminal stays in front, instead of being in the background, under the ES fullscreen window.

                M 2 Replies Last reply Reply Quote 0
                • M
                  misterxyz83 @mitu
                  last edited by

                  @mitu

                  Ok, i've tried what you suggested...i think you're right because the popup of ALT-TAB doesn't glitches; the problem is only on ES window.

                  Runcommand isn't be able to switch back to default resolution, by the way i can solve with on-end/on-start scripts or updating.

                  1 Reply Last reply Reply Quote 0
                  • M
                    misterxyz83 @mitu
                    last edited by

                    @mitu

                    What i can do to solve? Thanks for the support

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

                      If the issue is cause by the lost focus, then you might try another window manager/DE.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        misterxyz83 @mitu
                        last edited by

                        @mitu

                        I've just installed LXDE and try again but nothing changes. I don't know if it helps but if i power off the display and/or detach from VGA it doesn't work; only thing is to close ES. I still think it is an ES issue...i don't know.

                        I will do other tests.
                        Thanks

                        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.