Mercurial > mplayer.hg
changeset 19761:9b41b396d3ca
Remove outdated hint about patching kernel sources.
author | diego |
---|---|
date | Sat, 09 Sep 2006 18:00:52 +0000 |
parents | c55b49cd67ba |
children | 59de9ee0ce47 |
files | DOCS/xml/en/install.xml |
diffstat | 1 files changed, 1 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/en/install.xml Sat Sep 09 11:57:43 2006 +0000 +++ b/DOCS/xml/en/install.xml Sat Sep 09 18:00:52 2006 +0000 @@ -881,23 +881,12 @@ <listitem><para> <emphasis role="bold">The new timer</emphasis> code uses the RTC (RealTime Clock) for this task, because it has precise 1ms timers. It is automagically enabled - when available, but requires root privileges, a <emphasis>setuid root</emphasis> - <application>MPlayer</application> binary or a properly set up kernel. + when available, but requires a properly set up kernel. If you are running kernel 2.4.19pre8 or later you can adjust the maximum RTC frequency for normal users through the <systemitem class="systemname">/proc </systemitem> filesystem. Use this command to enable RTC for normal users: <screen>echo 1024 > /proc/sys/dev/rtc/max-user-freq</screen> - If you do not have such a new kernel, you can also change one line in - <filename>drivers/char/rtc.c</filename> and recompile your kernel. - Find the section that reads - <programlisting> - * We don't really want Joe User enabling more - * than 64Hz of interrupts on a multi-user machine. - */ - if ((rtc_freq > 64) && (!capable(CAP_SYS_RESOURCE))) - </programlisting> - and change the 64 to 1024. You should really know what you are doing, though. You can see the new timer's efficiency in the status line. The power management functions of some notebook BIOSes with speedstep CPUs interact badly with RTC. Audio and video may get out of sync. Plugging the @@ -913,10 +902,6 @@ doesn't use RTC. On the other hand, it requires more CPU. </simpara></listitem> </itemizedlist> -<note><para><emphasis role="bold">NEVER install a setuid root -<application>MPlayer</application> binary on a multiuser system!</emphasis> -It's a clear way for everyone to become root. -</para></note> </para> </sect1>