Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109161 - TSC fix for media-video/SDLcam on Pentium M CPUs
Summary: TSC fix for media-video/SDLcam on Pentium M CPUs
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
Depends on:
Reported: 2005-10-13 09:17 UTC by Tobias Klausmann (RETIRED)
Modified: 2005-10-13 17:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

TSC assembly fix for SDLcam 0.7.3 (sdlcam-tsc-fix.patch,1.13 KB, patch)
2005-10-13 09:19 UTC, Tobias Klausmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2005-10-13 09:17:31 UTC
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 Tobias Klausmann (RETIRED) gentoo-dev 2005-10-13 09:19:46 UTC
Created attachment 70575 [details, diff]
TSC assembly fix for SDLcam 0.7.3
Comment 2 SpanKY gentoo-dev 2005-10-13 17:36:06 UTC
thanks, now in portage