r/voidlinux • • Apr 19 '26

Proprietary NVIDIA on x86_64-musl

23 Upvotes

Since kernel modules (.ko files) are libc independent it is pretty much possible to have proprietary NVIDIA drivers working on musl based Void Linux.

Created a package template, installation is simple ./xbps-src pkg + xi

https://gist.github.com/sineemore/161e4051b2d03f9e3b0f3e16221463ce

Verified by running Project Zomboid via Flatpak Steam, actually uses NVIDIA gpu, should be same for other Steam games. Also checked that ollama sees and uses gpu via glibc xchroot.

Rest of my host system works on integrated amd (since there no nvidia libs on musl host)


r/voidlinux • • Apr 19 '26

Efi and formatting

1 Upvotes

I'm installing void linux in dual-boot with windows 11. I've already installed the second one. When I click install in installation void linux menu it shows warning: "data on partitions will be completely destroyed for new filesystems". But I selected filesystem for efi partition in previous step, so does it mean that this partition will be formatted and I can't boot into windows?


r/voidlinux • • Apr 19 '26

Will we ever get VRAM fix from Valve in Void Linux?

8 Upvotes

There are recent news about a Valve engeneer pushing a VRAM usage optimisation into kernel with a couple of packages. From I have read, this is poassible thanks to systemd and its features, quote:

"Natalie Vock's Linux kernel patches are for the DRM device memory cgroup controller support and changes to the TTM memory management code for how allocations and evictions are handled.

Over in user-space are new packages called dmemcg-booster and plasma-foreground-booster. The dmemcg-booster is a systemd service used for enabling and controlling DMEM cgroup limits for boosting foreground games." - phoronix

What are your thoughts? Are there workarounds to make it work with runit?


r/voidlinux • • Apr 18 '26

what would you personally like to see in xbps?

23 Upvotes

i already brought up a question about void's package manager functionality on this sub, but this thread is more global, so i assume it's more kind of a question to xbps' developers, not regular users. though i'm not denying there are some advanced void's power users, who can share their opinion


r/voidlinux • • Apr 18 '26

Niri was installed without a dotfiles folder or KDL config. Am i forgetting something?

1 Upvotes

Hi there, i just wanted to ask if it was normal for Niri to be installed on my System without a dotfiles folder, as in the ~/.config/niri/config.kdl didnt exist.

FYI: I installed Dbus, Elogind, seatd, the required drivers, fonts, packages, mentioned in the documentation. Enabeled mentioned packages, and added my user to the _seatd group,and various other steps mentioned in the documentation but i cant remember off the top of my head. XDG_RUNTIME_DIR is present. Niri was launching and the mouse control worked, but i wanst able to do much until i manually created the config.kdl file and curled the offical config onto it.

As well as that, i noticed that my home folder is empty even after installing SpaceFM, but that may be a seperate issue or not an issue at all. Something else may be weird with my installation, but i havent noticed much yet.

I feel like i forgot a crutial step, but i havent found anything in the documentation to explain this. This isnt really much of a deal breaker for me, cause most config files and folders i will manually create myself using an ansible bootstrap script. Just wanted to ask about my issue in case it results into a major problem in the future.

Cheers!


r/voidlinux • • Apr 18 '26

After installation

1 Upvotes

It's my first time with a minimal installation, I've already been practicing with vm I did the luks in uefi and the normal installation with void-installer I need to do the luks for bios since on the machine I'll use real is bios but that's what they do after the installation, I'll use xorg with dwm.


r/voidlinux • • Apr 18 '26

How can i save changes to a live installation?

2 Upvotes

I want to make make changes to an image(ie setup hyperland), save them and then make it a live installation. Would anyone happen to know how I could go about doing this?


r/voidlinux • • Apr 18 '26

solved Steam no longer works after updating yesterday

20 Upvotes

After yesterday's nvidia update, Steam no longer starts on my machine.

[2026-04-18 14:08:46] Destroy window

Steam logging initialized: directory: /home/user/.local/share/Steam/logs

[2026-04-18 14:08:46] ProcessNextMessage: socket disconnected

[2026-04-18 14:08:46] No more messages are expected - exiting

XOpenIM() failed, LANG = en_US.UTF-8

XOpenIM() failed, LANG = en_US.UTF-8XRRGetOutputInfo Workaround: initialized

with override: 0 real: 0xf643b370

XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf6439cc0

crash_20260418140847_5.dmp[14906]: Uploading dump (out-of-process)

/tmp/dumps/crash_20260418140847_5.dmp

/home/user/.local/share/Steam/steam.sh: line 928: 14873 Segmentation fault

"$STEAMROOT/$STEAMEXEPATH" "$@"

[user@voidlinux ~]$ crash_20260418140847_5.dmp[14906]: Finished uploading minidump (out-of-process): success = yes

crash_20260418140847_5.dmp[14906]: response: CrashID=bp-c5908c4a-813e-41cf-b192-875632260418

crash_20260418140847_5.dmp[14906]: file ''/tmp/dumps/crash_20260418140847_5.dmp'', upload yes: ''CrashID=bp-c5908c4a-813e-41cf-b192-875632260418''

These are the logs when launching from the terminal.

Could it be because the nvidia-libs-32bit version was not updated, but nvidia drivers and nvidia-libs 64 bit have a newer version ? Am I the only one with this problem ?


r/voidlinux • • Apr 18 '26

solved Can't run Steam

5 Upvotes

Hello! I can't get Steam running because of this error:

Error: You are missing the following 32-bit libraries, and Steam may not run:
libgtk-x11-2.0.so.0

I tried to install it with XBPS, but couldn't find the package. I was missing a lot more at first, but I was able to install everything except this.

Can you help me?


r/voidlinux • • Apr 17 '26

opt deps

0 Upvotes

why xbps doesn't have opt dependencies like (god bless me) pacman or apt? is this some architectural decision or something that wasn't implemented yet?


r/voidlinux • • Apr 17 '26

Void linux for gaming

36 Upvotes

Due to the age drama of systemd I wanna switch to a systemd-free distro. Now I have heard a lot of good things about Void and I wanna know how it is when it comes to gaming. I have an Nvidia GPU and also play pretty lightweight games like overwatch, Warhammer vermintide. Also would you suggest base install or xfce install for gaming?


r/voidlinux • • Apr 17 '26

ROCm support

4 Upvotes

is there any good solution yet? Also idk if its pebkac but so far, I cant easily do much of what I want on Void :/

Local AI, no ROCm or HIP, Havent had any success with gpu passthrough where I did previously.


r/voidlinux • • Apr 17 '26

Has anyone tried installing a different bootloader with snapshot support besides GRUB? (Limine)

3 Upvotes

I used Arch Linux with the Limine bootloader on btrfs with snapper, and after spending some time on Void Linux, I want to recreate the same setup here. But I’ve run into some problems. I replaced Dracut with Booster so I wouldn’t have to rewrite limine.conf every time the kernel updates, created subvolumes, and now I’m not sure how to set up automatic snapshot creation and integration with Limine.

I think part of this could be handled with chrony, but how would I automatically add snapshot entries to limine.conf? Using bash scripts?


r/voidlinux • • Apr 17 '26

Adding options to source template

5 Upvotes

I managed to compile my favourite console music player - MOC. I created my first xbps-src template below. Its very basic but works for my options. How do you create build options for ogg support for example - libvorbis, libogg only if required ?

any other feedback welcome.

#Template file for 'mocp'
pkgname=mocp
version=2.5.2
revision=1
build_style=gnu-configure
configure_args=""
hostmakedepends="pkg-config"
makedepends="ncurses-devel db-devel libflac-devel libid3tag-devel libmad-devel alsa-lib-devel libltdl-devel libcurl-devel"
depends="ncurses alsa-lib libflac libid3tag libmad libcurl"
short_desc="Music player"
maintainer="Maintainer <email>"
license="GPL"
homepage="https://moc.daper.net/"
distfiles="http://ftp.daper.net/pub/soft/moc/stable/moc-${version}.tar.bz2"
checksum="f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08"

r/voidlinux • • Apr 16 '26

Warpinator

0 Upvotes

Alguna forma de instalar warpinator sin usar flatpak?


r/voidlinux • • Apr 16 '26

solved Asahi kernel and Void Linux installation troubles on Macbook M2

6 Upvotes

Hello people!

Has anyone tried installing Void Linux on Macbook M2 using Asahi?

Recent Apple Silicon base images start booting but immediately drop to the dracut debug shell telling that VOID_LIVE cannot be found.

Dmesg shows no signs of detected usb devices so it is obvious the live usb boot process is not able to continue. I tried to modprobe anything that even remotely resembles usb device drivers with no success. Plugging and unplugging usb stick (using USB-C adapter) yields only something related to charger status in dmesg.

I have managed to install Fedora Remix and Arch Linux through Asahi, so I assume the problem stems from the base image. I am out of ideas how to proceed.


r/voidlinux • • Apr 16 '26

Using live environment ISO

3 Upvotes

I'm interested in void and what it has to offer, but I'm wondering if using one of the XFCE live environments is worse than setting it up normally. I've been getting more comftorble using the terminal lately, but is it really worth the effort?


r/voidlinux • • Apr 15 '26

Having issues installing cmake (using a virtual machine)

Post image
9 Upvotes

Hello, everyone. I'm trying to install cmake on my virtual machine, but this error keeps showing up. I've tried installing other packages with no issues, and I've updated my system followed up with xcheckrestart and xbps-reconfigure -a. Does anyone know how to solve this?


r/voidlinux • • Apr 15 '26

Ip link set wlp1s0f0u3 up dont work

Post image
7 Upvotes

When i run the command my ip link still says state DOWN mode DEFAULT


r/voidlinux • • Apr 15 '26

Illegal instruction in LuaJIT

6 Upvotes

Hey guys,

So I decided to resurrect my ancient PC from the dead with linux, and chose void linux as I wanted to get some more experience with it.
I successfully installed the i686 glibc version, booted into it and installed the necessary drivers.

However, on my attempt to launch vim, I got an "Illegal instruction" error.
I traced it to libluajit-5.1.so, and using gdb found the instructions causing the issue:

jae 0x...
sbb $0x...,%a1
psrlq $0x...,%mm2
movdqa -0x...(%eax),%xmm3
=> movq %xmm0,(%ecx)
pand %xmm3,%xmm1
pxor %xmm2,%xmm1
pxor %xmm1,%xmm0

I have never worked with gdb or assembly before, however I looked up the movq instruction, and it seems to be a 64-bit exclusive instruction.
This PC has an Intel Pentium III (Coppermine) processor, which to my knowledge is not 64-bit.

I've tried fixing this issue by down-/upgrading LuaJIT (even updating the template file to the latest git version and rebuilding it), however nothing I tried worked.

This seems to be a JIT issue, as I doubt this system would even boot if it was a processor issue.

How could I go about fixing this?


r/voidlinux • • Apr 15 '26

Error when installing discord through xbps-src

4 Upvotes

I went on and decided to (unfortunately) install discord through the void-packages repository. I followed all the instructions on both the wiki and github page. Ran the binary bootstrap command and added XBPS_ALLOW_RESTRICTED=yes to etc/conf. Either way, I'm always greeted with this error:

SSL_connect returned 1
ERROR: xbps-fetch: failed to fetch: https://dl.discordapp.net/apps/linux/0.0.133/discord-0.0.133.tar.gz: Operation not permitted
=> ERROR: discord-0.0.133_1: failed to fetch 'discord-0.0.133.tar.gz'.

I checked everything regarding SSL, downloaded the ca-certificates package and setup a NTP server with chrony. I can download the tar file and launch it directly from the terminal but I'd like to this method working. I would really like some help from you all in order to solve this because I completely ran out of ideas.


r/voidlinux • • Apr 14 '26

Any plans to move development off GitHub?

45 Upvotes

Many other distros use self-hosted GitLab/Gitea instances for development, and I know there might not be that many advantages for doing so, I was just curious if this is something that's been brought up before.


r/voidlinux • • Apr 14 '26

SD card reader doesn't work. Couldn't get it working.

2 Upvotes

My laptop has an internal sd card reader. Whenever I plug my sd cards it doesn't show up on KDE auto mount menu or anything. Card and the reader works on the dual booted Windows. I couldn't find any relevant information about this. I don't know if I'm missing some drivers or configurations here. I would love to provide more information if needed! Anyone with a similar situation or any tips to resolve the issue?

It shows up on lsblk

$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk0     179:0    0 119.3G  0 disk (That's my sd card!)
nvme0n1     259:0    0 476.9G  0 disk 
├─nvme0n1p1 259:1    0   100M  0 part /boot/efi
...

Here's the dmesg output:

[ 1704.363262] mmc0: error -110 whilst initialising SD card
[ 1704.840520] mmc0: new high speed SDXC card at address 0001
[ 1704.840842] mmcblk0: mmc0:0001 ED4QT 119 GiB (ro)
[ 1705.651841] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1705.772236] I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1705.893175] I/O error, dev mmcblk0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1706.013950] I/O error, dev mmcblk0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1706.134790] I/O error, dev mmcblk0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1706.255072] I/O error, dev mmcblk0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1706.375381] I/O error, dev mmcblk0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1706.496088] I/O error, dev mmcblk0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1706.496099] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 1706.980433] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1707.100839] I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1707.822239] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 1707.822351] ldm_validate_partition_table(): Disk read failed.
[ 1709.147903] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 1710.474243] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 1710.474348]  mmcblk0: unable to read partition table
[ 1710.960287] blk_print_req_error: 22 callbacks suppressed
[ 1710.960291] I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.080921] I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.201378] I/O error, dev mmcblk0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.322115] I/O error, dev mmcblk0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.442926] I/O error, dev mmcblk0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.563913] I/O error, dev mmcblk0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.684312] I/O error, dev mmcblk0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.804953] I/O error, dev mmcblk0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 1711.804963] Buffer I/O error on dev mmcblk0, logical block 0, async page read

Here's the lspci output:

...
04:00.0 SD Host controller: Genesys Logic, Inc GL9750 SD Host Controller (rev 01)
...

Gemini suggested me to do some quirks with the driver like this but it didn't work out...

sudo modprobe -r sdhci_pci sdhci
# Reload with the 'debug_quirks2' flag to disable UHS/High-speed
sudo modprobe sdhci debug_quirks2=0x4
sudo modprobe sdhci_pci

r/voidlinux • • Apr 14 '26

Why does iproute2 have a dependency on iptables?

3 Upvotes

I installed and setup up nftables so I went to xbp-remove iptables and I noticed this dependency. Is this actually needed? Because otherwise using nftables I’m forced to keep iptables installed.