Bug 27609 - Regression: r600 CS checker rejects narrow FBO renderbuffers.
Summary: Regression: r600 CS checker rejects narrow FBO renderbuffers.
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 18:36 UTC by Nick Bowler
Modified: 2019-11-19 08:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Full kernel log including failure message. (31.32 KB, text/plain)
2010-04-12 18:36 UTC, Nick Bowler
no flags Details

Description Nick Bowler 2010-04-12 18:36:55 UTC
Created attachment 34944 [details]
Full kernel log including failure message.

The R600 CS checker recently merged into the mainline kernel breaks rendering
to FBOs with renderbuffers of width <= 48.  The height does not matter.
Attempting to run such a program terminates with

  drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream.
  See dmesg for more info.

and in dmesg:
  radeon 0000:03:00.0: r600_cs_track_validate_cb:198 cb pitch (32 x 4 = 128) invalid
  radeon 0000:03:00.0: r600_packet3_check:1109 invalid cmd stream 514
  [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Please see the test case attached to bug 27590 for a program which triggers
this issue.  The program works on Linux 2.6.33 and with the software
rasterizer.  The problem is reproducible with both mesa 7.8.1 and git master, against latest Linus git kernel.
Comment 1 Nick Bowler 2010-04-12 18:50:33 UTC
I forgot to mention that the test program also (obviously) works if you adjust the renderbuffer width (-DXRES=##) to be at least 49.
Comment 2 Martin Peres 2019-11-19 08:12:24 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/drm/amd/issues/123.


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.