Next Years Installer tweak

Just a idea in the next iso a screenshot for paru and how its a alias for yay and fish being the terminal shell while bash is the system shell. Since they come up in question often. Or maybe on the website but that’s already pretty solid as is. Maybe links to a FAQ on the wiki telling what they are and why, maybe a like to setting konsol to bash for those who want it.

But just ideas from things I see pop up in chat and on the forum often. No real need to put them in.

One thing as well for the wiki

Tweaking this from the hyprland wiki to a garuda version since it doesn’t use mkinitcpio.

The following packages must also be installed to ensure a smooth experience with the proprietary drivers.

  1. nvidia-utils: The userspace graphics drivers. You need this for pretty much everything on your system, and we do not recommend running your computer without it. If you are also using the “multilib” or “lib32” packages for gaming, Steam, Wine, etc., then you also require lib32-nvidia-utils.
  2. egl-wayland (libnvidia-egl-wayland1 and libnvidia-egl-gbm1 on Ubuntu): This is required in order to enable compatibility between the EGL API and the Wayland protocol. This should already be installed on most distros.

Early KMS, modeset and fbdev

As of Nvidia driver version 570.86.16, fbdev has now been enabled by default when modeset is also enabled. Therefore we simply need to enable modeset.

To enable it, create and edit /etc/modprobe.d/nvidia.conf, and add this line to the file:

/etc/modprobe.d/nvidia.conf

options nvidia_drm modeset=1

If you’re on Arch Linux, this step has already been done for you.

If you’re on NixOS, it is also enabled by default on all driver versions after 535.

Early KMS will allow the Nvidia modules to load earlier into the boot sequence. On distros using mkinitcpio, like Arch, you can enable it by editing /etc/mkinitcpio.conf. In the MODULES array add the following module names:

/etc/mkinitcpio.conf

MODULES=(... nvidia nvidia_modeset nvidia_uvm nvidia_drm ...)

You can then rebuild the initramfs with sudo mkinitcpio -P, and reboot.

After rebooting, you can verify that DRM is actually enabled by running cat /sys/module/nvidia_drm/parameters/modeset which should return Y.

More information is available here.

Environment variables

Add these variables to your Hyprland config:

env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
1 Like
alias yay='paru'

It’s the opposite, I think :slight_smile:


Everything else is not clear to me :wink: .

3 Likes

At least on the current iso paru is what is installed. Also in fish.conf, yay is what is aliased. Since paru just a bit nicer then yay.

Die jetzige iso paru ist installiert und im fish.conf yay als Alias hinzugefügt. Weill paru ist besser als yay.

(asked a friend for translation help XD)

As you said yay='paru' (command)

But what I’m mainly getting at is letting people know yay is not actually installed and is referenced in the fish.conf. But in a nice way so that even less technical people could understand. By either having it on the iso when garuda linux is installed it says something like “we use paru rather then yay.” or something nicer. Or on the website somewhere. haha.

A lot of questions like this pop up
image

As for the hyprland bit having the nvidia guide but using dracut but having it on the wiki since most other guides assume the user is using mkinitcpio.

We could change the alias to an abbreviation instead.

abbr yay paru

With an abbreviation, when someone types the command it actually changes on the command line, so the user can see what happened.

Give it a try in your Fish config and let me know what you think.

3 Likes

That is pretty magical. I forgot fully about abbr. I think it could work. I don’t think for people who just copy paste something from github like, yay -S cava or something it will matter to much if it doesn’t change. Since if a command fails for what ever reason and they type, it will just change to paru.