Arch Linux

7739 readers
1 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
201
 
 

So I have been running into a weird issue lately where if I disconnect a Bluetooth audio device, it will remain visible in the KDE audio mixer. Reconnecting the audio device then adds a duplicate entry and the keyboard volume control for it is completely broken. It stays at the same volume. This was working just fine about a week ago and I've already downgraded pipewire, kpipewire, bluedevil, and plasma-pa to no avail. Nothing shows up in the logs, so I don't know exactly what's causing this bug.

Anyone else experiencing the same thing?

Arch Linux Kernel 6.4.8-arch1-1 Pipewire 0.3.77-1 KDE Plasma: 5.27.7 KDE Frameworks Version: 5.108.0 Qt 5.15.10

EDIT: Seems like simply changing the Bluetooth A2DP audio profile causes this issue as well. I have Bluetooth earbuds that have both AAC and SBC modes and toggling between them just creates more and more duplicate devices with the same name.

THE FIX: Seems like pipewire-pulse 0.3.77 was the culprit after all. Downgrade it to pipewire-pulse 0.3.76 and then do a systemctl --user restart pipewire-pulse to workaround this issue.

EDIT 2: pipewire-pulse 0.3.77-2 has the patch backported. Feel free to update to latest version in Arch repos.

Relevant bug report: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414

202
 
 

I accidentally upgraded qBittorrent to the latest version, and TLDR any version after 4.3.9 is still broken at least for me.

So I'm trying to downgrade back to 4.3.9 but I can't remember what versions of the dependencies I had installed:

  • libtorrent-rasterbar
  • boost-libs

I think I have the correct libtorrent-rasterbar (1.2.1-1) with qBittorrent (4.3.9-1).

Anyone help out with what dependency versions I need?

203
 
 

The version in Aur is outdated. I downloaded the current version from Floorp's website but I couldn't install it.

Here is the content of tarbz2:

application.ini
browser
defaults
dependentlibs.list
floorp
floorp-bin
fonts
glxtest
gmp-clearkey
icons
libfreeblpriv3.so
libipcclientcerts.so
liblgpllibs.so
libmozavcodec.so
libmozavutil.so
libmozgtk.so
libmozsandbox.so
libmozsqlite3.so
libmozwayland.so
libnspr4.so
libnss3.so
libnssckbi.so
libnssutil3.so
libplc4.so
libplds4.so
libsmime3.so
libsoftokn3.so
libssl3.so
libxul.so
omni.ja
pingsender
platform.ini
plugin-container
precomplete
removed-files
updater
updater.ini
update-settings.ini
vaapitest
204
205
11
submitted 2 years ago* (last edited 1 year ago) by vepro@lemmy.world to c/archlinux@lemmy.ml
 
 

Update 02/2024

The Problem has been solved by disabling TPM in UEFI Setup. TPM seems to be bugged with some CPUs. Before updating the BIOS, TPM was probably disabled by vendor, hence it didn't appear initially.

If you experience freezes right before poweroff, try disabling TPM in UEFI/BIOS settings if it isn't in use.

Symptoms

  • Complete Freeze after:
preparing to enter ACPI S5 state
Reboot: Power Down
  • seemlingly random (can successfully shutdown maybe 10 times in a row, then suddenly freezes again)
  • seems to happen more often as uptime grows
  • Case Fans still spin, LEDs and Lights stay on
  • Monitors stay on, still react to HDMI/DP Hotplugging (unplug/plug)
  • REISUB/REISUO doesn't work
  • Disks are already powered off and disconnected
  • USB devices (eg. keyboard unresponsive)

Since When

  • After switching to Arch and flashing BIOS Firmware 7C88v18 to MSI B460M-A Pro Board
  • Arch Linux is ruled out by me since it's very unlikely Userland plays a role, and already used Linux before without the problem
  • Gone from linux ~6.2.10 to 6.4.8, Kernel bug unlikely

Attempted:

  • Reflash 7C88v18 from a FAT32 formatted partition (USB)
  • Add reboot=pci or reboot=acpi acpi=force to kernel cmdline
  • run fwupd
  • Stop X and wait a bit for processes to clear up (???)
  • intel-ucode is installed:
~> pacman -Qi intel-ucode | head -2
Name                     : intel-ucode
Version                  : 20230613-1
  • Other threads on the Internet seem to have easier reproducibility (always happening), solutions were about either kernel cmdline or outdated kernel (If I didn't see a thread with my exact problem, apologies)

Hardware Info

~> pacman -Qi nvidia | head -2
Name                     : nvidia
Version                  : 535.86.05-8
~> cat /sys/class/dmi/id/board_* 2>/dev/null
Default string
B460M-A PRO (MS-7C88)
Micro-Star International Co., Ltd.
1.0
~> LC_ALL=C lscpu | grep -i 'model name'
Model name:                      Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
~> sudo journalctl -k --grep=microcode
[...] kernel: microcode: updated early: 0xf0 -> 0xf6, date = 2022-12-26
[...] kernel: SRBDS: Mitigation: Microcode
[...] kernel: microcode: Microcode Update Driver: v2.2.

Misc

  • Did I just miss something obvious?
  • I don't want to go back to an outdated BIOS firmware
  • lscpu, nvidia-smi and other info added if needed
  • I have another device (ASUS Board, similar CPU) with similar arch linux setup (nouveau instead of propietary nvidia there), no problems on that device
206
9
submitted 2 years ago* (last edited 2 years ago) by Infernal_pizza@lemmy.world to c/archlinux@lemmy.ml
 
 

I use DisplayPort audio as my main output, and it seems there is a slight delay between the sink being started and me actually hearing anything (the audio isn't delayed I just miss the start). I've managed to mostly fix it by disabling suspend on idle, so now once I've played some audio once its fine.

However when I reboot I then miss the first bit of audio again. I have no idea what I need to do to fix this. If I try to manually enable the sink with with pacmd suspend 0 I still get the same issue. The only potential fix I can think of is to set a KDE startup command for pacmd play-file and point it to a very short silent audio file. Does anyone have any better ideas?

Edit: I forgot to mention, when suspend on idle is enabled there is an audible pop every time the audio starts and suspends. With suspend on idle disabled I still hear this pop on login (and the first time audio is played) which suggests something is happening when I log in

Edit 2: Apparently it still does it every time the audio stream switches to a different app, however if I start the second one playing before I pause the first it starts straight away

207
 
 

Just a PSA I ran into an issue with my Lenovo Slim Pro X (14ARH7) took me a while to figure it out. There is a regression in the 6.4.6 kernel that breaks the keyboard on many Lenovo laptops. Here is a link to the bug report

https://bugzilla.kernel.org/show_bug.cgi?id=217718

So either pin you kernel to 6.4.5 or use the the LTS kernel. I went the LTS kernel route until this is fixed.

208
 
 

Hey everyone. So Last night there was a general problem with my building's network connectivity. This morning my landlord let me know it was fixed, which it was. I verified this from my mobile phone as well as the laptop I am using right now to write this post. However on my fairly new and hence barebones desktop running arch, I simply cant get NetworkManager to connect or even in some cases see any wifi networks.

This morning, it would occasionally show me the available networks, I would try to connect to my one which would work, but I would for all intents and purposes not have internet until a few minutes later the connection would drop. Now it doesn't even show any available networks.

Below are the outputs of some commands I thought would be useful. Of course it's probably not a comprehensive list so please do ask if you would like me to run and show the output of another command, just know I need to redirect it to a file and then transfer it here with a usb so its a bit tedious.

$ systemctl --type=service
  UNIT                                                                                      LOAD   ACTIVE SUB     DESCRIPTION
  alsa-restore.service                                                                      loaded active exited  Save/Restore Sound Card State
  dbus.service                                                                              loaded active running D-Bus System Message Bus
  kmod-static-nodes.service                                                                 loaded active exited  Create List of Static Device Nodes
  NetworkManager.service                                                                    loaded active running Network Manager
  polkit.service                                                                            loaded active running Authorization Manager
  rtkit-daemon.service                                                                      loaded active running RealtimeKit Scheduling Policy Service
  sddm.service                                                                              loaded active running Simple Desktop Display Manager
  systemd-fsck@dev-disk-by\x2duuid-12341dff\x2db2b7\x2d4b67\x2db390\x2dcf28a63530d3.service loaded active exited  File System Check on /dev/disk/by-uuid/12341dff-b2b7-4b67-b390-cf28a63530d3
  systemd-fsck@dev-disk-by\x2duuid-6b1c0137\x2d0b2d\x2d4366\x2d92a4\x2dc374d0e89e02.service loaded active exited  File System Check on /dev/disk/by-uuid/6b1c0137-0b2d-4366-92a4-c374d0e89e02
  systemd-journal-flush.service                                                             loaded active exited  Flush Journal to Persistent Storage
  systemd-journald.service                                                                  loaded active running Journal Service
  systemd-logind.service                                                                    loaded active running User Login Management
  systemd-modules-load.service                                                              loaded active exited  Load Kernel Modules
  systemd-random-seed.service                                                               loaded active exited  Load/Save OS Random Seed
  systemd-remount-fs.service                                                                loaded active exited  Remount Root and Kernel File Systems
  systemd-sysctl.service                                                                    loaded active exited  Apply Kernel Variables
  systemd-tmpfiles-setup-dev.service                                                        loaded active exited  Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service                                                            loaded active exited  Create Volatile Files and Directories
  systemd-udev-trigger.service                                                              loaded active exited  Coldplug All udev Devices
  systemd-udevd.service                                                                     loaded active running Rule-based Manager for Device Events and Files
  systemd-update-utmp.service                                                               loaded active exited  Record System Boot/Shutdown in UTMP
  systemd-user-sessions.service                                                             loaded active exited  Permit User Sessions
  user-runtime-dir@1000.service                                                             loaded active exited  User Runtime Directory /run/user/1000
  user@1000.service                                                                         loaded active running User Manager for UID 1000

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
24 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

$ nmcli radio
WIFI-HW  WIFI     WWAN-HW  WWAN    
enabled  enabled  missing  enabled 

$ ip l
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp6s0:  mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether c8:7f:54:6c:96:38 brd ff:ff:ff:ff:ff:ff
3: wlp2s0f0u10: (**EDIT**) mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether fe:32:ce:d2:cd:0a brd ff:ff:ff:ff:ff:ff permaddr 28:ee:52:08:d2:67

$ nmcli dev wifi list (there should be several networks available, as I can verify from my mobile device)
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 

EDIT: At the opoint after my wireless interface where there is (EDIT) written, in the actual output there is written NO-CARRIER, BROADCAST, MULTICAST, UP enclosed in angle brackets, but for some reason I can't figure out how to get markdown to render the angle brackets. I think it thinks I'm writing HTML.

EDIT 2: Solved this by getting help from the arch linux forums. Link to my post where I got help, in case future people need help.

209
 
 

I'm trying to run Hyprland on WSL. I have an X Server(GWSL), but reinstalling Mesa3D and building it from source isn't working(build error). What can I do?

210
7
submitted 2 years ago* (last edited 2 years ago) by vepro@lemmy.world to c/archlinux@lemmy.ml
 
 

This concerns a multi monitor setup with different refresh rates (e. g. 1 with 60hz and 1 with 144hz).

The text below is part of the linked article. If you have both nvidia and picom installed, check both sections.

NVIDIA (propietary)

  • Open nvidia-settings
  • Go to 'X Server Display Configuration'
  • In the bottom right, Click on 'Advanced...' if it says 'Advanced...'
  • Make sure anything regarding 'force composition pipeline' is checked off
  • Make sure you selected the highest refresh rates possible. You can either select it through the settings, configure it with xrandr or with your DEs Display Settings, is applicable

picom

  • Make sure to start picom with --no-vsync

Misc

If it still doesn't work, try settings these environment variables:

CLUTTER_DEFAULT_FPS=<your highest refresh rate>
__GL_SYNC_DISPLAY_DEVICE=<your highest refresh rate display>
__GL_SYNC_TO_VBLANK=0

Find the DISPLAY_DEVICE name with xrandr | grep connected

Add the text block above to /etc/environment (Tip: Use EDITOR=<your editor, if EDITOR is not set anywhere else> sudoedit instead of sudo nano or sudo vim)

-> sudoedit /etc/environment

211
-12
submitted 2 years ago* (last edited 2 years ago) by housepanther@lemmy.goblackcat.com to c/archlinux@lemmy.ml
 
 

EDIT: Poor troubleshooting on my part. I missed the part in the dmesg about missing the firmware. I installed the firmware through AUR and everything works as it should. I need to be better than this .....

Okay, so I am ready to tear my hair out over this one. I've followed the Arch wiki to the letter and none of my devices are being discovered. The dmesg command shows my internal bluetooth adapter and blueberry recognizes the adapter. What gives? I don't know where to go to troubleshoot from here. Any ideas are welcome.

212
 
 

crosspostato da: https://lemmy.world/post/2246549

Hello everybody,

I'm trying to read a (probably damaged) microSD card from my computer (tried with two different computers, both Arch Linux, which can read other card without any problems). There isn't any singal of life (no /dev/sdX, nothing with GParted, testdisk, ...); the only thing that I found was in dmesg. Here's the output of sudo dmesg | rg "mmc0":

Any idea on how to resolve?

213
 
 

I'm on Arch linux + sway and running flatpak run org.mozilla.Thunderbird just hangs. I have reset to the default permissions in flatseal.

Anyone has the same issue?

214
 
 

I have an issue currently where if I suspend my laptop connected to my bluetooth headphones, when I resume the volume will jump to max volume everytime.

However, if I leave the laptop on and turn off and reconnect the headphones, it will remember the last volume.

I installed arch using the archinstaller and am running pipewire and wireplumber.

215
 
 

I noticed firefox notifications don't get sent to my tablet

216
6
submitted 2 years ago* (last edited 2 years ago) by pinkolik@random-hero.com to c/archlinux@lemmy.ml
 
 

Hello everyone!

I'm experiencing troubles when installing and updating dependencies via pacman, download speed is waaay too low like 30-40 kb/s. I've tried reflector and rank-mirors, I even moved mirrors from another machine where everything works well but nothing helped.

As far as I can tell it's not a slow internet connection problem, because when I download torrents the speed is good (up to 7 megabytes per second).

How can I troubleshoot this?

Thanks!

217
5
submitted 2 years ago* (last edited 2 years ago) by promitheas@iusearchlinux.fyi to c/archlinux@lemmy.ml
 
 

Hey everyone. So I am running bspwm with sxhkd, and while keybindings set by default work (i.e. super + enter opens terminal which I changed to alacritty) I can't seem to be able to add any new ones - at least that will work.

I've looked into it extensively and the majority of the posts seems to be talking about locales and keyboard layouts, but I can't seem to find anything wrong with my ones (of course I only have two eyes, so your input is appreciated). The classic is the super + space trying to run the program launcher, in my case rofi which does nothing (running rofi -show drun from terminal directly works correctly). Here is the output of the localectl status command, but of course I will provide output for any you request:

$ localectl status
System Locale: LANG=en_GB.UTF-8
    VC Keymap: uk
   X11 Layout: gb

My .xinitrc contains the following lines:

...
localectl set-x11-keymap gb
systemctl --user import-environment DISPLAY
...

I start bspwm from my .xinitrc, and sxhkd from bspwmrc using the following line:

pgrep -x sxhkd > /dev/null || sxhkd &amp;

Any ideas on what I can do? Any commands you need me to run? As I said in the title, I'm at my wit's end.

Thanks in advance!

EDIT (ADDED CONFIG FILE LINK): https://pastebin.com/uknPbrjj

Edit2: came back to say after a system update it just works normally

218
 
 

This covers obtaining the ISO, connecting to Wi-Fi, partitioning, formatting, mounting, installing, setting up encryption and installing GRUB, in one article. Also includes some tips, like quickly mounting from install medium. Maybe this helps someone.

219
 
 

I tried
tztime local { format = "%Y-%m-%d %H:%M:%S" hide_if_equals_localtime = true } And

tztime la { format = "%Y-%m-%d %H:%M:%S %Z" timezone = "America/Los-Angeles"

But time doesnt appear on the i3bar. Can anyone help me?

220
 
 

Would someone please tell me how to install the new Thunderbird version on Manjaro?

Thanks!

221
 
 

Apparently os-prober is a security risk but tbh I don't really understand the issue. I've read its something to do with mounting all partitions as root, but you have to run grub-mkconfig as root anyway so I don't see how that could be used to gain root privileges? Does it not unmount them afterwards? And could you avoid the risk by just disabling it again after you've generated your grub.cfg?

The other option seems to be manually adding a Windows entry to /etc/grub.d/40_custom so I assume thats the recommended way to dual boot?

222
 
 

cross-posted from: https://aussie.zone/post/478031

I wanted to improve my Rust knowledge a bit and solve how I approach notifications, so I made nofi.

nofi is a desktop notification server, but instead of delivering realtime popups, it stores the notifications for you to view when you choose via a Rofi menu. It can also integrate with i3status-rust to show a pending notification count in your status bar.

It's inspired by Rofication (the status bar integration follows the exact same protocol for drop-in compatibility).

223
 
 

I've been wanting a reason to learn rust and decided to update a bash script I had on the AUR. If you've got any suggestions for improvements, feel free to create an issue / merge.

224
 
 

cross-posted from: https://lemmy.ml/post/2072990

I haven't used Linux as a desktop since back in the 2.0/2.1 kernel days, when you were praying the next kernel release would add support for the bits and pieces that made up your kit.

After 2 months of Ubuntu, I decided to dive into Arch and Endeavour has made it made it easy so far!

225
 
 

Hey all, I’m a longtime Ubuntu user for work and recently switched my desktop to arch from windows after seeing how well games run on my steam deck! I’ve wanted to move to Linux fully for years but gaming on it used to be pretty hit or miss.

So far arch has definitely been more involved to get going - but I managed to get a desktop environment that runs great with my gpu and steam. I love how minimal it is out of the box and I’m getting a lot of ideas of stuff to build with it.

Anyway I’m mostly just posting to introduce myself to the community on here and to say how much I’m liking arch so far.

But, if you have any tips/suggestions of things I may have missed to take full advantage of my system when gaming, I’d appreciate hearing it! Also, if you’re running a setup like this, any favourite packages you have?

view more: ‹ prev next ›