Arch Linux

9040 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS
1
 
 

I got a bunch of firmware issues afte updating my system (i don't think it was an arch linux update, but still), and then I start getting awful lag spike, and my computer crashes, stating lack of ram. My caps lock light doesn't toggle, so I think it's a lower level issue.

Anyways, I tried going on the forums to see if anyone had similar issues lately, but it seems to be down.

Has anyone got issues with their drivers, or is it just my laptop getting too old?

2
 
 

Recently I noticed when updating that pacman doesn't resume where I stopped it (a few minutes before) which is not nice since my internet is slow. After a lot of searching I found out every time I run pacman -Syu it makes a new folder in /var/cache/pacman/pkg named download-xxxxxx where the x's are randomized characters then it puts the downloaded .tar.zst files into that new folder ignoring the previous folder it created last time. My workaround was to move the contents of the previous download folder to it's parent directory but what would be a permanent solution? I remember when this wasn't the case so it must be a new "feature" I can hopefully disable.

3
 
 

If you ever wanted to chroot into the generated initramfs here are the steps. I thought it was interesting so wanted to share.

mkdir -p /mnt/initramfs
cd $_
lsinitcpio -x /boot/initramfs-linux.img
mount --bind /proc ./proc
mount --bind /sys ./sys
mount --bind /dev ./dev
SHELL=/bin/ash chroot .
4
 
 

My Linux mint pc just crashed because I was moving a lot of files from the home folder to the root directory. I got error that the drive is getting full. After clicking show error my pc rebooted and there was an error something like "can't create user journal no space left" I've been running mint for 4 years now. But arch for 2 years on my laptop (hyprland) and main pc (kde). So for this pc I thought why not also arch. Put the install drive in and booted and got this fancy screen. I've never seen this screen so nice. Why is that, I always just saw the text.

5
 
 

Hi, am I the only one experiencing performance variability in games from install to install?

I periodically install other distros to see if the green is grassier on the other side and I decided to do a cleanup, migrate to lvm for my arch install while I'm at it.

I have gone through 5-6 installs in the last 3 weeks, several iterations of arch as well. I always play the same 3-4 games and I know how they should perform already and I am experiencing some weird performance variability, what do I mean by this?

  • Some installs have lower fps but stable 1% lows
  • Sometimes if feels stuttery, even though the frametimes are stable
  • Other times its just perfect

I am not doing anything out of the ordinary, archinstall with my setup, install steam, start my games.

  • All AMD system
  • single NVME
  • Plasma with wayland

I'm stumped, I feel like an idiot looking at this issue because it makes no sense whatsoever. I finally nailed the setup after figuring out how to get LVM running, got everything going and now, it's a stuttery mess.

Edit: Things eliminated or fixed:

  • stutters removed by lowering mouse polling rate to 1000hz
  • wayland as a possible overhead by launching my games from the tty with gamescope
6
 
 

I'm using Endeavor OS. My computer lost power during system update. Now I can boot into it.

7
 
 

On the 16th of July, at around 8pm UTC+2, a malicious AUR package was uploaded to the AUR. Two other malicious packages were uploaded by the same user a few hours later. These packages were installing a script coming from the same GitHub repository that was identified as a Remote Access Trojan (RAT).

The affected malicious packages are:

  • librewolf-fix-bin
  • firefox-patch-bin
  • zen-browser-patched-bin

The Arch Linux team addressed the issue as soon as they became aware of the situation. As of today, 18th of July, at around 6pm UTC+2, the offending packages have been deleted from the AUR.

We strongly encourage users that may have installed one of these packages to remove them from their system and to take the necessary measures in order to ensure they were not compromised.

According to the gamingonlinux discord, the following packages are also suspected to be compromised:

https://aur.archlinux.org/pkgbase/minecraft-cracked/

https://aur.archlinux.org/pkgbase/ttf-ms-fonts-all/

https://aur.archlinux.org/pkgbase/vesktop-bin-patched/

https://aur.archlinux.org/pkgbase/ttf-all-ms-fonts/

If you have any of these packages installed, immediately delete it and check your system processes for a process called systemd-initd (this is the RAT).

Here is an analysis of the malicious payload: https://www.virustotal.com/gui/file/d9f0df8da6d66aaae024bdca26a228481049595279595e96d5ec615392430d67

8
 
 

I'm only posting this as I am pretty much completely out of ideas on what to do here as I feel like I've tried pretty much everything besides just wiping my entire root directory and possibly my configurations in my home directory.

I was trying to get some better audio mixing in OBS for my setup I've been creating. Wanted to do some audio routing using the JACK Input Client in OBS in conjunction with a patchbay like Helvum or qpwgraph. In short, I installed Helvum and apparently already had qpwgraph installed. But in looking at both programs, couldn't really figure it out, and was just going to leave it for later. Didn't save any settings, just exited out without saving for both of them.

OBS only starting giving me issues after I had shut it down and then re-opened it later. That's when I noticed I stopped getting any input from my Line In input. Rebooted to see if it was just a glitch with pipewire or something else and nothing changed. Tried to record in Audacity from that same input and it just records silence. All other inputs and outputs seem to work, it's only the Line In that seemed to break. However it is detected

Things I have tried so far:

  • Reinstalling PulseAudio, Pipewire, and ALSA
  • Resetting the configurations for PulseAudio, Pipewire, and ALSA (Both system-wide in /etc and the user-specified ones in /home/.config)
  • Removing the JACK input sources from OBS
  • Uninstalling Helvum, and qpwgraph
  • Multiple reboots

The only thing that seems to get it to output something is a new user profile; which I thought I reset all the configurations for on my current user. However even with that, the audio isn't great quality and it's quiet.

I'm only using a USB mic and the built-in audio controller with my motherboard (B560 Aorus Pro AX) and GPU (Intel ARC A770 LE).

Here's the audio devices from lspci, and lsusb:

$ lsusb
Bus 001 Device 004: ID 0c76:161f JMTek, LLC. USB PnP Audio Device
$ lspci
00:1f.3 Audio device: Intel Corporation Tiger Lake-H HD Audio Controller (rev 11)
04:00.0 Audio device: Intel Corporation DG2 Audio Controller

Let me know what other info I can give, if needed, things like pacmd or aplay and alike


Mostly Working Solution Edit: After far too long digging around, I found it would work whenever I restarted pulseaudio when I was logged on as my current user. From there, I read through the documentation for one of the plugins I was using in OBS, which is obs-pipewire-audio-capture. Figured I may as well try to install the pipewire-pulse compatibility layer instead of also having pulseaudio installed. Went ahead and did the install and it auto-removed pulseaudio as expected. I rebooted, and Line In is now working as it should.

The only reason why I say mostly working, is that now an unused Mic In input mirrors what's coming into Line In. Even if there's another device plugged into it, it still mirrors Line In whenever it's recorded. Since it's unused, it doesn't cause any problems, but it is something I noticed.

9
 
 

I run regular updates with my daily desktop running Garuda. A while back, it started throwing a long list of red errors similar to this:

( 4/15) Checking for package with missing dependencies... File "/usr/lib/libkhotkeysprivate.so.5.27.10" from package "khotkeys" is missing dependency "libkworkspace5.so.5" File "/usr/lib/qt/plugins/kcm_hotkeys.so" from package "khotkeys" is missing dependency "libkworkspace5.so.5" File "/usr/lib/qt/plugins/kf5/kded/khotkeys.so" from package "khotkeys" is missing dependency "libkworkspace5.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DAnimation.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DAnimation.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DAnimation.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DCore.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DCore.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DCore.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DExtras.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DExtras.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DExtras.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DRender.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DExtras.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DCore.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DInput.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DInput.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DInput.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DCore.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DLogic.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DLogic.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DLogic.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DCore.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DRender.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DRender.so.5" File "/usr/lib/python3.11/site-packages/PySide2/Qt3DRender.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt53DCore.so.5" File "/usr/lib/python3.11/site-packages/PySide2/QtDataVisualization.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt5DataVisualization.so.5" File "/usr/lib/python3.11/site-packages/PySide2/QtRemoteObjects.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt5RemoteObjects.so.5" File "/usr/lib/python3.11/site-packages/PySide2/QtScript.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt5Script.so.5" File "/usr/lib/python3.11/site-packages/PySide2/QtScriptTools.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt5ScriptTools.so.5" File "/usr/lib/python3.11/site-packages/PySide2/QtScxml.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt5Scxml.so.5" File "/usr/lib/python3.11/site-packages/PySide2/QtSerialPort.cpython-311-x86_64-linux-gnu.so" from package "pyside2" is missing dependency "libQt5SerialPort.so.5" Package "python310" has files in directory "/usr/lib/python3.10" that are ignored by the current Python interpreter Package "guiscrcpy" has files in directory "/usr/lib/python3.11" that are ignored by the current Python interpreter Package "pyside2" has files in directory "/usr/lib/python3.11" that are ignored by the current Python interpreter Package "python-shiboken2" has files in directory "/usr/lib/python3.11" that are ignored by the current Python interpreter Package "razercommander" has files in directory "/usr/lib/python3.11" that are ignored by the current Python interpreter Package "esphome-flasher" has files in directory "/usr/lib/python3.12" that are ignored by the current Python interpreter Package "esptool3.2" has files in directory "/usr/lib/python3.12" that are ignored by the current Python interpreter Package "protonvpn-gui" has files in directory "/usr/lib/python3.12" that are ignored by the current Python interpreter Package "python-proton-client" has files in directory "/usr/lib/python3.12" that are ignored by the current Python interpreter Package "python-protonvpn-nm-lib" has files in directory "/usr/lib/python3.12" that are ignored by the current Python interpreter Package "python-vdf-solstice" has files in directory "/usr/lib/python3.12" that are ignored by the current Python interpreter Systemd enabled service has broken link in "/etc/systemd/system/multi-user.target.wants/libvirtd.service" Systemd enabled service has broken link in "/etc/systemd/system/sockets.target.wants/virtlockd.socket" Systemd enabled service has broken link in "/etc/systemd/system/sockets.target.wants/virtlogd.socket" Systemd enabled service has broken link in "/etc/systemd/system/sockets.target.wants/libvirtd.socket" Systemd enabled service has broken link in "/etc/systemd/system/sockets.target.wants/libvirtd-ro.socket"

I say "similar" because I'm not sure if it's changed with time, but I'm having trouble finding and/or installing the mentioned dependencies such as libQt53DLogic.

I tried running "garuda-update -a" to include AUR stuff, but it just kicked back with:

`:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: pyside2 5.15.16+3.1-2 (Sat 12 Jul 2025 10:18:36 PM EDT) ==> Retrieving sources... -> Found pyside-setup-opensource-src-5.15.16.tar.xz -> Found pyside2_5.15.16-3.1.debian.tar.xz -> Found Modify-sendCommand-signatures.patch -> Found cmake-findpython.patch ==> Validating source files with sha256sums... pyside-setup-opensource-src-5.15.16.tar.xz ... Passed pyside2_5.15.16-3.1.debian.tar.xz ... Passed Modify-sendCommand-signatures.patch ... Passed cmake-findpython.patch ... Passed ==> Making package: pyside2 5.15.16+3.1-2 (Sat 12 Jul 2025 10:18:39 PM EDT) ==> Checking runtime dependencies... ==> Missing dependencies: -> qt5-datavis3d -> qt5-3d -> qt5-script -> qt5-scxml -> qt5-serialport -> qt5-remoteobjects ==> Checking buildtime dependencies... ==> ERROR: Could not resolve all dependencies. error: failed to build 'pyside2-5.15.16+3.1-2 (python-shiboken2 shiboken2 pyside2)': error: packages failed to build: pyside2-5.15.16+3.1-2 (python-shiboken2 shiboken2 pyside2)

Paru exited with error code 1`

I feel like I'm missing something obvious, but I'm out of ideas. Thanks.

10
 
 

Sorry for making a post for such a basic question but I wasn't able to figure out my own so I'm come here as last resort.

I bought a new CPU, RAM, and motherboard combo and I migrated all my non-conflicting parts from my previous machine, which had a Linux install and a Windows install.

When I booted into the PC, I did not see an option in the boot menu or in the boot order for Linux whatsoever. Only my windows 11 IoT install and my new nanokvm.

I had a asrock x570 extreme4 and switch to a Msi Pro x870E-P WiFi. I have updated to the newest BIOS.

I was previously using systemd as my boot manager until I tried switching over to grub but neither trying to fix system D or installing grub seemed to work for me.

So I was hoping that I could delete my boot partition or somehow start from scratch without deleting any data in my root partition (Btrfs sub volumes) . and get a step-by-step installation guide for me since I can't seem to understand the arch wiki at my current state.

I would like to give you guys more information about the scenario and more context of what I've done, but i'm sadly not capable.

/dev/nvme0n1 is my linux install while /dev/nvme1n1 is Windows 11 IoT

11
 
 

My mouse has terrible range from my computer. If it go too far, it disconnects. It has maybe a metre range.

I have openrazer with polychromatic installed.

Sometimes when my mouse is too far, the way to fix it is reclick the power button on the mouse.

The battery is almost full.

I'm on KDE as well if that helps.

12
 
 

Today, after decrypting my encrypted drive, the system failed to boot into it.

I forget what the error said. It maybe said that it could not fine new_root or something.

I tried something like the following, by I don't know what it does.

cryptsetup reencrypt --decrypt --header new_file device_path

I'm not sure what it does and what the --header part does. It was taking too long, so interrupted with a reboot. Now its saying their device is not a valid LUKS device.

13
 
 

👋 hi. happy to be here

the obs virtual camera won't start. i get a pop-up with this exact message ->

Starting the output failed. Please check the log for details. Note: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.

everytime i try to start the virtual camera. i already tried:

  1. updating the system with: doas pacman -Syu

  2. installing intel graphic card drivers (my laptops model is UX3405MA)

  3. changing the video encoder settings multiple times

  4. reinstalling v4l2loopback

  5. other basic stuff i don't remember

then at last i came across this forum thread: https://obsproject.com/forum/threads/obs-virtual-camera-failed-to-start-streaming-on-dev-video2-invalid-argument.184717/

and there they talk about how it is related to an issue in the application itself¿

so then i wanted to download a newer, pre-release version, because i read somewhere that it has the relevant bug fixes, but didn't know how (im guessing the only way to do this on arch is by building the source code)

thank you if you read through all this

14
15
16
 
 

cross-posted from: https://sh.itjust.works/post/40293009

2025-06-16 - Peter Jung

We are transitioning the wine and wine-staging package to a pure wow64 build. This change removes the dependency on the multilib repository for wine and wine-staging.

The main reason for this is to align with upstream Wine development, which simplifies packaging and the dependency chain.

Potential Issues:

  • OpenGL Performance: A known limitation of the new WoW64 mode is reduced performance for 32-bit applications that use OpenGL directly
  • Breaking Changes: Existing 32-bit prefixes needs to be recreated

If you are facing issues with 32 bit prefixes, please recreate these and reinstall the application.

17
9
Vulkan error for flatpaks (programming.dev)
submitted 11 months ago* (last edited 11 months ago) by Reza@programming.dev to c/archlinux@lemmy.ml
 
 

I have archlinux with GNOME 48 and wayland. When I run apps which I have installed them from flatpak I get error below:

MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_formats.c:759: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_formats.c:790: FINISHME: support more multi-planar formats with DRM modifiers

The apps are shown like the screenshot:

Carburetor

They work, but nothing is shown!

I did not have the problem since I updated the packages with pacman and vulkan-icd-loader and vulkan-headers updated from 1.4.309 to 1.4.313.

18
5
submitted 11 months ago* (last edited 11 months ago) by TomB19@lemmy.ml to c/archlinux@lemmy.ml
 
 

Does the 1~2 week delay improve Manjaro stability over Arch?

I run Manjaro on the computer I use 99.9% of the time. It's been rock stable but there have been a few issues, over the years. I've been forced to reinstall on four occasions, since 2017. I expect it would have been more but I stopped taking updates until a week or two after they are offered. Every issue could have been handled with timeshift but I only started running timeshift about 6 months ago.

I also have an Arch laptop that I use a few times per year. It's been very stable but it goes for weeks without being used. I have no way to know how many problems it would have had if I used it every day.

Any thoughts on which is more stable? Maybe it doesn't matter that much, with snappy and timeshift?

19
 
 

Hey everyone,

Recently started with Arch, using Hyprland as a WM and Waybar as a statusbar. In the link I refer to a module page on the arch-wiki. There they refer to 'commands' when actions happen, for instance: on-click, on-scroll, etc.

How do I figure out what commands are available for that module?

In this case, I would like to reverse the scrolling from the default behavior. The backlight module has an option ' reverse-scrolling' baked in, but this one doesn't. So how do I figure out how to send what command to wireplumber through the scroll actions of the waybar module?

Kr

Kevin!

Solution:

I'm a bit dumb and it's any and all shell command, so the solution was

"wireplumber": {
    "on-scroll-up": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-",
    "on-scroll-down": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
},
20
 
 

I saw a similar post here recently, but this is slightly different.

I'm running MythTV on Arch which is working fine (of course), but when MythTv came out of the main packages and went to the AUR, it was just a little harder to maintain and had some compolation issues due to ffmpeg, etc - to the point: my last update was probably 3 years ago.

The (minor) issues I currently have are:

  • terminator won't start 1st time, but starts fine 2nd time
  • shutdown's take a few minutes due to a systemd issue
  • everything's woefully out of date

So... considering all the changes with audio and video over the last few years do I just pacman -Syuv and crack on... or... start again from scratch?

(Yep, full backup 1st)

21
 
 

Coming from Manjaro, I had Manjaro in dual boot with Windows for a few years now. I have now also installed Arch Linux. During the Arch installation, I skipped the part with the boot partition and the bootloader. I have been using the bootloader/grub from Manjaro. That works quite well.

But now I want to switch to a bootloader from Arch. With the Arch bootloader I would like to continue to have the choice between Arch, Manjaro and Windows.

I assume that I have to install a corresponding bootloader for Arch in the EFI parallel to the others. But how should I proceed in detail? I have not yet been able to find any corresponding howtos. Which bootloader would you recommend?

22
 
 

I try to download a file with curl directly after logging into Gnome. This usually fails because mostly the WiFi connection is only established after login. If I wait long enough in the login screen before logging in, the connection is already established and the download works.

So far I have used Manjaro. WiFi was already active long before the login screen of GDM was even displayed. The download therefore always worked.

The download is initiated with a *.desktop file in ~/.config/autostart.

Is there another way to start the download after the user is logged in and the WiFi connection is really ready?

23
 
 

Since I no longer had an icon for Steam in Gnome, I tried to reinstall Steam via pacman -S steam. That didn't bring me an icon in the Gnome overview either, but that was because I had created a separate *.desktop file in ~/.local/share/applications. I removed this and the icon in the overview came back. But now I have the problem that the games I call up via Steam no longer start. For one game, the launcher starts, but then displays the message “Please start Steam first” (Steam is already running, otherwise I wouldn't be able to start the game). Other games bring up the message that no wine-mono is supposedly installed. But it is installed.

A reinstallation of Steam has not changed anything. What can I do?

24
 
 

Hello everyone! I want to write a short script to let me know if there has been more than 3 days since the last full system update whenever I open a terminal (run from .zshrc). Ive got something cobbled together, but sadly it only checks for the last full system update from pacman directly because of the way it looks at the pacman logs.

My question is, how can I make it so that if EITHER pacman directly or yay runs a full system update, it will update something like a persisitent environment variable with a UNIX timestamp?

I've also considered writing a hook to run after pacman fully updates the system since yay runs pacman under the hood anyway, but I can't figure out how to make the hook recognise if it was a successful full system update.

Here is what I have so far:

#!/bin/zsh

last_upgrade_date=$(grep -m 1 'full system upgrade' /var/log/pacman.log | cut -d ' ' -f 1 | tr -d '[]')
last_upgrade_sec=$(date --date="$last_upgrade_date" +%s) # Convert to UNIX timestamp

last_upgrade_sec=$(date -d "$last_upgrade_date" +%s)
now_sec=$(date +%s)

days_since=$(( (now_sec - last_upgrade_sec) / 86400 ))

if (( days_since > 3 )); then
	echo "Days since last update: $days_since day(s)" >> /dev/tty
fi

# Kernel version check
running_kernel=$(uname -r)
installed_kernel=$(pacman -Q linux | awk '{print $2}' | cut -d '-' -f1 | cut -d '.' -f1,2,3)

running_kernel_base=$(echo "$running_kernel" | cut -d '-' -f1)

if [[ "$running_kernel_base" != "$installed_kernel" ]];
then
	echo "Kernel mismatch detected. Reboot recommended." >> /dev/tty
fi

Thanks in advance!

25
 
 

I find AI to be of great help when using arch for the first time. Because i can ask anything that i dont understand about arch or anything that i want to do but dont know how.

I install app named “Alpaca” from flathub and thats how i use AI privatly without my conversacions going on the internet to who knows what third parties…

view more: next ›