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

Platforms: iPhone XR (A12) is not working due to lack of wave ops #72

Open
CrapemyrtleImmortal opened this issue Nov 16, 2023 · 12 comments

Comments

@CrapemyrtleImmortal
Copy link

CrapemyrtleImmortal commented Nov 16, 2023

The iPhone XR device is not working properly
SystemInfo:
CPU: Apple A12
iOS Version:iOS 17.1.1
GPU:Apple GPU

Debug log:
Kernel at index (0) requires features which are unavailable on the current platform - 'wavebasic'. Make sure '#pragma require' is used correctly as unnecessary arguments can restrict platform reach

SplatUtilities.compute: Kernel at index (0) is invalid

@HuangTY96
Copy link

same problem on my PC with Quadro P2200 GPU

@aras-p
Copy link
Owner

aras-p commented Nov 20, 2023

The iPhone XR device is not working properly

From my understanding of Metal feature set tables, the compute shader code in this project needs at least A14 (maybe A13 would also work), i.e. iPhone 12 or later. But I also would not be surprised if it does not work on iOS at all right now, since I've spent exactly zero effort or testing on that.

@aras-p
Copy link
Owner

aras-p commented Nov 20, 2023

same problem on my PC with Quadro P2200 GPU

Would need more details: is this Windows or some other OS? Are you surely using DX12 or Vulkan, and not DX11? etc. Quadro P2200 should support the shaders used by this project, so it must be caused by something else than the GPU itself.

@aras-p aras-p changed the title The iPhone device is not working properly Platforms: iPhone XR (A12) is not working due to lack of wave ops Nov 20, 2023
@HuangTY96
Copy link

I'm sure it is Win10 system with DX12, but I still got this problem
202311241424490252180070107170FD

@aras-p
Copy link
Owner

aras-p commented Nov 24, 2023

@HuangTY96 you sure this is running on actual GPU, and not some sort of "software device"? What does the near start of editor log say, where it prints the GPU information?

@HuangTY96
Copy link

Hi, thanks for your reply. I'm sure it is running on actual GPU. It is pretty weird.
image

@java311
Copy link

java311 commented Dec 7, 2023

I got the same issue here.
gauss_bug1

How I was able to reproduce it:

  • In another HDRP project
  • Installed gaussian splatting locally. By copying github package folder into a folder name : ./LocalPackages/gaussianSplatting
  • Then install the Package using the Package Manager, then install package from disk and then open the package.json file.
  • Add a new GameObject, add Gaussian Splat Renderer and then add a Splat asset.
  • The I get the same error. But my building target is Windows...

When I run the HDRP sample project GaussianExample HDRP, I do not have any issue.

@aras-p
Copy link
Owner

aras-p commented Dec 7, 2023

In another HDRP project

@java311 is that project using DX11? (you could see that from editor title bar) If yes, then that would be the reason. Switch to DX12 or Vulkan.

@java311
Copy link

java311 commented Dec 8, 2023

@aras-p
Thank you. In my case, this solved the problem. 🙏

@Xprogrammer777
Copy link

In another HDRP project

@java311 is that project using DX11? (you could see that from editor title bar) If yes, then that would be the reason. Switch to DX12 or Vulkan.

Well that's strange because the demo works well on DX11 for me....

@aras-p
Copy link
Owner

aras-p commented May 8, 2024

Well that's strange because the demo works well on DX11 for me...

@Xprogrammer777 what is "the demo" in this context? If it is about this UnityGaussianSplatting repository and the projects inside of it, they would definitely not work when using DX11.

@Xprogrammer777
Copy link

Well that's strange because the demo works well on DX11 for me...

@Xprogrammer777 what is "the demo" in this context? If it is about this UnityGaussianSplatting repository and the projects inside of it, they would definitely not work when using DX11.

No sorry nevermind, Unity was just still displaying DX11 in the project settings while is was using DX12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants