Fixing SIGILL on Pentium 4

Michael Harder mharder1 at gmail.com
Sun Jan 17 11:09:14 PST 2016


Hi all,

I'm trying to get my Kodi media center working but am experiencing crashes
when playing a movie. There is a ticket at
https://bugs.freedesktop.org/show_bug.cgi?id=27512. From the help I've
received so far and the research I've done it sounds like the instruction
prefetch is not available on Pentium 4. That's what produces the original
error:

Program terminated with signal SIGILL, Illegal instruction.
#0  _mesa_x86_64_transform_points4_general () at x86-64/xform4.S:72
72              prefetch 16(%rdx)
[Current thread is 1 (Thread 0x7f9054aeb9c0 (LWP 791))]


I've tried the suggested patch which updates src/mesa/x86-64/xform4.S to
use prefetcht1 instead of prefetch. I understand that prefetcht1 is part of
SSE which Pentium 4 supports. It worked for a few days but now I'm getting
this error:

Program terminated with signal SIGILL, Illegal instruction.
#0  _mesa_x86_64_transform_points4_general () at x86-64/xform4.S:72
72              prefetcht1 16(%rdx)
[Current thread is 1 (Thread 0x7fd24af779c0 (LWP 797))]


Is the prefetcht1 instruction supported by Pentium 4? Any suggestions about
an alternative instruction I could try?

Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20160117/11d4c9b5/attachment.html>


More information about the dri-devel mailing list