Klaus Schmidinger wrote:
So the only thing keeping me from removing my LD_ASSUME_KERNEL is the mp3-plugin, it still crashes when streaming form the internet. But work's nice otherwise.Alfred Zastrow wrote:Hi, since I don't have NTPL-less systems anymore, I'm forced to run vdr with NTPL. My vdr-build-system in short: linux-2.6.8.1 glibc-2.3.4-20040701 (tarball is from Linuxfromscratch) gcc-3.4.2 binutils-2.15 With the folloing two changes above (commenting out the NTPL-exit in vdr.c and the usleep in dvb-player.c) vdr runs flawless with NTPL. Also jumping between cutting marks appears normal. Right now I'm not able to meassure the cpu-load, but in my case (dedicated system) this is not an issue. --- vdr.orig.c Sun Oct 17 13:50:21 2004 +++ vdr.c Wed Oct 20 21:40:39 2004 @@ -91,7 +91,7 @@ if (confstr(_CS_GNU_LIBPTHREAD_VERSION, LibPthreadVersion, sizeof(LibPthreadVersion)) > 0) { if (strstr(LibPthreadVersion, "NPTL")) { fprintf(stderr, "vdr: please turn off NPTL by setting 'export LD_ASSUME_KERNEL=2.4.1' before starting VDR\n"); - return 2; +// return 2; } } #endif --- dvbplayer.orig.c Fri Oct 15 15:07:55 2004 +++ dvbplayer.c Thu Oct 21 08:11:28 2004 @@ -490,8 +490,8 @@ break; } } - else//XXX - usleep(1); // this keeps the CPU load low +// else//XXX +// usleep(1); // this keeps the CPU load low } // Store the frame in the buffer: regards AlfredGreat! I'll take it from here and will see what can be done (if at all necessary) to keep the CPU load low without that usleep(). So, if this actually fixes all NPTL trouble, I guess it would be ok to remove the NPTL check altogether. Can others please check whether they can confirm Alfred's findings? Klaus
Attachment:
signature.asc
Description: OpenPGP digital signature