nix-community / nixGL

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

nixVulkanNvidia rtx 3080 Test.hs Errors #75

Open abueide opened 3 years ago

abueide commented 3 years ago

Thought I'd throw in my test failures. It seems to be working fine though when running nixVulkanNvidia to run my program though.

Failures:

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

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

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

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

  Test.hs:86:11: 
  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:11: 
  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:37:7: 
  5) NixGL.Mesa.OpenGL 32 bits
       "OpenGL version string: 4.6.0 NVIDIA 460.73.01" does not contain "Mesa"

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

  Test.hs:41:7: 
  6) NixGL.Mesa.OpenGL 64 bits
       "OpenGL version string: 4.6.0 NVIDIA 460.73.01" does not contain "Mesa"

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

  Test.hs:53:5: 
  7) NixGL.Mesa.Vulkan 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: /nix/store/2l6v65vsk95swpgqspvsgx0jvq5vdxjm-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: 
  8) NixGL.Mesa.Vulkan 64 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: /nix/store/2l6v65vsk95swpgqspvsgx0jvq5vdxjm-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: 
  9) NixGL, Nvidia - Bumblebee, OpenGL, 32 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: /nix/store/x1vzm0pdfddfq28l34vifavhhpnnkfri-nixGLNvidiaBumblebee-460.73.01/bin/nixGLNvidiaBumblebee "/nix/store/8zgddbbm68a8r82adsd0k3vj8jpjvfpp-glxinfo-8.4.0/bin/glxinfo" "-B" (exit 1): failed

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

  Test.hs:39:5: 
  10) NixGL, Nvidia - Bumblebee, OpenGL, 64 bits
       uncaught exception: IOException of type OtherError
       readCreateProcess: /nix/store/x1vzm0pdfddfq28l34vifavhhpnnkfri-nixGLNvidiaBumblebee-460.73.01/bin/nixGLNvidiaBumblebee "/nix/store/hxkj72qzhh0a52wcmaf177ydd47cclx1-glxinfo-8.4.0/bin/glxinfo" "-B" (exit 1): failed

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

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

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

Randomized with seed 1446535994

Finished in 65.0028 seconds
16 examples, 11 failures, 3 pending
MelihDarcanxyz commented 1 year ago

I got a similar issue https://github.com/guibou/nixGL/issues/135 with RTX 3060, except the program does not run.