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

    KMS goes to black screen with recent kernel

    Scheduled Pinned Locked Moved Help and Support
    kms
    16 Posts 6 Posters 2.3k 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.
    • BlerkotronB
      Blerkotron
      last edited by

      I have the same issue, my Pi 4 shuts down and I have to hard reset.

      From the investigations I did, I think it is something to do with the audio - ES boots normally, but as soon as I do anything which would trigger a sound (even the 'click' when moving between games in the ES interface), the Pi crashes out to a black screen. If I disable ES sounds I can navigate normally but I hit the issue as soon as I launch a game.

      Setting dtparam=audio=off in config.txt makes everything work fine, but obviously with no audio. I usually have 'noaudio' set on dtoverlay but I tried some experiments with that setting to see if there was any combination of audio settings that work, but if there is I can't find them.

      For the moment I've just reverted to fkms, which is a shame because kms was working perfectly for me for several months.

      Glad to see someone else with the issue, I've been Googling around for a while now but couldn't find anything - thought it was just my setup.

      saccublendaS 1 Reply Last reply Reply Quote 1
      • saccublendaS
        saccublenda @Blerkotron
        last edited by

        @blerkotron Yes, I confirm that, ES is working fine for me because I have switched off navigation sounds. It is a combination of new kernel, KMS and audio.
        I wonder if it is a RetroPie problem or a kernel problem.

        1 Reply Last reply Reply Quote 0
        • busywaitB
          busywait @saccublenda
          last edited by busywait

          @saccublenda Yes, I've seen this. I asked about it on the Raspberry Pi forum: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=316721

          A few utilities to collect debug information were suggested, but they need building from source, I don't know how to use them, and I'm busy, so [shrug]

          I assume that the Raspberry Pi OS team will be debugging this over the next few months as they move towards a Bullseye based release, so I'm just waiting.

          busywaitB 1 Reply Last reply Reply Quote 2
          • busywaitB
            busywait @busywait
            last edited by

            An almost related comment from a Raspberry Pi engineer over on the RPi forums:

            If [screen tearing] bothers you, it may be worth waiting for the bullseye image which will kms by default, which is the real solution for tearing

            \o/

            saccublendaS 1 Reply Last reply Reply Quote 2
            • saccublendaS
              saccublenda @busywait
              last edited by

              @busywait Yeah, I guess that a RetroPie image based on bullseye will fix it.

              DarksaviorD 1 Reply Last reply Reply Quote 0
              • DarksaviorD
                Darksavior @saccublenda
                last edited by

                I tried the unofficial manual upgrade to bullseye but the problem didn't go away. I'm sure there's much more to it, but I wanted to try.
                https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=317888

                busywaitB 1 Reply Last reply Reply Quote 0
                • busywaitB
                  busywait @Darksavior
                  last edited by busywait

                  @darksavior I ran that script on a clean 64-bit install too. It was a smooth process but still some problems

                  • I was warned on the forum that there are still missing packages in the raspberry pi maintained bullseye repos (that's independent of the debian Bullseye release and repos)
                  • Raspberry Pi haven't previously supported upgrades to new OS versions
                  • The package python3-sdl2 that is needed by the RetroPi installer doesn't install because of unmet dependencies (at least last week when I tried)
                  • No, the blank screen issue is not fixed (yet?)

                  However, it will be good that kms becomes the default. I wonder how long until the RetroPie install script will support it [the bullseye distro]? 🤔

                  saccublendaS DarksaviorD 2 Replies Last reply Reply Quote 0
                  • saccublendaS
                    saccublenda @busywait
                    last edited by

                    @busywait said in KMS goes to black screen with recent kernel:

                    I wonder how long until the RetroPie install script will support it?

                    I think we have to wait for an official bullseye Raspberry Pi OS image (2-4 months from now), and then for a RetroPie image based on the former.

                    1 Reply Last reply Reply Quote 1
                    • DarksaviorD
                      Darksavior @busywait
                      last edited by

                      @busywait I only tried 32 bit and retroarch wouldn't compile due to missing sdl2 dependancies until I used this repo https://github.com/joolswills/RetroPie-Setup/tree/sdl_2.0.16

                      saccublendaS 1 Reply Last reply Reply Quote 1
                      • saccublendaS
                        saccublenda @Darksavior
                        last edited by

                        Just as an update, the official bullseye Raspberry Pi OS image was just released.

                        sirhenrythe5thS 1 Reply Last reply Reply Quote 1
                        • sirhenrythe5thS
                          sirhenrythe5th @saccublenda
                          last edited by

                          @devs: just to get an idea: as soon as bullseye will be the base of retropie: will we have to build a new image, or will buster be upgradable to bullseye?

                          -- Retro-Achievements Username: SirALX --
                          RetroRatio: 1.88
                          Started Games beaten: 2,47%
                          Site Rank: 4382/93743 ranked users (TOP 4.76%)
                          Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

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

                            @sirhenrythe5th said in KMS goes to black screen with recent kernel:

                            will we have to build a new image, or will buster be upgradable to bullseye?

                            New image, as always.

                            sirhenrythe5thS 1 Reply Last reply Reply Quote 1
                            • sirhenrythe5thS
                              sirhenrythe5th @mitu
                              last edited by

                              @mitu thanks for info, i will start the backup :D

                              -- Retro-Achievements Username: SirALX --
                              RetroRatio: 1.88
                              Started Games beaten: 2,47%
                              Site Rank: 4382/93743 ranked users (TOP 4.76%)
                              Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

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

                                @sirhenrythe5th I wouldn't be in such a hurry.

                                1 Reply Last reply Reply Quote 1
                                • ectoE ecto referenced this topic on
                                • J jcforbes referenced this topic on
                                • 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.