Skip to content

patches: add the Adreno 831 KGSL chip id (0x44050100) - #21

Open
Igloo302 wants to merge 1 commit into
Droid-Deck:mainfrom
Igloo302:feat/a831
Open

Igloo302 wants to merge 1 commit into
Droid-Deck:mainfrom
Igloo302:feat/a831

Conversation

@Igloo302

Copy link
Copy Markdown

What

Adds the missing device-table entry for the Adreno 831:

GPUId(chip_id=0x44050100, name="Adreno (TM) 831"), # KGSL

attached to the Adreno 830 entry (GPUId(chip_id=0x44050001, name="Adreno (TM) 830")), guarded so it becomes a no-op once Mesa upstream carries the part.

Why

Mesa upstream freedreno_devices.py does not currently index the Adreno 831 chip ID (0x44050100), causing Turnip to reject device creation with VK_ERROR_INCOMPATIBLE_DRIVER:

TU: error: .../tu_device.cc: device (chip_id = 44050100) is unsupported (VK_ERROR_INCOMPATIBLE_DRIVER)

Adding this entry allows Turnip to initialize on Adreno 831 devices such as the XREAL AURA.

Tested on

  • Hardware: XREAL AURA (Adreno 831 GPU 0x44050100, Android XR)
  • Tested in DroidDeck experimental Android XR runtime (feat: add experimental Android XR support DroidDeck#1377):
    • SteamVR and OpenXR stereo frame presentation active at 72 Hz
    • Head tracking and 3D scenes rendering via Turnip

Scope

  • Additive: only affects devices reporting 0x44050100.
  • Guarded by if '0x44050100' not in Path(DEVICES).read_text(): so it is safely skipped once Mesa main carries the entry upstream.

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

Successfully merging this pull request may close these issues.

1 participant