[GL-C1] LLGPUInfo from Vulkan #70

Closed
opened 2026-09-27 05:33:52 +00:00 by sky_line · 2 comments
Owner

Scope: Fill vendor, renderer, driver, VRAM, max texture size and anisotropy from VkPhysicalDeviceProperties/limits/memory budget before feature masking. Move gGLManager readers (about box, stats, media, texture budget, llfeaturemanager.cpp:429-489,788-813) to it.

Prereq: —

Acceptance: About box correct. The GPU class is computed rather than hard-set to 5. Texture budget unchanged.

Risk: med

Shared acceptance baseline: links; logs in under VK and renders prims/mesh/rigged/terrain/water/sky/particles; click-select object/avatar/attachment; region crossing + teleport; no GLSL Compilation Error|SIGSEGV in the log.

Source: research/gl_removal_map.md

**Scope:** Fill vendor, renderer, driver, VRAM, max texture size and anisotropy from `VkPhysicalDeviceProperties`/limits/memory budget **before** feature masking. Move `gGLManager` readers (about box, stats, media, texture budget, `llfeaturemanager.cpp:429-489,788-813`) to it. **Prereq:** — **Acceptance:** About box correct. The GPU class is computed rather than hard-set to 5. Texture budget unchanged. **Risk:** med **Shared acceptance baseline:** links; logs in under VK and renders prims/mesh/rigged/terrain/water/sky/particles; click-select object/avatar/attachment; region crossing + teleport; no `GLSL Compilation Error|SIGSEGV` in the log. Source: research/gl_removal_map.md
Author
Owner

Status check (verification sweep): partly done. Under VK, llappviewer.cpp (~3760) fills gGLManager.mGLRenderer/mGLVendor/mVRAM from the Vulkan device, and the first-run preset is picked from the GPU (6ff89363c8). Remaining: there's no LLGPUInfo; readers still go through gGLManager (62 refs in 14 files); LLFeatureManager::loadGPUClass still hard-sets mGPUClass = GPU_CLASS_5 (llfeaturemanager.cpp:384).

Status check (verification sweep): partly done. Under VK, llappviewer.cpp (~3760) fills gGLManager.mGLRenderer/mGLVendor/mVRAM from the Vulkan device, and the first-run preset is picked from the GPU (6ff89363c8). Remaining: there's no LLGPUInfo; readers still go through gGLManager (62 refs in 14 files); LLFeatureManager::loadGPUClass still hard-sets mGPUClass = GPU_CLASS_5 (llfeaturemanager.cpp:384).
sky_line added this to the Slipstream project 2026-10-06 15:04:15 +00:00
Author
Owner

Verified against forgejo/main (v1.2.0, 55f4242518); GL deletion in ef8365e45f (gl-delete merge), 52c3662a76, 547061ef34, 5f9502cf69. gGLManager is gone. LLGPUInfo (llrender/llgpuinfo.h, gGPUInfo) is filled by the Vulkan bring-up from VkPhysicalDeviceProperties/limits/memory heaps (vendor, renderer, API/driver version, VRAM, max texture size, anisotropy; llappviewer.cpp ~4160-4210). GPU class is computed from integrated/hw-RT/VRAM (llappviewer.cpp:4225-4231, LLFeatureManager::setVulkanGPU) and base masks are re-applied with the real device (applyBaseMasks). Owner verified About box GPU info on 1.2.0.

Verified against forgejo/main (v1.2.0, 55f4242518); GL deletion in ef8365e45f (gl-delete merge), 52c3662a76, 547061ef34, 5f9502cf69. gGLManager is gone. LLGPUInfo (llrender/llgpuinfo.h, gGPUInfo) is filled by the Vulkan bring-up from VkPhysicalDeviceProperties/limits/memory heaps (vendor, renderer, API/driver version, VRAM, max texture size, anisotropy; llappviewer.cpp ~4160-4210). GPU class is computed from integrated/hw-RT/VRAM (llappviewer.cpp:4225-4231, LLFeatureManager::setVulkanGPU) and base masks are re-applied with the real device (applyBaseMasks). Owner verified About box GPU info on 1.2.0.
sky_line 2026-10-10 06:24:37 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#70
No description provided.