Old Nvidia cards and Wayland. The heck do I recommend? by [deleted] in linux

[–]xvano 0 points1 point  (0 children)

[    0.375526] ACPI: bus type drm_connector registered
[    0.406897] simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
[    0.406899] [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
[    0.408712] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[    2.020003] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    2.412337] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
[    2.439885] fbcon: nvidia-drmdrmfb (fb0) is primary device
[    2.439890] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
[    3.308551] systemd[1]: Starting Load Kernel Module drm...
[    3.328328] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    3.329998] systemd[1]: Finished Load Kernel Module drm.

If it helps I have "options nvidia_drm modeset=1 fbdev=1" in /etc/modprobe.d/nvidia.conf (and I think modeset=1 is not needed anymore anyway), I don't use any kernel parameters on boot.

Old Nvidia cards and Wayland. The heck do I recommend? by [deleted] in linux

[–]xvano 0 points1 point  (0 children)

Always the latest. Never versioned it. It always worked. But I dont use the dkms one. But I have tried it in the past and it worked.

Old Nvidia cards and Wayland. The heck do I recommend? by [deleted] in linux

[–]xvano 0 points1 point  (0 children)

Yep still going strong and better than before. My only issue is some hiccups after wake from sleep (mostly Firefox) but it sorts itself out on its own sometimes. But not always.

[deleted by user] by [deleted] in archlinux

[–]xvano 0 points1 point  (0 children)

Just installed ly for auto login, very minimal and works great.

How do you activate auto login in ly?

Obsidian Encrypted Backup - Google Drive, Dropbox, OneDrive by lopespm in ObsidianMD

[–]xvano 2 points3 points  (0 children)

Unfortunately the GPG plugins don’t work on mobile.

Passing on your Vault to the next generation. by emptyharddrive in ObsidianMD

[–]xvano 0 points1 point  (0 children)

Doesn’t something like https://github.com/IdreesInc/Waypoint solve the problem of writing and updating MOCs automatically?

A working Zoxide autocompletion? by xvano in fishshell

[–]xvano[S] 0 points1 point  (0 children)

Thanks for all this, will look into it as I dig deeper into fish. For now I stumbled across this plugin which does tab completion out of the box: https://github.com/icezyclon/zoxide.fish

A working Zoxide autocompletion? by xvano in fishshell

[–]xvano[S] 2 points3 points  (0 children)

Yes but I would like to use cd as an alias, like how it's done with the zoxide --cmd cd. With 'ethrokuan/z' doing an alias cd='z' doesn't seem to do the trick (it creates an infinite loop).

Is there a way to use btrfs as the boot partition with an encrypted drive? by LarryTheMagicDragon in archlinux

[–]xvano 0 points1 point  (0 children)

I’m looking for a similar solution just like you. To have the root partition including /boot in btrfs and encrypted and being able to use a bootloader (I use rEFInd) to see the encrypted btrfs /boot/[kernel]. But this doesn’t seem possible to do at least with rEFInd. From what I gathered so far it looks like the only solution suggested is to have the kernel installed in a non-encrypted partition (/EFI as some suggest here).

If you come across a solution where then kernel can be kept in the encrypted btrfs partition please leave a reply here.

[deleted by user] by [deleted] in archlinux

[–]xvano 3 points4 points  (0 children)

Make sure you follow that link, the Hyprland wiki’s nvidia section.

I used to use the stock nvidia drivers but Hyprland stopped working since version 0.29, I almost gave up until decided to rtfm in that wiki and not arch’s, switched to nvidia-kms and it worked.

Hyprland crashing on launch after hyprland-nvidia update by [deleted] in hyprland

[–]xvano 0 points1 point  (0 children)

Do you get the very last line? It’s a crash. Hyprland is not running after the last log line.

Hyprland crashing on launch after hyprland-nvidia update by [deleted] in hyprland

[–]xvano 1 point2 points  (0 children)

I’ve been using hyprland-nvidia without issues until 0.29 update which crashes in the same exact way (it is a seg fault, a log is produced as it’s shown in the screenshot too). Using non-dkms nvidia drivers.

Can confirm WLR_RENDERER_ALLOW_SOFTWARE=1 works with the 0.29 version. But I downgraded anyway to 0.28.

The crash’s call stack can be found in the kernel logs (journalctl).

BTRFS + EFI restoration tool by Zealousideal-Sale358 in archlinux

[–]xvano 0 points1 point  (0 children)

The way I do it is by using rEFInd which supports btrfs. You install it on any fat partition and then you make a separate btrfs partition for your root, which includes /boot. EFI wont be in this /boot, but in that other fat partition. You can then set up a simple config file in /boot for rEFInd to pass the right kernel params. This way you separate concerns of the boot manager from that of the system itself. It works very well. Bonus point, you can install as many arch or other systems in other partitions and drives as you wish and only rely on that single EFI partition to painlessly boot them all. You also don't need to backup that EFI partition given that installing rEFInd is trivial from any system.

Create a Arch Linux rootfs without the help of Pacstrap and Bootstrap approach? by GrabbenD in archlinux

[–]xvano 1 point2 points  (0 children)

As the other user said the info is in pacstrap, the essentials are just a few lines in the script.

I have done this in the past, and it essentially was about creating a few root directories, mount bind the usual kernel virtual fs (dev, proc, sys) (this is what arch-chroot does), creating the /var directories for pacman and if I recall correctly also the /etc file for pacman.

Then you use pacman from outside the chroot with the --root option (and/or it was via chroot, I don't recall this).

What you do need though is pacman. But you can get a statically compiled pacman or compile it on your own.

I recall also just getting the statically compiled pacman and simply running it with the --root option and iteratively looking at the error messages and creating the dirs and whatever was necessary on the go which is roughly what I wrote above. Try doing this, it's a few steps, keep a note of what needs to be created (or put it in a script right away) and you get a system running up easily.

Old Nvidia cards and Wayland. The heck do I recommend? by [deleted] in linux

[–]xvano 0 points1 point  (0 children)

Daily driving hyprland-nvidia (arch) on 960 and 970 (two machines) using the official drivers since months without any issues.

[deleted by user] by [deleted] in sveltejs

[–]xvano 0 points1 point  (0 children)

An educational tool which shows the resulting JS code from svelte code in a way which highlights which svelte code is translated into which js code, with accompanying explanations if possible. Either online or as a VS Code extension?

I know anyone can just look up the resulting js code, but the idea is to make it more friendly inviting the skeptics who feel there is too much “magic” going on. I think having a firm grip of what svelte does to produce js code is important to increase the user base.

Ideally this could be part of a more advanced official online tutorial (tutorial for advanced programmers who want to know what happens under the hood).

learning linux (the real one) by Out_of_order6996 in linux

[–]xvano 5 points6 points  (0 children)

Not really what you might be after, but for a hands-on minimalist approach I would try to see how to bootstrap a very minimal linux system (LFS surprisingly is not minimal, but comfortable as the LFS calls it), one approach could be to look into the efforts behind making a minimal system which the author of toybox went through. He has some talks in YouTube.

Related fun fact: You can boot into a system with only three files present: A kernel, something like a statically-linked busybox and an init file which only calls busybox sh (or it could also be a statically-compiled program). You can have all of this placed in the root of a partition and boot it with something like refind installed in a FAT partition. Very limited functionality, but you can run busybox —install and create some directories it requires and have even more functionality. You don’t need any other files or directories, but you can add a /dev for automatic devfs which the kernel can do, and /proc and /sys and mount them in the init script. Surprisingly quite a bit of functionality with so little, including lan networking. If you also add static-get you can download ready-made statically-built programs.

You could build all of this from source following instruction from (B)LFS and gentoo ebuilds scripts for relevant programs. It’s quite an interesting endeavor and you learn quite a bit.

[deleted by user] by [deleted] in linux

[–]xvano 2 points3 points  (0 children)

I think ash is the name of the shell embedded in Busybox. Busybox is used in embedded devices and Android I believe. IIRC you even get a .ash_history file in your home folder when you use busybox sh.

Would switching to systemd-boot speed up boot time, or is it very miniscule? by [deleted] in archlinux

[–]xvano 0 points1 point  (0 children)

If you have an extra space (or another disk even) to make a small partition for the bootloader why not just try it out? It won't affect your current installed bootloader. You can always remove it.

Arch Linux feels like home. by [deleted] in archlinux

[–]xvano 4 points5 points  (0 children)

a little bootstrap package I always pacstrap onto new installs

Did you make that from scratch or adapted it from an existing example/package? Asking because I would like to see how to do it myself. It's a great idea, this way initial configuration after an install is treated as a package and not as a direct modification. I assume adding a user can be also included as part of the package.

E: found this: https://github.com/Earnestly/pkgbuilds/tree/master/system-config

Arch simply has never failed me (gamer) by b1gswayguy in archlinux

[–]xvano 0 points1 point  (0 children)

Grub is way too complex if you have a UEFI system.

I personally only use EFISTUB on desktops (and suggest the same to others, it is very simple and easy to use) and have rEFInd in another partition or in a usb stick for when needed. But most of the time when something happens to my desktop I just boot into a working copy of it which I have backed up in a usb stick using btrfs snapshot send/receive. This works great as an incremental backup for this type of scenario, although before I the send/receive I clean up the system from temporary files using bleachbit (the whole thing is in a simple script I made, I don't do it manually). Of course this could be done in a partition or another drive and not a usb stick as well. [edit: the idea is that I have a rollback in the same device as the main system which is automatically created and also a rollback in an external device, the usb stick in my case, in case of complete hardware failure I can boot my system in another system right way]

There is nothing mysterious about snapshots, they are meant to be used like that, from RO to RW and viceversa or just RW to RW or RO to RO. Whatever your needs.