Subject: port-xen/30977: FPU troubles
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <cube@cubidou.net>
List: netbsd-bugs
Date: 08/12/2005 14:13:01
>Number:         30977
>Category:       port-xen
>Synopsis:       FPU troubles
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 12 14:13:00 +0000 2005
>Originator:     Quentin Garnier
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD vidal.eve 3.99.7 NetBSD 3.99.7 (XEN_VIDAL) #0: Thu Aug 11 16:39:22 CEST 2005 cube@vidal.eve:/empty/NetBSD/vidal/obj/empty/NetBSD/current/src/sys/arch/i386/compile/XEN_VIDAL i386
Architecture: i386
Machine: i386
>Description:
	Applications that use the FPU show weird behaviour:  xpdf has
	trouble displaying images (reloading a page several time shows
	different results) as they get black regions on it.

	Ogg decoders such as ogg123 or any player linked to libvorbis
	insert beeps and cracks in the music.

	I could prouve it is a FPU issue by listening to the difference
	when using libvorbis.so (from audio/libvorbis) and
	libvorbisidec.so (from audio/tremor).

	The former uses the FPU, while the latter is a fixed-point
	implementation.  The former inserts beeps and cracks, sound is
	just fine when using the latter.

	I also had funny results one day when tried manipulating images
	with ImageMagick one day.  Black lines appeared on the result.
>How-To-Repeat:
	Use mp3blaster to listen to your collection of Ogg/Vorbis files.
	Cry in despair when KT Tunstall's music gets desecrated.
>Fix:
	Unknown.  Obviously updating Xen to 2.0.7 and NetBSD to a very
	-current wasn't enough.