Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTS Hangs on Vulkan/Linux/Haswell and lavapipe #1974

Closed
cwfitzgerald opened this issue Sep 17, 2021 · 8 comments
Closed

CTS Hangs on Vulkan/Linux/Haswell and lavapipe #1974

cwfitzgerald opened this issue Sep 17, 2021 · 8 comments
Labels
area: infrastructure Testing, building, coordinating issues type: bug Something isn't working type: enhancement New feature or request

Comments

@cwfitzgerald
Copy link
Member

Description

Run any real test under lavapipe and the runner will just hang. This happens with both lavapipe and the Haswell drivers, but sometimes under haswell the heap gets corrupted as well.

The tests do work on Vulkan/Windows/Nvidia, though that's not saying much.

Platform

Mesa drivers 21.3.* from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers.

@cwfitzgerald cwfitzgerald added type: bug Something isn't working type: enhancement New feature or request area: infrastructure Testing, building, coordinating issues labels Sep 17, 2021
@cwfitzgerald cwfitzgerald pinned this issue Sep 17, 2021
@kvark
Copy link
Member

kvark commented Sep 17, 2021

Sounds like we should submit a bugreport to Mesa.

@cwfitzgerald
Copy link
Member Author

Yeah it seems like it. Trying to narrow down the hardware effected. I've gotten stalls on:

lavapipe
Haswell
Comet Lake

All under mesa 21.*

I did not get stalls under AMDGPU, but I'm not 100% sure that it wasn't running nvidia on that machine.

Next step is to implement DENO_WEBGPU_ADAPTER_NAME so that we can choose an adapter with certainty.

@VarLad
Copy link

VarLad commented Jan 10, 2022

@cwfitzgerald Is there a mesa issue I can follow?

@cwfitzgerald
Copy link
Member Author

I don't know of one.

@kvark
Copy link
Member

kvark commented Jan 11, 2022

The haswell driver issue may be #1672 and #2070, which got fixed upstream.

@cwfitzgerald
Copy link
Member Author

We no longer use lavapipe in CI, so this isn't important enough to pin.

@cwfitzgerald cwfitzgerald unpinned this issue Oct 28, 2022
@jimblandy
Copy link
Member

jimblandy commented Aug 12, 2023

cargo nextest run passes just fine for me with a local build of "llvmpipe (LLVM 16.0.5, 256 bits)".

$ WGPU_BACKEND=vulkan VK_ICD_FILENAMES=$HOME/mesa/build/src/gallium/targets/lavapipe/lvp_devenv_icd.x86_64.json exec cargo run -p wgpu-info |& head -20
    Finished dev [unoptimized + debuginfo] target(s) in 0.09s
     Running `target/debug/wgpu-info`
Adapter 0:
	   Backend: Vulkan
	      Name: "llvmpipe (LLVM 16.0.5, 256 bits)"
	  VendorID: 65541
	  DeviceID: 0
	      Type: Cpu
	    Driver: "llvmpipe"
	DriverInfo: "Mesa 23.2.0-devel (git-92a7cba4f2) (LLVM 16.0.5)"
	 Compliant: true
	Features:
		                                           DEPTH_CLIP_CONTROL: true
		                                              TIMESTAMP_QUERY: true
		                                      INDIRECT_FIRST_INSTANCE: true
		                                                   SHADER_F16: true
		                                     RG11B10UFLOAT_RENDERABLE: true
		                                        DEPTH32FLOAT_STENCIL8: true
		                                       TEXTURE_COMPRESSION_BC: true
		                                     TEXTURE_COMPRESSION_ETC2: false
$ 

@cwfitzgerald
Copy link
Member Author

Closing as out of date - this is paritcularly for running the CTS with deno. It's old enough that we it's not worth having open though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Testing, building, coordinating issues type: bug Something isn't working type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants