this post was submitted on 13 Jun 2023
5 points (100.0% liked)

Linux

48153 readers
682 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
5
X11 vs Wayland (lemmy.ml)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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.

all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

Still no issues on Debian.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I imagine you're talking about stability issues and not the numerous security flaws with X11 that are baked in to the protocol. Wayland is an improvement for many reasons, not just stability and the fact that it is actively developed unlike X11.

Some reading:

[–] [email protected] 1 points 1 year ago (1 children)

Just a head up to be careful with 7900 XTX if you do plan on getting an AMD GPU like other people on here are suggesting.

When I purchased 7900 XTX, AMD doesn't offer me any way to control the fan speed on 7900 XTX and it always get stuck on 5% speed. I literally tried everything from using hwmon mode setting to manual (it stuck on auto and refuse to switch to manual), literally modifying the AMD GPU driver in kernel to forcibly set the manual mode for fan speed, it doesn't work and instead it locks up the Kernel, and tried literally every application that exists for setting fan speed on 7900 XTX.

I tried to contact the manufacturer to refund me, they refused to pay me back in full and want me to reduce what I get back, I paid $1000 for it, they want me to pay $100 shipping and to only be qualified to receive $400 from them. I ended up keeping the 7900 XTX and basically went nuclear on fixing the GPU. This was literally within 1 week of receiving the GPU mind you. AMD is ranked far below Nvidia after my absurdly negative experience with them and I would rather go with Intel than AMD at this point and that is saying a lot, because it's not only my GPU that is a problem, but it also with their software and driver like ROCm that NEVER worked, ever.

I created a plastic strap via 3D printing on top of the GPU and create a negative pressure fan to cool it down, it can stay under 50 degree Fahrenheit at 100% utilization.

[–] [email protected] 2 points 1 year ago

Talk to a hardware youtuber, they might do a story on your shady GPU OEM

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 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.

[–] [email protected] -1 points 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!