pmndrs / pmndrs/detect-gpu

Brave always returns tier 0

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

Nobody has claimed this yet.

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

Description

Brave Browse on Intel 2019 Macbook Pro (Ventura 13.2) always reports tier 0.

Chrome on the same machine correctly reports tier 3.

Brave:

{
    "wasm": true,
    "simd": true,
    "webgl": true,
    "webgl2": true,
    "offscreen": true,
    "browser": {
        "name": "chrome",
        "version": "112.0.0",
        "os": "Mac OS",
        "type": "browser"
    },
    "gpu": {
        "fps": 14,
        "gpu": "amd radeon pro 5300m",
        "isMobile": false,
        "tier": 0,
        "type": "BENCHMARK",
        "hwaccel": false
    },
    "supportedInBrowserList": true
}

Chrome:

{
    "wasm": true,
    "simd": true,
    "webgl": true,
    "webgl2": true,
    "offscreen": true,
    "browser": {
        "name": "chrome",
        "version": "112.0.0",
        "os": "Mac OS",
        "type": "browser"
    },
    "gpu": {
        "fps": 130,
        "gpu": "amd radeon pro 5300m",
        "isMobile": false,
        "tier": 3,
        "type": "BENCHMARK",
        "hwaccel": true
    },
    "supportedInBrowserList": true
}

Hardware acceleration is enabled in Brave and confirmed to work on multiple sites.
Screenshot 2023-04-20 at 12 13 17 PM

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 reported comparison on the Intel 2019 MacBook Pro in Brave and Chrome, using the GPU result shown in the issue. Inspect the browser and hardware-acceleration detection path to determine why Brave reports false acceleration and tier 0; done means Brave reports the expected acceleration state and tier without regressing Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.