Bug 78669 - [r600g, radeonsi] layered-rendering/clear-color-all-types 3d single_level randomly fails
Summary: [r600g, radeonsi] layered-rendering/clear-color-all-types 3d single_level ran...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 17:04 UTC by David Heidelberg (okias)
Modified: 2019-09-18 19:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description David Heidelberg (okias) 2014-05-13 17:04:51 UTC
$ bin/gl-3.2-layered-rendering-clear-color-all-types 3d single_level -fbo -auto

Clearing each layer individually
Probing level 0, layer 0
Probing level 0, layer 1
Probing level 0, layer 2
Probing level 0, layer 3
Clearing all layers in miplevel 0 at once
Probing level 0, layer 0
Probing level 0, layer 1
Probing level 0, layer 2
Probe color at (0,0)
  Expected: 0.000000 1.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000 1.000000
Probing level 0, layer 3
Probe color at (0,0)
  Expected: 0.000000 1.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000 1.000000

This happen with mesa compiled with -O3. With -Og is perfectly fine.
Kernel: 3.12.18
Mesa: git (1646f4d0fb0efec04dce62b6dd4d974206acc8ac)
Card: Radeon HD 6550 (3870K APU)
Comment 1 Alex Deucher 2014-05-13 19:33:39 UTC
Is this only an issue with -O3?
Comment 2 Alex Deucher 2014-05-13 19:34:10 UTC
nevermind.
Comment 3 Marek Olšák 2014-05-13 21:47:53 UTC
I think the result of this test is random. It's also random on radeonsi.
Comment 4 David Heidelberg (okias) 2014-05-14 12:25:18 UTC
it's random with -O3 or just random?

if you want some more testing on 6550D, let me know
Comment 5 Marek Olšák 2014-05-14 16:20:35 UTC
I always compile with -O2 and the test result is random pass/fail.
Comment 6 David Heidelberg (okias) 2014-05-16 22:11:12 UTC
try with -O3, then it's permanently

PIGLIT: {'result': 'fail' }

I tried:
while true; do /home/okias/projects/piglit/bin/gl-3.2-layered-rendering-clear-color-all-types 3d single_level -fbo -auto | grep result; done

and always fail
Comment 7 David Heidelberg (okias) 2014-05-22 03:01:17 UTC
with -O between -Og, -O0 and -O2 it gives 1:300 - pass:fail
Chances for pass are increased by running or turning off any GL app.. for this case I always get one or two "pass".

With CFLAGS="-ggdb -pg -g -Og -gdwarf-2 -gstrict-dwarf" I mostly getting more pass for turning GL app on/off (about 3-4)

Command to test:
$ while true; do sleep 0.03 && /projects/piglit/bin/gl-3.2-layered-rendering-clear-color-all-types 3d single_level -fbo -auto | grep pass; done
Comment 8 GitLab Migration User 2019-09-18 19:16:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/510.


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.