Skip to contentSkip to conversation

New: Torchlight: crash due to texture error

Bug 55445 [email protected] 1 participant 7 messages Sep 29, 2012 – Oct 1, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=55445

Priority: medium
Bug ID: 55445
Assignee: [email protected]
Summary: Torchlight: crash due to texture error
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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,

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 55445] Torchlight: crash due to texture error

https://bugs.freedesktop.org/show_bug.cgi?id=55445

Krzysztof A. Sobiecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #67843|text/plain                  |application/octet-stream
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 55445] Torchlight: crash due to texture error

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=55445

--- Comment #1 from Krzysztof A. Sobiecki <[email protected]> --- Apitrace:
pastelink.me/dl/4d477e

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 55445] Torchlight: crash due to texture error

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=55445

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Sven Arvidsson <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 55445] Torchlight: crash due to texture error

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=55445

--- Comment #3 from Krzysztof A. Sobiecki <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 55445] Torchlight: crash due to texture error

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=55445

Krzysztof A. Sobiecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #67856|0                           |1

is obsolete| |

--- Comment #4 from Krzysztof A. Sobiecki <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 55445] Torchlight: crash due to texture error

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=55445

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected].
                   |.org                        |org
          Component|Drivers/Gallium/r600        |Mesa core
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel