326
10
submitted 3 years ago by skymtf@pricefield.org to c/archlinux@lemmy.ml

KDE is now running at 1fps after the most recent update, it was really stable before I updated a few days ago. I don't really know how I should troubleshoot this.

327
19

I have a Scarlett Solo and I have found that with the linux-rt kernel, I get no noticeable latency recording audio, whereas there's a few ms delay on the main linux kernel.

I am able to run other applications and play games just fine on linux-rt. Is there any reason not to just make this my default?

328
14

For three weeks (since systemd-253.7-1) my system has been full of odd shutdown behaviors...

Failed to move /run/initramfs to /

Failed to switch root to /run/

and then hangs before full shutdown. Last evening's update to systemd-254.1-1 appears to fix it all (and even seems a bit snappier)

Thank you very much to the maintainers! likely: Christian Hesse

329
22
Arch Linux in July 2023 (monthly-reports.archlinux.page)
submitted 3 years ago by yrmyli@sopuli.xyz to c/archlinux@lemmy.ml
330
24
submitted 3 years ago by bionade24@kbin.social to c/archlinux@lemmy.ml

I read that AMD microcode from the AGESA always has a higher patch version number than the microcode supplied by the kernel. The lastest microcode version from the linux-firmware repo the latest version for family 0x19 are:

Microcode patches in microcode_amd_fam19h.bin:
Family=0x19 Model=0x01 Stepping=0x01: Patch=0x0a0011d1 Length=5568 bytes
Family=0x19 Model=0x01 Stepping=0x00: Patch=0x0a001079 Length=5568 bytes
Family=0x19 Model=0x01 Stepping=0x02: Patch=0x0a001234 Length=5568 bytes

My CPU (Ryzen 5900x) reports [ 0.579161] microcode: CPU0: patch_level=0x0a20120a, though? My BIOS is from January, the amd-ucode was update in July.

Others have come to the same observation and speculate that the linux-firmware microcode is only for Epyc. AMD in their statement about inception only talks about updating microcode via AGESA.

https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/1402527-amd-inception-cpu-vulnerability-disclosed?p=1402567#post1402567
https://www.phoronix.com/forums/forum/hardware/processors-memory/1349645-amd-publishes-new-family-19h-cpu-microcode?p=1349760#post1349760
https://www.reddit.com/r/archlinux/comments/hdrron/amd_microcode_not_loading/

Anyone having more information on this?

331
10
submitted 3 years ago* (last edited 3 years ago) by dataprolet@lemmy.dbzer0.com to c/archlinux@lemmy.ml

Solved, see below.

I recently reinstalled my home server and was unable to open my LUKS-encrypted hard drive. Neither my usual passphrase nor a newly created keyfile were working. I tested on different distros, initially on my new Proxmox installation, later on a the Arch ISO. I eventually tried the disk on my main system, on which it used to be and I still had an old keyfile on - et voilá. So I created keyfiles as suggested in the wiki and occasionally md5sum returned a different hash for the keyfile! Why is this happening? I find' this extremely concerning because this could potentially result in massive data loss due to a keyfile apparently randomly not working as I was experiencing it. What am I missing?

For reference because I don't know how to share what I exactly did.

Scenario #1:
A directory on a mounted hard drive on my desktop.

$ echo -n '$mypassphrase' > ./dir/keyfile
$ md5sum ./dir/keyfile
 c6dd9329dbe030127ce5e19d85de4df9 ./dir/keyfile
# chown root:root ./dir/keyfile; chmod 400 ./dir/keyfile
# md5sum ./dir/keyfile
c6dd9329dbe030127ce5e19d85de4df9 ./dir/keyfile

Scenario #2:
My old keyfile in /etc on my desktop containing $mypassphrase.

# md5sum /etc/keyfile
a1c10c2d023c982259f6c945ebee664e /etc/keyfile

Scenario #3:
Booted from the Arch ISO on my server.

# echo -n '$mypassphrase' > keyfile
# chown root:root keyfile; chmod 400 keyfile
# md5sum keyfile
c6dd9329dbe030127ce5e19d85de4df9 keyfile

Scenario #4:
A directory in /home on my desktop.

$ echo -n '$mypassphrase' > ./keyfile
$ md5sum keyfile
a1c10c2d023c982259f6c945ebee664e keyfile

EDIT: I just moved the disk back into my server and tried echo'ing my passphrase into a keyfile which returned the hash starting with c6, whereas opening a file using nano and pasting the passphrase into the file returned the hash starting with a1.

EDIT: I moved the disk back into my server, reinstalled Proxmox and tried again. I was able to unlock the disk after I pasted the passphrase into a file and deleted all trailing spaces/newline. I also tried echo'ing the passphrase into a keyfile and that also did not work, no clue why but it seems to work on some systems on not on others.

332
8
submitted 3 years ago* (last edited 3 years ago) by Molecular0079@lemmy.world to c/archlinux@lemmy.ml

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

333
5

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?

334
3

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
335
13
336
11
submitted 3 years ago* (last edited 2 years 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
337
9
submitted 3 years ago* (last edited 3 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

338
21
submitted 3 years ago* (last edited 3 years ago) by Nixpenguin@lemmy.world to c/archlinux@lemmy.ml

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.

339
1
submitted 3 years ago* (last edited 3 years ago) by promitheas@iusearchlinux.fyi to c/archlinux@lemmy.ml

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.

340
1
submitted 3 years ago by nyemoore@lemmy.world to c/archlinux@lemmy.ml

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?

341
8
submitted 3 years ago* (last edited 3 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

342
-13
submitted 3 years ago* (last edited 3 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.

343
4
submitted 3 years ago by djtech@lemmy.world to c/archlinux@lemmy.ml

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?

344
2
submitted 3 years ago by teolan@lemmy.world to c/archlinux@lemmy.ml

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?

345
12
submitted 3 years ago by El_Rocha@lm.put.tf to c/archlinux@lemmy.ml

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.

346
5
submitted 3 years ago by MariahWest@lemmy.ml to c/archlinux@lemmy.ml

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

347
7
submitted 3 years ago* (last edited 3 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!

348
5
submitted 3 years ago* (last edited 3 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

349
48
submitted 3 years ago by vepro@lemmy.world to c/archlinux@lemmy.ml

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.

350
6
submitted 3 years ago by MariahWest@lemmy.ml to c/archlinux@lemmy.ml

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?

view more: ‹ prev next ›

Arch Linux

10065 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS