pmndrs / pmndrs/detect-gpu

Properly handling VR headset

Open
#75 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug investigation
Dominant language
TypeScript
Stars
1.2k
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Hi! I am currently working with an Occulus Quest 2 and I am trying to use detect-gpu for 3D visualization in order to manage the level of detail of the meshes that will be loaded in the scene. However, it seems that detect-gpu doesn't handle this type of device properly, since, besides the GPU field, all the other fields don't give correct information. The one field that has the biggest impact is the isMobile one since it is being labeled as false but a VR headset's hardware is much closer to a mobile device than a PC.

Is there something to be done?

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 detect-gpu's reported fields on an Oculus Quest 2, focusing on the GPU and isMobile values described in the issue. Trace the device-classification entry point and compare its behavior with the headset's hardware characteristics. Done means the headset is classified consistently and the relevant fields provide correct information for 3D visualization.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.