this post was submitted on 17 Feb 2024
121 points (89.5% liked)

Linux

48372 readers
2102 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
 

Hello I'm Doctor_Rex I'm the OP of this post:

My Windows 10 install broke, but I'm hesitant to switch to Linux.

I'd like to start by thanking everybody who responded to my questions. Your answers have helped a lot when it came to my worries on switching to Linux.

I've taken in a lot of your recommendations: Fedora, Fedora Kinoite, Nobara, Bazzite Linux, VanillaOS,

I've decided on Fedora Kinoite, as it has everything I want from a distro.

It was very kind of you all to answer my questions but after making that post and reading your answers new questions propped up.

These questions are a little more opinionated than the last ones, and a little better thought out, but please take some time to answer them.

Questions:

  • Is Wayland worth using? Especially when you consider all the issues that may come from using an NVIDIA card.

Are there any real noticeable advantages/improvements to using Wayland over Xorg.

  • Does bloat actually matter or is it just a meme?

Does bloat actually have a noticeable negative impact on your system or are people just over reacting/joking.

  • What are some habits I should practice in order to keep my system organized and manageable?

Any habits or standards that I should abide by in order to save myself headaches in the future?

  • Any other resources besides the Arch Wiki that I should be aware of?

Self explanatory.

  • What do you wish you knew when you first started using Linux that would have saved you a headache in the future?

I'm not referring to some skill but instead something pertaining to Linux itself. Feel free to skip this question.

I'll be going to sleep soon, so apologies if I don't reply but please take a moment answer any questions you think you can.

Thank You!

Edit: ~~AUR~~ = Arch Wiki. Fixed a typo

you are viewing a single comment's thread
view the rest of the comments
[–] rtxn 14 points 9 months ago* (last edited 9 months ago) (3 children)

Is Wayland worth using?

For a first dive into the Linux ecosystem, I recommend Xorg. I use Wayland myself (Hyprland), and that's why I know that it's simply not ready for general adoption. There are many features that are missing, won't be implemented, or are done much differently compared to X. Some say Xorg is old and bloated - I say it's a mature technology.

There are also some applications that need root privileges to work (Veyon Configurator is one that I struggled a lot with) and you have to do some weird pkexec hackery to launch them.

Wayland's development has more drama and bickering than an average sitcom - I recommend Brodie Robertson's channel if you're interested.

advantages/improvements to using Wayland

Wayland is better for gaming. It has a noticeably lower latency because the entire Wayland stack is implemented in a single program (what they call the compositor) as opposed to several in the X11 stack (X server, compositor, window manager) that need to communicate with each other. Unfortunately Steam and some other applications often produce graphical artifacts on Wayland+Nvidia.

Does bloat actually matter

Compared to Windows, it is insignificant. My work laptop is a Macbook Air from 2015 running Linux Mint on just 4G RAM without issues.

Any other resources besides the Arch Wiki that I should be aware of?

Install the tldr program. It's a bit like man but lists practical examples of a command instead of a full documentation.

What are some habits I should practice

Make use of your home directory. Most user applications will have a config file in several places - usually in ~/.config (user config) and /etc (systemwide config). You should only edit the systemwide config when it makes sense, and always prioritize the user config.

A common practice is to have your /home directory on a different partition, or a different physical device. If the system breaks or you decide to distrohop, you can unmount/disconnect /home and only wipe the root partition while retaining your user files.

I also recommend using Timeshift to back up your system. It's even better if your root partition uses btrfs since it natively supports snapshots.

What do you wish you knew when you first started using Linux

I needed to leave the Windows ways behind me. On Windows, I had a hard drive mounted as F: and an external HDD mounted as H:. Moving to Linux (Manjaro at the time) was basically a snap decision since Windows had obliterated the boot partition during an update and then broke itself, and I ~~had no idea how to properly set up the filesystem~~ didn't consider how I wanted to set up the filesystem, so I mounted them to /mnt/f and /mnt/h on a whim. It caused me many hours of headache later.

[–] [email protected] 5 points 9 months ago (2 children)

I had no idea how to properly set up the filesystem, so I mounted them to /mnt/f and /mnt/h. It caused me many hours of headache later.

Can you elaborate? What kind of headaches? How would you set it up now? While I've been using Linux quite a while I don't have multiple hard drives and am always interested in best practices.

[–] rtxn 4 points 9 months ago (1 children)

I should correct myself - it wasn't a bad way to mount my drives, but it was a very Windowsy solution that I came to regret anyways.

I used that HDD as basically my home directory on Windows. It had all of my projects on it (mainly C# and Blender). When I installed Manjaro on my 240G SSD, I decided to leave my /home directory on the root partition, but it soon filled up. I later wanted to move it to the HDD, which meant that the mount point had changed, which meant that I had to relink all external files in my projects to the new mount point.

I could've just used a symlink that pointed /home to /mnt/f, but /mnt is generally used for manually mounted filesystems, and I wanted to at least have that and /home done properly.

Right now I have a 2T NVMe SSD, one 200G partition mounted as root, the rest mounted as /data/games (and it really only has Windows games and my Steam library), a separate 1T SSD mounted as /home, and a 3T HDD on /data/hdd that contains my backups, disk images, and large media files, each symlinked to appropriate places.

[–] [email protected] 3 points 9 months ago

Don't know if you saw this but you can mount devices multiple times in Linux. And you can mount directories in different locations as well (bind mounts). These can also be helpful in moving around where things are mounted since both the old and new paths will work. But symlinks are probably simpler.

[–] [email protected] 4 points 9 months ago (1 children)

Also curious. I've had a couple drives on my server machine mounted to /mnt/data and /mnt/data1 for years now (ignore my lazy naming conventions) and I've had zero problems.

[–] rtxn 2 points 9 months ago* (last edited 9 months ago)

Check my other reply - it's not an incorrect solution, but I came to regret it when I had to change the HDD's mount point.

[–] [email protected] 3 points 9 months ago (1 children)

I don't know what you mean by Wayland not being ready for general adoption. I've been using it on Fedora for a year now with no issues whatsoever.

Might be a Hyprland issue instead of Wayland, as I remember from the time I tried out Hyprland.

[–] rtxn 3 points 9 months ago* (last edited 9 months ago)

Wayland itself has lots of missing features. There are applications that need absolute window positioning to move sub-windows together with the main window. It's not an issue on Windows, Mac, or X11, but Wayland doesn't have a protocol that would allow this (it's still just a proposal, and there is A LOT of drama surrounding it). Wayland also doesn't have color management, and support for drawing tablets is rudimentary, which is a deal-breaker for artists and designers. It doesn't have a standardized way to capture windows either (for streaming or recording), which is why Hyprland's maintainer made his own xdg-desktop-portal implementation with blackjack and hookers.

Wayland is great for my use-cases, and I'm willing to work around its issues (mainly related to portals), but there are use-cases where it's completely unusable. Nvidia support is also sketchy - lots of visual artifacts and flickering windows.

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

Wayland is better for gaming. It has a noticeably lower latency because the entire Wayland stack is implemented in a single program (what they call the compositor) as opposed to several in the X11 stack (X server, compositor, window manager) that need to communicate with each other.

Games under X11 use DRI just like with Wayland. Beyond "create a window and handle resize events" they don't really interact with X11 or your window manager.

We should expect similar performance and indeed that's what we find:

https://www.phoronix.com/review/wayland-nv-amd-2023

[–] rtxn 3 points 9 months ago* (last edited 9 months ago) (1 children)

Performance is not the only factor. Running a compositor on X11 introduces a significant input latency, but turning it off caused massive screen tearing on my 60Hz monitor (I guess it's less of an issue with a higher refresh rate). I experienced it both with Picom (on Qtile and Awesome) and Kwin. I've had a far better experience on Sway, Hyprland, and Plasma-wayland.

[–] [email protected] 1 points 9 months ago (1 children)

We're talking about gaming though?

[–] rtxn 2 points 9 months ago (1 children)

Yes. Both screen tearing and input latency can ruin the experience. Please elaborate, I don't know why you're asking that question.

[–] [email protected] 1 points 9 months ago (1 children)

As somebody who games with X11 I'd love to know what "significant input latency" I'm supposed to be experiencing?

[–] rtxn 2 points 9 months ago (1 children)

YMMV, I'm talking about what I experienced.

I was mainly playing Cyberpunk and FFXIV at the time. In both games, camera movement was sluggish with a compositor running. It took about a tenth of a second for the game to respond to both keypresses and mouse movements (I'm not counting gamepad inputs since bluetooth has its own latency). On the same computer, on the same 60Hz monitor, with the same GPU, using the same graphics settings, nothing like that happened with the compositor off, nor after switching to Wayland.

[–] [email protected] 1 points 9 months ago

I’m talking about what I experienced.

Not when you say "Wayland is better for gaming" you're not. It may be - but it also may not be. It's not clearly better and in some cases it may be clearly worse.