File: rtc.html

package info (click to toggle)
mplayer 1.0~rc1-12etch7
  • links: PTS
  • area: main
  • in suites: etch
  • size: 47,324 kB
  • ctags: 86,269
  • sloc: ansic: 580,415; xml: 107,529; sh: 7,643; makefile: 2,860; asm: 2,206; cpp: 1,034; objc: 865; awk: 234; perl: 82
file content (36 lines) | stat: -rw-r--r-- 5,463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.7. RTC</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimediln p&#345;ehrva&#269;"><link rel="up" href="install.html" title="Kapitola 2. Instalace"><link rel="prev" href="fonts-osd.html" title="2.6. Fonty a OSD"><link rel="next" href="usage.html" title="Kapitola 3. Pou&#382;it"><link rel="preface" href="howtoread.html" title="Jak &#269;st tuto  dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. P&#345;edstaven"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Pou&#382;it"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. &#268;asto Kladen Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn formty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. Vstupn video za&#345;zen/rozhran"><link rel="chapter" href="audio.html" title="Kapitola 9. Vstupn zvukov za&#345;zen"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="radio.html" title="Kapitola 11. Rdio"><link rel="chapter" href="ports.html" title="Kapitola 12. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 13. Zkladn pou&#382;it MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 14. Enkdovn s MEncoderem"><link rel="appendix" href="bugreports.html" title="P&#345;loha A. Jak hlsit chyby"><link rel="appendix" href="bugs.html" title="P&#345;loha B. Znm chyby"><link rel="appendix" href="skin.html" title="P&#345;loha C. Formt skin&#367; MPlayeru"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.7. RTC</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="fonts-osd.html">P&#345;edchzejc</a></td><th width="60%" align="center">Kapitola 2. Instalace</th><td width="20%" align="right"><a accesskey="n" href="usage.html">Dal&#353;</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="rtc"></a>2.7. RTC</h2></div></div></div><p>
V <span class="application">MPlayer</span> jsou zabudovny t&#345;i metody &#269;asovn.

</p><div class="itemizedlist"><ul type="disc"><li>
<span class="bold"><strong>Abyste pou&#382;ili starou metodu</strong></span>, nemuste d&#283;lat
  v&#367;bec nic. Ta pou&#382;v <code class="systemitem">usleep()</code> pro hldn
  A/V synchronizace s p&#345;esnost +/- 10ms. A&#269;koli n&#283;kdy m&#367;&#382;e bt synchronizace
  hldna je&#353;t&#283; jemn&#283;ji.
  </li><li><p>
Kd <span class="bold"><strong>novho &#269;asova&#269;e</strong></span> pou&#382;v pro tento &#269;el RTC
  (hodiny relnho &#269;asu), proto&#382;e maj p&#345;esn 1ms &#269;asova&#269;e.
  Volba <tt class="option">-rtc</tt> to zapn, je v&#353;ak nutn vhodn&#283; nastaven jdro.
  Pokud pou&#382;vte jdro 2.4.19pre8 nebo pozd&#283;j&#353;, m&#367;&#382;ete nastavit maximln RTC
  kmito&#269;et pro normln u&#382;ivatele pomoc systmu soubor&#367;
  <code class="systemitem">/proc
  </code>. Pou&#382;ijte jeden z t&#283;chto dvou p&#345;kaz&#367; pro zapnut RTC
  pro oby&#269;ejn u&#382;ivatele:
  </p><pre class="screen">echo 1024 &gt; /proc/sys/dev/rtc/max-user-freq</pre><p>
  </p><pre class="screen">sysctl dev/rtc/max-user-freq=1024</pre><p>
  M&#367;&#382;ete tuto volbu u&#269;init trvalou p&#345;idnm druhho p&#345;kazu do
  <tt class="filename">/etc/sysctl.conf</tt>.
  </p><p>
   Efektivitu novho &#269;asova&#269;e uvidte na stavovm &#345;dku.
   Funkce power managementu n&#283;kterch notebookovch BIOS&#367; s speedstep procesory
   &#353;patn&#283; komunikuj s RTC. Audio a video se mohou rozejt. Zd se &#382;e pomh
   p&#345;ipojen vn&#283;j&#353;ho napjen p&#345;ed zapnutm notebooku.
   V n&#283;kterch hardwarovch kombinacch (zji&#353;t&#283;no b&#283;hem pou&#382;vn ne-DMA DVD
   mechaniky na ALi1541 boardu) zp&#367;sobuje pou&#382;it RTC &#269;asovn trhav p&#345;ehrvn.
   Pak doporu&#269;ujeme
   pou&#382;t t&#345;et metodu.
  </p></li><li>
  <span class="bold"><strong>T&#345;et kd &#269;asova&#269;e</strong></span> se zapn volbou
  <tt class="option">-softsleep</tt>. Je stejn&#283; efektn jako RTC, ale nepou&#382;v RTC.
  Na druhou stranu vce zat&#283;&#382;uje CPU.
  </li></ul></div><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="fonts-osd.html">P&#345;edchzejc</a></td><td width="20%" align="center"><a accesskey="u" href="install.html">Nahoru</a></td><td width="40%" align="right"><a accesskey="n" href="usage.html">Dal&#353;</a></td></tr><tr><td width="40%" align="left" valign="top">2.6. Fonty a OSD</td><td width="20%" align="center"><a accesskey="h" href="index.html">Dom&#367;</a></td><td width="40%" align="right" valign="top">Kapitola 3. Pou&#382;it</td></tr></table></div></body></html>