Bug 30036 - [r300g] Savage 2: rejected CS
Summary: [r300g] Savage 2: rejected CS
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL: http://www.savage2.com/en/download.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 13:01 UTC by Sven Arvidsson
Modified: 2010-09-12 23:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sven Arvidsson 2010-09-05 13:01:57 UTC
As mentioned in bug 28517, there's one (minor) problem remaining in Savage 2. Setting "Shadow Quality" to medium or higher results in 

 radeon: The kernel rejected CS, see dmesg for more information.

dmesg:
 Sep  5 21:56:46 zoe kernel: [97451.007942] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need 4194304 have 3145728) !
 Sep  5 21:56:46 zoe kernel: [97451.007946] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (1024 4 0 1024)
 Sep  5 21:56:46 zoe kernel: [97451.007947] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

This causes part of the game to stop being redrawn and graphics seems to "smear" across the menu.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: e9928fe036e9382fd7bc353f3f05531445f08977
-- xserver: 1.8.99.904 (1.9.0 RC 5)
-- mesa: 99f3c9caa39fbe9dfa7561c919202395720e9472
-- drm: 23287f05cf2443ddf9e028e29beb5bd30979c6cf
-- kernel: 2.6.35
Comment 2 Sven Arvidsson 2010-09-06 12:14:58 UTC
Yeah, there are a few other bug reports I have filed where the same error appears "Buffer too small for color buffer", not sure if it's the same bug or just similar symptoms?
Comment 3 Marek Olšák 2010-09-11 21:33:46 UTC
Could you possibly test this kernel patch:

http://lists.freedesktop.org/archives/dri-devel/2010-September/003830.html

I am 99% sure it fixes this bug, but I haven't tested it myself.
Comment 4 Sven Arvidsson 2010-09-12 12:15:23 UTC
Sure enough, game is working fine with shadow quality on any setting now!
Comment 5 Matt Turner 2010-09-12 12:30:21 UTC
(In reply to comment #4)
> Sure enough, game is working fine with shadow quality on any setting now!

If you would, reply to that patch email with your Tested-By: tag, or just give it here.
Comment 6 Sven Arvidsson 2010-09-12 12:44:24 UTC
(In reply to comment #5)
> 
> If you would, reply to that patch email with your Tested-By: tag, or just give
> it here.

Something like this?
Tested-by: Sven Arvidsson <sa@whiz.se>
Comment 7 Marek Olšák 2010-09-12 23:24:59 UTC
We'll try to get that patch included in the next kernel. Closing.


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.