Re: Compressed textures

Martins D Innus <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
>>>> 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.
>
> Which version of Chromium are you using?  The line numbers in the
> stack trace don't match current CVS.  You might try the 1.9 release
> candidate at http://chromium.sourceforge.net/beta/

I was using 1.9-rc1.  Tried cvs from today with the same result.  Trace 
attached.

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_cvs.txt (text/plain, 3.1 KB)
#0  0x0000003ee762e2ed in raise () from /lib64/tls/libc.so.6
#1  0x00002aacab4955a1 in crError (format=0x2aacab8ecc70 "Assertion failed: %s, file %s, line %d") at error.c:166
#2  0x00002aacab894134 in tilesortspuSendServerBufferThread (server_index=-1, thread=0x2aacaba05d28) at tilesortspu_flush.c:86
#3  0x00002aacab8942a2 in tilesortspuSendServerBuffer (server_index=-1) at tilesortspu_flush.c:114
#4  0x00002aacab894585 in tilesortspuHuge (opcode=CR_EXTEND_OPCODE, buf=0x2aaaad44e024) at tilesortspu_flush.c:255
#5  0x00002aacabc9cf72 in crHugePacket (opcode=CR_EXTEND_OPCODE, packet=0x2aaaad44e024) at pack_buffer.c:456
#6  0x00002aacabcaba06 in crPackCompressedTexImage2DARB (target=3553, level=0, internalformat=33776, width=1024, height=512,
    border=0, imagesize=262144, data=0x2aaaac155010) at pack_texture.c:764
#7  0x00002aacab89886f in tilesortspu_CompressedTexImage2DARB (target=3553, level=0, internalFormat=33776, width=1024,
    height=512, border=0, imagesize=262144, data=0x2aaaac155010) at tilesortspu_gen.c:1150
#8  0x00002aacab155eda in glCompressedTexImage2D (target=3553, level=0, internalFormat=33776, width=1024, height=512, border=0,
    imageSize=262144, data=0x2aaaac155010) at Linux_exports.c:4255
#9  0x00002aacaafb4024 in osg::Texture::applyTexImage2D_load () from /util/osg/1.0/lib64/libosg.so
#10 0x00002aacaafa98a7 in osg::Texture2D::apply () from /util/osg/1.0/lib64/libosg.so
#11 0x00002aacaaf8baac in osg::State::applyAttributeList () from /util/osg/1.0/lib64/libosg.so
#12 0x00002aacaaf88a10 in osg::State::apply () from /util/osg/1.0/lib64/libosg.so
#13 0x00002aacaac98607 in osgUtil::RenderLeaf::render () from /util/osg/1.0/lib64/libosgUtil.so
#14 0x00002aacaac8fc2f in osgUtil::RenderBin::drawImplementation () from /util/osg/1.0/lib64/libosgUtil.so
#15 0x00002aacaaca0100 in osgUtil::RenderStage::drawImplementation () from /util/osg/1.0/lib64/libosgUtil.so
#16 0x00002aacaaca0dde in osgUtil::RenderStage::drawInner () from /util/osg/1.0/lib64/libosgUtil.so
#17 0x00002aacaaca2f37 in osgUtil::RenderStage::draw () from /util/osg/1.0/lib64/libosgUtil.so
#18 0x00002aacaacb5c86 in osgUtil::SceneView::draw () from /util/osg/1.0/lib64/libosgUtil.so
#19 0x00002aacaa57d854 in osgProducer::OsgSceneHandler::drawImplementation () from /util/osg/1.0/lib64/libosgProducer.so
---Type <return> to continue, or q <return> to quit---
#20 0x00002aacaa57debc in osgProducer::OsgSceneHandler::draw () from /util/osg/1.0/lib64/libosgProducer.so
#21 0x00002aacaa6dabb1 in Producer::Camera::_frame () from /util/osg/1.0/lib64/libProducer.so
#22 0x00002aacaa6db37a in Producer::Camera::frame () from /util/osg/1.0/lib64/libProducer.so
#23 0x00002aacaa6e41f6 in Producer::CameraGroup::_singleThreadedFrame () from /util/osg/1.0/lib64/libProducer.so
#24 0x00002aacaa6e4425 in Producer::CameraGroup::_frame () from /util/osg/1.0/lib64/libProducer.so
#25 0x00002aacaa572e6f in osgProducer::OsgCameraGroup::frame () from /util/osg/1.0/lib64/libosgProducer.so
#26 0x00002aacaa5926a8 in osgProducer::Viewer::frame () from /util/osg/1.0/lib64/libosgProducer.so
#27 0x000000000040bbd6 in main ()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.