This merge resquest has finally been merged into XWayland, which means NVIDIA users are just one beta driver release away (May 15th) from probably having a good experience on Wayland now!

  • Rustmilian@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    If Nvidia had worked together on Xorg, we wouldn’t have had all of those shitty Nvidia unique x11 bugs with Nvidia’s crappy proprietary drivers in the past.

    • 𝘋𝘪𝘳𝘬
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      Cannot confirm any Nvidia unique X11 bugs since everything works perfectly fine since a decade or so for me – but tons of Nvidia unique Wayland bugs (same driver version and same card). I am not quite sure if Nvidia are really the bad one in this specific case.

      My whole invironment is full of stuff to make Wayland actually work with Nvidia.

      $ cat .config/labwc/environment 
      GBM_BACKEND=nvidia-drm
      __GLX_VENDOR_LIBRARY_NAME=nvidia
      LIBVA_DRIVER_NAME=nvidia
      QT_QPA_PLATFORM=wayland
      WLR_NO_HARDWARE_CURSORS=1
      XDG_CURRENT_DESKTOP=wlr
      XDG_SESSION_TYPE=wayland
      

      Not one single line of configuration is used for X11.

        • 𝘋𝘪𝘳𝘬
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          You’re using a WM bud, wtf do you expect?

          I expect it to work, like Openbox works on X11.

          • Rustmilian@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            7 months ago

            You miss the entire point of WMs then.
            You’re complaining about 7 lines of configs when the entire point of WMs is for you to literally customize everything through configs.
            Shit, you probably don’t even need half of that crap. QT_QPA_PLATFORM=wayland is already handled by qt, you only need that when running apps across Waypipe from a headless server environment. By default QT infers your environment from $DISPLY which is always :0 in Wayland.

            • 𝘋𝘪𝘳𝘬
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              edit-2
              7 months ago

              Thank you for educating me on basic knowledge about WMs, which I use since ove a decade.

              I just expect applications behave the same. I have literally not one single line of configuration for X11 in any of my configuration files.

              I need this QT variable, otherwise Cura does not work properly.

                • 𝘋𝘪𝘳𝘬
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  7 months ago

                  Exactly. When the variable is unset the UI shows massive artifacts and weird rendering glitches.

                  • Rustmilian@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    edit-2
                    7 months ago

                    I don’t see any graphical glitches on my hardware.
                    Perhaps you’re still on the qt5 version?
                    Maybe a bug with your Nvidia driver?
                    Perhaps your WM doesn’t have explicit sync yet and your card & driver needs it in this particular case? Perhaps it’s running under XWayland?

                    Wayland#Qt :
                    While it shouldn’t be necessary, to explicitly run a Qt application with the Wayland plugin, use -platform wayland or QT_QPA_PLATFORM=wayland environment variable.

                    As it says above, it should really be inferred by default. Something weird is going on here.