https://bugs.freedesktop.org/show_bug.cgi?id=55445
Priority: medium Bug ID: 55445 Assignee: dri-devel@lists.freedesktop.org Summary: Torchlight: crash due to texture error Severity: normal Classification: Unclassified OS: Linux (All) Reporter: sobkas@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 67843 --> https://bugs.freedesktop.org/attachment.cgi?id=67843&action=edit Problematic texture
When the Main Protagonist descends from Tu'tara Caverns Floor 19 via Stairs Down into lover level, game crashes, with this message:
*-*-* Version 1.6.5 (Shoggoth) terminate called after throwing an instance of 'Ogre::RenderingAPIException' what(): OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
./configure --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --libdir=${prefix}/lib/x86_64-linux-gnu --localstatedir=/v ar --build=x86_64-linux-gnu --with-driver=dri --enable-r600-llvm-compiler --with-dri-drivers= --with-dri-driverdir=/usr/lib/x86_64-linux-gnu/dri --with-dri-searchpath =/usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri --enable-glx-tls --enable-shared-glapi --enable-texture-float --enable-xa --enable-driglx-direct --with-eg l-platforms=x11 drm --enable-gallium-llvm --with-gallium-drivers= nouveau r600 r300 svga swrast --enable-gles1 --enable-gles2 --enable-openvg --enable-gallium-egl --d isable-glu CFLAGS=-Wall -g -O2 CXXFLAGS=-Wall -g -O2
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER OpenGL version string: 3.0 Mesa 9.1-devel OpenGL shading language version string: 1.30
Linux solis 3.6.0-rc6+ #2 SMP Wed Sep 19 11:56:23 CEST 2012 x86_64 GNU/Linux
wheezy/sid llvm-3.1: Installed: 3.1-3~exp4 Candidate: 3.1-3~exp4
Version table: *** 3.1-3~exp4 0 501 http://ftp.pl.debian.org/debian/ experimental/main amd64 Packages 500 /var/lib/dpkg/status 3.1-2 0 501 http://ftp.pl.debian.org/debian/ unstable/main amd64 Packages 3.1-1 0 500 http://ftp.pl.debian.org/debian/ testing/main amd64 Packages
torchlight: Installed: 1.0.20120924-1 Candidate: 1.0.20120924-1 Version table: *** 1.0.20120924-1 0 500 /var/lib/dpkg/status
glxinfo |grep comp GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture, GL_ARB_texture_compression, GL_EXT_framebuffer_object, GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_combine, GL_ARB_texture_compression_rgtc, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ATI_texture_compression_3dc, GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_latc, GL_EXT_texture_integer, GL_AMD_shader_stencil_export, GL_ARB_ES2_compatibility,
https://bugs.freedesktop.org/show_bug.cgi?id=55445
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67843|text/plain |application/octet-stream mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=55445
--- Comment #1 from Krzysztof A. Sobiecki sobkas@gmail.com --- Apitrace: pastelink.me/dl/4d477e
https://bugs.freedesktop.org/show_bug.cgi?id=55445
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
--- Comment #2 from Sven Arvidsson sa@whiz.se --- This might be a bug in the game itself:
Mesa: User error: GL_INVALID_OPERATION in glCompressedTexImage2D(invalid width or height for compression format)
If so, it isn't clear to me why it doesn't happen on the proprietary drivers as well?
More information here: http://forums.runicgames.com/viewtopic.php?f=24&t=34893
The bug should probably be reassigned to Mesa core as this seems to happen with all Mesa drivers.
https://bugs.freedesktop.org/show_bug.cgi?id=55445
--- Comment #3 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 67856 --> https://bugs.freedesktop.org/attachment.cgi?id=67856&action=edit I'm so sorry for this thing.
This patch hides problem with texture. It's a work in regress, do not use.
https://bugs.freedesktop.org/show_bug.cgi?id=55445
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67856|0 |1 is obsolete| |
--- Comment #4 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 67879 --> https://bugs.freedesktop.org/attachment.cgi?id=67879&action=edit I'm still so sorry for this thing.
A little better patch. A hack.
https://bugs.freedesktop.org/show_bug.cgi?id=55445
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/r600 |Mesa core
dri-devel@lists.freedesktop.org