Comment 1 for bug 905456

The games Super Meat Boy and Shank from The Humble Indie Bundle does not work correctly when the assembler optimizations in Mesa is used.

Super Meat Boy will either give an error "MojoShader compile failed" or segfault. Shank runs, but does not render correctly or, using git master, will segfault on start.

All of these problems go away if Mesa is compiled with the --disable-asm flag.

Both the error message from the game and the backtraces from the segfaults point to the games themselves so I'm not sure if this is Mesa exposing a bug in the games or the other way around. I did however notice that Fedora explicitly makes use of the flag to turn the assembly off with this comment "i do not have words for how much the assembly dispatch code infuriates me".

A bug report for the games is filed here:

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.3
-- xserver:
-- mesa:
-- drm: 2.4.29
-- kernel: 3.1.5