/r/archlinux

Photograph via snooOG

A subreddit for the Arch Linux user community for support and useful news.

/r/archlinux

263,603 Subscribers

0

MPI issues when running John The Ripper

I've recently encountered issues with John The Ripper where there are some issues regarding MPI. Does anyone know how to fix this? I've tried to reinstall John and compile it from source, but that did not help.

 $ john
 [archlinux:1343289] shmem: mmap: an error occurred while determining whether or not /tmp/ompi.archlinux.1000/jf.0/2030698496/     shared_mem_cuda_pool.archlinux could be created.
 [archlinux:1343289] create_and_attach: unable to create shared memory BTL coordinating structure :: size 134217728
 John the Ripper 1.9.0-jumbo-1 MPI + OMP [linux-gnu 64-bit x86_64 AVX AC]

 *SNIP*
0 Comments
2024/07/17
05:43 UTC

2

I need a recomendation for file compression

As you saw in the title I need a file compression app that is compatible with windows since i'm gonna be using it for work. I'm using 7zip at the moment since i need compatibility with windows but i was looking for something that has a gui, I have to do everything using the terminal.

5 Comments
2024/07/17
04:35 UTC

0

Am I missing any packages in this script?

Since I have two linux boxes running arch, I made a script to make things easier for me, but i'm not sure if it covers all things dev and simplifying life related with the OS. Any suggestions are appreciated.

#!/bin/bash

# Arch Linux Development Environment Setup Script

# Update the mirrorlist for faster downloads (optional)

sudo pacman -S --noconfirm reflector

sudo reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist

# Update the system

sudo pacman -Syu --noconfirm

# Install base development tools

sudo pacman -S --noconfirm base-devel git

# Install yay (AUR helper)

sudo pacman -S --noconfirm --needed git base-devel

git clone https://aur.archlinux.org/yay.git

cd yay

makepkg -si --noconfirm

cd ..

rm -rf yay

# Install programming languages and compilers

sudo pacman -S --noconfirm ruby gcc nasm python jdk-openjdk go rust dotnet-sdk dotnet-runtime

# Set up environment variables for Go

echo 'export GOPATH=$HOME/go' >> ~/.bashrc

echo 'export GOROOT=/usr/lib/go' >> ~/.bashrc

echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bashrc

# Install additional development tools

sudo pacman -S --noconfirm cmake gdb valgrind bash-completion npm yarn postgresql mysql sqlite sed awk curl wget man-db man-pages htop docker docker-compose python-virtualenv nodejs typescript boost qt5 qt6 gtk3

# Install Flatpak and PackageKit

sudo pacman -S --noconfirm flatpak packagekit

# Add Flatpak remote repository

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

# Install JetBrains Toolbox and VSCode

yay -S --noconfirm jetbrains-toolbox visual-studio-code-bin

# Install pip and pipenv

sudo pacman -S --noconfirm python-pip

pip install --user pipenv

# Enable and start Docker service

sudo systemctl enable docker

sudo systemctl start docker

# Add user to docker group

sudo usermod -aG docker $USER

# Create a scripts directory and add it to PATH

mkdir -p ~/scripts

echo 'export PATH="$HOME/scripts:$PATH"' >> ~/.bashrc

# Install additional useful tools

sudo pacman -S --noconfirm neovim tmux zsh

# Set up Oh My Zsh (optional but recommended)

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

source ~/.zshrc

# Locale and timezone setup

sudo ln -sf /usr/share/zoneinfo/US/Chicago /etc/localtime

sudo hwclock --systohc

echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen

sudo locale-gen

echo "LANG=en_US.UTF-8" | sudo tee /etc/locale.conf

echo "KEYMAP=us" | sudo tee /etc/vconsole.conf

echo "ARCH_GDME" | sudo tee /etc/hostname

echo "127.0.0.1 localhost" | sudo tee -a /etc/hosts

echo "::1 localhost" | sudo tee -a /etc/hosts

echo "127.0.1.1 ARCH_GDME.localdomain ARCH_GDME" | sudo tee -a /etc/hosts

# Final system update and cleanup

sudo pacman -Syu --noconfirm

sudo pacman -Scc --noconfirm

echo "Installation complete! Please log out and log back in for all changes to take effect."

echo "After logging back in, launch JetBrains Toolbox to install your preferred IDEs."

echo "Don't forget to configure your IDEs and tools as needed."

2 Comments
2024/07/17
02:54 UTC

12

What is using 14GB of my RAM?

I'm trying to understand what could be eating up a large portion of my RAM. Even when I kill almost all processes, including my WM, about 14 GB of RAM is marked as in use.

htop looks like this: https://i.imgur.com/gOg6WkM.png

I've flushed the ZFS ARC, so that shouldn't be the culprit.

output of free -h:

               total        used        free      shared  buff/cache   available
Mem:            31Gi        14Gi        16Gi        66Mi       119Mi        16Gi
Swap:             0B          0B          0B

(so this is NOT a https://www.linuxatemyram.com/ situation)

output of df -h:

~ λ df -h
Filesystem            Size  Used Avail Use% Mounted on
dev                    16G     0   16G   0% /dev
run                    16G  2.0M   16G   1% /run
efivarfs              128K   34K   90K  28% /sys/firmware/efi/efivars
zroot/ROOT/default    151G   30G  121G  20% /
zroot/data/home       121G  128K  121G   1% /home
zroot/data/home/root  121G  9.8M  121G   1% /root
tmpfs                  16G  584K   16G   1% /dev/shm
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-udev-load-credentials.service
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-sysctl.service
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs                  16G   11M   16G   1% /tmp
/dev/nvme1n1p2        511M  291M  221M  57% /boot
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-tmpfiles-setup.service
zroot/data/home/gabe  724G  603G  121G  84% /home/gabe
tmpfs                 1.0M     0  1.0M   0% /run/credentials/systemd-networkd.service
tmpfs                 1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
tmpfs                 3.2G   56K  3.2G   1% /run/user/1000

I've seen some reports suggesting the amdgpu GTT as a culprit, but I don't think that's the case based on this:

# cat /sys/kernel/debug/ttm/page_pool
	  --- 0--- --- 1--- --- 2--- --- 3--- --- 4--- --- 5--- --- 6--- --- 7--- --- 8--- --- 9--- ---10---
wc	:       41       17       13       14       14       16       13       15       15       30       13
uc	:        0        0        0        0        0        0        0        0        0        0        0
wc 32	:        0        0        0        0        0        0        0        0        0        0        0
uc 32	:        0        0        0        0        0        0        0        0        0        0        0

Output of cat /proc/meminfo (I'm not sure how to parse most of these entries)

MemTotal:       32782088 kB
MemFree:        17228040 kB
MemAvailable:   17009580 kB
Buffers:               0 kB
Cached:           142340 kB
SwapCached:            0 kB
Active:           276324 kB
Inactive:         176700 kB
Active(anon):     219428 kB
Inactive(anon):   176064 kB
Active(file):      56896 kB
Inactive(file):      636 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:                64 kB
Writeback:             0 kB
AnonPages:        310680 kB
Mapped:           101624 kB
Shmem:             84808 kB
KReclaimable:      30672 kB
Slab:           12671448 kB
SReclaimable:      30672 kB
SUnreclaim:     12640776 kB
KernelStack:       14080 kB
PageTables:         8040 kB
SecPageTables:         0 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    16391044 kB
Committed_AS:    2409700 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      961524 kB
VmallocChunk:          0 kB
Percpu:            31744 kB
HardwareCorrupted:     0 kB
AnonHugePages:     98304 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
Unaccepted:            0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:    19479564 kB
DirectMap2M:    13993984 kB
DirectMap1G:     1048576 kB

What else could I investigate?

25 Comments
2024/07/17
02:16 UTC

2

How to dual boot arch with windows 11 already installed?

I have been looking through the wiki for dual booting, but am very confused and do not fully understand the process need to dual boot. Any additional wiki pages that could help:

17 Comments
2024/07/17
00:28 UTC

2

/boot is full even after expanding to 2GB

Hey all! So I am relatively new to Arch and have only had arch installed for at most a week (I don't really remember how long). Here is my problem, when I try to run sudo grub-mkconfig -o /boot/grub/grub.cfg to update my grub, I get an error saying:

Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img 
sed: couldn't flush stdout: No space left on device

So I of course went to check df -T and saw that it was in fact 100% and only had 255 MB of space total. I checked to see if there was anything I can remove from the boot partition to free up some space but no dice. So I (maybe naively) decided that I should just pop in a manjaro live iso so that I could use gparted to expand the tiny 255MB /boot partition to a 2GB partition Thinking that should be more than enough. I was able to successfully expand that partition without completely nuking my laptop so I was pretty happy and thought it should be as easy as booting into arch again and running the grub update command again. Well I was wrong and I still get the same error as before. Below you will see the ouptut of `df -T`:

❯ df -T
Filesystem     Type     1K-blocks      Used Available Use% Mounted on
dev            devtmpfs  32722884         0  32722884   0% /dev
run            tmpfs     32754612      2336  32752276   1% /run
efivarfs       efivarfs       438       204       230  47% /sys/firmware/efi/efivars
/dev/nvme0n1p7 ext4     757083032 309230844 409321072  44% /
tmpfs          tmpfs     32754612      8200  32746412   1% /dev/shm
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-journald.service
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-udev-load-credentials.service
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-sysusers.service
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs          tmpfs     32754616       220  32754396   1% /tmp
/dev/nvme0n1p1 vfat        241664    241662         2 100% /boot
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-vconsole-setup.service
tmpfs          tmpfs         1024         0      1024   0% /run/credentials/systemd-sysctl.service
tmpfs          tmpfs      6550920       112   6550808   1% /run/user/1000

and ls -lha:

❯ ls -lha
total 129M
drwxr-xr-x  6 root root 2.0K Dec 31  1969  .
drwxr-xr-x 17 root root 4.0K Jul  4 23:59  ..
drwxr-xr-x  7 root root 2.0K Jul 16 00:10  EFI
drwxr-xr-x  2 root root 2.0K May  5  2022 'System Volume Information'
drwxr-xr-x  6 root root 2.0K Jul 16 18:36  grub
-rwxr-xr-x  1 root root  61M Jul 16 17:58  initramfs-linux-fallback.img
-rwxr-xr-x  1 root root  56M Jul 16 17:58  initramfs-linux.img
drwxr-xr-x  3 root root 2.0K May 18 17:13  loader
-rwxr-xr-x  1 root root  13M Jul 12 20:56  vmlinuz-linux

and finally output of lsblk:

❯ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme0n1     259:0    0   1.9T  0 disk 
|-nvme0n1p1 259:1    0     2G  0 part /boot
|-nvme0n1p2 259:2    0   128M  0 part 
|-nvme0n1p3 259:3    0   1.1T  0 part 
|-nvme0n1p4 259:4    0   990M  0 part 
|-nvme0n1p5 259:5    0  17.1G  0 part 
|-nvme0n1p6 259:6    0   1.4G  0 part 
|-nvme0n1p7 259:7    0 734.6G  0 part /
`-nvme0n1p8 259:8    0  31.3G  0 part [SWAP]

As you can see, there is nothing in my /boot directory that should be making this partition be full. The current amount of files in this directory total only to 129 MB. I have no clue how there is not enough space to even update the grub.cfg. I have been researching this all day to no avail. Its probably just my lack of experience but I jus thave no clue what to do because almost all other posts I have found have said stuff like, "make sure that there are not older kernels that are installed" or "make sure that {xyz} does not have duplicates" or something along those lines. Any help is appreciated with this. I am just kinda at a loss as to what could possibly be the issue. (If possible I would like to not have to reformat that partition I no that if I have to do that again my likelihood of shooting myself in the foot is very high lol. But if that is the only way so be it. I chose arch for reason :) )

Thanks in advance and sorry for the essay!

edit: added lsblk output

13 Comments
2024/07/16
23:06 UTC

0

System is using almost 12GB RAM when processes use 6.5~GB of ram when summed

memory usage of processes

total memory usage
rebooting fixes but I wanted to know why this was happening

8 Comments
2024/07/16
16:31 UTC

0

Why GNOME is rendering emojis so big?

Emojis on GTK applications are rendered in a tremendously big font size. I am not using scaling, so DPI is 100, but it only gets bigger if I increase DPI.

Here are examples:

https://imgur.com/a/LRs2AyU

0 Comments
2024/07/16
17:47 UTC

0

Help/Advice on drivers

I have a Dell G3, for some reasons I have to use the SSD for a while, had to reinstall the OS, with proprietary nvidia drivers, I have an nvidia gpu and an intel cpu, but the computer got quite slow after a day and some games are not running, what drivers or stuff do I download/change? I don't have bumblebee installed.

1 Comment
2024/07/16
20:52 UTC

0

Limited network in Arch VM

I'm trying to set up an arch VM using Quickemu (QEMU helper/wrapper) but am running into an issue where the network is limited. I'm able to ssh in and install packages, as well as connect to my Tailscale VPN + ssh out of the box using it, but any other connections do not work. Pinging google.com times out, pinging 1.1.1.1 times out, and pinging local machines result in "Destination port unreachable". Running `ip link` shows me I have an active connection on the virtual ethernet adapter. I've tried both networkmanager and dhcpcd running and the issue still persists. Any pointers as to how to resolve this issue?

3 Comments
2024/07/16
20:27 UTC

0

System problem reffered to Nvidia drivers and Vulkan, suspecting firmware

Update: couldn't find a solution, doing backups and reinstalling

This post aim to recapitulate the ongoing problem on my system and asking for help, plis.

specs:

OS: Arch Linux x86_64

Kernel: 6.9.9-zen1-1-zen

DE: Plasma 6.1.2

CPU: Intel i5-9400F (6) @ 4.100GHz

GPU: NVIDIA GeForce GTX 1650

Memory: 16Gb

Now im going to do a summary of everything i made step by step

Pre-event summary:

  1.  everything works fine
  2. games runs smoothing
  3. correct drivers installation and setup
  4. 4 months since system installation
  5. up to date
  6. no blue text on boot

Events summary:

  1. Installed unigine-haeven
  2. use unigine-heaven, try to put it on fullscreen, it crashed and freezed system.
  3. force reboot.
  4. when on SDDM, cant enter to plasma wayland, but i can´t on x11 and steamos-compositor-plus.
  5. reinstall plasma.
  6. when rebooting, blue text showed on booting, and SDDM didnt work, used tty "start-plasmawayland" worked.
  7. at first seems ok, then i open app launcher, and it becomes laggy, it only happens with wayland apps, firefox runs smooth by example.
  8. info center:

Operating System: Arch Linux

KDE Plasma Version: 6.1.2

KDE Frameworks Version: 6.4.0

Qt Version: 6.7.2

Kernel Version: 6.9.9-zen1-1-zen (64-bit)

Graphics Platform: X11

Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz

Memory: 15.5 GiB of RAM

Graphics Processor: llvmpipe

Note: GPU is missing.

  1. try reinstalling nvidia drivers and vulkan with -Rcn, didnt work, everything is the same.

  2. vulkaninfo:

WARNING: [Loader Message] Code 0 : loader_add_layer_properties: 'layers' tag not supported until file version 1.0.1, but /usr/share/vulkan/implicit_layer.d/nvidia_layers.json is reporting version 1

ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0

ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!

Cannot create Vulkan instance.

This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.

ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:688:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER

note: my driver is compatible with vulkan

  1. glxinfo -B:

name of display: :0

display: :0  screen: 0

direct rendering: Yes

Extended renderer info (GLX_MESA_query_renderer):

   Vendor: Mesa (0xffffffff)

   Device: llvmpipe (LLVM 18.1.8, 256 bits) (0xffffffff)

   Version: 24.1.3

   Accelerated: no

   Video memory: 15904MB

   Unified memory: yes

   Preferred profile: core (0x1)

   Max core profile version: 4.5

   Max compat profile version: 4.5

   Max GLES1 profile version: 1.1

   Max GLES[23] profile version: 3.2

Memory info (GL_ATI_meminfo):

   VBO free memory - total: 21 MB, largest block: 21 MB

   VBO free aux. memory - total: 12220 MB, largest block: 12220 MB

   Texture free memory - total: 21 MB, largest block: 21 MB

   Texture free aux. memory - total: 12220 MB, largest block: 12220 MB

   Renderbuffer free memory - total: 21 MB, largest block: 21 MB

   Renderbuffer free aux. memory - total: 12220 MB, largest block: 12220 MB

Memory info (GL_NVX_gpu_memory_info):

   Dedicated video memory: 4292888591 MB

   Total available memory: 4292904495 MB

   Currently available dedicated video memory: 21 MB

OpenGL vendor string: Mesa

OpenGL renderer string: llvmpipe (LLVM 18.1.8, 256 bits)

OpenGL core profile version string: 4.5 (Core Profile) Mesa 24.1.3-arch1.1

OpenGL core profile shading language version string: 4.50

OpenGL core profile context flags: (none)

OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 24.1.3-arch1.1

OpenGL shading language version string: 4.50

OpenGL context flags: (none)

OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.3-arch1.1

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

  1. deinstalled drivers. vulkan. and plasma, there is still blue text but less

  2. journal highlights:

filgatunner kernel: usb: port power management may be unreliable

filgatunner kernel: nvme nvme0: missing or invalid SUBNQN field.

filgatunner kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

filgatunner kernel: r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control

6 Comments
2024/07/16
19:59 UTC

0

Package and manager suggestions

TLDR: looking for suggestions/inspiration what to use for my fresh arch install, would like to know what options are out there. Feel free to show your setups btw!

After having used Manjaro for a while (mainly for gpu-passtrough) and gotten hooked on the ease of pacman I’ve finally made the switch to arch. I’ve got it running but now looking for inspiration on what to use for my setup. Any suggestions what to look into, I feel that I might be missing out on a lot of options and clever solutions so was hoping for some input from you guys. Here is an indication of what direction I would like to go: A quite minimal desktop environment, most applications I use fullscreen anyways and the closest I get to using a desktop is pressing the windows key to search and open a program so most things I will just do with cli. Boot into a (tmux) terminal and have something like i3 to switch between a browser, vscode/neovim (when I get around to setting it up, for now using ide’s with vim keybindings) and maybe an option to use a second screen. An optional overlay terminal, like what the xcfe manjaro environment comes with, and would probably have a status bar only appear when holding the windows key.

I understand I should and want to find my own ways of doing things but i’m also aware that there is a lot out there and like some ideas where and what to look for.

Simply some names or terms to look for would already be much appreciated, something like examples of how you did it if ur in the mood.

Looking forward to suggestions and inspiration!

0 Comments
2024/07/16
19:47 UTC

17

Learning Linux

Hello fellow arch Linux lovers and enthusiasts, so straight to the point, I'm so young, and I'm very interested in Linux and the programming field, I'm also learning Python, but my questions are, how to learn Linux, when can I be more than a usual Linux user, I really want to be more than that, I spend much time in the terminal doing some basic commands navigating my system tweaking and stuff, but I want to contribute to the Linux community be an "open-sourcer" be a productive part in the community, currently my day is Math Linux Python and training, that's literally what I do, any critics or responses will be appreciated :{ )

47 Comments
2024/07/16
19:11 UTC

0

Arch linux installation help

hi guys sorry to bother but i want to install archilinux, but im completly new to it i used linux mint and ubuntu before but wanted to swich, wanted to install this one https://github.com/k-arch27/k-arch for the snapshots thing but idk even on how to start

7 Comments
2024/07/16
18:47 UTC

1

fluidsynth errors when running an sf2 (trying to get music to work in a wine game which uses MIDI)

[SOLVED] According winehq wiki aconnect -o it should show if any midi thingy is running. So i ran

fluidsynth -l -s -i -aalsa -o audio.alsa.device=default /usr/share/soundfonts/FluidR3_GM.sf2 and it seems like it actually ran perfectly fine as i ran the game and i can listen to the music (which in the settings is MCI)

Hello as the title says i been trying to get the music of a wine game, Elona (a roguelike videogame) to work, it uses MIDI sounds. I tried timidity and didnt work so i got fluidsynth and some sf2 files. Last thing i have is fluidsynth whit the FluidR3 sf2 file running yet the music of the game doesnt work

I am not sure if i am doing this correclty tho, i ran fluidsynth -a /home/antonio/soundcustom/FluidR3_GM.sf2 same happens as i run the command whit wine /home/antonio/GAMES/elonaplus/elonapluscgx.exe

and this is the output

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib confmisc.c:1377:(snd_func_refer) Unable to find definition 'cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM hdmi

ALSA lib confmisc.c:1377:(snd_func_refer) Unable to find definition 'cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM hdmi

ALSA lib confmisc.c:1377:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'

ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0

ALSA lib confmisc.c:1377:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'

ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0

ALSA lib confmisc.c:1377:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'

ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM phoneline

ALSA lib confmisc.c:1377:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'

ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM phoneline

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) Cannot open device /dev/dsp

ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) Cannot open device /dev/dsp

ALSA lib pcm_a52.c:1036:(_snd_pcm_a52_open) a52 is only for playback

ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card

ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) Invalid card 'card'

ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card

ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) Invalid card 'card'

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

FluidSynth runtime version 2.3.5

Copyright (C) 2000-2024 Peter Hanappe and others.

Distributed under the LGPL license.

SoundFont(R) is a registered trademark of Creative Technology Ltd.

fluidsynth: error: Couldn't find the requested audio driver '/home/antonio/soundcustom/FluidR3_GM.sf2'.

fluidsynth: This build of fluidsynth supports the following audio drivers: alsa, file, jack, oss, pipewire, portaudio, pulseaudio, sdl2

Failed to create the audio driver. Giving up.

fluidsynth: warning: Failed to set thread to high priority

neofetch

antonio@compudeantonio

.o+` ----------------------

`ooo/ OS: Arch Linux x86_64

`+oooo: Host: SF20GM7-2023

`+oooooo: Kernel: 6.9.9-arch1-1

-+oooooo+: Uptime: 38 mins

`/:-:++oooo+: Packages: 783 (pacman)

`/++++/+++++++: Shell: bash 5.2.26

`/++++++++++++++: Resolution: 1600x900

`/+++ooooooooooooo/` DE: Xfce 4.18

./ooosssso++osssssso+` WM: Xfwm4

.oossssso-````/ossssss+` WM Theme: Default

-osssssso. :ssssssso. Theme: Adwaita-dark [GTK2/3]

:osssssss/ osssso+++. Icons: elementary [GTK2], Adwaita [GTK

/ossssssss/ +ssssooo/- Terminal: xfce4-terminal

`/ossssso+/:- -:/+osssso+- Terminal Font: Monospace 12

`+sso+:-` `.-/+oso: CPU: Intel Celeron N4020 (2) @ 2.800GH

`++:. `-/+/ GPU: Intel GeminiLake [UHD Graphics 60

.` `/ Memory: 2487MiB / 7764MiB

I have pipewire as my computer audio, idk if thats something else, i tried uninstalling pipewire and installing pulseaudio but nothing.

There are no overrided libraries on my winecfg and on the sound tab everything is on system (default).

I already insalled all the libalsa libraries and things.

5 Comments
2024/07/16
18:04 UTC

0

My sddm is not working and on login, it shows permission denied

2 Comments
2024/07/16
17:55 UTC

0

Pc powered off during grub install issues

Is there any way I can save it when rebooted it posts to a blank command line and unable to type.

This is my first time installing any Linux distribution but I gathered that without grub the system won’t boot

Is there any way to fix?

4 Comments
2024/07/16
16:32 UTC

0

isn't ghauth a package(I wanna authenticate my github.com account for development)

[greenarrow@localhost length-converter]$ sudo pacman -S gh error: target not found: gh [greenarrow@localhost length-converter]$ sudo pacman -S ghauth error: target not found: ghauth [greenarrow@localhost length-converter]$

6 Comments
2024/07/16
16:30 UTC

0

I'm not getting any sound from my headset when connected via the USB dongle.

Hello, I recently bought a Baseus GH02 headset and I'm having trouble getting it to work properly on my Arch Linux. I'm having difficulty using its 2.4GHz USB dongle. The system recognizes it as "USB audio & HID", but there's no sound coming from the headset. I've already tested the device on Windows 11 via dual-boot and it works correctly there. As for the Bluetooth mode, it works perfectly, but I need the 2.4GHz mode via the dongle. It's worth mentioning that on Windows it's recognized with a different name, "USB game" if I'm not mistaken. System information: OS: Arch Linux Kernel: 6.9.9-arch-linux-1 DE: Plasma 6.1.2 CPU Intel: Xeon 2670 v3 GPU: Nvidia Geforce GTX 1660 Super Audio Card: HDA Intel PCH Audio Chip: Realtek ALC897

Solution:

The solution to this issue is quite simple: just decrease the volume on your headset. For some reason, the volume wheel is inverted in Linux. At maximum, there's no sound, and at minimum, it's at maximum volume.

2 Comments
2024/07/16
16:05 UTC

2

Random FPS drops in KDE during general usage.

Im using Arch Linux with intel mesa display drivers. KDE Plasma 6.1.2. QT version 6.7.2

I have a Hidpi screen with the scaling set to 175% and refresh rate to 60Hz even though my laptop screen supports 90Hz for battery saving purposes

What the issue i am having is that during the normal usage, not gaming, the frame rate randomly drops to around 30 or you can say eveyrhting gets randomly jittery. Any suggestions on how to fix this or what might be causing this? Or anything i can do figure out why?

Thank you.

3 Comments
2024/07/16
16:03 UTC

1

Triple boot windows, pop os and arch with systemd-boot

I have windows and pop os already installed and I would like to triple boot with arch.
I would like to know if I have to manually configure to use the existing efi partition(which is on a separate disk) or should I let archinstall create it again for arch?
Windows and pop os are on different disks and I plan to install arch on the same disk as windows on a separate partition. I plan on giving arch atleast 200 gigs (might use it as my daily driver if i end up liking it) would arch mess with my windows installation (personally i don't really care about windows but keeping it just in case I need it for university and have some important files on it and too lazy to move it around)

Do I have to select systemd-boot as bootloader? Would it clash with the pop os bootloader(systemd-boot)?

2 Comments
2024/07/16
15:28 UTC

8

[zsh] No git path completions?

On zsh, I don't have path completions for e.g. git add <path> and i have zsh-completions installed. On bash this works by default without their bash-completion package.

Any ideas?

3 Comments
2024/07/16
15:13 UTC

2

displaying of non-ascii unicode characters broken due to a recent package update

Hi, it seems some package upgrade broke the display of non-ascii unicode characters (e.g. japanese or chinese characters, symbols etc.) for me. This is how the Japanese Wikipedia looks now for me.

The problem is: I have no idea which package is at fault. The problem is not specific to a single application. Firefox shows it, but I also tried Chrome with the same result. My terminal emulator (kitty) also can't print them.

I first thought that it might be a font problem, but I use a completely different font in Kitty than what the browsers are using.

I also tried different Window Managers, I'm normally on Sway, but Hyprland and Gnome (Wayland) are also affected.

Any ideas?

8 Comments
2024/07/16
15:12 UTC

0

System won‘t work

Hallo guys, i tried to install arch on my thinkpad x1 but the System only boot in my bios Boot menu when i try to select my disk with the partitions are on i just get the same screen again. :(

I followed the Installation Guide and on YouTube Arch Linux: A Comfy installieren Guide I did the exact same as the guy but used cfdisk for my nvme.

3 Comments
2024/07/16
14:17 UTC

12

No sound after update

I updated my packages for the first time in about a month, and suddenly my audio stopped working. I use pipewire with wireplumber. I have confirmed that I have sof-firmware installed. Pipewire is running normally according to systemctl. Wireplumber is reporting some errors:

Jul 16 14:44:44 archie wireplumber[1661]: spa.alsa: Path Capture is not a volume or mute control
Jul 16 14:44:44 archie wireplumber[1661]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Jul 16 14:44:44 archie wireplumber[1661]: spa.bluez5: BlueZ system service is not available
Jul 16 14:44:44 archie wireplumber[1661]: [0:00:23.147390920] [1661] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jul 16 14:44:44 archie wireplumber[1661]: [0:00:23.147417455] [1661] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jul 16 14:44:44 archie wireplumber[1661]: [0:00:23.147462926] [1661] INFO Camera camera_manager.cpp:313 libcamera v0.3.0

Here is my boot log: http://0x0.st/X98C.txt

I tried backing up the local wireplumber state folder, and letting itself recreate on boot, but that didn't help either. I'd appreciate any help. Thanks!! <3

8 Comments
2024/07/16
12:56 UTC

0

Recommendation

Hello everyone,

I have been using fedora for the past year and I like it so far. But I did a complete reinstall to upgrade fedora 40 kde. At first it was really light and fast but now it feels laggish sometimes.

I'm using hyprland and have a nvidia gpu.

I have been wanting to move to arch for the past month and have been testing it out on a vm.

My question is: how is performance in arch with nvidia?

I will be dual booting since most of the games i play don't run on linux

3 Comments
2024/07/16
10:28 UTC

9

Disable installing -debug packages?

I've noticed pacman will basiclly always install (if possible) a -debug package of the same program. which are in most cases useless.. is there like an option to remove that automatic installation?

10 Comments
2024/07/16
11:54 UTC

9

How to make firefox and other apps like prism launcher detect system theme as dark?

My firefox is using light theme when I use system theme.

Hello, I know I am stupid. I tried to look at the wiki page for "Uniform look for Qt and GTK applications, but I got confused.

I'm not using a DE, just Hyprland WM. So how would I make these apps that use the "system theme" use the dark theme? Like, do I need to set some environment variable or edit some qt gtk config or what?

3 Comments
2024/07/16
11:48 UTC

2

Question On Installing Firmware For Arch Linux | For Purely AMD | How Much Do I Need To?

Doing a manual install.

I get that most stuff is already included in linux and linux-firmware. I'm just curious if there are certain packages that should be installed explicitly or if I should just rely on packages pulling things in as a dependency.

For example, the mesa package seems to be a common dependency for a lot of graphical packages I've inspected so do I really need to install it explicitly as some people have suggested? Is this just a good practice to have?

Seems the stuff for the CPU is pretty straightforward as the main installation guide recommends installing the CPU microcode which for AMD is amd-ucode.

For the GPU there's a lot more. I've been digging through the post installation page of General Recommendations and have looked through the AMDGPU and Hardware Video Acceleration. From what I could gather I should install:

mesa
lib32-mesa
vulkan-radeon
lib32-vulkan-radeon
mesa-vdpau
libva-mesa-driver
libva-utils

Though I'm not exactly sure about mesa-vdpaw or libva-utils. The latter I'm guessing is more for troubleshooting right?

As for mesa-vdpaw I'm not sure if that's just outdated and I should just be using libva-mesa-driver similar to how Pulse Audio is outdated and Pipewire is what we should be using.

To reiterate, my question is should I be explicitly installing these packages as a matter of good practice? Or is it more a matter of taste if I install these packages explicitly and I could just rely on anything I download using them as dependencies.

I could be asking the wrong question out of ignorance so feel free to correct me on that. Also, is libva-utils a good tool to have at hand and is mesa-vdpaw outdated and unnecessary?

Don't know much about it but does udev already handle all of this and I shouldn't even need to think about firmware?

Would love to know.

P.S. I did read the recentish post "I am new to arch and linux. How can I install AMD drivers?" which someone answered with a very similar list of packages to what I posted and is a very similar question.

2 Comments
2024/07/16
11:33 UTC

14

What is the correct equivalent to defaults mount option in the new ntfs3?

I have used ntfs-3g to automount my ntfs partitions in fstab using the following syntax

/dev/disk/by-uuid/0A36AFE336AFCE4F /mnt/0A36AFE336AFCE4F auto defaults,nofail,x-gvfs-show,x-gvfs-name=C 0 0

After ntfs-3g was dropped in latest kernels, I changed it to use ntfs3

/dev/disk/by-uuid/0A36AFE336AFCE4F /mnt/0A36AFE336AFCE4F ntfs3 defaults,nofail,x-gvfs-show,x-gvfs-name=C 0 0

But I'm getting permission issues in the inner levels of my partitions, it seems that defaults mount option is not working with ntfs3, how can I correctly translate it to work with the new driver? I have multiple users on my machine who need to access those partitions with full write permission.

9 Comments
2024/07/16
11:30 UTC

Back To Top