Plasmashell inverts(flips?) screen after running a game? (X11/Plasma 6)

Hi, I’m using nvidia drivers. FOr whatever reason at times Plasmashell would get “cute” and flip the screen to the point I just run plasmashell --replace and everything goes back to normal…

Is there something… I could do ?

#kde #linux @kde

  • Nyanix@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    I get that as well. As far as I understand it, and someone is welcomed to correct or expand on any of this - this is because when you play a game (primarily when using gamemoderun), it disables your compositor. When you exit the game, it kicks the compositor back on. I have no idea why it has issues on coming back on, seems to be related to Nvidia in X11.

    Some things that I’ve found that help is disabling the compositor (Alt+Shift+F12)
    After doing that, I try to maximize and un-maximize any windows I still have up, then re-enable the compositor with the same shortcut.

    Realistically, your plasmashell solution is great. Theoretically, Wayland shouldn’t have this issue, but I know Wayland comes with its own issues with Nvidia.

      • Cyborganism@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        Maybe you’re pressing some key binding that is set to rotate your desktop. Like ctrl+alt+arrow? Or something like that?

        • Prinny@mastodon.socialOP
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          @cyborganism No…? I play with a controller… mostly. Both have exhibited the same behavior with controller or keyboard/mouse. Plasmashell gets weird starts flickering like crazy or flips the image in reverse. (as in bottom is now top)

          It’s been an ongoing thing. Whatever is happening resetting plasmashell always helps. Which begs the question if plasmashell is getting “somehow influenced” by something.

          • Cyborganism@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            Ah ok.

            What distro are you using? What’s your video card? Do you have any customizations to your Linux that we should be aware of?

            • Prinny@mastodon.socialOP
              link
              fedilink
              arrow-up
              1
              ·
              7 months ago

              @cyborganism

              - Arch Linux, everything vanilla.
              - RTX 3090

              I’m not really into customizing the living hell of my devices. I enjoy stability and would rather just settle with plain of defaults.

              Has happened with Plasma 5. I always thought it was kwin (compositor) but… who knows.

              • Cyborganism@lemmy.ca
                link
                fedilink
                arrow-up
                1
                ·
                7 months ago

                Can you try rolling back you Nvidia driver to a previous version and try again to see if it still happens?