Bug 57531

Summary: [GEM] RS780V allocation errors with piglit
Product: Mesa Reporter: Kenney Phillis Jr <kphillisjr>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Dmesg log - after third pass of piglit.
Xorg log
Piglit test results for all 3 passes

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.