nixGL icon indicating copy to clipboard operation
nixGL copied to clipboard

Running kitty with nixGL causes all software ran under it to gain nixGL status.

Open soupglasses opened this issue 1 year ago • 8 comments

When running kitty such as nix run github:guibou/nixGL#nixGLIntel -- kitty, it causes all programs run inside it to also get the nixGL treatment. This causes issues with system tooling such as vainfo.

Are there any ways to avoid recursive nixGL for everything ran inside of kitty?

Output of distro's `vainfo` when ran under `nixGLIntel kitty`
~ % vainfo 
libva info: VA-API version 1.14.0
libva info: Trying to open /nix/store/7fzjsr2xh13lvvr7545jqw41nskxvpf5-intel-media-driver-22.5.0/lib/dri/iHD_drv_video.so
libva error: /nix/store/7fzjsr2xh13lvvr7545jqw41nskxvpf5-intel-media-driver-22.5.0/lib/dri/iHD_drv_video.so has no function __vaDriverInit_1_0
libva info: Trying to open /nix/store/v4a1c7m02rp9f829zzl7nc1c7mpgxpg9-intel-vaapi-driver-2.4.1/lib/dri/iHD_drv_video.so
libva info: Trying to open /nix/store/aw89k5734z3z60lkl0mxzz58lc6xrqhr-intel-vaapi-driver-2.4.1/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /nix/store/7fzjsr2xh13lvvr7545jqw41nskxvpf5-intel-media-driver-22.5.0/lib/dri/i965_drv_video.so
libva info: Trying to open /nix/store/v4a1c7m02rp9f829zzl7nc1c7mpgxpg9-intel-vaapi-driver-2.4.1/lib/dri/i965_drv_video.so
libva error: /nix/store/v4a1c7m02rp9f829zzl7nc1c7mpgxpg9-intel-vaapi-driver-2.4.1/lib/dri/i965_drv_video.so has no function __vaDriverInit_1_0
libva info: Trying to open /nix/store/aw89k5734z3z60lkl0mxzz58lc6xrqhr-intel-vaapi-driver-2.4.1/lib/dri/i965_drv_video.so
libva error: dlopen of /nix/store/aw89k5734z3z60lkl0mxzz58lc6xrqhr-intel-vaapi-driver-2.4.1/lib/dri/i965_drv_video.so failed: /nix/store/aw89k5734z3z60lkl0mxzz58lc6xrqhr-intel-vaapi-driver-2.4.1/lib/dri/i965_drv_video.so: wrong ELF class: ELFCLASS32
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

soupglasses avatar Oct 03 '22 07:10 soupglasses