Closed ErnestNoga closed 8 months ago
Oasis is not for you.
I know that oasis linux isn't meant to be a gaming distro, but I wan't to see if I could do it anyway since I want both extreme minimalism and decent usability for me. Since minimalism is more important to me I decided to try with most suckless distro I could find and that was oasislinux. I am prepared to sacrifice playing games if I have to and was going to do so, but first I decided to try asking for help since I might not have to sacrifice anything.
As someone who was once (I used oasis, but I later knew it was completely not for me granted that I advocate for suckless) in your position, give Alpine a shot.
oasis is a statically linked system. OpenGL drivers are designed around dynamic linking, so you'll need to install that software some other way. Note also that wld has very limited support for hardware acceleration, and uses software rendering on other GPUs. For those other GPUs, only wl_shm is supported, which means mesa is likely to fall back to software 3D rendering, which might be very slow, so you'll probably want to use some other display server as well.
I don't play games that often, but when I do, I use xorg and mesa installed with pkgsrc, and flatpak steam. Or retro games with an emulator.
@apprehensions Thank you for your advice, it was very fitting, but I used Alpine Linux before and it was great, I even managed to replace sysvinit and openrc with sinit/svc and udev with smdev/nldev but I wanted to try something more minimal and a system that would be suckless out-of-the-box
@michaelforney So do I have to build mesa from source? Thanks for the explenation
@michaelforney Okay thanks i'll try pkgsrc dwm and mesa
@michaelforney how did you make steam look for libraries in /pkg? I'm having some issues with pkgsrc and want to adapt it to nix.
I used steam with flatpak. Nix should work too.
In general though, to get the dynamic loader to find libraries, you need to do one of
DT_RUNPATH
header listing directories in which to search for shared libraries. This is what pkgsrc does./etc/ld-musl-x86_64.path
. On glibc systems, I think the equivalent is ld.so.conf
.LD_LIBRARY_PATH
environment variable.This is well outside the scope of oasis, though, so I'm going to close this issue. Keep in mind that the github issue tracker is for reporting issues in oasis, not a support channel. You are welcome to ask questions on IRC. If I have the time, I or others might be able to help out.
I am currently attempting to daily drive oasis linux, mostly successfully so, but I have been unable to get prismlauncher to work. I tried both nix and flatpak (installed through nix). Whenever I try to launch minecraft in Prismlauncher I get a message which says that GLX extension could not be found, I have been able to fix that by adding libglvnd
/lib
toLD_LIBRARY_PATH
but I get another crash which says thatlibGL.so.1
could not be found. I believe this is an issue on oasis linux's side so I'm reporting it here. I'm stumped on what to do, I tried copying that library to system /lib and that did not work. Thanks for any help.