Summary: | BRW allocates too much heap memory | ||
---|---|---|---|
Product: | Mesa | Reporter: | Fabian Vogt <fvogt> |
Component: | Drivers/DRI/i965 | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | sergii.romantsov |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Screenshot of leaking path in heaptrack |
Description
Fabian Vogt
2017-10-14 14:38:10 UTC
Are you able to reproduce this with apitrace? (Presumably, you'd need to replay with a 32-bit version of glretrace...) (In reply to Kenneth Graunke from comment #1) > Are you able to reproduce this with apitrace? (Presumably, you'd need to > replay with a 32-bit version of glretrace...) I can - with a 64 bit version as well, it just gets killed by the kernel on OOM instead of running out of memory (malloc returning NULL). Created attachment 134844 [details]
Screenshot of leaking path in heaptrack
I ran glretrace with heaptrack to get a backtrace of the leaked malloc calls - I can upload the heaptrack output file if needed.
I'm not sure whether I can upload the apitrace output file due to copyright reasons.
Hello, Fabian. Could you, please, try with commit d219521379626ebf2bff63e4a9c2f92725b3926a or with master. Some improvements were done. (In reply to Sergii Romantsov from comment #4) > Hello, Fabian. > Could you, please, try with commit d219521379626ebf2bff63e4a9c2f92725b3926a > or with master. > Some improvements were done. Seems to work here - it doesn't exceed 3GiB anymore. However, loading the game takes really long now, but I can't really compare it as until now it wasn't possible to load it at all without shader caching. |
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.