r/archlinux 22h ago

SUPPORT help my desktop enviroments are killing themselves

0 Upvotes

When I try to boot KDE Plasma, It gets to the bit where the loading bar and KDE logo is on screen before kicking me out and sending me back to the display manager. This started today.

A much older problem is that when I try to boot into deepin DE, the screen goes black for 5-15 mins before going back to the display manager.

Gnome works perfectly fine, but I prefer KDE Plasma and would like to use it again.


r/archlinux 9h ago

SHARE poor man's kvm: on arch linux how to start a remote wayland session

Thumbnail youtu.be
0 Upvotes

r/archlinux 15h ago

SUPPORT The computer has 240Gb NVME and 120Gb SSD. Any suggestions about partition ?

0 Upvotes

I currently have a 240Gb NVME drive on my computer, which is currently partitioned as follows: / - 50Gb and /home - 190Gb. SWAP is in the 8Gb file on the / partition. The file system is ext4, unencrypted. The /home/user directory is managed by systemd-homed, which is encrypted and in turn formatted with the btrfs file system.

The plan is to add a 120Gb SSD. So the computer would have a total of 240Gb NVME and 120Gb SSD. In addition, the plan is to start using / partition snapshots (for Archlinux upgrades) and disk encryption. systemd-homed would continue to be used, the new size of the / partition could be 60Gb and the remaining 320Gb is used for /home.

Which file systems to use ? Would it make sense to use btrfs for the / partition ? Can the /home partition be used virtually over NVME and SSD at the same time ? Should I encrypt both physical disks separately or just the / partition, assuming systemd-homed uses encryption anyway ? Which methods could I use and in which order ? Thank you in advance !


r/archlinux 18h ago

SUPPORT [rdsosreport.txt] This NVMe works fine under Parted Magic. But it fails to boot because of all these errors (I anchored the link to start from the errors). Is there a way to fix this? Because it does this every few months! I don't wanna reinstall this time. Thanks.

Thumbnail gist.github.com
0 Upvotes

r/archlinux 15h ago

SUPPORT Help

0 Upvotes

So I was using yay today and out of the sudden this message appeared: We'll be murdered in our beds! Which I didn't take it serious, and now I started thinking about it


r/archlinux 4h ago

SUPPORT Plasma freezing when using the UI

0 Upvotes

Sometimes when invoking the start menu, plasma freezes, it also (always) happens whenever I go to the "get new" menu for things like wallpapers or themes.
I'm 90% sure it's not a hardware problem, I'm on a pretty decent computer, the only potential problem might be Nvidia. The issue appears on both X11 and wayland
UPDATE:
After changing some things I do not remember, the freezing that happens when using the "get new" menu now affects only the settings and the menu itself, not the rest of the desktop, it still is a problem


r/archlinux 16h ago

SUPPORT USB drives won't appear, dmesg shows no activity.

0 Upvotes

Hi, I recently noticed that my USB drives weren't registering at all when plugged into either of my laptops USB A ports (USB C works, I tested with a different pen drive). I did some research and having recently been testing out tlp to try and improve my battery life I discovered that that is a common cause. I uninstalled TLP and reverted back to my default GRUB, rebooted and have still had no success.

I've tried to follow other peoples fixes but running dmesg -w or journalctl -f and inserting the drive shows no activity at all. If anyone has any ideas what this could be I'd be massively grateful!


r/archlinux 19h ago

QUESTION Arch is working only from USB

0 Upvotes

I just installed Arch on my laptop, I installed it on disk absolutely for sure. But it works only from usb flash. Why can it happen? Everything is working correctly as I set it up, but only from flash. Is something wrong with loader, I don’t understand…


r/archlinux 21h ago

QUESTION How can I cross-compile for ARM target on my archlinux x86_64 machine?

1 Upvotes

I want to cross-compile some binaries for aarch64 target on my amd64 ArchLinux machine. How can I do so? Where can I find the necessary packages? What I'm looking for is the GCC toolchain for ARM. I found the arm-none-eabi-gcc package which works for bare metal applications, but I want to compile applications with the standard C library. I plan to execute the binaries using qemu. How can I do this? Can someone please help me out?

When I try to compile this program:

#include <stdio.h>

int main()
{
        printf("Hello Worldn");
        return 0;
}

using arm-none-eabi-gcc hello.c, I get the following errors due to missing glibc:

hello.c:1:10: fatal error: stdio.h: No such file or directory
    1 | #include <stdio.h>
      |          ^~~~~~~~~
compilation terminated.

How can I fix this?

Update: Solved!

Thanks to u/TheRealBummelz, I was able to figure this out. Here is the solution:

Step 1: Install the neccessary pacakges: yay -Syu aarch64-linux-gnu-glibc aarch64-linux-gnu-gcc aarch64-linux-gnu-binutils qemu-user

Step 2: Compile the code statically: aarch64-linux-gnu-gcc -static hello.c

Step 3: Execute using qemu: qemu-aarch64 ./a.out


r/archlinux 22h ago

QUESTION GB-Operator by Epilogue

0 Upvotes

hey :)
did someone of you get the gb-operator running? Or has deal with it?


r/archlinux 14h ago

QUESTION YouTube videos freeze when audio is enabled on Linux with Hyprland. PLZ HELP!

0 Upvotes

Hi everyone,

I'm encountering a strange issue on my Linux system. Every time I try to watch videos on YouTube, the video freezes as soon as I enable the sound. The video keeps loading and never starts playing, and this happens both on YouTube and other online video players.

Here are some details about my system:

  • Compositor: Hyprland (Wayland)
  • Browser: Firefox/Chromium (I've tried both, the issue persists)
  • Audio: PipeWire (with PulseAudio support)
  • Graphics drivers: Using drivers for AMD (depending on the hardware)

I've already tried some solutions, such as:

  • Checking audio drivers (reinstalled PipeWire and PulseAudio)
  • Disabling hardware acceleration in the browsers
  • Clearing browser cache
  • Disabling browser extensions

My system doesn't seem to be overloaded, so it's not a CPU or memory issue. Also, the problem started happening suddenly, with no significant configuration changes.

Has anyone experienced something similar or have any suggestions on how to fix this? Any help would be greatly appreciated!


r/archlinux 12h ago

SUPPORT Asterisk font changed in QT apps after installing otf-font-awesome

0 Upvotes

This has been driving me a little crazy and I don't know how to fix it. I need otf-font-awesome for the Waybar icons but it kinda messes up the asterisk font whenever a QT app asks for a password. Is there a way to revert back to normal?

Here's how it looks


r/archlinux 15h ago

SUPPORT "miniupnpc-config.cmake not found" when trying to compile

0 Upvotes

Hi there, relatively new to arch, looking for help plz.

My ultimate goal is to get to play a game called "Clonk". I found an AUR for LegacyClonk, here: https://aur.archlinux.org/packages/legacyclonk-git

As noted by the latest comment, the build file needed some editing, so i inserted the latest release and tried a simple "makpkg -si"

At first I got an error that sdl2_mixer was missing. "yay -S sdl2_mixer" solved that for me.

then came the following error:

[xxx@xxx clonk_rage-git]$ makepkg -si
==> Erstelle Paket: clonk_rage-git r1635.90570100-1 (So 29 Dez 2024 00:40:58 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> Aktualisiere das legacyclonk-git git Repo...
  -> lc_content.zip gefunden
==> Überprüfe source Dateien mit md5sums...
    legacyclonk-git ... Übersprungen
    lc_content.zip ... Übersprungen
==> Entpacke Quellen...
  -> Erstelle Arbeitskopie des legacyclonk-git git Repos...
Setze Branch 'makepkg' neu
  -> Entpacke lc_content.zip mit bsdtar
==> Beginne prepare()...
==> Beginne pkgver()...
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...
-- Build spdlog: 1.14.1
-- Build type: RelWithDebInfo
CMake Error at CMakeLists.txt:456 (find_package):
  Could not find a package configuration file provided by "miniupnpc" with
  any of the following names:

    miniupnpcConfig.cmake
    miniupnpc-config.cmake

  Add the installation prefix of "miniupnpc" to CMAKE_PREFIX_PATH or set
  "miniupnpc_DIR" to a directory containing one of the above files.  If
  "miniupnpc" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
[xxx@xxx clonk_rage-git]$ 

I thought that maybe also a simple "yay -S miniupnpc" would help, but nope, same error.

Couldn't find a miniupnpcConfig.cmake or miniupnpc-config.cmake on my machine.

Downloaded and compiled miniupnpc by hand and altered "miniupnpc_DIR" to that directory (which contained a miniupnpc-config.cmake), as per error-instructions, but still same error.

Any help would be apprechiated


r/archlinux 18h ago

SUPPORT | SOLVED Mic Mute switch light does not turn on/off in coordination with the state of the key on T14 gen 1 amd

0 Upvotes

On my t14 the mute switch works fine but the light never turns off unless i manually set the value 0. Is there a missing firmware or driver that i dont have which is causing this? Any help will be appreciated.


r/archlinux 19h ago

SUPPORT update broke my networking

0 Upvotes

Hey all, I frequently update my computers and this morning my desktop took a bit longer to start than usual with a warning that waydroid failed to start. I no longer use waydroid so I figured I'd uninstall it. I just ran a simple pacman -R waydroid and it was gone but I noticed my working was off so I figured I'd reboot since it probably messed with ip tables, etc.

After rebooting my nfs mounts all timed out and I noticed I can reach the outside network but not my lan network other than gateway. After a bit of poking around I decided to reinstall waydroid and it seemed to fix my lan access issue. I rebooted to confirm and sadly I can't reach local network again. I'm not entirely sure where to start but I'll include a few things that might be helpful: (yes i temporarily have a /21 b/c i started moving things around and got lazy, gw is .18.1)

$ ip route show default via 192.168.18.1 dev br0 proto dhcp src 192.168.18.39 metric 1024 default via 192.168.18.1 dev enp3s0 proto dhcp src 192.168.18.39 metric 20100 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 172.18.0.0/16 dev br-8df2687bb087 proto kernel scope link src 172.18.0.1 linkdown 173.255.215.209 via 192.168.18.1 dev br0 proto dhcp src 192.168.18.39 metric 1024 192.168.16.0/21 dev enp3s0 proto kernel scope link src 192.168.18.39 metric 100 192.168.16.0/21 dev br0 proto kernel scope link src 192.168.18.39 metric 1024 192.168.18.1 dev br0 proto dhcp scope link src 192.168.18.39 metric 1024 205.161.200.3 via 192.168.18.1 dev br0 proto dhcp src 192.168.18.39 metric 1024

``` $ ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000 link/ether 18:c0:... brd ff:ff:ff:ff:ff:ff altname enx18c0... inet 192.168.18.39/21 brd 192.168.23.255 scope global dynamic noprefixroute enp3s0 valid_lft 862780sec preferred_lft 862780sec inet6 fe80::.../64 scope link noprefixroute valid_lft forever preferred_lft forever 3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 18:... brd ff:ff:ff:ff:ff:ff inet 192.168.18.39/21 metric 1024 brd 192.168.23.255 scope global dynamic br0 valid_lft 862780sec preferred_lft 862780sec inet6 fe80::.../64 scope link proto kernel_ll valid_lft forever preferred_lft forever 4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:58:... brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 valid_lft forever preferred_lft forever 5: br-8df2687bb087: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:43:... brd ff:ff:ff:ff:ff:ff inet 172.18.0.1/16 brd 172.18.255.255 scope global br-8df2687bb087 valid_lft forever preferred_lft forever

```


r/archlinux 20h ago

SUPPORT pmlogger.service is failing to collect data

0 Upvotes

pmlogger.service is failing to collect data

The only thing that works for a little while is clearing the logs folder then restarting it.
Nothing really explains to what is causing it, it just fails.

It will show the stats in cockpit for a moment when I get it cleared then when I come back it is failing again.
This used to work with no issue.,


r/archlinux 21h ago

SUPPORT Bluetoothctl: no default controller available

0 Upvotes

I have installed bleuz, blues-utils and blueman, turn start/enable service, check rfkill. Check twice info from archwiki!

dmesg: Bluetooth:hci0 Opcode 0x0e03 failed: -110

Asus TUF motherboard. Windows bluetooth worked fine before


r/archlinux 23h ago

SUPPORT | SOLVED Help me Boot Menu Loop

0 Upvotes

I'm new to Installing Arch Linux.
I done the steps of Installing Arch Linux (Btw Window to Arch Linux)

Problem: When I hit Enter on my Bootable USB it keeps looping on Boot Menu

Device
Laptop Model: T460 Laptop (ThinkPad) - Type 20FM
CPU Type: Intel (R) Core (TM) i7-6600U CPU
Installed Memory: 8192MB
USB Flash Drive: General UDisk USB Device (31.2 GB)

ISO: archlinux-2024.12.01-x86_64.iso (Link: https://asia.mirror.pkgbuild.com/iso/2024.12.01/)

ThinkPad Setup
Secure Boot: [Disabled]
Boot Priority Order: I move the USB HDD: General UDisk at 1.
UEFI/Legacy Boot: [UEFI Only]
CSM Support: [No]

Rufus
Partition Scheme: GPT
Target System: UEFI (non CSM)
File System: FAT32 (Default)
Cluster size: 16 kilobytes (Default)

Video Error Loop Link: https://www.youtube.com/watch?v=aHDG48rNL74 (Noise Warning)

[SOLVED]
The problem is it not on Rufus or ThinkPad Setup is on the USB Flash Drive. My is a USB 2.0 and I switch it on USB 3.0, and it works! (I still use the setting for Rufus and ThinkPad Setup on the top)


r/archlinux 13h ago

QUESTION Whats Your Backup Solution?

5 Upvotes

I'm going to implement a snapshots/backup solution tomorrow and wanted to ask about options before I make my final decision. So far I'm thinking about going with timeshift + grub-btrfs for daily snapshots & clonding my SSD to an external using clonezilla.

Other options I've heard of here are snapper/btrfs-assistant, borg, restic, dd, rsync, etc.

With so many options what solution do you all go with and what made you choose it over the others?


r/archlinux 3h ago

SUPPORT Screensharing a game on Discord causes said game to freeze

Thumbnail
1 Upvotes

r/archlinux 4h ago

SUPPORT Mediatek MT7922 no 5G

1 Upvotes

I have a new laptop with the Mediatek MT7922 WiFi/Bluetooth card.

With this card i can't connect to a 5G network, which is a known problem.

According to this solution i put the latest firmware in /lib/firmware/mediatek/mt7922 to solve this...

Problem is the kernel (6.12.7-arch1-1) recognizes the card as mt7921e and loads the kerneldriver.

ethtool -i wlan0
driver: mt7921e
version: 6.12.7-arch1-1
firmware-version: ____000000-20241106163310
expansion-rom-version:  
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Question; How to make this laptop use the firmware rather than the kernel driver?


r/archlinux 4h ago

SUPPORT Mic Mute switch light does not turn on/off in coordination with the state of the key on T14 gen 1 amd

2 Upvotes

On my t14 the mute switch works fine but the light never turns off unless i manually set the value 0. Is there a missing firmware or driver that i dont have which is causing this? Any help will be appreciated.


r/archlinux 4h ago

SUPPORT DaVinci Resolve Freezes When Importing Videos (Ryzen 3200G + Vega Graphics)

1 Upvotes

Hi everyone,

I’m having a problem with DaVinci Resolve on my ArchLinux setup, and I hope someone can help me figure this out.

The issue happens when I try to import a video into DaVinci Resolve. As soon as I do, the monitors flicker a couple of times, and then everything freezes: the monitors stay static, and the PC stops responding entirely, forcing me to do a hard reset.

Here’s my setup:

  • Ryzen 3 3200G with integrated Radeon Vega graphics.
  • 16 GB RAM (HyperX Fury, two sticks).
  • MSI B450M PRO-VDH MAX motherboard.

I’m using the open-source AMDGPU drivers along with OpenCL (rocm-opencl-runtime), and I launch DaVinci Resolve with the ROC_ENABLE_PRE_VEGA=1 environment variable. Additionally, I downgraded the following packages to version 24.2.7 to fix random freezes with Vega:

  • mesa
  • lib32-mesa
  • vulkan-radeon
  • lib32-vulkan-radeon

Has anyone experienced a similar issue or knows how to fix this? Could it be related to OpenCL, the drivers, or something else? Any advice or suggestions would be greatly appreciated.


r/archlinux 12h ago

SUPPORT Pipewire audio issues: Headphones on Line Out not recognized until Wireplumber is restarted (KDE Plasma + pipewire-pulse + wireplumber)

0 Upvotes

Context:

I'm a new Arch user, I migrated from Mint after much thought and practice. Everything has been going smoothly so far, I was able to install 90% of the things I wanted without much issue (not everything yet). However there is this big glaring issue that I can't seem to resolve.

My CPU and GPU are Intel Core i5-4460, and Radeon R9 390.

I basically installed these packages in this order. I installed other things too, but they are unrelated to audio.

  1. plasma-desktop
  2. sddm
  3. konsole
  4. plasma-pa
  5. firefox
  6. pipewire-pulse

To my knowledge, all you have to do install Pipewire and enable pipewire-pulse.service, which is what I did.

Issue:

On reboot, my headphones that I plug into the "Line Out" port on the motherboard is not recognized, and consequently it also plays no sound. I did install KDE which does install some sound packages of its own, but I'm not sure if it's a KDE specific issue. Also to note, there is another device that gets recognized without issue (probably), my HDMI cable to my monitor, but it doesn't have a speaker attached anyway so it's pointless that it's recognized.

However, there is a weird workaround that "fixes" this issue. When I either restart the systemd wireplumber.service or pipewire.service, the problem fixes itself and my headphones start working as normal. When I restart Wireplumber, the sound comes back immediately. If I restart pipewire, it takes a second. I assume what's happening is that the Pipewire service also restarts Wireplumber on my behalf.

So my question is, how should I go about fixing or further diagnosing this issue? If I can't, how do I find a suitable workaround that deploys automatically? I tried creating a simple systemctl service that runs the command, but every script that I tried writing I guess runs it too fast to have any effect on the issue.

I could probably using some other audio setup, but I think this setup should work, because on Mint I think I also had pipewire-pulse set up. I'm only vaguely sure, because I never really touched it before.

The biggest clue that I have is this: When I run the command pactl list short, BEFORE Wireplumber is restarted, I get this output (truncated, I can post full if needed):

...
536870914       module-device-restore
536870915       module-stream-restore
50      alsa_output.pci-0000_01_00.1.hdmi-stereo-extra5 PipeWire        s32le 2ch 48000Hz       IDLE
50      alsa_output.pci-0000_01_00.1.hdmi-stereo-extra5.monitor PipeWire        s32le 2ch 48000Hz       IDLE
32      PipeWire        kwin_wayland
33      PipeWire        wireplumber
...

However, AFTER the issue is solved using systemctl --user restart wireplumber, this is its output (also truncated):

...
536870914       module-device-restore
536870915       module-stream-restore
109     alsa_output.pci-0000_01_00.1.hdmi-stereo-extra5 PipeWire        s32le 2ch 48000Hz       SUSPENDED
110     alsa_output.pci-0000_00_1b.0.analog-stereo      PipeWire        s32le 2ch 48000Hz       SUSPENDED
109     alsa_output.pci-0000_01_00.1.hdmi-stereo-extra5.monitor PipeWire        s32le 2ch 48000Hz       SUSPENDED
110     alsa_output.pci-0000_00_1b.0.analog-stereo.monitor      PipeWire        s32le 2ch 48000Hz       SUSPENDED
32      PipeWire        kwin_wayland
55      PipeWire        pipewire
...

Nothing else has given me anything substantial to work with, but that might be my inexperience with audio libraries talking.

What I tried already, but didn't work:

  • Wiping all configuration files. Seeing this is a new install, this is expected.

  • Scouring the wiki pages on the topic, both KDE and Pipewire. Most relevant entry seems to be 5.1.26, but I tried searching my system for the $XDG_RUNTIME_DIR env var and found nothing. On some Arch forum posts, I found some people who had this variable overridden by other packages (for some reason). Topic 5.1.27 also seemed vaguely related, but nothing happened after trying.

  • Disabling the HDMI audio device through Wireplumber configuration JSON file. While disabling it works nicely, it seems to be unrelated.

  • Checking to see if the regular Pulseaudio package was being used. It wasn't being used, it was properly running pipewire-pulse.

  • Logging into Plasma using X instead of Wayland. Nothing changes.

If this can't be resolved, I need a way to run the command systemctl --user restart wireplumber command after EVERYTHING else has finished running and I've also logged in (I guess). Is there a good way to do that? I don't want to run this manually every time.

Thank you for reading if you did.


r/archlinux 22h ago

SUPPORT Web Cam inquiry

1 Upvotes

Hello,

I'm hoping the community can help me. I am using Arch Linux with KDE Plasma. My laptop is an XPS 9640 which uses the intel ipu6 MIPI camera. I read here: https://aur.archlinux.org/packages/intel-ipu6-dkms-git that the 6.10 kernel should support it (I believe) but it's not working when I attempt to use it on webcamtests website. Does anyone have any idea how I should investigate this?