-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed fatal error with libX11 and libGL while building playonlinux #56997
Conversation
Nice, I'm still getting
and a window pop up saying "PlayOnLinux is unable to find 32bits OpenGL libraries. You might encounter problem with your games". On NixOS this can probably be fixed by telling it about /run/opengl-driver-32/lib, there's a bunch of examples of this in nixpkgs |
And I actually think you should get the drivers from |
Ok, this is really something with my config then. Will close this and the issue I've opened some days ago. |
No, I mean, you should wrap the package definition with /run/opengl-driver/lib instead of adding it to the library paths. The fix for the build is still needed, it doesn't work on master |
@infinisil Oh I see, sorry. I'll take a better look then and submit once it works. |
The errors about OpenGL at runtime are not new, I wouldn't let them hold up merging this -- at least it gets it to build. |
Indeed, but some problems persist. Now playonlinux can't create 64 bits volumes due to wine crashing, 32 bits are fine as far as I can see. Edit: The next version of POL (still on alpha) might be easier to support |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/has-anyone-got-playonlinux-working-on-19-03/2683/2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess let's merge this then
Make sure to backport and unmark as broken. |
Where is it marked as broken? |
|
d2d3e27
to
b97631f
Compare
b97631f
to
2f54c28
Compare
I rebased on top of the commit that marked it as broken, then amended the fixing commit to remove the |
Cherry-picked to 19.03 in 3d98c52 (and parent) Should I also backport to 18.09? |
This is my first attempt on fixing a package on NixOS, any advice is extremely welcome.
Motivation for this change
I was experiencing the following errors while building playonlinux 4.3.4 on unstable [19.09pre171786.34aa254f9eb (Loris)]
Things done
I've changed some
buildInputs
andmakeLibraryPath
untilnix-build -A playonlinux
finally compiled.sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)