oasislinux / oasis

a small statically-linked linux system
Other
2.75k stars 84 forks source link

Prismlauncher does not work #102

Closed ErnestNoga closed 3 months ago

ErnestNoga commented 3 months ago

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 to LD_LIBRARY_PATH but I get another crash which says that libGL.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.

apprehensions commented 3 months ago

Oasis is not for you.

ErnestNoga commented 3 months ago

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.

apprehensions commented 3 months ago

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.

michaelforney commented 3 months ago

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.

michaelforney commented 3 months ago

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.

ErnestNoga commented 3 months ago

@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

ErnestNoga commented 3 months ago

@michaelforney So do I have to build mesa from source? Thanks for the explenation

ErnestNoga commented 3 months ago

@michaelforney Okay thanks i'll try pkgsrc dwm and mesa

ErnestNoga commented 3 months ago

@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.

michaelforney commented 3 months ago

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

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.