Brand new laptop came with ubuntu pre installed where I checked everything hardware wise was fine, suspend was not delayed. Then I installed Debian 13 stable on it gnome shell / gdm when I suspend or close / open the lid it takes 5 to 10 seconds to show when it was instant on the ubuntu before and I can see the terminal before gdm renders which was not the case on ubuntu and has never been the case on my previous debian 13 laptop.

What do? Using contrib non-free nvidia 550 drivers gnome x11 (but also happens on plasma) wayland too.

  • berty@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago

    I had the same problem. What solved it for me was changing the motherboard time setting from local time to world time. From there on everything worked fine. I had audio problems as well after waking up from sleep.

    • AwesomeDong@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      Interesting idea. Unfortunately I am away from the laptop over the weekend now, will defo try this in a couple of days and report back

  • SilverCode@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    14 hours ago

    It sounds like Ubuntu was putting the laptop into S0ix/S2idle and Debian is putting it into S3.

    S2idle gets you faster near instant wake up, but uses more power. S3 is a deeper sleep that takes longer to wake, but is more power efficient.

    S2idle is the modern way of doing things though, with some manufacturers no longer properly supporting S3.

    Google around for how to get Debian to go into S2idle.

    • AwesomeDong@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      14 hours ago

      Ubuntu was on deep I checked that before installing debian (don’t ask me why e.e I checked everything on ubuntu and took screenshots so if I had any problems after installing Debian I would know it is software related). The problem was not solved by switching debian to idle

  • abadidonque@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    I’m on Debian 13 too, and I seem to remember something like this changing with kernel update. I think it was to do with the relationship between kernel and my bios settings.

    I would first try toggling the suspend settings in your bios. You could also try out another kernel to see if that changes the behaviour and rule it out.

    My hunch

    • AwesomeDong@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      Will check that when I am back home monday. The only thing I changed on the BIOS between the Ubuntu which was working nicely and the Debian installation was 1) enabling the boot selection menu and 2) enabling secure boot which was factory disabled.

  • nicgentile@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    15 hours ago

    Drop the laptop specs. Could be a myriad of problems but the specs would help someone figure out what the issue may be.

    • AwesomeDong@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      15 hours ago

      I5 13° gen, rtx 4050, ddr5, nvme ssd

      I think this has something to do with the nvidia drivers, the pre installed ubuntu had newer drivers than the ones on debian stable cause I tried everything else google suggests and no bueno

          • nicgentile@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            15 hours ago

            One of likely 3 issues. GPU resume latency (most likely), the type of sleep mode the laptop goes into, or SSD taking a deep nap and struggling to wake up.

            • AwesomeDong@sh.itjust.worksOP
              link
              fedilink
              arrow-up
              1
              ·
              14 hours ago

              Okokok I think I solved it. I am not sure bevause I still see the terminal briefly before gdm renders which I am not used to at all from very many years on debian and this laptop just today when it was on ubuntu gnome/gdm was not doing that. But it is coming back much faster now I consider it acceptable

              I enabled some kind of persistant video memory option on the nvidia configs which also seemed to have unlocked wayland on gdm for some reason which is nice this is another problem I was troubleshooting rn.

              That sped things up a bit, but not enough. Then I forced gnome to use the nvidia gpu instead of the iGPU which it was using and now I consider the problem solved. Just reslly wanted to get rid of seeing the terminal when opening the lid but that’s a problem for anotjer day I can’t take this shit anymore today

              Also I think the shell being on the iGPU is normal behaviour it should work fine on that so idk what is going on here

              • nicgentile@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                14 hours ago

                In some cases, I believe seeing the terminal is an actual step before it comes back. I think I had that on a Lenovo Yoga. I don’t think that is an issue if it resolves itself and comes back to the unlock GDM screen without needing manual intervention.

  • Fecundpossum@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 hours ago

    I would make a diligent attempt to search for this issue on the Debian forum, and if I couldn’t find a specific instance of it, I’d post it there.

    Another option, almost every distro has a discord group, and most are quite helpful. Look up the Debian discord and try your luck.

    • AwesomeDong@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      3
      ·
      15 hours ago

      I am asking because I have already tried all of the search result suggestions on this. Also it is not Ubuntu it is Debian 13 stable

      • Fecundpossum@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 hours ago

        I corrected my post, it’s 2am and I’m sleepy, sorry about that.

        Maybe someone will come along with a better answer. Until then maybe try Fedora, bazzite, CachyOS? All quite different from Debian, but all distros I’ve had great experiences with.

        Is there a reason you need to run Debian?

        • AwesomeDong@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          1
          ·
          15 hours ago

          No reason but it is the only distro I am confortable with I have been on Debian for 10+ years I never actually used any other distro on my personal computers before that I was on windows so I would really reslly like to continue on it. After 3 hours of looking into this I think the problem is the gpu drivers that Debian stable has available however I would expect to see a lot of other debian stable users with the same problem but everyone that had this problem seem to have been able to solve it with some solution that does nothing for me

          • Fecundpossum@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            15 hours ago

            If you’re not occasionally distro hopping are you even really living? I joke, but I have learned a lot, and watched the entire Linux and GNU experience grow and mature by seeing the ways different distros do things. Branch out a little, even if only temporarily. With 10+ years of Debian under your belt, you won’t have issues navigating small changes.

            Lately I’ve been running Bazzite on two laptops and a desktop, and while I’ve been skeptical of it for some time, my mind changed and I’m in love with it. That might change in a couple weeks who knows. I keep good backups.

            • AwesomeDong@sh.itjust.worksOP
              link
              fedilink
              arrow-up
              1
              ·
              6 hours ago

              I will install Ubuntu Mint on dual boot later on. Can’t mess with this over the weekend anymore but if Mint behaves nicely I will probably stick with that

              • Fecundpossum@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 hours ago

                Almost every time I’ve tried mint lately it’s been a bit of a pain. If you want simple, stable, and don’t mind a small amount of post install setup, try Fedora workstation. I’ve had much better long term satisfaction with Fedora than any other distro.

                Silverblue or Bazzite are also great options if you’re interested in trying something immutable.