Summary: | [RADEON:KMS:R600G] amnesia (closed source game) segfaults | ||
---|---|---|---|
Product: | Mesa | Reporter: | roughl <r0ugh_l> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jlp.bugs, sa |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
render test logfile
render test logfile with llvm-pipe |
Description
roughl
2011-01-23 14:55:32 UTC
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 (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. Created attachment 42774 [details]
render test logfile
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. Created attachment 42776 [details]
render test logfile with llvm-pipe
Does it works better with lastest mesa ? 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)? (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. 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. 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. (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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.