[Mesa-dev] [PATCH] r300/compiler: Avoid generating MOV instructions for invalid IMM swizzles

Tom Stellard tom at stellard.net
Sat Oct 13 21:18:48 PDT 2012


On Wed, Oct 10, 2012 at 05:37:27PM +0000, son_of_the_osiris at interia.pl wrote:
> I cant run LightMark 2008 with this patch. I have got:
> 
> This is Lightsmark 2008 [Linux 64bit] log. Check it if benchmark doesn't 
> work properly.
> Penumbra quality: 8/8 on Gallium 0.4 on ATI RV350.
> Loading Lightsmark2008.cfg...
>    Loading objects/I_Robot_female_HD.3DS...
>    Loading scenes/wop_padattic/wop_padatticBB.ani...
>    Detection quality: auto->high.
>    Loading scene scenes/wop_padattic/wop_padatticBB.bsp...
>    FMOD error! (60) Error initializing output device.
> radeon: Acquired Hyper-Z.
> *** stack smashing detected ***: 
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend terminated
> ======= Backtrace: =========
> /usr/lib/libc.so.6(__fortify_fail+0x37)[0x7fa3067acad7]
> /usr/lib/libc.so.6(__fortify_fail+0x0)[0x7fa3067acaa0]
> /usr/lib/xorg/modules/dri/r300_dri.so(rc_dataflow_swizzles+0x8c9)[0x7fa3020a5689]
> /usr/lib/xorg/modules/dri/r300_dri.so(rc_run_compiler_passes+0x4e)[0x7fa302088b2e]
> /usr/lib/xorg/modules/dri/r300_dri.so(rc_run_compiler+0x37)[0x7fa302088bd7]
> /usr/lib/xorg/modules/dri/r300_dri.so(r3xx_compile_fragment_program+0x7c0)[0x7fa30209b8a0]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x1db665)[0x7fa302093665]
> /usr/lib/xorg/modules/dri/r300_dri.so(r300_pick_fragment_shader+0x437)[0x7fa302094677]
> /usr/lib/xorg/modules/dri/r300_dri.so(r300_update_derived_state+0x34a)[0x7fa302082f2a]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x1c380f)[0x7fa30207b80f]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x3c94eb)[0x7fa3022814eb]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x29cce5)[0x7fa302154ce5]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x29704f)[0x7fa30214f04f]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x28be9f)[0x7fa302143e9f]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x294b96)[0x7fa30214cb96]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x256d6f)[0x7fa30210ed6f]
> /usr/lib/xorg/modules/dri/r300_dri.so(+0x25704a)[0x7fa30210f04a]
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend[0x42b489]
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend[0x42bdf7]
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend[0x429bbc]
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend[0x4119d1]
> /usr/lib/libglut.so.3(+0x221f7)[0x7fa3072011f7]
> /usr/lib/libglut.so.3(fgEnumWindows+0x39)[0x7fa3072049e9]
> /usr/lib/libglut.so.3(glutMainLoopEvent+0x112)[0x7fa307201762]
> /usr/lib/libglut.so.3(glutMainLoop+0x95)[0x7fa307202015]
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend[0x4139bc]
> /usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7fa3066d2725]
> /root/Desktop/Lightsmark2008.2.0/bin/pc-linux64/backend(__gxx_personality_v0+0x251)[0x407009]

I'm unable to reproduce this, could you build with debugging symbols and
post the backtrace?

-Tom


More information about the mesa-dev mailing list