nix-community/nixGL

Test.hs fails on intel

Opened this issue · 0 comments

nixGL commit 210c6a8

ubuntu 16.04.7 kernel 4.4.0-189-generic

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

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

Sanity
  OpenGL
Error: couldn't find RGB GLX visual or fbconfig
    fails with unwrapped glxinfo64
Error: couldn't find RGB GLX visual or fbconfig
    fails with unwrapped glxinfo32
  Vulkan
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
/build/source/vulkaninfo/vulkaninfo.c:923: failed with VK_ERROR_INCOMPATIBLE_DRIVER
    fails with unwrapped vulkaninfo64
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
/build/source/vulkaninfo/vulkaninfo.c:923: failed with VK_ERROR_INCOMPATIBLE_DRIVER
    fails with unwrapped vulkaninfo32
NixGL
  Mesa
    OpenGL
Error: couldn't find RGB GLX visual or fbconfig
      32 bits FAILED [1]
Error: couldn't find RGB GLX visual or fbconfig
      64 bits FAILED [2]
    Vulkan
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
/build/source/vulkaninfo/vulkaninfo.c:5884: failed with VK_ERROR_INITIALIZATION_FAILED
      32 bits FAILED [3]
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
/build/source/vulkaninfo/vulkaninfo.c:5884: failed with VK_ERROR_INITIALIZATION_FAILED
      64 bits FAILED [4]
  Nvidia - Bumblebee
    OpenGL
building '/nix/store/sp6n6wijwgxb21glxs6mnl75fywdf8lf-impure-nvidia-version-file.drv'...
cp: cannot stat '/proc/driver/nvidia/version': No such file or directory
error: cannot coerce null to a string, at /home/ricardo/proj/nt/nixGL/nixGL.nix:57:29
      32 bits FAILED [5]
      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
building '/nix/store/yl7p8sqyvzx8g2w428wg3mwbil4v5bc9-impure-nvidia-version-file.drv'...
cp: cannot stat '/proc/driver/nvidia/version': No such file or directory
error: cannot coerce null to a string, at /home/ricardo/proj/nt/nixGL/nixGL.nix:57:29
      32 bits FAILED [6]
      64 bits
        # PENDING: exception in beforeAll-hook (see previous failure)
    Vulkan
error: cannot coerce null to a string, at /home/ricardo/proj/nt/nixGL/nixGL.nix:57:29
      32 bits FAILED [7]
      64 bits
        # PENDING: exception in beforeAll-hook (see previous failure)

Failures:

  Test.hs:36:7: 
  1) NixGL.Mesa.OpenGL 32 bits
       uncaught exception: IOException of type UserError
       user error (Pattern match failure in do expression at Test.hs:36:7-23)

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

  Test.hs:40:7: 
  2) NixGL.Mesa.OpenGL 64 bits
       uncaught exception: IOException of type UserError
       user error (Pattern match failure in do expression at Test.hs:40:7-23)

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

  Test.hs:53:5: 
  3) 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: 
  4) 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: 
  5) 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: 
  6) 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: 
  7) 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 1706204923

Finished in 4.1212 seconds
16 examples, 7 failures, 5 pending