wcandillon / wcandillon/react-native-webgpu

No appropriate GPUAdapter found on some devices

Open
#204 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
70
Avg merge
1d 6h
Merged PRs (30d)
23

Description

There are a few devices that don’t return a GPU adapter when requestAdapter method is called.
This issue is not a problem for older devices, but it also occurs on the Xiaomi Redmi 12—a very capable and popular device—which fails to return an adapter during the requestAdapter call. This is concerning given the device’s widespread usage.

What could be the reason for this behavior?
I’m investigating the problem and need to delve into the library’s internal logic to determine what is causing the failure.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the requestAdapter failure on the Xiaomi Redmi 12 and tracing the library’s internal adapter-request path. Compare the behavior with devices that return an adapter; done means identifying the cause and documenting or addressing the failure, though the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
computer-graphics, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.