Bug 57531 - [GEM] RS780V allocation errors with piglit
Summary: [GEM] RS780V allocation errors with piglit
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-25 22:36 UTC by Kenney Phillis Jr
Modified: 2012-11-27 09:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Dmesg log - after third pass of piglit. (75.54 KB, text/plain)
2012-11-25 22:36 UTC, Kenney Phillis Jr
Details
Xorg log (41.60 KB, text/plain)
2012-11-25 22:38 UTC, Kenney Phillis Jr
Details
Piglit test results for all 3 passes (530.48 KB, application/x-xz-compressed-tar)
2012-11-25 22:40 UTC, Kenney Phillis Jr
Details

Description Kenney Phillis Jr 2012-11-25 22:36:47 UTC
Created attachment 70558 [details]
Dmesg log - after third pass of piglit.

I was giving piglit a trial run, and noticed that there was a few errors about the radeon driver being able to allocate gem objects.

Piglit package: 1.0.0~git20121122.cf47699-0edgers~quantal1 
Piglit Git revision:cf47699087f74a6fd94c59a74837fc6c3c6422a8

Mesa Package: 9.1~git20121110.c6f426c0-0ubuntu0ricotz~quantal
Mesa Git Revision: c6f426c02d14fcdfdbdd03473d098d4c9b81a8b2

Libdrm package: 2.4.40+git20121109.e01d68f9-0ubuntu0ricotz~quantal
libdrm revision: e01d68f9f3acfc35fe164283904b5d058c2ab378

Notes: In the kernel log, the first pass errors started at: 11166.715813, second pass started at 11742.655557 and third pass had errors start 13408.932142.
Comment 1 Kenney Phillis Jr 2012-11-25 22:38:32 UTC
Created attachment 70559 [details]
Xorg log
Comment 2 Kenney Phillis Jr 2012-11-25 22:40:34 UTC
Created attachment 70560 [details]
Piglit test results for all 3 passes
Comment 3 Michel Dänzer 2012-11-26 15:17:44 UTC
Some piglit tests are about allocating as large textures as possible, which can result in such intermittent allocation failures. It might be feasible to handle this more gracefully in userspace, but otherwise it should be mostly harmless, assuming there are no other, real problems associated with it.
Comment 4 Marek Olšák 2012-11-26 17:04:32 UTC
AFAIK, allocation failures are correctly reported to applications as the GL_OUT_OF_MEMORY errors.
Comment 5 Christian König 2012-11-27 09:41:29 UTC
Totally agree with that. Some piglit tests even allocate all the memory on purpose to test that the driver can handle that gracefully, and the expectation in the good case is that those error messages start to appear.

As long as you don't experience any crash, hang or something like this everything should be fine.


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.