Summary: | Several games are unable to detect VRAM size | ||
---|---|---|---|
Product: | Mesa | Reporter: | Benjamin Bellec <b.bellec> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | 0xe2.0x9a.0x9b |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Benjamin Bellec
2013-12-10 18:36:53 UTC
OpenGL does not provide a standard mechanism for applications to query vram size. How the proprietary driver do? ETQW seems to try reading /proc/dri/0/umm , what is it? Each game does it differently. There are some vendor specific extensions and some games have tables based on GL vendor strings. Newer games can now use the mechanisms provided by GLX_MESA_query_renderer in drivers that support that extension. OK so I'll close this bug. Anyway, Ian, GLX_MESA_query_renderer is still in RFC? There is also no implementation in Mesa? (In reply to comment #5) > OK so I'll close this bug. > Anyway, Ian, GLX_MESA_query_renderer is still in RFC? There is also no > implementation in Mesa? In Mesa 10.0, i965 and i915 (classic) support it. It should be pretty easy for other drivers to get support for it... someone just needs to wire it up. 1e4ce08f is the implementation for i965. This commit to glxinfo looks relevant: http://cgit.freedesktop.org/mesa/demos/commit/?id=999b6950c644266bb871e79438751bdba2fa2a08 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.