Nixpkgs: Playonlinux complains about OpenGL and jq

Created on 25 Feb 2019  路  5Comments  路  Source: NixOS/nixpkgs

Issue description

I've tried running playonlinux recently and got the following messages:

Playonlinux is unable to find 32 bits OpenGL libraries

You might encounter problems with your games
Playonlinux is unable to find 64 bits OpenGL libraries

You might encounter problems with your games
Playonlinux cannot find jq (from jq)

You should install it to use Playonlinux

POL couldn't download wine versions nor create the virtual drivers.

Steps to reproduce

I've just added playonlinux to configuration.nix.

Technical details

The last issue seemed easy enough to solve, I've added jq to the playonlinux derivation, now it's able to fetch wine versions e create the drives (the last annoying message does not show up anymore), however, some errors occur while installing applications.

Outputs of nix-shell -p nix-info --run "nix-info -m":

 - system: `"x86_64-linux"`
 - host os: `Linux 4.20.11, NixOS, 19.03pre170287.19eedaf867d (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2pre6600_85488a93`
 - channels(root): `"nixos-19.03pre170287.19eedaf867d"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
stale

All 5 comments

@mtrsk have you tried activating OpenGL on the system?

hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;

Might be similar to Steam: https://nixos.wiki/wiki/Steam

https://nixos.org/nixos/options.html#opengl

Hello @davidak, I already had driSupport32Bit enabled for steam, after enabling opengl I got the following boot warnings on stage-2:

/etc/kbd directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/zoneinfo directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/fonts directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/terminfo directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/dbus-1 directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/profiles/per-user/usul directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/udev/rules.d directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/systemd/system-generators directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/systemd/system directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.
/etc/systemd/user directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.

Which may be related to this. Is playonlinux working fine for you? Are you on stable, perhaps?

@mtrsk These warnings are not caused by enabling opengl and are quite harmless anyway. I'd look for a cause elsewhere.

Getting the same warning for 32 and 64 bits.

Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the
    related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on
    irc.freenode.net.
Was this page helpful?
0 / 5 - 0 ratings