• 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

hdmi output distorted after kernel upgrade (5.4.51)

Scheduled Pinned Locked Moved Help and Support
kernel 5.4hdmi problem
13 Posts 6 Posters 625 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.
  • J
    jhenriquez
    last edited by 21 Jul 2020, 17:37

    Hello,

    I'm not really sure what changed with my setup, I believe I did and update from retropie-setup script and now emulationstation looks like this. It is important to notice that if I set the system to boot into emulationstation it works fine.

    This only happens if I boot into the desktop and then run

    $ emulationstation
    

    from the console or use:

    lxterminal -e /usr/bin/emulationstation
    

    in the /etc/xdg/lxsession/LXDE-pi/autostart.

    I tried searching this forum, but I'm not even sure what to look for. Originally I thought think this might have to do with hdmi, because I can see the emulationstation from vnc. Before I had some issues with screensaver, but since I was not sure what was going on I had set:

    hdmi_safe:0=1
    hdmi_safe:1=1
    

    I don't see any logs in the terminal when I open emulationstation, any logs I could check to see what is going wrong?

    I believe that raspbian buster comes with kernel 4.19, and now I have 5.4.51 . I am afraid this is the issue, if that is the case maybe it is not a problem for this forum, but are there any known issues with the latest kernel or info that could help address this?

    Or is my only solution to downgrade or re-install to have stable version kernel?

    Webp.net-compress-image (1).jpg

    Pi Model or other hardware: Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core ARMv8 CPU

    Power Supply used: CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply with Noise Filter

    RetroPie Version Used: RetroPie-Setup Version 4.6.4 (I'm sorry, I'm not sure if this is the actual retropie version installed or this version is from the setup script)

    Built From: Installed on top of Raspbian (buster) GNU/Linux 10 (5.4.51-v7l+ #1326) using the retropie-setup script from github

    USB Devices connected: Gamepad controller and mouse.

    L 1 Reply Last reply 23 Jul 2020, 13:39 Reply Quote 0
    • B
      BuZz administrators
      last edited by 21 Jul 2020, 18:03

      RetroPie isn't designed to run from the desktop on the RPI. You should be launching it outside of the desktop environment. Even if it worked before, it was never a supported config.

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      1 Reply Last reply Reply Quote 0
      • B
        bluestang
        last edited by 23 Jul 2020, 00:56

        https://github.com/raspberrypi/linux/issues/3665

        This seems to be the issue.

        1 Reply Last reply Reply Quote 0
        • L
          LastNinja2 @jhenriquez
          last edited by 23 Jul 2020, 13:39

          Hi,
          first of all sorry for my english :-) and if my first post could be a silly list of questions.
          I have the same configuration and the same issue after the upgrade to kernel 5.4.51 so I would like to ask @BuZz if to set the system to boot into emulationstation leads to a "supported config" and @jhenriquez how to boot into emulationstation (sad as I am is the only way to go right now :-)
          Thanks!!!!

          B B 2 Replies Last reply 23 Jul 2020, 16:06 Reply Quote 0
          • B
            BuZz administrators @LastNinja2
            last edited by 23 Jul 2020, 16:06

            @LastNinja2 yes. Or exiting the desktop and running it.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 1
            • B
              bluestang @LastNinja2
              last edited by bluestang 23 Jul 2020, 16:10

              @LastNinja2 said in hdmi output distorted after kernel upgrade (5.4.51):

              Hi,
              first of all sorry for my english :-) and if my first post could be a silly list of questions.
              I have the same configuration and the same issue after the upgrade to kernel 5.4.51 so I would like to ask @BuZz if to set the system to boot into emulationstation leads to a "supported config" and @jhenriquez how to boot into emulationstation (sad as I am is the only way to go right now :-)
              Thanks!!!!

              @jhenriquez said in hdmi output distorted after kernel upgrade (5.4.51):

              Hello,

              I'm not really sure what changed with my setup, I believe I did and update from retropie-setup script and now emulationstation looks like this. It is important to notice that if I set the system to boot into emulationstation it works fine.

              This only happens if I boot into the desktop and then run

              $ emulationstation
              

              from the console or use:

              lxterminal -e /usr/bin/emulationstation
              

              in the /etc/xdg/lxsession/LXDE-pi/autostart.

              I tried searching this forum, but I'm not even sure what to look for. Originally I thought think this might have to do with hdmi, because I can see the emulationstation from vnc. Before I had some issues with screensaver, but since I was not sure what was going on I had set:

              hdmi_safe:0=1
              hdmi_safe:1=1
              

              I don't see any logs in the terminal when I open emulationstation, any logs I could check to see what is going wrong?

              I believe that raspbian buster comes with kernel 4.19, and now I have 5.4.51 . I am afraid this is the issue, if that is the case maybe it is not a problem for this forum, but are there any known issues with the latest kernel or info that could help address this?

              Or is my only solution to downgrade or re-install to have stable version kernel?

              Webp.net-compress-image (1).jpg

              Pi Model or other hardware: Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core ARMv8 CPU

              Power Supply used: CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply with Noise Filter

              RetroPie Version Used: RetroPie-Setup Version 4.6.4 (I'm sorry, I'm not sure if this is the actual retropie version installed or this version is from the setup script)

              Built From: Installed on top of Raspbian (buster) GNU/Linux 10 (5.4.51-v7l+ #1326) using the retropie-setup script from github

              USB Devices connected: Gamepad controller and mouse.

              You can disable vsync in emulationstation by passing the cmdline option —vsync 0

              This will fix the garbled display, but it is not a supported configuration.

              The issue is in fact with the 5.4.51 kernel and the issue has been opened upstream.

              G 1 Reply Last reply 23 Jul 2020, 16:36 Reply Quote 1
              • G
                GeekOB @bluestang
                last edited by GeekOB 23 Jul 2020, 16:36

                @jhenriquez and @bluestang, have you tried enabling the composition manager from raspi-config?
                That would solve the problem as well I guess, at least until the issue within the kernel is fixed

                B 1 Reply Last reply 23 Jul 2020, 17:30 Reply Quote 1
                • B
                  bluestang @GeekOB
                  last edited by 23 Jul 2020, 17:30

                  @GeekOB said in hdmi output distorted after kernel upgrade (5.4.51):

                  @jhenriquez and @bluestang, have you tried enabling the composition manager from raspi-config?
                  That would solve the problem as well I guess, at least until the issue within the kernel is fixed

                  This is also correct, but also causes screen tearing. Either option fixes the kernel bug.

                  1 Reply Last reply Reply Quote 1
                  • L
                    LastNinja2
                    last edited by 23 Jul 2020, 21:11

                    Thank you all guys for your efforts, really appreciated ;-) As far as I can understand (and it's working fine to me) the right way to stay in supported configurations is is to exit from X (ctrl + alt + F6) and start emulationstation from CLI.

                    M 1 Reply Last reply 24 Jul 2020, 03:16 Reply Quote 0
                    • M
                      mitu Global Moderator @LastNinja2
                      last edited by 24 Jul 2020, 03:16

                      @LastNinja2 The correct way is to use RetroPie-Setup and configure the autostart process to boot to EmulationStation - https://retropie.org.uk/docs/FAQ/#how-do-i-boot-to-the-desktop-or-kodi.

                      L 1 Reply Last reply 24 Jul 2020, 06:28 Reply Quote 0
                      • L
                        LastNinja2 @mitu
                        last edited by 24 Jul 2020, 06:28

                        @mitu said in hdmi output distorted after kernel upgrade (5.4.51):

                        @LastNinja2 The correct way is to use RetroPie-Setup and configure the autostart process to boot to EmulationStation - https://retropie.org.uk/docs/FAQ/#how-do-i-boot-to-the-desktop-or-kodi.

                        Thanks for your advice but let me ask: in this way I will always boot to ES and then I can go to desktop, but even if I love Retropie I spent most of my time on X (Chromium/Gimp/McomiX/Calibre/Kodi etc) so I prefer to boot to Desktop and then go to ES: is this way allowing me to stay in a supported configuration?

                        M 1 Reply Last reply 24 Jul 2020, 06:42 Reply Quote 0
                        • M
                          mitu Global Moderator @LastNinja2
                          last edited by mitu 24 Jul 2020, 06:42

                          @LastNinja2 As far as you're starting EmulationStation from the console, it's ok. I would still recommend starting the desktop from ES - Kodi can also be installed and started from RetroPie.

                          1 Reply Last reply Reply Quote 0
                          • L
                            LastNinja2
                            last edited by 24 Jul 2020, 08:56

                            Got it, thank you!!!
                            :-)

                            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