Re: Compressed textures
Martins D Innus <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 7 Jul 2006, Brian Paul wrote: > Martins D Innus wrote: >> Hi, >> I get a segfault when viewing an OpenSceneGraph model with >> compressed textures through tilesort. It works fine with uncompressed >> textures. Stack trace attached. > > I don't see the attachment. > > I just tried a Mesa texture compression test and it seemed to work, > with a little hack. I had to disable the check for the extension > GL_EXT_texture_compression_s3tc since it's not fully supported in > Chromium. It works to the extent that you can call > glCompressedTexImage2DARB() with a pre-compressed image. But Chromium > doesn't have the S3TC compression/decompression code needed for some > of other paths. > > -Brian Sorry, here's the trace. The textures are precompressed so looks like it should work based on what you say above. Doesn't seem like it failing on the extension check, as its actually making the glCompressedTexImage2D call. I don't fully understand the code path, but seems like server_index is not being set. Martins Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Chromium-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chromium-users
cr_tex_error.txt
(text/plain, 3.4 KB)
Program received signal SIGTERM, Terminated.
[Switching to Thread 47102219418464 (LWP 10955)]
0x0000003ee762e2ed in raise () from /lib64/tls/libc.so.6
(gdb) where
#0 0x0000003ee762e2ed in raise () from /lib64/tls/libc.so.6
#1 0x00002ad6d6e8f5a1 in crError (
format=0x2ad6d72e6db0 "Assertion failed: %s, file %s, line %d")
at error.c:166
#2 0x00002ad6d728e13a in tilesortspuSendServerBufferThread (server_index=-1,
thread=0x2ad6d73ffde8) at tilesortspu_flush.c:86
#3 0x00002ad6d728e20a in tilesortspuSendServerBuffer (server_index=-1)
at tilesortspu_flush.c:108
#4 0x00002ad6d728e4ed in tilesortspuHuge (opcode=CR_EXTEND_OPCODE,
buf=0x2aaaad85d024) at tilesortspu_flush.c:246
#5 0x00002ad6d769827a in crHugePacket (opcode=CR_EXTEND_OPCODE,
packet=0x2aaaad85d024) at pack_buffer.c:455
#6 0x00002ad6d76a6e45 in crPackCompressedTexImage2DARB (target=3553, level=0,
internalformat=33776, width=1024, height=512, border=0, imagesize=262144,
data=0x2aaaac2ad010) at pack_texture.c:764
#7 0x00002ad6d7292787 in tilesortspu_CompressedTexImage2DARB (target=3553,
level=0, internalFormat=33776, width=1024, height=512, border=0,
imagesize=262144, data=0x2aaaac2ad010) at tilesortspu_gen.c:1150
#8 0x00002ad6d6b4eeda in glCompressedTexImage2D (target=3553, level=0,
internalFormat=33776, width=1024, height=512, border=0, imageSize=262144,
data=0x2aaaac2ad010) at Linux_exports.c:4255
#9 0x00002ad6d69ae024 in osg::Texture::applyTexImage2D_load ()
from /util/osg/1.0/lib64/libosg.so
#10 0x00002ad6d69a38a7 in osg::Texture2D::apply ()
from /util/osg/1.0/lib64/libosg.so
#11 0x00002ad6d6985b6d in osg::State::applyAttributeList ()
from /util/osg/1.0/lib64/libosg.so
#12 0x00002ad6d6982a10 in osg::State::apply ()
from /util/osg/1.0/lib64/libosg.so
#13 0x00002ad6d6691607 in osgUtil::RenderLeaf::render ()
from /util/osg/1.0/lib64/libosgUtil.so
#14 0x00002ad6d6688c2f in osgUtil::RenderBin::drawImplementation ()
from /util/osg/1.0/lib64/libosgUtil.so
#15 0x00002ad6d6699100 in osgUtil::RenderStage::drawImplementation ()
from /util/osg/1.0/lib64/libosgUtil.so
#16 0x00002ad6d6699dde in osgUtil::RenderStage::drawInner ()
from /util/osg/1.0/lib64/libosgUtil.so
#17 0x00002ad6d669bf37 in osgUtil::RenderStage::draw ()
from /util/osg/1.0/lib64/libosgUtil.so
#18 0x00002ad6d66aec86 in osgUtil::SceneView::draw ()
from /util/osg/1.0/lib64/libosgUtil.so
#19 0x00002ad6d5f77854 in osgProducer::OsgSceneHandler::drawImplementation ()
from /util/osg/1.0/lib64/libosgProducer.so
#20 0x00002ad6d5f77ebc in osgProducer::OsgSceneHandler::draw ()
from /util/osg/1.0/lib64/libosgProducer.so
#21 0x00002ad6d60d4f6b in Producer::Camera::_frameInstrumented ()
---Type <return> to continue, or q <return> to quit---
from /util/osg/1.0/lib64/libProducer.so
#22 0x00002ad6d60d530c in Producer::Camera::frame ()
from /util/osg/1.0/lib64/libProducer.so
#23 0x00002ad6d60de1f6 in Producer::CameraGroup::_singleThreadedFrame ()
from /util/osg/1.0/lib64/libProducer.so
#24 0x00002ad6d60de392 in Producer::CameraGroup::_frameInstrumented ()
from /util/osg/1.0/lib64/libProducer.so
#25 0x00002ad6d5f6ce6f in osgProducer::OsgCameraGroup::frame ()
from /util/osg/1.0/lib64/libosgProducer.so
#26 0x00002ad6d5f8c6a8 in osgProducer::Viewer::frame ()
from /util/osg/1.0/lib64/libosgProducer.so
#27 0x0000000000408646 in main ()