this post was submitted on 02 Nov 2024
37 points (100.0% liked)

Linux

48057 readers
703 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
 

Hi guys.

Just started looking at using Linux on my main pc. I don't use it too often these days but I like to play around with my pc.

I tried Fedora and it seems fine. I chose Fedora 41 as I wanted to have working Nvidia drivers and secure boot. Got that working but then I tried to use my wireless Xbox series X controller and had no luck getting it working. I tried to install xone but was getting errors.

I've tried Ubuntu is the past but just wasn't to my liking. Linux mint was ok but didn't like the available desktop environments.

I know Nobara is available, but I'd prefer to have something minimal and be able to configure everything myself to my liking.

I'm not so fussed about which distro. Can anyone recommend something that works with: Nvidia drivers Secure boot xone (or something else)

I like the gnome desktop environment.

Thanks. ☮️❤️

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 6 days ago (9 children)

Fedora 41 works with nvidia and secure boot. For your controller take a look at Xpadneo works fine with the wireless controller ☺️

[–] [email protected] 3 points 6 days ago (4 children)

Oh nice. Thanks. Which desktop environment did you go with?

[–] [email protected] 6 points 6 days ago (2 children)

Hi, I'm hijacking this thread to answer your other questions. Xpadneo is the correct answer, it will work with any desktop environment (xorg or Wayland) and all reasonable distros. It's also the driver used by the steam deck, so go with that. But I suggest you read the troubleshooting section for two things: fixing input latency (if you experience it) and secure boot (more on that later).

I use both KDE and GNOME (on different computers, for different reasons), but in general I suggest you use KDE.

Now I will explain secure boot:

You can use third party drivers with secure boot on any distro that supports secure boot. Here's how it works. Secure boot means that the bios checks that the kernel and requires that the kernel checks that all kernel drivers are signed with a key that it recognizes.

Now, either using a second bootloader (like redhat's shim) signed by Microsoft, or either directly getting Microsoft's signature, you get secure boot support on distros like Fedora or Ubuntu. So your kernel and all your included drivers are signed by Fedora with a key they got from Microsoft.

Other drivers (like Nvidia's and this) aren't signed, so secure boot will not accept those. But, secure but supports MOKs (machine owner keys), which are keys for signing drivers that you manage yourself and you installed on your bios, and secure boot will accept drivers signed with those.

Now, external drivers can be installed using two systems: akmod (used mostly by Fedora and redhat derivatives) and dkms (used by anyone else). These two are not in conflict and will work on the same system at the same time, it's just preference. The Nvidia drivers you installed used akmod, xpadneo uses dkms.

Both these systems support setting up a key for signing, you should then register that key on your bios. When you installed your Nvidia drivers a little interface made by Fedora for those drivers helped you to set up your key for akmods, and now you can use any akmod driver with secure boot. You could always do it manually and you can do it on any distro, Fedora just adds the graphical interface.

To use xpadneo you need to do basically the same thing but for dkms, and you need to do it manually, it's very easy, the troubleshooting section should direct you here for instructions, you will recognize some of the steps of registering the key.

If you feel a little adventurous, you can find which key akmod uses, and set dkms to use the same, so you don't need to register another one.

Also, I strongly discourage this, but you can technically remove Microsoft's key and sign everything with your own key if you really hate Microsoft. Please please please don't do it, you will screw up and break your system badly, and it's also a lot of work. Places like datacenters and such do this. Because they want total control on what goes on those machines. Also they don't sign stuff on the machine themselves, but they sign on a more secure one and then deploy the signed stuff.

[–] [email protected] 2 points 5 days ago (1 children)

Looks like xpadneo is Bluetooth only at the moment. I enrolled the mok for akmod. I'll look at doing it for dkms too as xone uses that too.

Why do you suggest KDE?

[–] [email protected] 1 points 5 days ago

GNOME tries to set a high standard of polishedness, look-and-feel, and simplicity of design. This is not wrong and makes GNOME good looking and easy to use for a less savvy user. But this has some drawbacks.

For a more savvy user that knows what he wants to do, the simplistic interface gets in the way and wastes time. In contrast KDE Will hold your hand less, and get less in your way. Though, when you drop these requirements GNOME becomes very pleasant to use, especially on laptops, which is why I use it on my laptop.

Another drawback is that GNOME developers will not ship something that doesn't fig their standards of usability. This adds to the polishing, but it means you will miss out on features, for reasons like "the options in the settings would be confusing for the users" until they are satisfied. E.G.: fractional scaling and vrr. On the other hand, KDE Will ship things that are less polished, but at least you have it.

Also some applications will work suboptimally on GNOME with Wayland, because of client side decorations.

load more comments (1 replies)
load more comments (5 replies)