Bug 28869

Summary: [r300g] Tiny and Big doesn't run
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://www.tinyandbig.com/download/
Whiteboard:
i915 platform: i915 features:

Description Sven Arvidsson 2010-07-01 05:51:58 UTC
The game "Tiny and Big" doesn't work correctly with r300g. 

The menu is missing some textures (this part does seem to be working okay in r300c). Errors printed on the terminal:
r300: texture_create: Got invalid texture dimensions: 0x0x0

The game itself starts, but doesn't render correctly, Terminal output quickly fills up with this:
VENDORID:DEVICEID 0x1002:0x7280
0x000110F8
0x00000000
0x004AE31F
0x00001393
0x0000000A
0x000013C6
0x00000003
0x000005C8
0x00020000
0x00001008
0x00000000
0x000013A2
0x00000000
0x00001380
0x00004000
0x0000138A
0x00000000
[...]


dmesg output:

[ 9329.635594] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 9329.668994] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need 6815744 have 2023424) !
[ 9329.668998] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (832 4 0 2048)
[ 9329.669001] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 9329.702390] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need 6815744 have 2023424) !
[ 9329.702395] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (832 4 0 2048)
[ 9329.702397] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 9329.736241] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need 6815744 have 2023424) !
[ 9329.736245] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (832 4 0 2048)
[ 9329.736247] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !


System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: 801e83227a59a29eea425ea612083bbf2b536c30
-- xserver: 1.8.1.901
-- mesa: 75acb896c6da758d03e86f8725d6ca0cb2c6ad82
-- drm: 6ea2bda5f5ec8f27359760ce580fdad3df0464df
-- kernel: 2.6.35-rc3
Comment 1 Sven Arvidsson 2010-07-08 14:57:11 UTC
Clicking on "Options" results in:

[linuxplatform] Error: OpenGL error: out of memory (thrown from createImpl   (../../../scape/opengl/openglpixelbuffer.cpp, line 275))
Comment 2 Marek Olšák 2010-09-11 21:26:33 UTC
The DRM errors are fixed by this kernel patch, which will hopefully end up in 2.6.36:
http://lists.freedesktop.org/archives/dri-devel/2010-September/003830.html

Beware, Tiny and Big hardlocks if your GPU is too slow. This is fixed by this kernel patch (the hardlocking, not the slowness):
http://lists.freedesktop.org/archives/dri-devel/2010-September/003829.html

Both patches are awaiting a review, and I can't say for sure whether the "1/2" one will get accepted.


Regarding the out of memory error, is there anything in dmesg? I can't reproduce it.
Comment 3 Sven Arvidsson 2010-09-12 12:14:25 UTC
Confirming, the game is working now!

The out of memory bug is gone too, probably not related to the patches though.
Comment 4 Marek Olšák 2010-09-12 23:25:54 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.