All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 33389] New: Amesia (closed source game) segfaults
@ 2011-01-23 22:55 bugzilla-daemon
  2011-01-23 22:58 ` [Bug 33389] Amnesia " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-23 22:55 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Amesia (closed source game) segfaults
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: r0ugh_l@yahoo.de


When trying to run Amnesia (http://www.amnesiagame.com/#demo) on my system it
gives me this output:
[1]    619 segmentation fault  ./Amnesia.bin64

It runs fine until the loading screen and then crashes.

Steps to reproduce:
Run Amnesia with r600 driver

Additional information:
It doesn't crash if I'm using the llvm-pipe driver. I've tested it at the
lowest possible graphics settings.

Backtrace:
#0  0x000000000082ab08 in hpl::iParticleEmitter::GetMaterial() ()
#1  0x0000000000805de2 in
hpl::iRenderer::RenderObjectZAndAddToRenderList(hpl::iRenderable*) ()
#2  0x0000000000805e59 in
hpl::iRenderer::RenderObjectZAndAddToRenderListStaticCallback(hpl::iRenderer*,
hpl::iRenderable*) ()
#3  0x0000000000807d8f in
hpl::iRenderer::RenderAndAddNodeObjects(hpl::iRenderableContainerNode*, bool
(*)(hpl::iRenderer*, hpl::iRenderable*), unsigned int) ()
#4  0x000000000080808a in
hpl::iRenderer::CheckForVisibleObjectsAddToListAndRenderZ(hpl::cVisibleRCNodeTracker*,
unsigned int, unsigned int, bool, bool (*)(hpl::iRenderer*, hpl::iRenderable*))
()
#5  0x00000000007e4841 in hpl::cRendererDeferred::RenderObjects() ()
#6  0x0000000000809334 in hpl::iRenderer::Render(float, hpl::cFrustum*,
hpl::cWorld*, hpl::cRenderSettings*, hpl::cRenderTarget*, bool,
std::list<hpl::iRendererCallback*, std::allocator<hpl::iRendererCallback*> >*)
()
#7  0x000000000082496d in hpl::cScene::Render(float, unsigned int) ()
#8  0x0000000000925423 in hpl::cEngine::Run() ()
#9  0x0000000000689890 in hplMain(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) ()
#10 0x000000000090ff29 in main ()

Version Information:
mesa: git 835c4ea1053730c8eea98337c9da1b14fcff6b5e
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV770
OpenGL version string: 2.1 Mesa 7.11-devel
OpenGL shading language version string: 1.20

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] Amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
@ 2011-01-23 22:58 ` bugzilla-daemon
  2011-01-23 23:13 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-23 22:58 UTC (permalink / raw)
  To: dri-devel

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

roughl <r0ugh_l@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Amesia (closed source game) |Amnesia (closed source
                   |segfaults                   |game) segfaults

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] Amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
  2011-01-23 22:58 ` [Bug 33389] Amnesia " bugzilla-daemon
@ 2011-01-23 23:13 ` bugzilla-daemon
  2011-01-31 21:06 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-23 23:13 UTC (permalink / raw)
  To: dri-devel

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

Sven Arvidsson <sa@whiz.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sa@whiz.se

--- Comment #1 from Sven Arvidsson <sa@whiz.se> 2011-01-23 15:13:18 PST ---
Amnesia was only recently made playable with r300g, so it might be a bit early
for r600g.

Anyway, the Amnesia devs have published a compatability test for the game
called RendererFeatTest which is probably a good start for anyone working on
supporting this: 

http://frictionalgames.com/forum/thread-3656.html

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] Amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
  2011-01-23 22:58 ` [Bug 33389] Amnesia " bugzilla-daemon
  2011-01-23 23:13 ` bugzilla-daemon
@ 2011-01-31 21:06 ` bugzilla-daemon
  2011-01-31 21:07 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-31 21:06 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from roughl <r0ugh_l@yahoo.de> 2011-01-31 13:06:50 PST ---
(In reply to comment #1)
> Amnesia was only recently made playable with r300g, so it might be a bit early
> for r600g.
> 
> Anyway, the Amnesia devs have published a compatability test for the game
> called RendererFeatTest which is probably a good start for anyone working on
> supporting this: 
> 
> http://frictionalgames.com/forum/thread-3656.html

I've tested the compatibility test and it did run with a lot of errors:
$ grep ERROR render_test.log
ERROR: Could not create GL texture 
ERROR: Could not create GL texture 
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture
/home/roughl/Downloads/RendererFeatTest64/data/cubemap_evening.dds
ERROR: Couldn't load material
'H:/HPL_2/RendererFeatTest/data/test_refraction.mat'
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds
ERROR: Could not create GL texture cubemap_evening.dds

The cubemap_evening.dds erros have probably to do with missing S3TC
functionality in the r600 driver.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] Amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-01-31 21:06 ` bugzilla-daemon
@ 2011-01-31 21:07 ` bugzilla-daemon
  2011-01-31 21:16 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-31 21:07 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from roughl <r0ugh_l@yahoo.de> 2011-01-31 13:07:48 PST ---
Created an attachment (id=42774)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=42774)
render test logfile

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] Amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-01-31 21:07 ` bugzilla-daemon
@ 2011-01-31 21:16 ` bugzilla-daemon
  2011-01-31 21:17 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-31 21:16 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from roughl <r0ugh_l@yahoo.de> 2011-01-31 13:16:46 PST ---
if running the test with llvm-pipe most of the test's work, and I get less
errors in the logfile:
egrep "(ERROR|WARNING)" render_test.log
ERROR: Frame buffer 'ShadowMap1024x1024_0_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap512x512_0_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap512x512_1_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap512x512_2_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap512x512_3_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap256x256_0_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap256x256_1_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap256x256_2_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap256x256_3_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap256x256_4_Buffer' is not complete! Format is
unsupported!
ERROR: Frame buffer 'ShadowMap256x256_5_Buffer' is not complete! Format is
unsupported!
WARNING: System does not support float textures! SSAO is disabled.
WARNING: System does not support float textures! Edge smooth is disabled.

test 7, 10 and 14 do look wrong. 15 and 16 have minor visual artefacts.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] Amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-01-31 21:16 ` bugzilla-daemon
@ 2011-01-31 21:17 ` bugzilla-daemon
  2011-03-08 18:54 ` [Bug 33389] [RADEON:KMS:R600G] amnesia " bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-01-31 21:17 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from roughl <r0ugh_l@yahoo.de> 2011-01-31 13:17:52 PST ---
Created an attachment (id=42776)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=42776)
render test logfile with llvm-pipe

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-01-31 21:17 ` bugzilla-daemon
@ 2011-03-08 18:54 ` bugzilla-daemon
  2011-04-07 19:48 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-03-08 18:54 UTC (permalink / raw)
  To: dri-devel

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

Jerome Glisse <glisse@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Amnesia (closed source      |[RADEON:KMS:R600G] amnesia
                   |game) segfaults             |(closed source game)
                   |                            |segfaults

--- Comment #6 from Jerome Glisse <glisse@freedesktop.org> 2011-03-08 10:54:54 PST ---
Does it works better with lastest mesa ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-03-08 18:54 ` [Bug 33389] [RADEON:KMS:R600G] amnesia " bugzilla-daemon
@ 2011-04-07 19:48 ` bugzilla-daemon
  2011-04-07 20:28 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-04-07 19:48 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Alexandre Demers <alexandre.f.demers@gmail.com> 2011-04-07 12:48:20 PDT ---
Right now, the RendererFeatTest doesn't work properly at all if I enable the
S3TC extension with mesa git version, libdrm git version and libtxc_dxtn git
version.

Not forcing the S3TC extension, the first test shows corruption on text
(written on top left corner) while the i915 doesn't. All the test fails to show
the background which is probably related to a texture not loaded because of
missing S3TC extension or because of float textures not supported. SSAO (used
in test 10) and Edge smooth (used in test 14) are disabled because of float
textures not supported.

Should we report problem with RendererTestFeat in different bugs (listing each
problem as a different bug, i.e. S3TC and Float Textures)?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-04-07 19:48 ` bugzilla-daemon
@ 2011-04-07 20:28 ` bugzilla-daemon
  2011-05-01 19:23 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-04-07 20:28 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Sven Arvidsson <sa@whiz.se> 2011-04-07 13:28:21 PDT ---
(In reply to comment #7)
> Right now, the RendererFeatTest doesn't work properly at all if I enable the
> S3TC extension with mesa git version, libdrm git version and libtxc_dxtn git
> version.
> 
> Not forcing the S3TC extension, the first test shows corruption on text
> (written on top left corner) while the i915 doesn't. All the test fails to show
> the background which is probably related to a texture not loaded because of
> missing S3TC extension or because of float textures not supported. SSAO (used
> in test 10) and Edge smooth (used in test 14) are disabled because of float
> textures not supported.
> 
> Should we report problem with RendererTestFeat in different bugs (listing each
> problem as a different bug, i.e. S3TC and Float Textures)?

Does S3TC work in other games? If not, it's a more general problem. (I'm not
sure if S3TC works equally well for all r600g hardware, or only on Evergreen?)

Float textures only exist in marek's branch, and only for r300g, so it's
probably a bit premature to file bugs about this. Amensia works without it,
you're just missing out on a couple of effects.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (8 preceding siblings ...)
  2011-04-07 20:28 ` bugzilla-daemon
@ 2011-05-01 19:23 ` bugzilla-daemon
  2011-06-04 22:25 ` bugzilla-daemon
  2011-06-04 23:18 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-05-01 19:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Sven Arvidsson <sa@whiz.se> 2011-05-01 12:23:56 PDT ---
Have you had a chance to retry Amnesia? With r600g on a HD5670 both the
RenderTest and the game itself is working. 

There's still a few rendering issues though, the game itself has black bars
which make it seem like it was letterboxed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (9 preceding siblings ...)
  2011-05-01 19:23 ` bugzilla-daemon
@ 2011-06-04 22:25 ` bugzilla-daemon
  2011-06-04 23:18 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-06-04 22:25 UTC (permalink / raw)
  To: dri-devel

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

roughl <r0ugh_l@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from roughl <r0ugh_l@yahoo.de> 2011-06-04 15:25:14 PDT ---
With kernel 2.6.39 and a recent 7.11-devel mesa it does not crash anymore.
Although there are some visual glitches with the lights in the game (see
atached picture). But I fill separate bugs for these issues.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
  2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
                   ` (10 preceding siblings ...)
  2011-06-04 22:25 ` bugzilla-daemon
@ 2011-06-04 23:18 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-06-04 23:18 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Sven Arvidsson <sa@whiz.se> 2011-06-04 16:18:52 PDT ---
(In reply to comment #10)
> Although there are some visual glitches with the lights in the game (see
> atached picture). But I fill separate bugs for these issues.

Already being tracked in bug 37028.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-04 23:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 22:55 [Bug 33389] New: Amesia (closed source game) segfaults bugzilla-daemon
2011-01-23 22:58 ` [Bug 33389] Amnesia " bugzilla-daemon
2011-01-23 23:13 ` bugzilla-daemon
2011-01-31 21:06 ` bugzilla-daemon
2011-01-31 21:07 ` bugzilla-daemon
2011-01-31 21:16 ` bugzilla-daemon
2011-01-31 21:17 ` bugzilla-daemon
2011-03-08 18:54 ` [Bug 33389] [RADEON:KMS:R600G] amnesia " bugzilla-daemon
2011-04-07 19:48 ` bugzilla-daemon
2011-04-07 20:28 ` bugzilla-daemon
2011-05-01 19:23 ` bugzilla-daemon
2011-06-04 22:25 ` bugzilla-daemon
2011-06-04 23:18 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.