• hateisreality@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    I’m new and dumb to Linux…the only way my Surface Book works with auto rotate is X11, Wayland doesn’t do it. How can I fix it without X11?

    • rozodru@pie.andmc.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      one of the many quirks between the two. I had an old chromebook that i put linux on. it could flip around and be used as a tablet. couldn’t for the life of me get the rotation working on wayland. on x11, worked fine.

      on the other end I have a laptop that has both a dedicated AMD GPU and discrete Nvidia GPU. can’t game on it in x11. on Wayland, gaming works fine.

      So for Wayland vs x11 you just gotta figure out which one sucks slightly less and then go with that. Wayland is going to be the new norm, but it’s not there yet and…it’s been a while.

      • Crozekiel@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        I’m assuming you meant an integrated AMD GPU and discrete Nvidia GPU? I’ve always seen “discrete” and “dedicated” used interchangeably regarding GPUs.

        I have a laptop with a similar configuration - could not get it to work on Bazzite for gaming at all and I ended up ditching Bazzite for Garuda since I was already using that on my desktop and it worked fine. Now you’ve got me wondering if Bazzite was running X11 and that was the culprit all along… I feel like early on Bazzite was defaulting to X11 for Nvidia GPUs (and with the common knowledge at the time that made sense as nvidia and wayland have not always played nice together).

        • rozodru@pie.andmc.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          yeah sorry meant integrated. All I know is on x11 whenever I played a game it would start fight, if I stayed in the game it was fine for a bit but if I navigated away from the game either hitting alt+tab or switching workspaces, etc and tried going back to the game it would either just show a black screen or simply show the desktop but you could still hear the game running. Only on x11.

          • Crozekiel@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            Oh, that is different than the problems I had, I couldn’t get the damn thing to use the dGPU at all… So I could play really simple games that the iGPU could run but that was it.

    • Flatfire@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      Wayland works differently than X11 in this regard. Using Fedora 40 on a Lenovo Yoga 730, I had to enable Tablet Mode from the KDE settings and then auto-rotation worked fine

      Surface devices might be different though, so I can’t say too much about them. There may be a specific sensor library or tool required, since Wayland communicates with your device differently than X11