Bug 109161 - TSC fix for media-video/SDLcam on Pentium M CPUs
Bug#: 109161 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vapier@gentoo.org Reported By: klausman@gentoo.org
Component: Ebuilds
URL: 
Summary: TSC fix for media-video/SDLcam on Pentium M CPUs
Keywords:  
Status Whiteboard: 
Opened: 2005-10-13 09:17 0000
Description:   Opened: 2005-10-13 09:17 0000
Due to the way Pentium Ms handle TSC and the related assembly, SDLcam in its
current state (v0.7.3 plus the Gentoo patches) does not work on those CPUs
(usually, it fails on startup).

I've created a patch that adresses this issue (TSC timing) so that it works on
Pentium Ms. I've submitted it to the maintainer and he will release a new
version. But according to him this will take some time, so I'm submitting it
here, too. I've tested the resulting binaries on all x86 hardware I have (PIII,
PIV, PM, AthXP) and found no problems. As the original assembly code didn't work
elsewhere (SDLcam has an alternative codepath without assembly), I've not
bothered testing it anywhere else.

------- Comment #1 From Tobias Klausmann 2005-10-13 09:19:46 0000 -------
Created an attachment (id=70575) [details]
TSC assembly fix for SDLcam 0.7.3

------- Comment #2 From SpanKY 2005-10-13 17:36:06 0000 -------
thanks, now in portage