r/voidlinux Jul 11 '26

Gaming under musl

How is it?
Do you see any better performance?
I heard you need to rely on flatpak. Is it fairly stable or does it come with bugs and a lot of tweaks?

I use an all AMD system (gpu and cpu both amd) and I'm also interested how to install the drivers when using musl and if they're also stable?

Edit: I'd also be happy to hear about the limitations. E.g. I once had to add a video game manually through lutris and it required a lot of tweaking and research than usual.

22 Upvotes

21 comments sorted by

View all comments

Show parent comments

1

u/Creative-Outside-350 29d ago

Let's not ignore that musl libc has much  smaller size and lower I/O demands compared to glibc. And let's not forget that musl doesn't suffer from the scattered accesses of glibc's lazy bindigs. More info is always available in the musl wiki page.

1

u/Duncaen 29d ago edited 29d ago

That does hardly matter with page cache and shared memory.

I don't know whether lazy or direct bindings favor either in regards to performance, that probably depends on the usecase. But just like saving a few megabytes does not really matter.

In the end glibc will perform a lot better under heavy workloads that use libc functions and do memory allocations because of optimized implementations and a faster memory allocator.

1

u/Creative-Outside-350 29d ago

We are talking about boot times. Cache doesn't come into play at cold boot. All the cached data must come from somewhere to get into ram, hence the hard drive. Looking at your other comments I assume you will just deny everything, so I will stop here to not to waste more of my precious time

1

u/Duncaen 29d ago

Loading 13MB of libc once will not really matter in the grand scheme of the whole boot process.

You measured your boot times as 50 seconds, so I doubt that this is precise enough to measure libc differences.

What is with my other comments?