http://bugs.freedesktop.org/show_bug.cgi?id=24593
Summary: S3TC compression doesn't work on KMS enabled kernels
with R300 (RV530 71C1)
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=30506)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30506)
Output from glxinfo
While using this software:
drm-next:f059d2ad69b056aeabad4460f706a3df2f77ce50
mesa:166957abebea6aa203eba7e6348e89d53cf0e13e
libdrm:3a387a983ec40cd443e22c1f8d9a6b5b5a8fa0d1
With enabled KMS.
progs/tests/texcompsub
GL_VERSION = 1.5 Mesa 7.7-devel
GL_RENDERER = Mesa DRI R300 (RV530 71C1) 20090101 TCL DRI2
11 supported compression formats: 0x83f0 0x83f2 0x83f3 0x83a0 0x83a1 0x83a2
0x83a3 0x8c4c 0x8c4d 0x8c4e 0x8c4f
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See
dmesg for more info.
Dmesg output:
[70317.576693] [drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0
needs 524288 bytes but is 131072
[70317.576698] [drm:r100_cs_track_texture_print] *ERROR* pitch
1
[70317.576701] [drm:r100_cs_track_texture_print] *ERROR* width
512
[70317.576703] [drm:r100_cs_track_texture_print] *ERROR* height
512
[70317.576705] [drm:r100_cs_track_texture_print] *ERROR* num levels
0
[70317.576707] [drm:r100_cs_track_texture_print] *ERROR* depth
0
[70317.576709] [drm:r100_cs_track_texture_print] *ERROR* bpp
2
[70317.576711] [drm:r100_cs_track_texture_print] *ERROR* coordinate type
0
[70317.576713] [drm:r100_cs_track_texture_print] *ERROR* width round to power
of 2 1
[70317.576715] [drm:r100_cs_track_texture_print] *ERROR* height round to power
of 2 1
[70317.576717] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
progs/tests/texcompress2
GL_VERSION = 1.5 Mesa 7.7-devel
GL_RENDERER = Mesa DRI R300 (RV530 71C1) 20090101 TCL DRI2
11 supported compression formats: 0x83f0 0x83f2 0x83f3 0x83a0 0x83a1 0x83a2
0x83a3 0x8c4c 0x8c4d 0x8c4e 0x8c4f
Image is 512 x 512
Compressed Internal Format: other (0x83f3)
Original size: 786432 bytes
Compressed size: 262144 bytes
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See
dmesg for more info.
Dmesg output:
[70786.595152] [drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0
needs 1048576 bytes but is 262144
[70786.595157] [drm:r100_cs_track_texture_print] *ERROR* pitch
1
[70786.595160] [drm:r100_cs_track_texture_print] *ERROR* width
512
[70786.595162] [drm:r100_cs_track_texture_print] *ERROR* height
512
[70786.595164] [drm:r100_cs_track_texture_print] *ERROR* num levels
0
[70786.595166] [drm:r100_cs_track_texture_print] *ERROR* depth
0
[70786.595168] [drm:r100_cs_track_texture_print] *ERROR* bpp
4
[70786.595170] [drm:r100_cs_track_texture_print] *ERROR* coordinate type
0
[70786.595172] [drm:r100_cs_track_texture_print] *ERROR* width round to power
of 2 1
[70786.595174] [drm:r100_cs_track_texture_print] *ERROR* height round to power
of 2 1
[70786.595176] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
It also causes problems with NWN, On the Rain-Slick Precipice of Darkness,
Episode One and Two.
Debug info with drm debug=1 if needed.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel