/r/archlinux

Photograph via snooOG

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

/r/archlinux

279,732 Subscribers

2

GBM-DRV errors on Chromium-based browsers in X11

Long story short, I reinstalled my system and Chromium stopped allowing me to right click save. Outputs

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

to terminal. Also seen some freedesktop and EGL Driver message errors popping up every now and then. It works on Wayland, albeit sluggishly, but when I switch back to X11, I get the error. I tested on Ungoogled, Vivaldi, Thorium, and even compiled Ungoogled myself, to no avail.

Given that Wayland is a required package for gtk4 which I also had some minor problems with, I could see it being the issue?

Anyway, I tried reinstalling my Nvidia drivers, installing VAAPI drivers, tried to change the ozone platforms, and other things I've seen on related issues on the internet but nothing has worked.

0 Comments
2024/11/30
23:34 UTC

0

100Hz external display cannot go past 75Hz

(somebody had the same issue and posted about it on the forums but it was left unanswered🫤so I'll be paraphrasing)

My built in screen has no problem producing the desired resolution/refresh rate of 1080p120Hz, but my external monitor, which is able to go up to 1440p100Hz cannot go past 75Hz. It is connected via an HDMI 2.1 cable, which does support 100hz and on Linux Mint & Windows its working just fine.

On Arch, however (and any other distro except mint), I cannot seem to get it to work. I have tried on both X11 and Wayland distros (i3, KDE and currently on Hyprland) xrandr is able to detect the 100Hz and so is hyprctl monitors all, but the second you attempt to put the refresh rate on anything above 75Hz its stuck at a black screen trying to connect (as if you're exceeding the possible refresh rate).

I will provide additional info/logs if that would help.

0 Comments
2024/12/01
15:14 UTC

0

Which is lightweight Dynamic WMs

Hello Everyone I Want to try out arch So I want to know what are the light weight WMs out there and also do we need to install DE alongside WM or WM alone is enough.

And also Can I use a tiling WM as Floating as Per my needs like Pop OS?

0 Comments
2024/12/01
07:14 UTC

0

What's in your opinion the best DE?

Give me your thoughts and arguments of which one is the best DE based in your opinion

20 Comments
2024/12/01
14:51 UTC

0

Dual Booting Windows 11 and Arch Linux on Two Different Drives – Advice Needed

Hi everyone!

I’ve been using Arch Linux exclusively on my laptop for about 4 months now, and I absolutely love it.

As the title suggests, I’m planning to set up a dual boot on my PC with Windows 11 on an NVMe drive and Arch Linux on a SATA SSD. I’m excited to try this setup but want to make sure I do it right.

Are there any risks or challenges I should be aware of when dual booting across two different drives? Specifically, are there things like bootloader issues, drive compatibility, or data corruption I should look out for?

I’d appreciate any tips, advice, or resources to help ensure a smooth setup!

Thanks in advance for your help!

5 Comments
2024/12/01
12:53 UTC

0

Fonts unavailable

I have a large variety of fonts installed. So how come the only ones that show up when I run fc-list are noto fonts?

0 Comments
2024/12/01
12:32 UTC

7

Convince me that I was not wrong to get an OLED on my new laptop

Short story: I recently ordered a T14 gen5 (AMD) and I got carried away with the configuration tool. I plan to use Arch. In the meantime my laptop arrives, I started reading things about OLED on this subreddit that began to make me think I had made a mistake in getting the OLED. Is there someone who has an OLED screen and has some experience to share and how deal with that? Are you using Wayland or Xorg? Which WM/DE?
Thank you.

22 Comments
2024/12/01
11:40 UTC

0

Disable ctrl+alt+(f1-f6) shortcut

I want to disable ctrl+alt+(f1-f6) shortcuts where it shows the ttys for login. So is there any easy way to disable them

15 Comments
2024/12/01
11:27 UTC

1

Found the issue but not the solution (display not updated properly on i/o)

previous post :
https://www.reddit.com/r/archlinux/comments/1h31ydg/i_updated_arch_recently_and_some_apps_are_not/

The issue is the display is not updating properly I open terminal type the command hit enter. nothing happens but if I open another application the the command is executed in the terminal and the result is there. Same with many applications like I can input but the output is seen only when I open or close an application. I also switch between tty then I can see like the output, but yeah like it needs a display refresh type thing to show the output. I tried different window managers too this issue persists

please help. Thank you

0 Comments
2024/12/01
10:49 UTC

1

Installing Arch Linux (hyprland) with nvidia hardware

Hello everyone, this is my first time installing Linux and I want to install Arch Linux (hyprland), but as far as I know there is no official support for Hyprland for Nvidia hardware

I read on wiki.hyprland.org/Nvidia/ how you can install it but I don’t understand how to do it

I also wanted to ask whether the configs of people who have hardware from amd will work?

(sorry if this is a simple or dumb question, I'm just starting out using Linux)

8 Comments
2024/12/01
10:16 UTC

0

having trouble finding DNS's after installation

After successfully installing Arch Linux on a VM a few times, I installed it on my laptop.

When I connect to wifi in the installation, it works great, even if I chroot arch in the installed system:

iwctl wsc wlan0 push-button
iwctl station wlan0 connect <my wifi> # works too
ping google.com
<works>
pacman -S somepackage
<also works>

but when I boot from disk and connect to wifi the same way (no errors, seems to be connected), then try to ping any domain, I get the error

ping: name temporary failure in name resolution
pacman -S somepackage
a bunch of errors with mirrors

however, when i ping my router or 0.0.0.0, 8.8.8.8, it works.

ip route show
default via 192.168.0.1 dev wlan0 proto dhcp src 192.168.0.120 metric 3003 192.168.0.0/24 dev wlan0 proto dhcp scope link src 192.168.0.120 metric 3003

rfkill 
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci    unblocked unblocked
 1 wlan      phy0   unblocked unblocked

iwctl station wlan0 show
no way im goana type it by hand
state: connected
connected network: my network
...

if you need more information, ill try to provide it asap.

thanks!

4 Comments
2024/12/01
08:16 UTC

0

Error during the installation of a service audio using "arch install"(from the bootable USB)

I don't know why but if I install a service audio in the installation, it gives me a huge red error, if I want to install Linux, I have to not select any audio service and later install it. I have created the bootable device twice and I got the same error

1 Comment
2024/12/01
07:39 UTC

15

If you ever want to list all commands that pacman offers :) (from repos you enabled)

This one-liner will list all commands provided by the packages available in the pacman repositories you have enabled:

pacman -Fx 'bin/\w+$'

Also you can of course replace \w+ by a string to search for a specific command, or replace \w+$ by any regex to search for all commands matching it ;).

ex.:

pacman -Fx 'bin/firefox$'

I've been using this a lot to quickly check if some command/program I want to install on my system is available via pacman ! (as it should be noted that many commands are provided by non-homonymous packages, contrarily to what could be thought)

Hope that helps someone !

1 Comment
2024/12/01
02:16 UTC

1

GPU Passthrough + Audio?

So I've got myself my graphics card and it's audio controller Passthrough to a windows 10 VM. But I can't seem to get audio.

My GPU is directly connected to my monitor through a DVI cable so I can't get audio like you would from a monitor with built in speakers or one that's using a GPU to monitor direct HDMI port.

I've tried the default settings offered by virt manager and also the setups for pipewire I found in the arch wiki. And mostly it will tell me to add either my jack, or directly try to send the VMS audio to pipewire. The issue with this is that no matter how many times I read the wiki the instructions are quite hard to understand for me.

I can't get rid of the spice audio because I need it's channel device for the screen to load and so I'd 1 is taken. That is despite the fact both my display and video are set to none. Furthermore adding secondary ids is complicated, I've tried adding another I'd 2 for example and adding a device but that doesn't work. And if I'd 1 is not spice the VM will crash on startup. USB redirects on my headphones didn't work and I'm out of options even after scavaging search results for a whole day.

I was going to try scream as a last ditch effort. But it's github says little to nothing about setting it up and it will flood the network by default. Been working at it by going into github issues and reading any answers people got. But it seems I won't make it on my own.

On arch I've tried building it with build, cmake and make however, make install did not work I have no idea what I'm doing. When building it I only found a scream executable that kept changing name. I thought I was on to something but still no idea...

On windows I managed to install the driver made a key for unicast for the ip of the gateway and port. I tried writing to the receiver file manually to change the parameters to the same and still nothing.

I think I'll try to figure it out for a couple more days and if it doesn't work I'll just use hyper V instead. Any help is greatly appreciated. ❤️

0 Comments
2024/12/01
01:43 UTC

1

Heat problems

My laptop heats up every time I use it with arch

Arch has been installed for quite a lot of time, it’s up to date with everything updated and so on

Although my laptop is a little bit old, but Windows does not heat up like what Arch does?, why?

os: Archlinux + Hyprland laptop: Lenovo Ideapad z480

0 Comments
2024/12/01
00:26 UTC

0

Headset Microphone Unplugged

I would say the issue is simple, though it doesn't seem to be. I've tried many things on many different forums, but none have worked so far. Also, should be known that the hdajacksensescheck shows that the mic isn't present. I've tried hdajackretask. The headphones and jack work fine on windows 10 on the same laptop. Headphones work fine, just not the mic. I use a Lenovo Ideapad with a HDMI thing as card/codec 0, and the main one being card 1. It uses the Realtek ALC236.

0 Comments
2024/12/01
05:48 UTC

0

Can't connect to internet after manual arch install

I couldn't connect to the interent on a fresh installation of arch linux on a 2015 macbook pro, but I could connect on void linux, which I was previously using and I could connect to perform the installation. I don't know if it's related, but when it would successfully connect before it would send a [bcrmf-gibberish] in the tty. Also, I can use the nm-applet wifi menu, but it won't connect and keep re-prompting me for a password then giving up. Any way to fix this?

Do I need to install a specific firmware package or something? i've tried looking it up, but the drivers baked in the kernel should support my BCM43602 chip, idk what's wrong.

it seem the firmeware is failing to load for brcm/brcmfmac43602 with error -2 when I check the journal with journalctl

Should I archinstall instead, go for a re-install? I might move to an arch fork or back to void, which worked perfectly.

7 Comments
2024/12/01
03:44 UTC

24

AMD vs. NVIDIA in 2024: Which GPU Should I Choose for New Arch Setup?

I'm building a new PC and struggling to decide on a GPU. Initially, I was leaning towards AMD (despite the limited selection of compact, powerful models) because of NVIDIA's historically problematic proprietary drivers.

However, while revisiting the Arch Wiki, I noticed that NVIDIA seems to have made significant progress with their drivers (e.g., the nvidia-open package). It also looks like Wayland support has improved quite a bit and etc.

In 2024, is NVIDIA a good choice for Arch Linux users? How stable are their drivers, and would you recommend going for NVIDIA over AMD?

Looking forward to hearing your thoughts!

39 Comments
2024/12/01
00:12 UTC

4

Is it possible to set blur for specific window using picom?

I have got three polybars on the same monitor; left, center and right. I want to let blur strength for the middle bar to something lower than the rest. Or, if possibly, no blur at all. but I can't seem to figure it out.

WM_NORMAL_HINTS(WM_SIZE_HINTS):

program specified location: 672, 16

program specified size: 576 by 48

program specified minimum size: 576 by 48

program specified maximum size: 576 by 48

program specified base size: 576 by 48

_NET_WM_PID(CARDINAL) = 15042

_NET_WM_DESKTOP(CARDINAL) = 4294967295

_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_ABOVE

_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK

WM_CLASS(STRING) = "polybar", "Polybar"

WM_NAME(STRING) = "polybar-center_HDMI-A-0"

_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 64, 0, 0, 0, 0, 0, 672, 1247, 0, 0

_NET_WM_STRUT(CARDINAL) = 0, 0, 64, 0

this is what I get from xprop for my middle bar. I was hoping to use the WM_NAME but that didn't work. Any help?

2 Comments
2024/11/30
23:35 UTC

0

Fix WiFi on new install with KDE Plasma?

Hello everyone! I have been trying to connect to WiFi on my brand new install of Arch (desktop environment is KDE Plasma) but I have been unable to. I get some issue where it says I have an internet connection but can’t do anything, the laptop is a 2018 MacBook Pro with the t2 kernel, can someone please help?

thanks!

2 Comments
2024/11/30
22:59 UTC

0

im tring to fix grub after booting into arch and when i run update-grub it says command not found and whem i run grub-install /dev/sda it says it cant find efi directory.

something on the internet said to run update-grub but when i did that it said command not found and the other command i tried also didnt work. what do i do?

8 Comments
2024/11/30
22:57 UTC

0

unable to exit sleep mode

Hello everyone,

I have a problem with my new arch config: after 1 hour without doing anything, the computer goes into sleep mode (normal), but then I can no longer turn it back on no matter what key I press. I have to turn off the computer with the button and reboot arch.

Do you have an idea?

Thanks in advance

2 Comments
2024/11/30
22:52 UTC

3

What should I know before installing arch and windows 10 on separate drives?

Soon I'm planning on switching to daily driving arch on a main ssd, and then keeping a 500gb ssd with windows for games that will never be supported like league, val, etc... so I can still play with friends. For a while I will keep a HDD or partition for windows so that I have time to figure out how to get essential (for me) things working that aren't natively supported and then format it for linux once I'm ready to ditch it.

I've installed arch with a working DE on a VM, but I know the process will have crucial differences if I'm planning on keeping space for Windows. Seriously need to avoid fucking up my windows install. I already have it installed, but will change the drive it's installed on before hand, so I was planning on backing it up and unplugging while I install arch on a clean ssd. I used this install guide and searched up every step that I didn't understand on the wiki. I understand the partitioning, formatting, mounting process and most of the configuration, but I don't understand UEFI, GPT, FSTAB, efi or many of the specific things around boot loaders that I understand to be important to not fucking up windows.

What are the important things I need to keep in mind for this or differences in the installation process for having arch and windows on separate drives? I'm trying to use the wiki as much as possible but there's still a lot of things that go over my head as someone who's used windows their whole life.

16 Comments
2024/11/30
20:54 UTC

0

How can i change my monitor refresh rate? It has 180hz, but i can choose only 60, on windows it worked normally (repost with more info)

I have an old dell laptop, use KDE Plasma, hdmi cable, acer monitor with 1080p 180hz, on windows i could use it on 720p with 160hz, but i cant set it like that here, why? and how?

3 Comments
2024/11/30
21:18 UTC

9

Alternative to caffeine.

I want to know if there is some terminal application that can be used like caffeine app to disable and enable auto suspend, and no need need to install application outside repository or extension.

9 Comments
2024/11/30
21:04 UTC

35

What DE is this guy's using to have his Arch look like this?

78 Comments
2024/11/30
20:42 UTC

0

Steam games not launching after having played them already

This happens for both native and non-native games using proton. I play, and it works fine. But then, when I tryreturned to play again it says running, but the actual game doesn't show and the only way to fix it is to reboot. I reinstalled arch and it worked for a while, but now the problem has come back.

2 Comments
2024/11/30
20:28 UTC

0

Add entry to systemd-boot to load the arch install stored on an usb. How?

Hi to all,

I have the arch install media installed in an usb hdd. I use it mainly to periodically do offline backup using clonezilla.

I'd like to add an entry to the systemd-boot so that to be able to load the arch install instead of the regular installed system when I want to do the backup (in order to avoid the need to change the UEFI boot order each time).

Is it possible to do that? How?

I tried to find on the wiki but, I've not found info for this specific matter.

Thank you for your help!

6 Comments
2024/11/30
19:31 UTC

0

Hardware compatibility in new laptops

I want to buy a new laptop and I don't know where to check for hardware compatibility with arch. I ask this because the laptop I wanna buy is really new and, for example, I know that the Snapdragon laptops are not compatible with arch. I don't intend on buy those, however the chips of the laptops I want to buy are also new so maybe there is some problem with those, although I am not certain because those are also x86.

I am interested for example in the Lenovo Yoga 7i Aura, or Laptops with the new Intel Lunar chips.

3 Comments
2024/11/30
18:34 UTC

9

zathura-pdf-poppler vs zathura-pdf-mupdf

what are the difference between those two?

3 Comments
2024/11/30
17:27 UTC

Back To Top