Skip to content

u/PAPPP

In this archive from Jun 2012 to Mar 2024

0
posts
149
comments
0
media
914
score

On Wayland W/ KDE on the two machines I use most. One went like 4 months ago because I wanted to play something that ran via DXVK that bugged under X but turned out to work fine under Wayland when PRIME'd to my AMD GPU and I just left it, and my little carryn' around laptop (all Intel) more recently with accepting KDE6 defaults.

I'm thinking I'm going to roll back to X for a while, at least on the smaller machine:

  • The janky input plumbing (especially the lack of autotype from KeepassXC which I use constantly) is a persistent irritation. I'm not sure how I feel about having to do things like remapping with a privileged daemon like keyd sniffing all my input and re-emitting it over virtual devices.

  • The lack of any meaningful support for session restore is a frequent irritation (and KDE's fake solution pending a real protocol that may never arrive is too jank to be useful; having a subset of windows all get restored to the first virtual desktop is almost worse than nothing)

  • I get some new minor graphical glitches: dolphin gets a random vestigial floating file extension in the window from time to time. I've had the window outlines in the pager disappear until reboot a few times and I can't reproduce well enough to file a meaningful bug. Text entry boxes in Firefox occasionally stop rendering the cursor under Wayland. Etc.

2 points

Non-critical computer (or at least an extra drive), install a Linux system that appeals to you.

Try things until it breaks.

Read documentation, investigate, and fiddle around until you figure out how to fix it.

Fix it.

Try some more things until it breaks.

Read documentation, investigate, and fiddle around until you figure out how to fix it.

Fix it.

Every time you learn a little more.

Develop opinions, end up on Arch or Debian or NixOS or something that lets you lean into your preferences.

Get confident enough you can fix anything that might break to daily drive a system that matches your preferences.

Still breaks, but now you can just fix it.

Find some other folks' machines and configurations to fix.

Repeat until your UNIX beard is majestic.

1 points

The packagers are renaming a bunch of KDE packages to be versioned (5) because the development roadmap has Plasma 6 (KDE 6 if they hadn't gone to the silly split naming that still has to be explained every time a decade later) is expected in early 2024 so they can coexist in the repos for a while.

Tell it yes to all of those ksomething->ksomething5 conflicts, it's just updating names during a minor version update to head off future conflicts.

3 points

Agreed. I've had the best luck with long-term unsupervised updates with occasional planned intervention-required upgrades with Debian, and the best luck with only supervised updates but no major breaking changes with Arch. I think a lot of that is just that Arch's larger repos kept closer to upstream plus AUR does not carry the same level of foreign package related risk that the distros with a smaller core with distro-specific back-port patches + foreign repos do, and with a rolling release there is only a jump as abrupt as a versioned-distro version change if you leave it for years.

I actually got hit on upgrade breakage last week, I booted up a Rocky 8 (RHEL-compatible) box that was last used for a project about 9 months ago last week, let it dnf update and ... it wedged so hard I had to boot it from external media, chroot in, manually rpm in enough consistent packages to get sufficient environment for dnf to work, do a couple rounds of manual dependency and broken package intervention, then programmatically reinstall everything to clean up all the missing or wrong version files. It was bad, and it was at least in part because XFS has (IMO) stupid failure modes. It worked, but it would have been more expedient to copy the user data and package list, then reinstall - I mostly did it to see if I could. This is not generally representative of RHEL-likes, I've worked with a lot of CentOS and RHEL boxes for decades, with or without unattended updates, and that kind of thing has been rare, but it can happen anywhere.

I've had serious breakage happen ...many... times trying to dist-upgrade Ubuntu machines, and smaller breakage (especially around drivers or specific PPA provided packages) on routine updates.

In all cases, your risk of destructive updates is much higher using external repositories (PPAs, EPEL, etc.), and most severe when doing a long upgrade, whether that is a first upgrade in a long time or a version upgrade on a versioned distro.

3 points

A couple reasonably normal machines on hand, I think these all use systemd-boot.

Dell Latitude 7390:

Startup finished in 8.938s (firmware) + 3.521s (loader) + 1.246s (kernel) + 2.918s (userspace) = 16.624s 
graphical.target reached after 2.918s in userspace.

Dell Precision 7540:

Startup finished in 14.874s (firmware) + 2.673s (loader) + 9.648s (kernel) + 2.521s (userspace) = 29.718s 
graphical.target reached after 2.369s in userspace.

Custom i3-based home server (It's almost always headless and only rebooted every couple months, I didn't realize how slow booting it is. Old ASRock H170M-ITX/DL firmware + Waiting on power sequencing and/or spin-up for the spinning rust in it, it boots from an M.2 but there is a 4-disc BTRFS pool for household deep storage + Runs a couple services?)

Startup finished in 21.216s (firmware) + 3.183s (loader) + 2.302s (kernel) + 15.794s (userspace) = 42.495s 
graphical.target reached after 15.793s in userspace.

Weirder machines:

EOL Dell Chromebook 11 3189 2-in-1 booting via a MrChromebox UEFI payload and systemd-boot. (I'm kind of delighted by how unreasonably fast booting this hacked up old chromebook is compared to things with credibly an order of magnitude more compute power. )

Startup finished in 5.380s (firmware) + 360ms (loader) + 4.787s (kernel) + 3.767s (userspace) = 14.295s 
graphical.target reached after 3.662s in userspace.

Old Raspberry Pi 2B running ArchLinuxArm that gets pressed into various weird duties, often thing-to-SSH bridge

Startup finished in 12.299s (kernel) + 10.364s (userspace) = 22.664s
graphical.target reached after 10.361s in userspace.
9 points

Unfortunately, the Wayland folks did not make an early commitment to a compositor-agnostic input plumbing scheme, so global hot keys and virtual inputs (eg. autotype) are compositor-specific hacks or broken attempts to use an inadequate protocol at the moment, if the compositor you are running happens to support them.

As of about a year ago there is a global-shortcuts portal in xdg-desktop-portal but the API is a little ridiculous, missing critical features (eg. there is no good way to get a window title to target), and requires clients (or at least client toolkits) to be specifically aware of it, so there may be another perturbation before wide adoption of a standard.

AFIK sway doesn't currently have either an portals based solution or an equivalent to Hyprland's "pass" feature that lets you hard-code specific key combinations to be passed to specific programs in the compositor configuration.

1 points

The big one for me is graceful handling of software with licensing problems that make it impractical to put in a repo: Zoom, Teams.

Or niche software for specific purposes: greaseweazle and fluxengine (reading, writing, and manipulating flux-level floppy images ) or seafile (open-source hostable file sync) or Prusaslicer.

Or both of the above like the digilent tools (adept, waveforms).

And, as someone else remarked, fuck a whole bunch of the half-baked containerization schemes in their current state. I'll deal with an Appimage if I have to, but they all suck.

Also just some stuff that Arch doesn't carry for one ideological reason or another, like paru that I ...use to manage AUR packages.

8 points

I suspect you're getting an environment issue.

The pacman warning around etc/openmpi/openmpi-mca-params.conf makes me think the mca component paths might not be getting set, or one of OpenMPI's habitual abuses of LD_PRELOAD isn't working properly.

First safety check, have you verified that /etc/openmpi looks present and similar, then logged out and back in (or rebooted) since it was setup on the desktop to make sure the environment has updated?

...that said, I'm looking on an Arch box that had OpenMPI installed as a dependency and not configured further, $LD_PRELOAD and $LD_PRELOAD_PATH are empty even when checked inside an mpirun invocation, and it's working (some trivial test programs from when I used to do more cluster admin work build and run). I know I've seen that error before, but maybe I'm just having flashbacks to the RHEL-like's awful environment management tools causing problems with MPI.

Another "Dredged from a decade ago" thought - you do have all of base-devel installed on the desktop? IIRC OpenMPI has a conniption if it can't find gcc and binutils.

1 points

Hmm. I'd be most suspicious of a video driver issue where the card is sometimes coming up in a state that eventually leads to a crash.

I'd dredge through the journal for log info on previous boots where it happened to see if anything informative is being logged, journalctl -b-1 will bring up logs just from the previous boot, -b-2 the boot before that, etc. Hopefully near the end of the log for a boot that crashed you'll get some kind of message to implicate a subsystem.

1 points

How frequent are the crashes? Is it actually constant crash-on-startup, or periodic, or when you do some specific action?

Is there an obvious pattern or correlation with something you do to the crashes?

Are you losing the desktop session to black screen?

Is it crashing and recovering with an interruption or message?

Are you running an X11 or Wayland session?

Are you starting from a display manager (and if so, which)?

Is it a fresh Arch install and/or have you used Plasma on it in the past such that there might be left over config files?

3 points

The absolute shittiest was strictly below the minimum Arch ever supported: In about 2004-2005 I had a little 4+1 cluster of mid-90s vintage IBM PC 300GL boxes (Pentiums out of university surplus) that were running an i586 build, starting from install media and a repo built by folks on the forum, then doing some distcc + makepkg shenanigans to bring a local repo up to date and get what I needed built.

I learned more from that thing than some semesters of college.

I think the cruddiest current Arch machine is an Inspiron 11 3138 (Celeron N2815, 4GB) that was a craptop when it was new and lives on as an octoprint based front-end for 3D printers, though I also have a Pi2 running archlinuxarm that I use as a piece of temporarily embeddable equipment (as a fancy serial-protocol-to-ssh bridge, or to display things on a TV or whatnot).

4 points

Depends very much on use case. I try a libvirt based solution for my desktop virtualization every couple years because depending on an Oracle licensing honeypot product makes me uneasy, and always end up back on Virtualbox anyway.

I mostly use VMs on a desktop for Windows VMs running legacy development tools (both software and talking to programmers/debug probes/etc. not well supported under Linux), and VirtualBox's USB passthrough behavior is so much better that always brings me back to it.

I also do a moderate amount of running weird old systems, which is usually easier via scripts around qemu directly than messing with libvrt to bore to the edge cases.

For spinning other Linux boxes, trying out modern systems, servery tasks, etc., libvirt is probably superior.

1 points

I tried to use Archinstall for the first time a couple months ago and found the partition tool so frustrating that after 3 failed attempts to get it to do my partitions how I wanted, I just dropped to another VT and did them in cfdisk (or parted? Whatever was on the install media), then reran it. (And then it did something else annoying, but did work)

I found the (very, like 2010) old curses based installer that was basically just a checklist for the install steps that launched the appropriate utility helpful, archinstall only seems better than just doing it by hand if you need to script (but not clone) a bunch of similar installations.

1 points

It looks to me like you don't have a driver for your video card installed.

You probably need to install an xf86-video-SOMETHING package corresponding to your video card (or the Nvidia driver or amdgpupro stuff if applicable).

3 points

Hm, that looks like it's running and you're just not seeing it for some reason.

Since it hasn't worked on that particular machine and you don't get a display manager from LightDM either, I'd guess video stack problems.

Are you intending to be running on xorg or wayland? If X, take a look at /var/log/Xorg.0.log for failures (Errors will be prefixed with (EE)) for something that is preventing start. Wayland's logging is a mess of components doing their own thing, so I'm not sure there's a clear place to check for that.

What kind of video device do you have in there? lspci | grep VGA for exact listing if you aren't sure, you might be missing a driver or something.

3 points

5.25 defaults to Safe Landing by Louis Durrant, which is nice but a substantial departure from the abstract geometric stuff the rest of the 5 series has had.

I'm setting up a new laptop this week so I've left it on that machine for the time being just to make it visually distinct, it has grown on me.

5 points

Ohh. I lost headphone auto switching on my Precision 7540 the other day and hadn't got around to looking into it. Good to hear it's a known regression not something I broke.

17 points

KMScon hasn't really been worked on in like 5 years, but I think it still builds and runs on modern systems, there's a package in [community] - I haven't used it in quite some time, so I don't actually know if that's the case.

Frecon (uses the same libs as kmscon, but not as fancy) that ChromeOS uses is still a thing, but last I looked it wasn't well supported on other distributions and/or mainline kernels.

One thing I always appreciate about the modern BSDs is their better terminal drivers (see wscons), the VT stuff in Linux is kind of a mess, and every effort to improve it has resulted in a blob of unmaintained half-baked code that eventually gets abandoned.

3 points

I manage instructional labs for computer engineering undergraduate students: a startling number of even people pre-selected to be seemingly capable, intelligent, and incentivized are shockingly unable or unwilling to follow basic directions ...and of those that can, only maybe 2/3 of them are capable of inferring any generalization or meaning from having done so. I make my living trying to fix that.

12 points

Way back I used qemu with some long-discontinued frontend and really liked it, but switched to VirtualBox like a decade ago. A couple months ago I tried to switch back to QEMU+virt-manager, had guest compatibility problems especially with older OSes, and eventually dealing with libvirt's distinctly-unsuited-to-desktop-virtualization design choices got irritating enough I switched back.

Are you running a front-end, or just writing launcher scripts or something?

7 points

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.