Skip to content

u/codewiz

In this archive from Jun 2018 to Sep 2023

1
posts
19
comments
0
media
94
score

It won't be a popular opinion around here: I use both Arch and Fedora, and I think Fedora would be a good alternative that can hit all your requirements.

My laptop has two separate Fedora partitions, one with Fedora 38 and one for Rawhide. I simply used rsync to clone the OS before upgrading to Rawhide. So far it's been a decently smooth rolling experience, but I'll keep around the latest stable Fedora just in case.

RPMFusion has all the patent-encumbered media codecs and some proprietary software such as Steam and the Nvidia drivers. I miss aur, but Flatpak fills the gap for most desktop apps, and I build a few cli tools from sources. I have rarely used Copr repos, which would be closer to Ubuntu PPAs than AUR.

0 points

Why couldn't we have both 14 and 15 installed in parallel?

On Fedora 37:

% rpm -qa | grep llvm
llvm13-libs-13.0.1-2.fc37.x86_64
llvm14-libs-14.0.5-4.fc37.x86_64
llvm-libs-15.0.6-1.fc37.x86_64
llvm-15.0.6-1.fc37.x86_64
spirv-llvm-translator-15.0.0-2.fc37.x86_64

% rpm -e llvm13-libs-13.0.1-2.fc37.x86_64
error: Failed dependencies:
libLLVM-13.so()(64bit) is needed by (installed) zig-0.9.1-2.fc37.x86_64
...
2 points

Yesterday I got 32-bit Windows games to work in Steam using mesa-git + llvm 15.

First, install some build deps and remove any packages that will conflict with llvm-minimal-git, or installation will fail:

paru -S python-mako wayland-protocols directx-headers
paru -R -d -d clang lldb openshadinglanguage ccls

Remember to set MAKEFLAGS="-j$(nproc)" in /etc/makepkg.conf, or the next step will take forever.

Build updated llvm-libs and llvm:

paru --mflags "--nocheck" --sudoloop -S llvm-minimal-git

git clone https://aur.archlinux.org/mesa-git.git
cd mesa-git
MESA_WHICH_LLVM=1 makepkg -si

Repeat for the 32-bit variants for compatibility with Windows games:

paru --mflags "--nocheck" --sudoloop -S lib32-llvm-minimal-git

git clone https://aur.archlinux.org/lib32-mesa-git.git
cd lib32-mesa-git
MESA_WHICH_LLVM=1 makepkg -si

In case installation fails due to dependency conflicts, resolve them with pacman -R -d -d, then install the binary packages which are still laying around in the cache:

cd ~/.cache/paru/clone
paru -U llvm-minimal-git/llvm-minimal-git-16.0.0_r446809.54752f3ff6d5-1-x86_64.pkg.tar.zst
2 points

I have autologin enabled in SDDM, and it works only the first time (which is *good*: if an evil maid kills your Wayland session with Ctrl+Alt+Backspace, they will be blocked by the SDDM login prompt).

1 points

Perhaps they won't believe you without seeing some benchmarks: https://www.phoronix.com/review/linux-58-filesystems

I also had zero problems using xfs on multiple machines for years, while I ran into obscure ENOSPC issues last time I used btrfs on Arch, which was 4 years ago. What really drove me away from btrfs was the poor filesystem recovery tools, but things have probably gotten better since then.

1 points

iirc, kernel log messages may cover the LUKS password prompt as modules load and initialize asynchronously.

That's quite confusing; the first time it happened I thought my machine had hung during boot and tried booting the previous kernel (btw, how come Arch doesn't keep around old kernels like other distros do?)

8 points

Eliminating the double password prompt at boot is very appealing, but storing user's homes in fixed-size, loopback-mounted LUKS filesystem images seems too inefficient for general usage (my $HOME holds 800GB currently).

There's the alternative of using fscrypt, which is what Android uses, but it's only supported with ext4 and f2fs, and has worse performance than LUKS (at least, it did in this 2018 benchmark).

2 points

Disclaimer: I have to do this for my Linux class :)

Then this is an awesome hands-on sysadmin class!

I'm not a systemd expert, but I know that the ancient SVR4 concept of five hard-coded runlevels has been superseded by dependencies (similar to a Makefile). Unit files can specify which other units they depend with Wants lines and also have "backwards" dependencies via WantedBy. The modern equivalent of the old runlevel 3 is multi-user.target, while graphical.target is the same of runlevel 5.

The symlinks you found are managed automatically by systemctl enable and systemctl disable. There are also add-wants and add-requires commands, read the fine manual.

But note that bluetooth.target is mentioned in systemd.special(7):

This target is started automatically as soon as a Bluetooth controller
is plugged in or becomes available at boot.

This may be used to pull in Bluetooth management daemons dynamically
when Bluetooth hardware is found.

My guess is that you could disable bluetooth.target by creating an empty file in /etc/systemd/system/bluetooth.target which should override the one in /lib/systemd (untested).

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.