nix-community / nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou]
628 stars 76 forks source link

RTX 3060 Test.hs Errors #135

Open MelihDarcanxyz opened 1 year ago

MelihDarcanxyz commented 1 year ago

In the README.md, it says we can contribute with running the test suite. I couldn't find a way to upload the result so here I am.

Running tests for nixGL
It can take a while, this will build and test all drivers in the background

Sanity
  OpenGL
    fails with unwrapped glxinfo64 [✘]
    fails with unwrapped glxinfo32 [✘]
  Vulkan
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libvulkan_lvp.so)
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libvulkan_virtio.so)
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libvulkan_dzn.so)
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libvulkan_radeon.so)
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libvulkan_intel_hasvk.so)
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libvulkan_intel.so)
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libc.so.6: version `GLIBC_2.28' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libVkLayer_MESA_device_select.so)
    fails with unwrapped vulkaninfo64 [✘]
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libvulkan_virtio.so)
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libvulkan_radeon.so)
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libvulkan_intel_hasvk.so)
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libvulkan_intel.so)
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libvulkan_lvp.so)
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libvulkan_dzn.so)
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libc.so.6: version `GLIBC_2.28' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libVkLayer_MESA_device_select.so)
    fails with unwrapped vulkaninfo32 [✘]
NixGL
  Mesa
    OpenGL
error: Package ‘intel-gmmlib-19.2.3’ in /nix/store/s2jr64p2ajzfsfikfblyz1hh9b4y3yp6-source/pkgs/development/libraries/intel-gmmlib/default.nix:21 is not supported on ‘i686-linux’, refusing to evaluate.

       a) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
      32 bits [✘]
      64 bits [‐]
        # PENDING: exception in beforeAll-hook (see previous failure)
    Vulkan
Warning, nixVulkanIntel overwriting existing LD_LIBRARY_PATH
ERROR: [Loader Message] Code 0 : /nix/store/2k5spfqknb2z6d332wr5833d5cfw3jn4-mesa-19.1.5-drivers/lib/libvulkan_intel.so: wrong ELF class: ELFCLASS64
ERROR: [Loader Message] Code 0 : /nix/store/2k5spfqknb2z6d332wr5833d5cfw3jn4-mesa-19.1.5-drivers/lib/libvulkan_radeon.so: wrong ELF class: ELFCLASS64
ERROR: [Loader Message] Code 0 : /nix/store/5ka41zhii1bjss3f60rzd2npz9mxj060-glibc-2.27/lib/libc.so.6: version `GLIBC_2.28' not found (required by /nix/store/0hlk4wrl8klqcgwxdlm835smld718ify-mesa-23.0.3-drivers/lib/libVkLayer_MESA_device_select.so)
/build/source/vulkaninfo/vulkaninfo.c:5884: failed with VK_ERROR_INITIALIZATION_FAILED
      32 bits [✘]
Warning, nixVulkanIntel overwriting existing LD_LIBRARY_PATH
ERROR: [Loader Message] Code 0 : /nix/store/vxr6v1wpf60c9ayrpqc3m7qg58m40biq-mesa-19.1.5-drivers/lib/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /nix/store/vxr6v1wpf60c9ayrpqc3m7qg58m40biq-mesa-19.1.5-drivers/lib/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libc.so.6: version `GLIBC_2.28' not found (required by /nix/store/vf5jbm616whd8nmk2347rg54pkialgkj-mesa-23.0.3-drivers/lib/libVkLayer_MESA_device_select.so)
/build/source/vulkaninfo/vulkaninfo.c:5884: failed with VK_ERROR_INITIALIZATION_FAILED
      64 bits [✘]
  Nvidia - Bumblebee
    OpenGL
error: attribute 'nixGLNvidiaBumblebee' in selection path 'nixGLNvidiaBumblebee' not found
      32 bits [✘]
      64 bits [‐]
        # PENDING: exception in beforeAll-hook (see previous failure)
    Vulkan
      32 bits [‐]
        # PENDING: No reason given
      64 bits [‐]
        # PENDING: No reason given
  Nvidia
    OpenGL
error: attribute 'nixGLNvidia' in selection path 'nixGLNvidia' not found
      32 bits [✘]
      64 bits [‐]
        # PENDING: exception in beforeAll-hook (see previous failure)
    Vulkan
error: attribute 'nixVulkanNvidia' in selection path 'nixVulkanNvidia' not found
      32 bits [✘]
      64 bits [‐]
        # PENDING: exception in beforeAll-hook (see previous failure)

Failures:

  Test.hs:79:24: 
  1) Sanity.OpenGL fails with unwrapped glxinfo64
       expected: Nothing
        but got: Just "OpenGL version string: 4.6.0 NVIDIA 530.41.03"

  To rerun use: --match "/Sanity/OpenGL/fails with unwrapped glxinfo64/"

  Test.hs:83:24: 
  2) Sanity.OpenGL fails with unwrapped glxinfo32
       expected: Nothing
        but got: Just "OpenGL version string: 4.6.0 NVIDIA 530.41.03"

  To rerun use: --match "/Sanity/OpenGL/fails with unwrapped glxinfo32/"

  Test.hs:86:41: 
  3) Sanity.Vulkan fails with unwrapped vulkaninfo64
       did not get expected exception: IOException

  To rerun use: --match "/Sanity/Vulkan/fails with unwrapped vulkaninfo64/"

  Test.hs:89:41: 
  4) Sanity.Vulkan fails with unwrapped vulkaninfo32
       did not get expected exception: IOException

  To rerun use: --match "/Sanity/Vulkan/fails with unwrapped vulkaninfo32/"

  Test.hs:35:5: 
  5) NixGL.Mesa.OpenGL 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: nix-build "./" "-A" "nixGLIntel" "-I" "nixpkgs=channel:nixos-19.09-small" (exit 1): failed

  To rerun use: --match "/NixGL/Mesa/OpenGL/32 bits/"

  Test.hs:53:5: 
  6) NixGL.Mesa.Vulkan 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: /nix/store/5b7hxvl6cvlg5cpkg570qa40vg0hm62d-nixVulkanIntel/bin/nixVulkanIntel "/nix/store/v084dhiad8b8lqxiy02ma2025nxmavcd-vulkan-tools-1.1.114.0/bin/vulkaninfo" (exit 255): failed

  To rerun use: --match "/NixGL/Mesa/Vulkan/32 bits/"

  Test.hs:56:5: 
  7) NixGL.Mesa.Vulkan 64 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: /nix/store/5b7hxvl6cvlg5cpkg570qa40vg0hm62d-nixVulkanIntel/bin/nixVulkanIntel "/nix/store/7rggmjdqc9p7y0y0vp2x4byx59qfmnpw-vulkan-tools-1.1.114.0/bin/vulkaninfo" (exit 255): failed

  To rerun use: --match "/NixGL/Mesa/Vulkan/64 bits/"

  Test.hs:35:5: 
  8) NixGL, Nvidia - Bumblebee, OpenGL, 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: nix-build "./" "-A" "nixGLNvidiaBumblebee" "-I" "nixpkgs=channel:nixos-19.09-small" (exit 1): failed

  To rerun use: --match "/NixGL/Nvidia - Bumblebee/OpenGL/32 bits/"

  Test.hs:35:5: 
  9) NixGL.Nvidia.OpenGL 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: nix-build "./" "-A" "nixGLNvidia" "-I" "nixpkgs=channel:nixos-19.09-small" (exit 1): failed

  To rerun use: --match "/NixGL/Nvidia/OpenGL/32 bits/"

  Test.hs:53:5: 
  10) NixGL.Nvidia.Vulkan 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: nix-build "./" "-A" "nixVulkanNvidia" "-I" "nixpkgs=channel:nixos-19.09-small" (exit 1): failed

  To rerun use: --match "/NixGL/Nvidia/Vulkan/32 bits/"

Randomized with seed 615641885

Finished in 1.7696 seconds
16 examples, 10 failures, 6 pending

I'm here to provide any additional info you need. Running RTX 3060 on a desktop with and AMD cpu.