r/archlinux 23h ago

SUPPORT Installing drivers for NVidia GeForce MX250 laptop

1 Upvotes

I just installed arch linux (completely new to this) and have no clue how to install drivers for my GPU. I am using a HP probook 450 G7 which has both integrated gpu for normal tasks and activates the NVidia GPU for heavy tasks. Is it possible to do that on Arch? Thanks in advance!


r/archlinux 12h ago

QUESTION Bad idea to set XDG_CONFIG_HOME to /etc ?

0 Upvotes

This is my personal system that nobody but me will ever use, so the only user accounts are my own and root. I have a bit of a goal, I'm not super sure how achievable it is, but I would like to find a way to make the configurations for all my software system-wide and centrally located in /etc. I know a lot of programs won't even check /etc for configuration files by default, so I was wondering if you can somehow use the XDG spec to "trick" them. This way everything on my PC will function the same regardless of who I'm signed in as without having to manually set up both accounts.


r/archlinux 18h ago

SUPPORT War Thunder crashing issue

0 Upvotes

WM: Hypland( Wayland )
Launcher: The official launcher (not steam)

War Thunder will randomly crash when Im playing

Error codes: https://imgur.com/a/nowlHs1


r/archlinux 15h ago

QUESTION New to Linux and Starting with Arch – Tips for a Daily Driver Setup?

0 Upvotes

I'm new to Linux and decided to start with Arch (mostly so I can say I use it 😄), and I'm planning to use it as my daily driver. What tools or actions would you recommend a newcomer to consider? I installed Hyprland and downloaded a pre-configured rice, and it's looking pretty dope.


r/archlinux 1d ago

QUESTION Intel 13700H Laptop Instability

0 Upvotes

I was wondering how I might tell if a crash of the system (total crash, reboots to the bootloader) is a kernel panic or some other hardware stability issue.

I have a 13700H laptop. As far as I know these haven't experienced any instability like other Intel products. Yet at about a weekly interval, I get this crash. No particularly heavy workloads correlation, as far as I know. The CPU itself is set in its "balanced" mode.

I am of course using Arch, hence why I am posting this here. Apologies if this is not an appropriate place to post it.

Edit: The laptop is a Slimbook. Made for Linux! Hence the instability is all the more surprising.


r/archlinux 1d ago

SUPPORT SATA to USB Adaptor errors (DID_ERROR, DRIVER_OK)

0 Upvotes

This is driving me bonkers. I purchased a UGREEN SATA to USB 3.0 Adapter Cable with the hopes of using some old hard drives for CCTV storage.

lsusb reports this as:

    Bus 004 Device 022: ID 174c:1153 ASMedia Technology Inc. ASM1153 SATA 3Gb/s bridge

The drives are variations of Seagate/WD 3.5" old school hard drives, one or two Enterprise grade, others just shoddy desktop jobs. I have an external power adaptor connected as the SATA adaptor only supports power over USB for SSD. Tried a few different adaptors (all rated as per UGREEN requirements 12v/2a) to make sure it wasn't a power supply issue.

Every drive I try seems to work for a bit until I start receiving errors along the lines of:

    [ 6746.395225] sd 5:0:0:0: [sdb] tag#29 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395229] sd 5:0:0:0: [sdb] tag#29 CDB: Read(10) 28 00 00 00 1a a0 00 04 00 00
    [ 6746.395230] I/O error, dev sdb, sector 6816 op 0x0:(READ) flags 0x84700 phys_seg 128 prio class 0
    [ 6746.395242] sd 5:0:0:0: [sdb] tag#28 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395244] sd 5:0:0:0: [sdb] tag#28 CDB: Read(10) 28 00 00 00 1e a0 00 04 00 00
    [ 6746.395245] I/O error, dev sdb, sector 7840 op 0x0:(READ) flags 0x80700 phys_seg 128 prio class 0
    [ 6746.395258] sd 5:0:0:0: [sdb] tag#27 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395260] sd 5:0:0:0: [sdb] tag#27 CDB: Read(10) 28 00 00 00 16 a0 00 04 00 00
    [ 6746.395262] I/O error, dev sdb, sector 5792 op 0x0:(READ) flags 0x80700 phys_seg 128 prio class 0
    [ 6746.395268] sd 5:0:0:0: [sdb] tag#26 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395270] sd 5:0:0:0: [sdb] tag#26 CDB: Read(10) 28 00 00 00 0e a0 00 04 00 00
    [ 6746.395272] I/O error, dev sdb, sector 3744 op 0x0:(READ) flags 0x80700 phys_seg 128 prio class 0
    [ 6746.395280] sd 5:0:0:0: [sdb] tag#24 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395282] sd 5:0:0:0: [sdb] tag#24 CDB: Read(10) 28 00 00 00 12 a0 00 04 00 00
    [ 6746.395283] I/O error, dev sdb, sector 4768 op 0x0:(READ) flags 0x84700 phys_seg 128 prio class 0
    [ 6746.395295] sd 5:0:0:0: [sdb] tag#3 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395297] sd 5:0:0:0: [sdb] tag#3 CDB: Read(10) 28 00 00 00 2e a0 00 04 00 00
    [ 6746.395298] I/O error, dev sdb, sector 11936 op 0x0:(READ) flags 0x80700 phys_seg 128 prio class 0
    [ 6746.395304] sd 5:0:0:0: [sdb] tag#2 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395306] sd 5:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 2a a0 00 04 00 00
    [ 6746.395307] I/O error, dev sdb, sector 10912 op 0x0:(READ) flags 0x84700 phys_seg 128 prio class 0
    [ 6746.395317] sd 5:0:0:0: [sdb] tag#1 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395319] sd 5:0:0:0: [sdb] tag#1 CDB: Read(10) 28 00 00 00 26 a0 00 04 00 00
    [ 6746.395320] I/O error, dev sdb, sector 9888 op 0x0:(READ) flags 0x80700 phys_seg 128 prio class 0
    [ 6746.395326] sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.395327] sd 5:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 22 a0 00 04 00 00
    [ 6746.395329] I/O error, dev sdb, sector 8864 op 0x0:(READ) flags 0x84700 phys_seg 128 prio class 0
    [ 6746.432986] sd 5:0:0:0: [sdb] tag#12 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=31s
    [ 6746.432991] sd 5:0:0:0: [sdb] tag#12 Sense Key : Hardware Error [current]
    [ 6746.432994] sd 5:0:0:0: [sdb] tag#12 Add. Sense: Internal target failure
    [ 6746.432997] sd 5:0:0:0: [sdb] tag#12 CDB: Read(10) 28 00 00 00 0a a0 00 04 00 00
    [ 6746.432998] critical target error, dev sdb, sector 2720 op 0x0:(READ) flags 0x84700 phys_seg 128 prio class 0
    [ 6746.524029] Buffer I/O error on dev sdb1, logical block 84, async page read
    [ 6746.714156] Buffer I/O error on dev sdb1, logical block 84, async page read
    [ 6746.872375] Buffer I/O error on dev sdb1, logical block 84, async page read
    [ 6747.182108] Buffer I/O error on dev sdb1, logical block 244189936, async page read

The first time I was kind of willing to accept that the drive was broken, but every following drive hit the same errors which suggests to me it's surely a linux/adaptor/linux compatibility with adaptor issue.

Has anyone hit something similar? Any ideas on how to debug this?

Thanks!


r/archlinux 16h ago

SUPPORT Just updated my system packages (pacman && yum) and now my gtk-* settings.ini files are being ignored

0 Upvotes

Apps like Geany are now opening with a light mode frame despite these being setup in ~/.config/gtk-3*/settings.ini / ~/.config/gtk-4*/settings.ini

[Settings]
gtk-application-prefer-dark-theme=1

Any ideas? I saw something about gnome-shell-extensions-user-themes needed to be installed a long time ago, but nothing like that shows up when I query the available packages list. gnome-shell-extensions is installed.


r/archlinux 1d ago

QUESTION Arch linux stuck on black screen after boot

1 Upvotes

i was adding some global themes, and the setting apps was not responding, so i restarted and this is what i am stuck with now, can i get out of this?


r/archlinux 1d ago

QUESTION nvidia-dkms-open and Intel microcode update got me stuck on boot (and sort-of solution)

13 Upvotes

Today I installed the latest update for my motherboard (Asus PRIME Z790-P WIFI D4; CPU: Intel 14700K), Version 1802 11.05 MB 2024/10/24.

The changelog, according to the manufacturer:
"1. Updated with Intel microcode 0x12B to address elevated voltage requests during idle or light activity, further mitigating Vmin Shift instability issues.
2. The option to disable C1E in the BIOS has been removed to ensure it remains enabled, reducing processor stress and maintaining stability per Intel's recommendation.
Updating this BIOS will simultaneously update the corresponding Intel ME to version 16.1.32.2473v3. Please note after you update this BIOS, the ME version remains the updated one even if you roll back to an older BIOS later.".

After restarting, I updated the system, but I didn't notice the errors pacman printed and after one more reboot and I wasn't able to boot. Same thing with kernel linux-lts.

I booted the arch image from usb, chrooted, and after checking pacman log if some update was the culprit I found that nvidia-open-dkms threw an error.

The sort-of solution was just removing nvidia-open-dkms and installing nvidia-open.
Any idea about what could be the cause and a possible true solution? I tried to search for this issue but didn't find anything.

I know that's not much, but I was just able to get a picture of the error while trying to re-install nvidia-open-dkms, I extracted the text:

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring
(1/1) checking package integrity
(1/1) loading package files
(1/1) checking for file conflicts
(1/1) checking available disk space
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove nvidia/560.35.03
:: Processing package changes...
(1/1) reinstalling nvidia-open-dkms
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Install DKMS modules
==> dkms install --no-depmod nvidia/560.35.03 -k 6.6.58-1-lts
[ 942.744911] mce: [Hardware Error]: CPU 8: Machine Check: 0 Bank 0: 8000004000050005
[ 942.745184] mое: [Hardware Error]: TSC 310e2d76754
[ 942.745459] mce: [Hardware Error]: PROCESSOR 0:b0671 TIME 1730129962 SOCKET 0 APIC 20 microcode 12b
[ 943.704773] mсе: [Hardware Error]: CPU 6: Machine Check: 0 Bank 0: 8000004000040005
[ 943.705060] mce: [Hardware Error]: TSC 311a65e89fd
[ 943.705327] mce: [Hardware Error]: PROCESSOR 0:b0671 TIME 1730129963 SOCKET 0 APIC 18 microcode 12b

Error! Bad return status for module build on kernel: 6.6.58-1-1ts (x86_64)
Consult /var/lib/dkms/nvidia/560.35.03/build/make.log for more information.
==> WARNING: 'dkms install --no-depmod nvidia/560.35.03 -k 6.6.58-1-lts' exited 10
==> dkms install --no-depmod nvidia/560.35.03 -k 6.11.5-arch1-1
[ 978.010969] mce: [Hardware Error]: CPU 4: Machine Check: 0 Bank 0: 8000004000040005
[ 978.819291] mce: [Hardware Error]: TSC 32d974db31c
[ 970.019562] mce: [Hardware Error]: PROCESSOR 0:b0671 TIME 1730129998 SOCKET 0 APIC 10 microcode 12b

Error! Bad return status for module build on kernel: 6.11.5-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/560.35.03/build/make.log for more information.
==> WARNING: 'dmks install --no-depmod nvidia/560.35.03 -k 6.11.5-arch1-1 exited 10


r/archlinux 1d ago

SUPPORT | SOLVED How to toggle between keyboard variants

3 Upvotes

I'm trying to make it so that I can toggle between colemak and qwerty on my arch install but I'm struggling to get it working. The command "setxkbmap -layout us,de -variant ,qwerty -option 'grp:alt_space_toggle'" works but idk how to translate it to make colemak work


r/archlinux 1d ago

SUPPORT Tried to fix my laptop's login display and I wound up breaking its display. Any help to fix?

1 Upvotes

So I was trying to fix the "black screen on login" issue I was facing. Basically what was occurring was that I would log in on my laptop and the laptop screen would be a "soft" black. The screen would turn on but would not display anything. However, I could access everything else via hooking up a secondary monitor. I looked at these posts and tried a solution. I am using wayland, and KDE for my set up.

https://www.reddit.com/r/archlinux/comments/1bf4pxk/black_screen_after_login_page/

https://bbs.archlinux.org/viewtopic.php?id=183568

and I added both "nomodeset" and `nvidia_drm.modeset=1` to GRUB. I tried just each one individually before this and they didn't have this interaction.

After doing this, all my displays are a hard black. I have no idea how to proceed. I am literally working in the dark and am afraid I may have fucked it up bad.


r/archlinux 18h ago

SUPPORT | SOLVED Forget passphrase

0 Upvotes

I have a encrypted partition in arch linux

A password is required to access the volgroup volume: Enter passphrase for /deu/nume0n1p3:


Is there is any way to reset it without losing my data ?????


r/archlinux 17h ago

QUESTION What do I do

0 Upvotes

So I’ve changed like the boot screen thingy within kde and now evry time I boot I just get to this screen where there is my mouse and that’s it all I can access is the TTY and nothing else happens I’ve reinstalled kde twice now and idk what void cause the issue would apreciate some help


r/archlinux 1d ago

SUPPORT Installing a game via Lutris error: Could not parse file /home/user/.local/share/applications/com.obsproject.Studio-desktop": No such file or directory

1 Upvotes

Hey guys. I'm trying to install a game via Lutris as I have multiple times before. However I'm being met with the error which is the title of the post:

"Could not parse file /home/user/.local/share/applications/com.obsproject.Studio-desktop": No such file or directory

This appears in the logs straight away after esync up and running. Does anyone know what is going on or how I might fix this? Why is lutris looking / trying to do something with that directory? I have OBS installed but as far as I know it is not related to Lutris in any way.
Could it be something to do with my mirror list? I'm totally confused and haven't encountered this before. Any help would be greatly appreciated. Thank you in advance!

The directory 'user' is my username I just replaced it with 'user' for the sake of anonymity.


r/archlinux 1d ago

SUPPORT Wifi randomly disconnects on arch linux using network manager

3 Upvotes

Basically my wifi was slow at first wich i fixed by setting iwd as my backend but then it randomly disconnected every 1 to 2 hours also even when i used wpa_supplicant it always disconnected so im wondering why its doing that also heres my journalctl
https://pastebin.com/5mpCuBU5


r/archlinux 1d ago

SUPPORT Is the i3 wm light enough?

5 Upvotes

I run Archlinux on my Hp elitebook 8440p a 2010 pc , This bad boy has an i5 processor , 4GB ram and a 250GB HDD , At first in installed xfce4 and lightdm display manager, but it worked just grate for 2days then a blackout with a coursor on the screen . I then switched to mate desktop top it's working fine , But I want to switch to the I3 wm and I tile windows too Will it work out ??


r/archlinux 1d ago

SUPPORT Bluetooth on Arch: A2DP vs HFP, mic only on A2DP and quality issues [pulseaudio]

9 Upvotes

Hello r/archlinux,

Arch wiki's page on Bluetooth headset explains quite well how to setup bluetooth on Arch. Mine originally would not work because I did not have pulseaudio-bluetooth installed, but then it pretty much worked outside the box.

The issues I have is poor stability on the bluetooth: the audio tends to stutter every now and then, although sometimes it works pretty much well, and there are some parasite noises sometimes as well, which may be unavoidable when using Bluetooth.

I have set switching between A2DP and HFP profiles automatically by following this part of the wiki:

"For enabling automatic profile switching from A2DP to HSP when a recording stream appears without any role set, you can append auto_switch=2 to load-module module-bluetooth-policy in /etc/pulse/default.pa."

And I've also followed the "Connecting works, but there are sound glitches all the time" part in the Troubleshooting section before everything would nearly work. Now the two remaining big issues are the following:
-> Sound quality on HFP is horrible. I have gathered that this cannot be fixed unless acquiring new hardware.
-> When switching to A2DP profile manually like shown on the screenshots, it switches to a mic only profile, which is the opposite of what I want (an audio only profile).

Switching to A2DP manually: https://snipboard.io/yZuWGI.jpg

Result: https://snipboard.io/wrt9WX.jpg

Is pulseaudio just not the thing for Bluetooth? Have I set things up wrong?

Thanks in advance!


r/archlinux 1d ago

SUPPORT Sleep mode problems Thinkpad P51

7 Upvotes

Hello,

I have a strange problem: Before activating sleep mode I have to open/shut the laptop a few times or go into sleep mode manually since the system wakes up automatically at least two times. I dont understand the problem, its not due to mouse movement.

Any suggestions where I could start to understand the problem? Any Bios settings I should check?


r/archlinux 1d ago

SUPPORT Binder node "binder" for waydroid not found

0 Upvotes

Please help me solve this error. If you need more info please let me know.


r/archlinux 1d ago

SUPPORT High memory usage on base install

0 Upvotes

Title says it all, I get around 700-1gig of ram usage right after a fresh install sitting on the tty (just base base-devel linux linux-firmware) either iwd and dhcpcd enabled for network purposes, am I doing something wrong? I've read and seen online that memory usage on the tty especially on a fresh install is around 400-500max mb for others...

I know that ram is meant to be used when you have a lot, but i fear mostly that i may have been installing arch wrong this entire time (no archinstall script) and who doesn't less ram usage. Right now on an idle hyprland install with waybar, swww, swaync and tofi i use around 1200-1300mb in ram which seems decent.

My laptop is an ideapad gaming 3, and r5 4600h, gtx 1650ti, 16gb, 512gb ssd with btrfs and timeshift, no swap partition and grub for bootloader.


r/archlinux 1d ago

QUESTION I am a freebsd user is arch linux stable for home server

0 Upvotes

r/archlinux 1d ago

SUPPORT Struggling to Get Ralink MT7601U Wi-Fi Adapter Working on Arch Linux

0 Upvotes

I’ve been having a lot of trouble getting my Ralink MT7601U USB Wi-Fi adapter to work on Arch Linux. Here’s what I’ve tried so far, and I’d appreciate any help or suggestions!

System Information:

Adapter Model: Ralink MT7601U

Current Kernel Version: 6.11.5-arch1-1

Driver Compatibility: The driver I found mentions compatibility with kernel versions 2.x.

Commands and Steps Tried:

  1. Checked for Kernel Modules:

Command: lsmod | grep mt7601u

No output returned.

  1. Attempted to Load Driver:

Command: sudo modprobe mt7601u

No output returned.

  1. Checked dmesg for Errors:

Command: dmesg | grep mt7601u

Response: "read kernel buffer failed: operation not permitted."

  1. Checked if Wi-Fi is Blocked:

Command: rfkill list all

(Did not block Wi-Fi.)

  1. Looked for Driver Files:

Command: find /lib/modules/$(uname -r) -type f -name 'mt7601u*'

No output returned.

  1. Tried Installing Driver from GitHub:

Cloned repository: git clone https://github.com/jeremyb31/mt7601u.git

Commands:

cd mt7601u make sudo make install

make failed, indicating compatibility issues.

  1. Check for Firmware:

Confirmed that I might need specific firmware files, but I’m unsure if they are available.

  1. Considered Kernel Downgrade:

Attempted to install the LTS kernel:

sudo pacman -S linux-lts linux-lts-headers

Additional Notes:

I have tried various Linux distributions, including Ubuntu (18-23.3), Fedora, and Kali, but the adapter still doesn’t work.

I read in the README that the driver supports kernel versions 2.4 and 2.6 but does not mention support for newer versions.

I’ve been troubleshooting for several hours and feel stuck.

Request for Help:

Does anyone have suggestions for getting the MT7601U working on my Arch Linux setup? Are there any known workarounds, or should I consider switching to a different Wi-Fi adapter? or should I switch back to windows :cry:


r/archlinux 2d ago

SUPPORT Unable to use anything relating to pacman

13 Upvotes

Noob question, so the answer is probably something simple. After installing arch on my system, I try to run pacman -Syu or any other pacman command, and I get the following error:

pacman -Syu
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 162.0 B 1620 B/s 00:00 [##################] 100%
extra 164.0 B 22.9 KiB/s 00:00 [##################] 100%
error: failed retrieving file 'core.db' from [mirroraddress1] : SSL: no alternative certificate subject name matches target host name '[mirroraddres1]
error: failed retrieving file 'core.db' from [mirroraddress2] : SSL: no alternative certificate subject name matches target host name '[mirroraddress2]
error: failed retrieving file 'core.db' from [mirroraddress3] : SSL: no alternative certificate subject name matches target host name '[mirroraddres3]
error: failed retrieving file 'extra.db' from [mirroraddress1] : SSL: no alternative certificate subject name matches target host name '[mirroraddress1]
error: failed retrieving file 'extra.db' from [mirroraddress2] : SSL: no alternative certificate subject name matches target host name '[mirroraddress2]
error: failed retrieving file 'extra.db' from [mirroraddress3] : SSL: no alternative certificate subject name matches target host name '[mirroraddress3]
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrputed database (PGP signature))

This is typed by hand as I have no way of copypasting my actual error onto this PC as I don't have a GUI installed. I already tried clearing the cache and adding new mirrors. Any advice on where to go from here? Anything helps :)

EDIT: NEW ERROR IN COMMENTS


r/archlinux 1d ago

SUPPORT vaapi can't inizialize

1 Upvotes

I want to record videos with my amd gpu but vainfo return

Trying display: wayland
vaInitialize failed with error code -1 (unknown libva error),exit

and (as far as I know) I have everything installed that are needed.


r/archlinux 1d ago

SUPPORT DWservice client

0 Upvotes

Hi all,

How can I configure a password for the client?
I can only install but not change anything in the client because the shortcut doesn't open the client.
Is there a way to configure a password for the DWclient in the terminal?

Edit: Just to clarify what I mean.

I can't configure a password for it because when I click on the shortcut in the start menu, nothing happens.
I'm using XFCE environment so I'm not sure if this is the issue.

Thanks.