* Fixing SIGILL on Pentium 4
@ 2016-01-17 19:09 Michael Harder
2016-01-17 22:05 ` Roland Scheidegger
0 siblings, 1 reply; 2+ messages in thread
From: Michael Harder @ 2016-01-17 19:09 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1163 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1628 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fixing SIGILL on Pentium 4
2016-01-17 19:09 Fixing SIGILL on Pentium 4 Michael Harder
@ 2016-01-17 22:05 ` Roland Scheidegger
0 siblings, 0 replies; 2+ messages in thread
From: Roland Scheidegger @ 2016-01-17 22:05 UTC (permalink / raw)
To: Michael Harder, dri-devel
Am 17.01.2016 um 20:09 schrieb Michael Harder:
> 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?
Yes.
> Any suggestions
> about an alternative instruction I could try?
No. Well prefetchnta, prefetcht0, prefetcht2 would work too (as well as
just skipping it completely), but I cannot see why that would work
better. As far I can tell, a sigill there should be impossible. Unless
the asembler did something odd (I suppose you could not just look at the
disassembly output, but look at the actual encoding).
Also, it doesn't make sense that "it worked for a couple of days" and
now doesn't, which is very suspicious...
Roland
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-17 22:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-17 19:09 Fixing SIGILL on Pentium 4 Michael Harder
2016-01-17 22:05 ` Roland Scheidegger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).