/r/archlinux

Photograph via snooOG

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

/r/archlinux

254,934 Subscribers

1

High CPU temperature.

Recently I bought a HP VICTUS 16 laptop and dual booted arch Linux alongside Windows 11. On windows I got Omen gaming hub which helps you to manage the thermal fans in different categories, overall the cpu temperature stays within 45-47°. On arch the OS itself manages the fans and the cpu temperature stays with the range of 55-70°. Is there anyway i can reduce the temp a bit?

Tried using lm-sensors, fan-control, Omen gaming hub linux module. None of those works

0 Comments
2024/04/20
13:39 UTC

1

laggy mouse and linux while high wifi usage

hi,

whenever i use spotify or any other app that consumes data in newly installed arch my wireless mouse gets too laggy..

if i do a speed test on browser my wireless device would lag each time and touchpad works fine..

i also use bluetooth wireless headphones in parallel which stops playing sound in middle (music still plays with no sound) due to some lags on high wifi usage

1 Comment
2024/04/20
13:08 UTC

1

Nvidia on Plasma 6 weird stutter

Specs :

  • Ryzen 5 3600
  • Nvidia 980Ti 6GB (Asus Strix)
  • Asus Strix B450
  • 16GB 3GT/s
  • 250GB WD Blue M.2 SATA SSD
  • plain Arch with Plasma 6

Yesterday, I installed Arch Linux with KDE Plasma 6 DE. I used archinstall and selected to install nvidia closed-source drivers (i didnt check if they were installed properly(dumb me)). Configured the Plasma(on Wayland(didn't try Xorg), installed Vesktop, Waterfox etc. and my first red-flag was stuttery Vesktop experience when typing (letters were stuttery, they disappear and reappear when typing), and when i installed Minecraft (snapshot 1.20.5) it was running fine with FPS but it was turbo stuttery and the game screen flashed black. I also had problems with watching fullscreen. This was happening on Wayland as i didn't check it on Xorg and with either fbdev set to 1 and to 0

10 Comments
2024/04/20
12:43 UTC

1

konsole freezes

Hi all,
I'm on arch with plasma 6. Since some weeks however, konsole freezes on startup and does not respond to any inputs. I cannot enter any commands into the shell nor do the menu items work/respond.
Using konsole as part of dolphin works. Other terminals (e.g. alacritty) also work.

What I've tried:

  • remove konsole, ~/config/konsolerc and re-install -> no luck
  • remove stale session files in ~/.config/sessions -> no luck

Any ideas?

1 Comment
2024/04/20
11:47 UTC

0

Can't boot to GUI

I've recently started using Arch for the first time, and one day wanted to reinstall some packages. So I saw some advice to use sudo pacman - Rcns [package]. By this method I removed ffmpeg package, and a ton of necessary system packages. There was a big list of packages, and I thought that really essential for system packages won't be deleted. So, moment I confirmed removal, many icons have disappeared and there were lots of errors when trying to open some apps. So I rebooted pc, and since then I can't get to the graphical interface of system. I just get thrown into tty, and I could find any solution to fix this. I've installed default packages (core, extra, multilib) by usingsudo pacman - Syu also I've installed arch-install-tools or something to use pacstrap /mnt --needed. I guess most of mistakes have been fixed, but I can't figure out how to boot to gui

For info: I was using:

  • grub, or limine bootloader
  • Systemd
  • amdgpu and had problems with this, but I think it's not crucial in this case
6 Comments
2024/04/20
11:39 UTC

0

Found xz 5.6.1 (XZ utils) and liblzma 5.6.1 on my system.... Quite worried

I found the XZ backdoor installed on my system. I don't know if it's going to be really damaging to my system. What steps should I take? What can I do?

8 Comments
2024/04/20
11:04 UTC

1

Screen flickering on amd gpu

Hey, i've been playing minecraft and occasionally it started flickering with weird flashy colours. A day or maybe two before i updated my system. Tried capturing it with obs, but the flickering does not occur on video.
Is it over for my rx 470?

https://youtu.be/RQzv1FdYuRk

!

glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
   Vendor: AMD (0x1002)
   Device: AMD Radeon RX 470 Graphics (radeonsi, polaris10, LLVM 17.0.6, DRM 3.57, 6.8.7-arch1-1) (0x67df)
   Version: 24.0.5
   Accelerated: yes
   Video memory: 4096MB
   Unified memory: no
   Preferred profile: core (0x1)
   Max core profile version: 4.6
   Max compat profile version: 4.6
   Max GLES1 profile version: 1.1
   Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
   VBO free memory - total: 2664 MB, largest block: 2664 MB
   VBO free aux. memory - total: 7711 MB, largest block: 7711 MB
   Texture free memory - total: 2664 MB, largest block: 2664 MB
   Texture free aux. memory - total: 7711 MB, largest block: 7711 MB
   Renderbuffer free memory - total: 2664 MB, largest block: 2664 MB
   Renderbuffer free aux. memory - total: 7711 MB, largest block: 7711 MB
Memory info (GL_NVX_gpu_memory_info):
   Dedicated video memory: 4096 MB
   Total available memory: 12064 MB
   Currently available dedicated video memory: 2664 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 470 Graphics (radeonsi, polaris10, LLVM 17.0.6, DRM 3.57, 6.8.7-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.5-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.5-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.0.5-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

!<

0 Comments
2024/04/20
10:55 UTC

0

macOS like permission control

For context: I'm on bspwm and hyperland

In case anyone don't know, macOS will ask user for permissions towards lots of things, critical ones, like controlling the computer, monitoring the screen, recording, microphone, camera. or small ones like accessing desktop folders.

Is there any program like that for linux? Disclaimer: I'm do not like mac, just this specific feature got my attention

6 Comments
2024/04/20
10:37 UTC

0

Can’t properly run blender

I can only run blender through terminal, running from steam or through wofi doesn’t work. Any fixes?

Edit: fixed by adding another desktop entry to ~/.local/share/applications
[Desktop Entry]

Name=Blender fixed

Exec=blender

Terminal=false

Type=Application

7 Comments
2024/04/20
09:33 UTC

0

Monitor problem (KDE plasma)

Hello archlinux fellas.

i recently switched to arch linux and i have a little problem which occured todays morning.

My monitor is capped at 60hz not recognized even tho its 180hz supported. And the name of it is Unknown-1

Apperantly as it says everything worked fine yesterday please help

1 Comment
2024/04/20
09:26 UTC

0

Error installing arch with script

Basically, I've tried to install arch with the archinstall script and I keep getting this error for some reason

I tried updating the script, keyrings even redownload the script 3 times already and nothing.

Maybe am I doing something wrong or is my laptop just wrong ?

Here is the whole thing that appears on my screen:

Traceback (most recent call last):

File "/usr/lib/python3.11/site-packages/archinstall/init_.py", line 332, in run as a module main()

File "/usr/lib/python3.11/site-packages/archinstall/init_.py", line 327, in main importlib.import module(mod_name)

File "/usr/lib/python3.11/importlib/_Init.py", line 126, in import_module return bootstrap._gcd_import(name[level: 1, package, level)

File "<frozen laportlib. bootstrap>", line 1204, in gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load

File "<frozen isportlib. bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib. bootstrap>", line 690, in _load_unlocked

File "<frazen importlib._bootstrap_external>", line 940, in exec_module

File "<frozen importlib._bootstrap>", line 241, in_call_with_frames_removed

File "/usr/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 245, in <module> fs_handler.perfora_filesystem_operations()

File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/filesystem.py", line 54. in perform_filesystem_operations device_handler.partitiontmod, partition_table=partition_table) File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_handler.py", line 505, in partition

self.wipe_dev(modification.device) k/device_handler.py", line 646. in wipe dev File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_handler. self._wipe(black_device.device_info.path)

File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_handler.py", line 633, in wipe

with open(dev_path, 'ub') as p: PermissionError: [Errno 11 Operation not permitted

Archinstall experienced the above error. If you think this is a bug, please report it to https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO

curl -F'file=@/var/log/archinstall/install.log' https://0x0.st

2 Comments
2024/04/20
08:34 UTC

1

"vmmon" error in VMware Workstation

So I installed VMware Workstation on my Arch Linux installation (On a different computer because my father got me another laptop and took the other laptop away). When I startup a VM in it, It's giving me the following error:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
Many people had this problem on Ubuntu but I am on Arch Linux. All tutorials I found on YouTube are done on Ubuntu. And those commands do not work (Except a few). Can anyone help me with this?
My system (According to neofetch):
OS: Arch Linux x86_64
Host: 20BE00AXAD ThinkPad T540p
Kernel: 6.8.7-arch1-1
Uptime: 7 mins
Packages: 1274 (pacman), 23 (flatpak)
Shell: bash 5.2.26
Resolution: 1366x768
DE: Plasma 6.0.4
WM: KWin
Theme: Breeze-Dark [GTK2], Breeze [GTK3]
Icons: Papirus [GTK2/3]
Terminal: konsole
CPU: Intel i5-4210M (4) @ 3.200GHz
GPU: NVIDIA GeForce GT 730M
GPU: Intel 4th Gen Core Processor
Memory: 1875MiB / 11842MiB

2 Comments
2024/04/20
08:28 UTC

0

HELP

When I try to enter kitty.conf it is completely empty, I start with cd .config -> ls -> cd kitty/ -> ls -> nano kitty.conf but when I enter it it is empty there is not a single line of code, what is the solution?

1 Comment
2024/04/20
05:49 UTC

0

Failed to connect to archlinux.thaller.ws port

Error: Failed retrieving file 'libwebp-1.4.0-1-x86_64.pkg-tar.zst.sig from archlinux.theller us: Failed to connect to archlinux.thaller un port 413 after 100

: Timeout was reached warning: failed to retrieve sone files

error: failed to commit transaction (download library error)

Errors occurred, no packages were upgraded..

I was installing Dwm and this error occurred while using the command: sudo pacman -Sy xorg-server xorg-xinit libx11 libxinerama libxft webkit2gtk

2 Comments
2024/04/20
05:10 UTC

4

GPG server problem

Im trying to install spotify from aur.
But get this error

 paru -S spotify
:: Resolving dependencies...
:: There are 6 providers available for spotify:
:: Repository AUR:
    1) spotify  2) spotify-1.1  3) spotify-dev  4) spotify-edge  5) spotify-legacy  6) spotify-snapstore  
Enter a number (default=1): 
:: Calculating conflicts...
:: Calculating inner conflicts...

Repo (4) libcurl-gnutls-8.7.1-5  ayatana-ido-0.10.2-1  libayatana-indicator-0.9.4-1  libayatana-appindicator-0.5.93-1
Aur (1) spotify-1:1.2.31.1205-2

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
:: keys need to be imported:
     63CBEEC9006602088F9B19326224F9941A8AA6D1 wanted by: spotify-1:1.2.31.1205-2
:: import? [Y/n]: 
gpg: keyserver receive failed: Server indicated a failure
error: failed to run: gpg --recv-keys 63CBEEC9006602088F9B19326224F9941A8AA6D1:

I've tried reinstalling gnupg, cleared ~/.gnupg, and appending new keys using `sudo pacman -S archlinux-keyring` .

It Works fine on my other machine .

4 Comments
2024/04/20
07:17 UTC

0

Pacman Error: `error: Partition / too full: x blocks needed, y blocks free` [ x > y ]

I just tried to install gimp through pacman, using sudo pacman -Syy gimp. I accepted the dependencies (394MB worth), and was given the following errors:

    error: Partition / too full: 111160 blocks needed, 102618 blocks free  
    error: not enough free disk space  
    error: failed to commit transaction (not enough free disk space)  
    Errors occurred, no packages were upgraded.  

The drive Arch is installed to is /dev/sda, which has 444GB/896GB filled. Of course, this error is surprising as well as troubling to me. I can only guess as to why this may be.

To install Arch, I used archinstall. While formatting the SSD the OS is installed on, I selected the default option make 3 partitions to store /boot, /, and /home. I see this when I lsblk, the output contains /dev/sda1, /dev/sda2, and /dev/sda3 that are mounted to these points in-order. I mention this because maybe it has something to do with the error, but when I du -hs / I see that something close to 444G (some files were not able to have their sizes read).

As I type this, I realize I can open gparted and check the size of /dev/sda2 to see if it's close to full. I open gparted (which I was just able to install via pacman, btw) and see that it has 18.6GB/20.0GB filled.

What exactly is happening here? Can I simply resize /dev/sda2 to like 30GB and stave off the error?

If so, and problem is simply a partition that needs more space, why possibly could the root partition have gotten so filled? I do not intentionally store any files in there, and with all package managers i use (not many; pacman, pip, and once or twice cargo) I install everything locally to the user. Could there be a misstep in how I have something configured, or is this just something that eventually happens on a regularly used Arch desktop with only 20.0GB for the root partition?

15 Comments
2024/04/20
04:51 UTC

0

yay cannot install conan due to merging error

Hey Arch-enthusiasts!
I am trying to install Conan2 using yay, but got the following error:

[dino@source] ➜ ~ yay -S conan
AUR Explicit (1): conan-2.2.2-1
Sync Make Dependency (1): python-setuptools-1:69.0.3-4
:: PKGBUILD up to date, skipping download: conan
 -> error merging /home/dino/.cache/yay/conan: fatal: No current branch.

Any ideas how to fix it?

10 Comments
2024/04/20
03:54 UTC

0

Why arch is better in partitioning

I just wanted to tell you guys that Kali is a bitch in partitioning, why?

  1. it gives an error when you have lvm on another disk
  2. it doesn't fix the problem

Arch: Deleted lvm data and continued with partitioning. Just like I wanted while Kali continues on to tell me "delete the data and come back"(not exact words btw)

So ya, please if you have an os which used lvm and you're switching to something else, arch is the best option in my opinion for now.

Thank you

19 Comments
2024/04/20
03:32 UTC

2

msib450m pro vdh max, pc stuck at grub menu while using keyboard for navigation

msib450m pro vdh max, pc stuck at grub menu while using keyboard for navigation. If you try to reboot nonstop 10 times in a row and use keyboard for navigation in grub menu then 6 times system boot normally and 4 times system will stuck. With dmesg i got 2 strange records: "kernel: usbhid 1-10:1.2: couldn't find an input interrupt endpoint" and "ccp 0000:2b:00.1: ccp: unable to access the device: you might be running a broken BIOS.ccp 0000:2b:00.1: psp enabled". I am using csm mode with mbr. Seems usbhid 1-10:1.2 is a mouse but "lshw -c input" show bus info: usb@1:a. Is my cpu or motherboard or ram broken?

1 Comment
2024/04/20
03:13 UTC

0

How do you ignore a package when updating system?

I'm trying to update my system but get this error.

:: installing nvidia-utils (550.67-1) breaks dependency 'nvidia-utils=550.54.14' required by nvidia

Is there a way to ignore this package?

12 Comments
2024/04/20
00:22 UTC

8

How do you manage removable drives?

I have never gotten to figuring out a good solution for managing removable drives. I thought I would get used to mounting them in terminal with cryptsetup and mount commands each time, but after doing this for like a year, it felt like a huge chore every single time. Finally I couldn't deal with managing my drives manually, and installed udiskie for arch. And it's like weight lifting from my shoulders lol. What solution do you use for managing removable drives?

14 Comments
2024/04/20
00:15 UTC

0

Can arch be a perfect os ?

Well, the idea of changing to arch stuck in my mind,his negative & positive reputation confused me to be honest,I've got a very little experience with Linux (maybe 1,5 month in Ubuntu and mint).

I was wandering that if everything I have on windows (playing games, emulators, trying some weird apps,some editing and freelancing in the near future,maybe server...) work effectively without facing a lot of troubles.

Is it a bad idea to change to arch or just giving up ? Is it also suitable for conditions that I mention it before ?

Edit:I have two machines,a laptop (gtx 920mx,8gb) and other is maybe 17 years old(I don't think that old dust can handle it),is arch a light-os or can you make at least some configurations to make it light ?

17 Comments
2024/04/19
22:28 UTC

0

Issues with fingerprint sensor - No devices available

Hi,

Recently for convenience I have been trying to get fingerprint support on my laptop. However when trying to use fprintd-enroll i get the error

Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available

Running lsusb shows my sensor is recognised with

Bus 001 Device 002: ID 27c6:533c Shenzhen Goodix Technology Co.,Ltd. FingerPrint

I have tried to install drivers I have found online from people with the same sensor but no matter what I've tried I can't get fprint to recognise the sensor as a valid device. Any help or advice would be appreciated :)

1 Comment
2024/04/19
22:07 UTC

8

is swap good?

i have 16 gb ram

31 Comments
2024/04/19
21:06 UTC

37

How many of you have embraced timers?

I’m a long time Linux user and cron feels second nature to me. Timers feels overly complex for simple shell/python scripts doing basic maintenance. Nonetheless, I’m making the move to timers.

Anyone else dragging their feet?

34 Comments
2024/04/19
21:29 UTC

0

Issues with tkg-bore

0 Comments
2024/04/19
21:28 UTC

0

How do I make a window capture my cursor? (dwm)

i'm trying to play war thunder and i need to capture/lock my cursor in the game window because it keeps going to my second monitor... how do i do that? (btw i use dwm)

0 Comments
2024/04/19
17:56 UTC

1

Buggy menu in Wayland [DWL]

0 Comments
2024/04/19
17:44 UTC

1

Freezes during downloads

Hi! I got a normal Arch install (didn’t use any script, just followed the install guide and checked some important packages i need on YouTube) and when downloading i get freezes, this mostly happens on Steam downloads and Discover downloads. With the rest i just get glitchy sound.

Kernel: latest LinuxZen

Using Pipewire latest version

My laptop is a Lenovo Thinkpad T450s with 20Gb of DDR3, 1Tb of SSD storage, an Intel HD Graphics 5500 integrated GPU and an Intel Core i7 5th gen CPU (not sure about the CPU, forgot if it’s an i5 or an i7, dont have my PC rn to check)

5 Comments
2024/04/19
16:06 UTC

0

Accidentally deleted folder

I accidentally draged and dropped an important folder from the dolphin file manager to the trash in the sidebar. I clicked on the abort, but now the folder appears as empty and I can't find in in the trash. What should I do? It was a pretty big folder.

2 Comments
2024/04/19
15:32 UTC

Back To Top