I’m a seasoned Linux user, but mostly for servers and services, not really for desktop use.

I’ve dabbled in some desktop distros on my personal rig a few times in the past, but ultimately due to specific games, I’ve gone back to Windows.

I recently installed Arch and KDE. Upon initial boot I noticed it was defaulted to Wayland. Every time I would try to log in it would just go to a black screen then cycle back to the login screen. Picking X11 would bring me to the desktop.

Basic Specs:

  • AMD Ryzen 7 5800X 3D
  • nVidia RTX 4090

I have been doing some reading into this and it looks like the issue is due to the proprietary nVidia drivers, but there are solutions to work around this.

I know nothing of Wayland other than its supposed to be more secure. My question is, is it worth the time/effort to get Wayland working? I primarily use my system for gaming. X11 seems to be working just fine for me right now.

Forgive me if I’m using some of the terminology wrong, still learning.

EDIT - Selling my gpu is not an option. I knew ahead of time that AMD has superior Linux support, but the 4090’s performance can’t be matched by anything AMD has. Maybe next upgrade I’ll go back to AMD if they have the top performer.

  • heartlessevil@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    X11 is deprecated, it’s been removed from RHEL, and hasn’t had dedicated maintainers for years. You might as well switch to Wayland (and xwayland if needed) now, it’s not really the case that you have an option.

        • sin_free_for_00_days@lemmy.one
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Oh, I’ve followed this stuff for years and years. I’ve been using Linux pretty much exclusively for a quarter of a century. People love to harp on the security issues, but from what I’ve seen that’s pretty much theoretical. The only real compelling argument is that developers are leaning toward Wayland, so that’s the way it will go. I’m sure some day I’ll go to update and it’ll be time to make that change.

          I’m not a developer. I wasn’t super happy with the change to systemd, but it’s not like I was the one that had to deal with the init v issues, so when it changed, I went along. I’m sure the same will happen with Wayland. The last time I tried it, a lot of my decades of cruft didn’t work, shortcuts and workflow issues. Sure, I should probably clean up all that crap anyway, but like I said, it’ll happen when it happens. Until then, I’m completely happy with X11.

  • A Cat@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Has this place officially become a true Linux community? Did we just have the first X vs Wayland thread?!

    That said, I use Wayland on all my machines, but I don’t have Nvidia hardware. I suggest just using X11 until Nvidia manages to do the needful. Personally I enjoy using wayland, things run so smoothly, I have zero issues with games and the only application I used that broke was Barrier, but I just used it for my Steam Deck and that problem is solved with SSH.

  • randy@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    In your situation, I would say to stick with X11. I’m still using X11 for gaming, but Wayland for most other things. Maybe try Wayland again in a few years. And when it’s time to buy new hardware, maybe avoid Nvidia.

    If you want to have another go at getting it working, check out what the Arch wiki says for KDE:

    If you are an NVIDIA user with the proprietary nvidia driver, also enable the DRM kernel mode setting. If that does not work, too, check the instructions on the KDE wiki.

    As for the question of security, I want to emphasize that X11 is not increasing your risk of getting hacked. If one of your applications is compromised, then X11 acts as one method by which an attacker could further their attack or extract information, but other methods would usually be easier for an attacker. You could use flatpaks or firejail to mitigate those other methods, but only after you’ve done that would Wayland provide a meaningful security benefit.

  • RandomDude@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Little late to the party, but I’ll chime in. I have a 3080, and for the most part, Wayland works, but there are a few problems that keep me from using it as a daily driver. G-Sync doesn’t work at all, and when I put my PC to sleep, upon wake I end up needing to do a full reboot because of severe graphical issues. When it is running though, it’s pretty smooth, with only a few graphical issues here and there. I still daily drive X11 though until the major bugs are fixed.

  • UrbenLegend@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I would double check if you have options nvidia_drm modeset=1 in your modprobe.d. This is necessary for Wayland. I can login to KDE Wayland just fine with my 3090, but I still stick with X11 for now because of VRR and overall better input latency. The input latency issue isn’t an Nvidia specific thing, although Nvidia does perform worse with Wayland than AMD in some cases.

    And while you’re at it add options nvidia NVreg_PreserveVideoMemoryAllocations=1 so that your GPU saves video memory when your system suspends.

    • Leaflet@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This is the right answer. I can’t even count the number of times people have shrugged off Wayland because Arch doesn’t include this kernel parameter by default and they didn’t read the Arch wiki.

  • sgtnasty@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    Enjoy your NVIDIA card in Linux, should bring you many surprises. Being much older now, i dont like surprises so I went with the AMD only solution. No more surprises!