2005-09-23 06:40:02 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2005-10-07 08:02:13 +00:00
|
|
|
|
<!-- Synced with: 1.81 -->
|
2005-09-23 06:40:02 +00:00
|
|
|
|
<sect1 id="video">
|
|
|
|
|
<title>V<EFBFBD>stupn<EFBFBD> video za<7A><61>zen<65>/rozhran<61></title>
|
|
|
|
|
|
|
|
|
|
<sect2 id="mtrr">
|
|
|
|
|
<title>Nastaven<EFBFBD> MTRR</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
VELMI doporu<72>ujeme skontrolovat, zda jsou MTRR registry
|
|
|
|
|
spr<EFBFBD>vn<EFBFBD> nastaveny, jeliko<6B> mohou velice zv<7A><76>it v<>kon.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Prove<EFBFBD>te <command>cat /proc/mtrr</command>:
|
|
|
|
|
<screen>
|
|
|
|
|
<prompt>--($:~)--</prompt> cat /proc/mtrr
|
|
|
|
|
reg00: base=0xe4000000 (3648MB), size= 16MB: write-combining, count=9
|
|
|
|
|
reg01: base=0xd8000000 (3456MB), size= 128MB: write-combining, count=1<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Takto to spr<70>vn<76> ukazuje m<> Matrox G400 se 16MB pam<61>ti. Provedl jsem to z
|
|
|
|
|
XFree 4.x.x, kter<65> nastavuje MTRR registry automaticky.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud nic nefunguje, budete to muset ud<75>lat ru<72>n<EFBFBD>. Nejprve mus<75>te naj<61>t
|
|
|
|
|
b<EFBFBD>zovou adresu. M<>te t<>i mo<6D>nosti, jak ji zjistit:
|
|
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
ze startovac<61>ch informac<61> X11, nap<61><70>klad:
|
|
|
|
|
<screen>
|
|
|
|
|
(--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000
|
|
|
|
|
(--) SVGA: Linear framebuffer at 0xD8000000<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
z <filename>/proc/pci</filename> (pou<6F>ijte p<><70>kaz <command>lspci -v</command>
|
|
|
|
|
):
|
|
|
|
|
<screen>
|
|
|
|
|
01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
|
|
|
|
|
Memory at d8000000 (32-bit, prefetchable)
|
|
|
|
|
</screen>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
ze zpr<70>v jadern<72>ho modulu mga_vid (pou<6F>ijte <command>dmesg</command>):
|
|
|
|
|
<screen>mga_mem_base = d8000000</screen>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pak zjist<73>te velikost pam<61>ti. Je to velmi snadn<64>, sta<74><61> p<>ev<65>st velikost
|
|
|
|
|
video RAM do hexadecim<69>ln<6C> soustavy, nebo pou<6F>ijte n<>sleduj<75>c<EFBFBD> tabulku:
|
|
|
|
|
<informaltable frame="none">
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<tbody>
|
|
|
|
|
<row><entry>1 MB</entry><entry>0x100000</entry></row>
|
|
|
|
|
<row><entry>2 MB</entry><entry>0x200000</entry></row>
|
|
|
|
|
<row><entry>4 MB</entry><entry>0x400000</entry></row>
|
|
|
|
|
<row><entry>8 MB</entry><entry>0x800000</entry></row>
|
|
|
|
|
<row><entry>16 MB</entry><entry>0x1000000</entry></row>
|
|
|
|
|
<row><entry>32 MB</entry><entry>0x2000000</entry></row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud zn<7A>te b<>zovou adresu a velikost pam<61>ti, za<7A>n<EFBFBD>me nastavovat MTRR registry!
|
|
|
|
|
Nap<EFBFBD><EFBFBD>klad pro v<><76>e uvedenou kartu Matrox (<literal>base=0xd8000000</literal>)
|
|
|
|
|
s 32MB RAM (<literal>size=0x2000000</literal>) sta<74><61> spustit:
|
|
|
|
|
<screen>
|
|
|
|
|
echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ne v<>echny procesory maj<61> MTRR. Nap<61><70>klad star<61><72> CPU K6-2 (okolo 266MHz,
|
|
|
|
|
stepping 0) nemaj<61> MTRR, ale stepping 12 je maj<61>
|
|
|
|
|
(pro ov<6F><76>en<65> spus<75>te <command>cat /proc/cpuinfo</command>).
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="output-trad">
|
|
|
|
|
<title>Video v<>stupy pro tradi<64>n<EFBFBD> video karty</title>
|
|
|
|
|
<sect3 id="xv">
|
|
|
|
|
<title>Xv</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pod XFree86 4.0.2, nebo nov<6F>j<EFBFBD><6A>m, m<><6D>ete pou<6F><75>t hardwarov<6F> YUV rutiny karty
|
|
|
|
|
pomoc<EFBFBD> roz<6F><7A><EFBFBD>en<65> XVideo. P<>esn<73> toto pou<6F><75>v<EFBFBD> volba
|
|
|
|
|
'<option>-vo xv</option>'. Toto rozhran<61> tak<61> podporuje nastavov<6F>n<EFBFBD>
|
|
|
|
|
jasu/kontrastu/barevn<76>ho t<>nu atd. (pokud nepou<6F><75>v<EFBFBD>te strar<61>, pomal<61> DirectShow
|
|
|
|
|
DivX kodek, kter<65> to podporuje v<>ude), viz man str<74>nka.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Abyste to zprovoznili, ujist<73>te se o n<>sleduj<75>c<EFBFBD>m:
|
|
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Mus<75>te pou<6F><75>vat XFree86 4.0.2 nebo nov<6F>j<EFBFBD><6A> (p<>edchoz<6F> verze nemaj<61> XVideo)
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Va<56>e karta aktu<74>ln<6C> podporuje hardwarovou akceleraci (modern<72> karty ano)
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
X nahr<68>v<EFBFBD> roz<6F><7A><EFBFBD>en<65> XVideo. Zpr<70>va ve <filename>/var/log/XFree86.0.log</filename>
|
|
|
|
|
vypad<61> asi takto:
|
|
|
|
|
<programlisting>(II) Loading extension XVideo</programlisting>
|
|
|
|
|
<note><para>
|
|
|
|
|
Takto se nahraje pouze roz<6F><7A><EFBFBD>en<65> pro XFree86. To je v dobr<62> instalaci nahr<68>no
|
|
|
|
|
v<>dy a neznamen<65> to, <20>e je na<6E>tena i podpora XVideo pro
|
|
|
|
|
<emphasis role="bold">kartu</emphasis>!
|
|
|
|
|
</para></note>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Va<56>e karta m<> podporu Xv pod Linuxem. Abyste si to ov<6F><76>ili, zkuste
|
|
|
|
|
<command>xvinfo</command>, kter<65> je sou<6F><75>st<73> distribuce XFree86. M<>l by se
|
|
|
|
|
vypsat dlouh<75> text podobn<62> tomuto:
|
|
|
|
|
<screen>
|
|
|
|
|
X-Video Extension version 2.2
|
|
|
|
|
screen #0
|
|
|
|
|
Adaptor #0: "Savage Streams Engine"
|
|
|
|
|
number of ports: 1
|
|
|
|
|
port base: 43
|
|
|
|
|
operations supported: PutImage
|
|
|
|
|
supported visuals:
|
|
|
|
|
depth 16, visualID 0x22
|
|
|
|
|
depth 16, visualID 0x23
|
|
|
|
|
number of attributes: 5
|
|
|
|
|
(...)
|
|
|
|
|
Number of image formats: 7
|
|
|
|
|
id: 0x32595559 (YUY2)
|
|
|
|
|
guid: 59555932-0000-0010-8000-00aa00389b71
|
|
|
|
|
bits per pixel: 16
|
|
|
|
|
number of planes: 1
|
|
|
|
|
type: YUV (packed)
|
|
|
|
|
id: 0x32315659 (YV12)
|
|
|
|
|
guid: 59563132-0000-0010-8000-00aa00389b71
|
|
|
|
|
bits per pixel: 12
|
|
|
|
|
number of planes: 3
|
|
|
|
|
type: YUV (planar)
|
|
|
|
|
(...atd...)<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
Mus<75> podporovat pixelov<6F> form<72>ty YUY2 packed a YV12 planar, aby byla
|
|
|
|
|
pou<6F>iteln<6C> s <application>MPlayer</application>em.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
A nakonec si ov<6F><76>te, jestli byl <application>MPlayer</application> skompilov<6F>n
|
|
|
|
|
s podporou 'xv'. Prove<76>te <command>mplayer -vo help | grep xv </command>.
|
|
|
|
|
Pokud byla skompilov<6F>na podpora 'xv', m<>l by se objevi <20><>dek podpobn<62> tomuto:
|
|
|
|
|
<screen>
|
|
|
|
|
xv X11/Xv<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect4 id="tdfx">
|
|
|
|
|
<title>Karty 3dfx</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Star<EFBFBD><EFBFBD> ovlada<64>e 3dfx byly zn<7A>my sv<73>mi probl<62>my s XVideo akcelerac<61>.
|
|
|
|
|
Nepodporovaly ani YUY2 ani YV12, atp. Ov<4F><76>te, <20>e m<>te XFree86
|
|
|
|
|
verze 4.2.0 nebo vy<76><79><EFBFBD>, kter<65> pracuje dob<6F>e s YV12 a YUY2. P<>edchoz<6F> verze,
|
|
|
|
|
v<EFBFBD>etn<EFBFBD> 4.1.0, <emphasis role="bold">pad<EFBFBD> s YV12</emphasis>.
|
|
|
|
|
Pokud za<7A><61>vate podivn<76> situace p<>i pou<6F><75>v<EFBFBD>n<EFBFBD> <option>-vo xv</option>, zkuste SDL
|
|
|
|
|
(m<> rovn<76><6E> XVideo) a uvid<69>te, zda to pom<6F><6D>e. Prostudujte si sekci
|
|
|
|
|
<link linkend="sdl">SDL</link> pro v<>ce informac<61>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<emphasis role="bold">NEBO</emphasis>, zkuste NOV<4F>
|
|
|
|
|
<option>-vo tdfxfb</option> rozhran<61>! Viz sekce
|
|
|
|
|
<link linkend="tdfxfb">tdfxfb</link>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect4 id="s3">
|
|
|
|
|
<title>Karty S3</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
S3 Savage3D by m<>ly fungovat dob<6F>e, ale pro Savage4 pou<6F>ijte XFree86 verze 4.0.3
|
|
|
|
|
nebo vy<76><79><EFBFBD> (v p<><70>pad<61> probl<62>m<EFBFBD> s obrazem, zkuste 16bpp). Stejn<6A> ajko S3 Virge:
|
|
|
|
|
m<EFBFBD> sice podporu xv, ale karta samotn<74> je velmi pomal<61>, tak<61>e ji rad<61>ji prodejte.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>
|
|
|
|
|
Zat<EFBFBD>m nen<65> jasn<73>, kter<65>m model<65>m Savage chyb<79> podpora YV12 a konvertuj<75>
|
|
|
|
|
ovlada<EFBFBD>em (pomal<61>). Pokud podez<65><7A>v<EFBFBD>te kartu, opat<61>ete si nov<6F>j<EFBFBD><6A> ovlada<64>, nebo
|
|
|
|
|
slu<EFBFBD>n<EFBFBD> po<70><6F>dejte v konferenci MPlayer-users o ovlada<64> s MMX/3DNow!.
|
|
|
|
|
</para>
|
|
|
|
|
</note>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect4 id="nvidia">
|
|
|
|
|
<title>Karty nVidia</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
nVidia nen<65> v<>dy pod Linuxem nejlep<65><70> volbou (podle nVidie to
|
|
|
|
|
<link linkend="nvidia-opinions">nen<EFBFBD> pravda</link>)... Open-source ovlada<64>
|
|
|
|
|
v XFree86 podporuje v<>t<EFBFBD>inu t<>chto karet, ale v n<>kter<65>ch p<><70>padech mus<75>te
|
|
|
|
|
pou<EFBFBD><EFBFBD>t bin<69>rn<72> closed-source ovlada<64> od nVidie, kter<65> je k dispozici na
|
|
|
|
|
<ulink url="http://www.nvidia.com/object/linux.html">serveru nVidia</ulink>.
|
|
|
|
|
Tento ovlada<64> budete pot<6F>ebovat v<>dy, pokud z<>rove<76> chcete 3D akceleraci.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Karty Riva128 nemaj<61> podporu XVideo v nVidia ovlada<64>i z XFree86 :(
|
|
|
|
|
St<EFBFBD><EFBFBD>ujte si nVidii.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A<EFBFBD>koli <application>MPlayer</application> obsahuje
|
|
|
|
|
<link linkend="vidix">VIDIX</link> ovlada<64> pro v<>t<EFBFBD>inu nVidia karet, zat<61>m je
|
|
|
|
|
ve stavu beta verze a m<> jist<73> nedostatky. V<>ce informac<61> naleznete v sekci
|
|
|
|
|
<link linkend="vidix-nvidia">nVidia VIDIX</link>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect4 id="ati">
|
|
|
|
|
<title>Karty ATI</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<ulink url="http://gatos.sf.net">Ovlada<EFBFBD> GATOS</ulink>
|
|
|
|
|
(kter<65> byste m<>li pou<6F><75>t, pokud nem<65>te Rage128 nebo Radeon) m<> zapnut<75> VSYNC
|
|
|
|
|
ve v<>choz<6F>m stavu. To znamen<65>, <20>e rychlost dek<65>dov<6F>n<EFBFBD> (!) je synchronizov<6F>na
|
|
|
|
|
s obnovovac<61>m kmito<74>tem monitoru. Pokud se v<>m zd<7A> p<>ehr<68>v<EFBFBD>n<EFBFBD> pomal<61>, zkuste
|
|
|
|
|
n<EFBFBD>jak vypnout VSYNC, nebo nastavte obnovovac<61> kmito<74>et na n*(sn<73>mkov<6F> rychlost
|
|
|
|
|
filmu) Hz.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Radeon VE - pokud pot<6F>ebujete X, pou<6F>ijte pro tuto kartu XFree86 4.2.0 nebo
|
|
|
|
|
vy<EFBFBD><EFBFBD><EFBFBD>. Nen<65> zde podpora pro TV out. Samoz<6F>ejm<6A> s
|
|
|
|
|
<application>MPlayer</application>em m<><6D>ete m<>t s trochou <20>t<EFBFBD>st<73>
|
|
|
|
|
<emphasis role="bold">akcelerovan<EFBFBD></emphasis> display s nebo bez
|
|
|
|
|
<emphasis role="bold">TV v<>stupu</emphasis> a nepot<6F>ebujete <20><>dn<64> X knihovny.
|
|
|
|
|
P<EFBFBD>e<EFBFBD>t<EFBFBD>te si sekci <link linkend="vidix">VIDIX</link>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect4 id="neomagic">
|
|
|
|
|
<title>Karty NeoMagic</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Tyto karty lze nal<61>zt v mnoha laptopech. Mus<75>te pou<6F><75>t XFree86 4.3.0 nebo
|
|
|
|
|
vy<EFBFBD><EFBFBD><EFBFBD>, nebo pou<6F>ijte
|
|
|
|
|
<ulink url="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/">ovlada<EFBFBD>e s podporou Xv</ulink>
|
|
|
|
|
od Stefana Seyfrieda.
|
|
|
|
|
Sta<EFBFBD><EFBFBD> vybrat ten, kter<65> je vhodn<64> pro va<76>i verzi XFree86.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
XFree86 4.3.0 obsahuje podporu Xv, av<61>ak Bohdan Horst poslal mal<61>
|
|
|
|
|
<ulink url="http://www.mplayerhq.hu/MPlayer/contrib/NeoMagic-driver/neo_driver.patch">patch</ulink>
|
|
|
|
|
pro zdrojov<6F> k<>d XFree86, kter<65> zrychluje operace s framebufferem (<28>ili XVideo)
|
|
|
|
|
a<EFBFBD> <20>ty<74>ikr<6B>t. Patch byl za<7A>azen do XFree86 CVS a m<>l by b<>t v dal<61><6C> verzi
|
|
|
|
|
vydan<EFBFBD> po 4.3.0.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Abyste mohli p<>ehr<68>vat obsah velikosti DVD, zm<7A><6D>te sv<73>j XF86Config takto:
|
|
|
|
|
<programlisting>
|
|
|
|
|
Section "Device"
|
|
|
|
|
[...]
|
|
|
|
|
Driver "neomagic"
|
|
|
|
|
<emphasis>Option "OverlayMem" "829440"</emphasis>
|
|
|
|
|
[...]
|
|
|
|
|
EndSection<!--
|
|
|
|
|
--></programlisting>
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect4 id="trident">
|
|
|
|
|
<title>Karty Trident</title>
|
|
|
|
|
<para>
|
|
|
|
|
Chcete-li pou<6F><75>vat Xv s kartou Trident, co<63> nepracuje s 4.1.0,
|
|
|
|
|
nainstalujte si XFree 4.2.0. 4.2.0 p<>id<69>v<EFBFBD> podporu pro celoobrazovkov<6F> Xv
|
|
|
|
|
pro kartu Cyberblade XP.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Alternativn<EFBFBD>, <application>MPlayer</application> obsahuje
|
|
|
|
|
<link linkend="vidix">VIDIX</link> ovlada<64> pro kartu Cyberblade/i1.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect4 id="kyro">
|
|
|
|
|
<title>Karty Kyro/PowerVR</title>
|
|
|
|
|
<para>
|
|
|
|
|
Pokud chcete pou<6F><75>vat Xv s kartou zalo<6C>enou na <20>ipu Kyro (nap<61><70>klad Hercules
|
|
|
|
|
Prophet 4000XT), m<>li byste si st<73>hnout ovlada<64>e z
|
|
|
|
|
<ulink url="http://www.powervr.com/">PowerVR serveru</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<!-- ********** -->
|
|
|
|
|
|
|
|
|
|
<sect3 id="dga">
|
|
|
|
|
<title>DGA</title>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>P<EFBFBD>EDMLUVA</title>
|
|
|
|
|
<para>
|
|
|
|
|
Tento dokument se n<>kolika slovy sna<6E><61> vysv<73>tlit co je to DGA a co
|
|
|
|
|
v<EFBFBD>stupn<EFBFBD> videorozhran<61> DGA pro <application>MPlayer</application>
|
|
|
|
|
ud<EFBFBD>lat m<><6D>e (a co ne).
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>CO JE DGA</title>
|
|
|
|
|
<para>
|
|
|
|
|
<acronym>DGA</acronym> je zkratka pro <emphasis>Direct Graphics
|
|
|
|
|
Access</emphasis>, co<63> je program pro obejit<69> X servru a
|
|
|
|
|
p<EFBFBD><EFBFBD>mou modifikaci pam<61>ti framebufferu. Technicky to znamen<65> mapov<6F>n<EFBFBD> pam<61>ti
|
|
|
|
|
framebufferu do pam<61><6D>ov<6F>ho prostoru va<76>eho procesu.
|
|
|
|
|
To kernel umo<6D><6F>uje pouze pokud m<>te pr<70>va superu<72>ivatele. Ty dostanete bu<62>
|
|
|
|
|
nalogov<EFBFBD>n<EFBFBD>m se jako <systemitem class="username">root</systemitem>, nebo
|
|
|
|
|
nastaven<EFBFBD>m SUID bitu spustiteln<6C>mu souboru
|
|
|
|
|
<application>MPlayer</application>u (<emphasis role="bold">nedoporu<EFBFBD>ujeme
|
|
|
|
|
</emphasis>).
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
<para>
|
|
|
|
|
Existuj<EFBFBD> dv<64> verze DGA: DGA1 je pou<6F><75>v<EFBFBD>no XFree 3.x.x a DGA2 bylo
|
|
|
|
|
p<EFBFBD>edstaveno v XFree 4.0.1.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
DGA1 poskytuje pouze p<><70>m<EFBFBD> p<><70>stup k framebufferu jak byl pops<70>n v<><76>e.
|
|
|
|
|
Chcete-li p<>ep<65>nat rozli<6C>en<65> videosign<67>lu, mus<75>te se spolehnout na
|
|
|
|
|
roz<EFBFBD><EFBFBD><EFBFBD>en<EFBFBD> XVidMode.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
DGA2 zahrnuje vlastnosti roz<6F><7A><EFBFBD>en<65> XVidMode a rovn<76><6E> umo<6D><6F>uje p<>ep<65>nat
|
|
|
|
|
barevnou hloubku zobrazova<76>e. Tak<61>e m<><6D>ete jendodu<64>e provozovat X server
|
|
|
|
|
s hloubkou 32 bit<69> a p<>epnout na barevnou hloubku 15 bit<69> a naopak.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
DGA m<> ov<6F>em i jist<73> obt<62><74>e. Zd<5A> se, <20>e je n<>jak z<>visl<73> na grafick<63>m <20>ipu,
|
|
|
|
|
kter<EFBFBD> pou<6F><75>v<EFBFBD>te a na implementaci video ovlada<64>e X serveru, kter<65> tento <20>ip
|
|
|
|
|
obsluhuje. Tak<61>e nefunguje na v<>ech syst<73>mech...
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>INSTALACE PODPORY DGA PRO MPLAYER</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nejprve si ov<6F><76>te, <20>e X nahr<68>vaj<61> roz<6F><7A><EFBFBD>en<65> DGA, viz v
|
|
|
|
|
<filename>/var/log/XFree86.0.log</filename>:
|
|
|
|
|
|
|
|
|
|
<programlisting>(II) Loading extension XFree86-DGA</programlisting>
|
|
|
|
|
|
|
|
|
|
XFree86 4.0.x nebo vy<76><79><EFBFBD> je <emphasis role="bold">v<EFBFBD>ele doporu<72>ov<6F>n</emphasis>!
|
|
|
|
|
Video rozhran<61> DGA <application>MPlayer</application>u je autodetekov<6F>no
|
|
|
|
|
<filename>./configure</filename>, nebo jej m<><6D>ete vynutit pomoc<6F>
|
|
|
|
|
<option>--enable-dga</option>.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud rozhran<61> nem<65><6D>e p<>epnout do men<65><6E>ho rozli<6C>en<65>, experimentujte s
|
|
|
|
|
volbami <option>-vm</option> (pouze s X 3.3.x), <option>-fs</option>,
|
|
|
|
|
<option>-bpp</option>, <option>-zoom</option>, abyste nalezli videore<72>im, do
|
|
|
|
|
kter<EFBFBD>ho se video napasuje. Moment<6E>ln<6C> nen<65> <20><>dn<64> p<>evodn<64>k :(
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Sta<EFBFBD>te se <systemitem class="username">root</systemitem>em. DGA vy<76>aduje
|
|
|
|
|
pr<EFBFBD>va roota, aby mohl p<><70>mo zapisovat do video pam<61>ti. Pokud jej chcete
|
|
|
|
|
provozovat jako u<>ivatel, pak nainstalujte <application>MPlayer</application>
|
|
|
|
|
jako SUID root:
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
chown root <replaceable>/usr/local/bin/mplayer</replaceable>
|
|
|
|
|
chmod 750 <replaceable>/usr/local/bin/mplayer</replaceable>
|
|
|
|
|
chmod +s <replaceable>/usr/local/bin/mplayer</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
A nyn<79> to bude pracovat tak<61> pod oby<62>ejn<6A>m u<>ivatelem.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<caution>
|
|
|
|
|
<title>Bezpe<EFBFBD>nostn<EFBFBD> riziko</title>
|
|
|
|
|
<para>
|
|
|
|
|
Toto je <emphasis role="bold">velk<EFBFBD></emphasis> bezpe<70>nostn<74> riziko!
|
|
|
|
|
<emphasis role="bold">Nikdy</emphasis> to ned<65>lejte na serveru nebo po<70><6F>ta<74>i
|
|
|
|
|
ke kter<65>mu mohou m<>t p<><70>stup ostatn<74> lid<69>, jeliko<6B> ti mohou z<>skat
|
|
|
|
|
superu<EFBFBD>ivatelsk<EFBFBD> pr<70>va d<>ky SUID root
|
|
|
|
|
<application>MPlayer</application>u.
|
|
|
|
|
</para>
|
|
|
|
|
</caution>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nyn<EFBFBD> pou<6F>ijte volbu <option>-vo dga</option> a je to! (douf<75>m:)
|
|
|
|
|
Tak<EFBFBD> byste m<>li vyzkou<6F>et, jestli v<>m pracuje volba
|
|
|
|
|
<option>-vo sdl:dga</option>!
|
|
|
|
|
Je mnohem rychlej<65><6A>!
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<formalpara id="dga-modelines">
|
|
|
|
|
<title>P<EFBFBD>EP<EFBFBD>N<EFBFBD>N<EFBFBD> ROZLI<4C>EN<45></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Rozhran<EFBFBD> DGA umo<6D><6F>uje p<>ep<65>n<EFBFBD>n<EFBFBD> rozli<6C>en<65> v<>stupn<70>ho sign<67>lu.
|
|
|
|
|
To odstra<72>uje pot<6F>ebu (pomal<61>ho) softwarov<6F>ho <20>k<EFBFBD>lov<6F>n<EFBFBD> a z<>rove<76>
|
|
|
|
|
poskytuje obraz na celou obrazovku. Ide<64>ln<6C> by se m<>lo p<>epnout na p<>esn<73>
|
|
|
|
|
rozli<EFBFBD>en<EFBFBD> (s v<>jimkou dodr<64>en<65> pom<6F>ru stran) video dat, ale X
|
|
|
|
|
server umo<6D><6F>uje poze p<>ep<65>n<EFBFBD>n<EFBFBD> do rozli<6C>en<65> p<>eddefinovan<61>ch v
|
|
|
|
|
<filename>/etc/X11/XF86Config</filename>
|
|
|
|
|
(nebo <filename>/etc/X11/XF86Config-4</filename> pro XFree 4.X.X).
|
|
|
|
|
Ty jsou definov<6F>ny takzvan<61>mi "modelines" a z<>vis<69> na
|
|
|
|
|
schopnostech va<76>eho video hardwaru. X server proj<6F><6A>d<EFBFBD> tento konfigura<72>n<EFBFBD>
|
|
|
|
|
soubor p<>i startu a zak<61><6B>e re<72>imy (modelines) nevhodn<64> pro v<><76> hardware.
|
|
|
|
|
Povolen<EFBFBD> videore<72>imy naleznete v X11 log souboru. Tel lze nal<61>zt zde:
|
|
|
|
|
<filename>/var/log/XFree86.0.log</filename>.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Tyto vstupy jsou zn<7A>my dobrou funkc<6B> na Riva128 <20>ipu, s pou<6F>it<69>m modulu
|
|
|
|
|
ovlada<EFBFBD>e nv.o X serveru.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<para><programlisting>
|
|
|
|
|
Section "Modes"
|
|
|
|
|
Identifier "Modes[0]"
|
|
|
|
|
Modeline "800x600" 40 800 840 968 1056 600 601 605 628
|
|
|
|
|
Modeline "712x600" 35.0 712 740 850 900 400 410 412 425
|
|
|
|
|
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
|
|
|
|
|
Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
|
|
|
|
|
Modeline "352x288" 25.10 352 368 416 432 288 296 290 310
|
|
|
|
|
Modeline "352x240" 15.750 352 368 416 432 240 244 246 262 Doublescan
|
|
|
|
|
Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
|
|
|
|
|
EndSection
|
|
|
|
|
</programlisting></para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>DGA & MPLAYER</title>
|
|
|
|
|
<para>
|
|
|
|
|
DGA je v <application>MPlayer</application>u pou<6F>ito na dvou m<>stech: SDL
|
|
|
|
|
rozhran<EFBFBD> m<><6D>e b<>t nastaveno pro jeho pou<6F>it<69> (<option>-vo sdl:dga</option>) a
|
|
|
|
|
p<EFBFBD><EFBFBD>m<EFBFBD> DGA rozhran<61> (<option>-vo dga</option>). V<><56>e uveden<65> je platn<74>
|
|
|
|
|
pro ob<6F> varianty; v n<>sleduj<75>c<EFBFBD> sekci vysv<73>tl<74>me jak pracuje DGA rozhran<61>
|
|
|
|
|
<application>MPlayer</application>u.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>VLASTNOSTI</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
DGA rozhran<61> je pou<6F>ito zad<61>n<EFBFBD>m volby <option>-vo dga</option> na p<><70>kazov<6F>m
|
|
|
|
|
<EFBFBD><EFBFBD>dku. V<>choz<6F>m chov<6F>n<EFBFBD>m je p<>epnout na rozli<6C>en<65> co nejbi<62><69><EFBFBD> origin<69>ln<6C>m
|
|
|
|
|
rozm<EFBFBD>r<EFBFBD>m videa. Zcela z<>m<EFBFBD>rn<72> se ignoruj<75> volby <option>-vm</option> a
|
|
|
|
|
<option>-fs</option> (umo<6D><6F>uj<75>c<EFBFBD> p<>ep<65>n<EFBFBD>n<EFBFBD> videore<72>im<69> a zobrazen<65> na celou
|
|
|
|
|
obrazovku) - v<>dy zkou<6F><75> pokr<6B>t tak velkou plochu obrazovky, jak je to jen mo<6D>n<EFBFBD>
|
|
|
|
|
pomoc<EFBFBD> p<>epnut<75> videore<72>imu, co<63> n<>s oprost<73> od vyu<79><75>v<EFBFBD>n<EFBFBD> dal<61><6C>ch CPU cykl<6B>
|
|
|
|
|
pro <20>k<EFBFBD>lov<6F>n<EFBFBD> obrazu. Pokud se v<>m nel<65>b<EFBFBD> re<72>im, kter<65> vybere automatika,
|
|
|
|
|
m<EFBFBD><EFBFBD>ete ji p<>inutit pro v<>b<EFBFBD>r re<72>imu nejbl<62><6C>e odpov<6F>daj<61>c<EFBFBD>mu rozli<6C>en<65>,
|
|
|
|
|
kter<EFBFBD> zad<61>te pomoc<6F> <option>-x</option> a <option>-y</option>.
|
|
|
|
|
P<EFBFBD>i zad<61>n<EFBFBD> volby <option>-v</option>, vyp<79><70>e DGA rozhran<61>, spolu s dal<61><6C>mi
|
|
|
|
|
v<EFBFBD>cmi, seznam v<>ech rozli<6C>en<65> podporovan<61>ch va<76>im aktu<74>ln<6C>m
|
|
|
|
|
<filename>XF86Config</filename> souborem.
|
|
|
|
|
M<EFBFBD>te-li DGA2, m<><6D>ete jej rovn<76><6E> p<>inutit pou<6F><75>t r<>zn<7A> barevn<76> hloubky pomoc<6F>
|
|
|
|
|
volby <option>-bpp</option>. Platn<74> barevn<76> hloubky jsou 15, 16, 24 a 32.
|
|
|
|
|
To jestli jsou tyto barevn<76> hloubky nativn<76> podporov<6F>ny, nebo mus<75> b<>t provedena
|
|
|
|
|
(pravd<76>podobn<62> pomal<61>) konverze z<>vis<69> na va<76>em hardware.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
<para>
|
|
|
|
|
Pokud jste natolik <20><>astlivci, <20>e m<>te dostatek voln<6C> mimoobrazov<6F> pam<61>ti,
|
|
|
|
|
aby se zde vm<76>stnal cel<65> obr<62>zek, pou<6F>ije DGA rozhran<61> dvojitou vyrovn<76>vac<61>
|
|
|
|
|
pam<EFBFBD><EFBFBD>, co<63> v<>m zajist<73> mnohem plynulej<65><6A> p<>ehr<68>v<EFBFBD>n<EFBFBD> film<6C>. Rozhran<61> v<>s bude
|
|
|
|
|
informovat jestli je dvojit<69> buffer zapnut<75> nebo ne.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Dvojitou vyrovn<76>vac<61> pam<61>t<EFBFBD> se rozum<75> to, <20>e je dal<61><6C> sn<73>mek vykreslov<6F>n do
|
|
|
|
|
pam<EFBFBD>ti mimo zobrazovanou plochu, zat<61>mco je zobrazov<6F>n aktu<74>ln<6C> sn<73>mek.
|
|
|
|
|
Jakmile je dal<61><6C> sn<73>mek p<>ipraven, grafick<63> <20>ip je informov<6F>n o pozici v pam<61>ti,
|
|
|
|
|
kde je nov<6F> sn<73>mek a jednodu<64>e p<>esune data k zobrazen<65> odtud.
|
|
|
|
|
Mezit<EFBFBD>m je dal<61><6C> buffer v pam<61>ti zapl<70>ov<6F>n nov<6F>mi videodaty.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Dvojit<EFBFBD> vyrovn<76>vac<61> pam<61><6D> m<><6D>e b<>t zapnuta volbou
|
|
|
|
|
<option>-double</option> a vypnuta volbou
|
|
|
|
|
<option>-nodouble</option>. Sou<6F>asn<73> v<>choz<6F> hodnota je vypnut<75> dvojit<69>
|
|
|
|
|
vyrovn<EFBFBD>vac<EFBFBD> pam<61>ti. P<>i pou<6F>it<69> DGA rozhran<61> bude display na obrazovce (OSD)
|
|
|
|
|
pracovat pouze p<>i zapnut<75> dvojit<69> vyrovn<76>vac<61> pam<61>ti.
|
|
|
|
|
Zapnut<EFBFBD> dvojit<69> vyrovn<76>vac<61> pam<61>ti v<>ak m<><6D>e vy<76>stit velkou ztr<74>tou v<>konu
|
|
|
|
|
(na m<> K6-II+ 525 to pou<6F>ije dal<61><6C>ch 20% CPU v<>konu!) v z<>vislosti na
|
|
|
|
|
implementaci DGA pro v<><76> hardware.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>OT<EFBFBD>ZKA RYCHLOSTI</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Obecn<EFBFBD> by p<><70>stup p<>es DGA framebuffer m<>l b<>t alespo<70> tak rychl<68> jako
|
|
|
|
|
pou<EFBFBD>it<EFBFBD> rozhran<61> X11 nav<61>c s celoobrazovkov<6F>m re<72>imem.
|
|
|
|
|
Procentn<EFBFBD> hodnoty rychlosti vypisovan<61>
|
|
|
|
|
<application>MPlayer</application>em byste m<>li br<62>t s rezervou, jeliko<6B>
|
|
|
|
|
nap<EFBFBD><EFBFBD>klad p<>i pou<6F>it<69> X11 nezahrnuj<75> <20>as spot<6F>ebovan<61> X serverem pro
|
|
|
|
|
vlastn<EFBFBD> vykreslov<6F>n<EFBFBD>. Zav<61>ste termin<69>l na s<>riovou linku po<70><6F>ta<74>e a
|
|
|
|
|
spus<EFBFBD>te <command>top</command>, abyste vid<69>li co se opravdu d<>je ve va<76>em
|
|
|
|
|
po<EFBFBD><EFBFBD>ta<EFBFBD>i.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Obecn<EFBFBD> zrychlen<65> pou<6F>it<69>m DGA oproti 'b<><62>n<EFBFBD>mu' X11 velmi z<>vis<69> na va<76><61>
|
|
|
|
|
grafick<EFBFBD> kert<72> a jak dob<6F>e je pro ni optimalizov<6F>n modul X serveru.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud m<>te pomal<61> stroj, rad<61>ji pou<6F>ijte 15 nebo 16 bitovou hloubku, jeliko<6B>
|
|
|
|
|
vy<EFBFBD>aduje pouze polovi<76>n<EFBFBD> pr<70>chodnost pam<61>ti oproti 32 bitov<6F>mu zobrazen<65>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pou<EFBFBD>it<EFBFBD> hloubky 24 bit<69> je dobr<62> i v p<><70>pad<61>, <20>e va<76>e karta nativn<76> podporuje
|
|
|
|
|
pouze barevnou hloubku 32 bit<69>, jeliko<6B> se p<>en<65><6E><EFBFBD> o 25% m<>n<EFBFBD> dat oproti
|
|
|
|
|
re<EFBFBD>imu 32/32.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Vid<EFBFBD>l jsem p<>r AVI soubor<6F> p<>ehr<68>vat na Pentiu MMX 266. Procesory AMD K6-2
|
|
|
|
|
pracuj<EFBFBD> p<>i 400 MHZ a v<><76>e.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>ZN<EFBFBD>M<EFBFBD> CHYBY</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Podle n<>kter<65>ch v<>voj<6F><6A><EFBFBD> XFree je DGA zv<7A>rstvo. <20><>kaj<61>, abyste je rad<61>ji
|
|
|
|
|
nepou<EFBFBD><EFBFBD>vali. Jeho implementace nen<65> v<>dy bezprobl<62>mov<6F> v ka<6B>d<EFBFBD>m dostupn<70>m
|
|
|
|
|
ovlada<EFBFBD>i pro XFree.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
V XFree 4.0.3 je v <filename>nv.o</filename> chyba vedouc<75>
|
|
|
|
|
k podivn<76>m barv<72>m.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Ovlada<64> pro ATI vy<76>aduje v<>ce ne<6E> jedno zp<7A>tn<74> p<>epnut<75> re<72>imu po skon<6F>en<65>
|
|
|
|
|
pou<6F><75>v<EFBFBD>n<EFBFBD> DGA.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
N<>kter<65> ovlada<64>e sel<65>ou p<>i p<>epnut<75> do norm<72>ln<6C>ho rozli<6C>en<65> (pou<6F>ijte
|
|
|
|
|
<keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>Keypad +</keycap> a
|
|
|
|
|
<keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>Keypad -</keycap>
|
|
|
|
|
pro ru<72>n<EFBFBD> p<>epnut<75>).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
N<>kter<65> ovlada<64>e zobrazuj<75> divn<76> barvy.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
N<>kter<65> ovlada<64>e l<>ou o mno<6E>stv<74> pam<61>ti kterou mapuj<75> do adresov<6F>ho prostoru
|
|
|
|
|
procesu, tak<61>e vo_dga nepou<6F>ije dvojitou vyrovn<76>vac<61> pam<61><6D> (SIS?).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
N<>kter<65> ovlada<64>e nezvl<76>dnou ohl<68>sit dokonce ani jeden platn<74> re<72>im.
|
|
|
|
|
V tom p<><70>pad<61> rozhran<61> DGA spadne s hl<68><6C>kou o nesmasln<6C>m re<72>imu
|
|
|
|
|
100000x100000 nebo tak.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
OSD pracuje pouze se zapnutou dvojitou vyrovn<76>vac<61> pam<61>t<EFBFBD> (jinak poblik<69>v<EFBFBD>).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
<!--</sect2>-->
|
|
|
|
|
|
|
|
|
|
<!-- ********** -->
|
|
|
|
|
|
|
|
|
|
<sect3 id="sdl">
|
|
|
|
|
<title>SDL</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<acronym>SDL</acronym> (Simple Directmedia Layer) je zjednodu<64>en<65> unifikovan<61>
|
|
|
|
|
video/audio rozhran<61>. Programy, kter<65> ji pou<6F><75>vaj<61>, znaj<61> pouze SDL a ne
|
|
|
|
|
jak<EFBFBD> audio nebo video ovlada<64> SDL aktu<74>ln<6C> pou<6F><75>v<EFBFBD>. Nap<61><70>klad klon DOOMa
|
|
|
|
|
m<EFBFBD><EFBFBD>e b<><62>et na svgalib, aalib, X, fbdev a dal<61><6C>ch. Mus<75>te jen nastavit
|
|
|
|
|
(nap<61><70>klad) video ovlada<64> pomoc<6F> prom<6F>nn<6E> prost<73>ed<65>
|
|
|
|
|
<envar>SDL_VIDEODRIVER</envar>. Aspo<70> teoreticky.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V <application>MPlayer</application>u pou<6F><75>v<EFBFBD>me jej<65> softwarov<6F> <20>k<EFBFBD>lova<76>
|
|
|
|
|
ovlada<EFBFBD>e X11 pro karty/ovlada<64>e, kter<65> nepodporuj<75> XVideo, dokud nevytvo<76><6F>me
|
|
|
|
|
vlastn<EFBFBD> (rychlej<65><6A>, hez<65><7A>) softwarov<6F> <20>k<EFBFBD>lova<76>. Rovn<76><6E> jsme pou<6F><75>vali jej<65>
|
|
|
|
|
v<EFBFBD>stup na aalib, ale nyn<79> m<>me vlastn<74>, co<63> je mnohem pohodln<6C>j<EFBFBD><6A>.
|
|
|
|
|
Jej<EFBFBD> DGA re<72>im byl a<> doposud lep<65><70> ne<6E> n<><6E>. Sledujete? :)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Rovn<EFBFBD><EFBFBD> pom<6F>h<EFBFBD> s n<>kter<65>mi chybn<62>mi ovlada<64>i/kartami, pokud je video rozt<7A>esen<65>
|
|
|
|
|
(nikoli probl<62>m pomal<61>ho stroje), nebo se zpo<70><6F>uje zvuk.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
SDL video rozhran<61> podporuje zobrazov<6F>n<EFBFBD> titulk<6C> pod filmem, v (pokud je) <20>ern<72>m
|
|
|
|
|
okraji.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>Pro SDL existuje n<>kolik voleb p<><70>kazov<6F>ho <20><>dku:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vo sdl:<replaceable>jm<EFBFBD>no</replaceable></option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
nastavuje pou<6F>it<69> SDL video ovlada<64>e (nap<61>. <literal>aalib</literal>,
|
|
|
|
|
<literal>dga</literal>, <literal>x11</literal>)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-ao sdl:<replaceable>jm<EFBFBD>no</replaceable></option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
nastavuje pou<6F>it<69> SDL audio ovlada<64>e (nap<61>. <literal>dsp</literal>,
|
|
|
|
|
<literal>esd</literal>, <literal>artsc</literal>)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-noxv</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
vyp<79>n<EFBFBD> hardwarovou akceleraci XVideo
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-forcexv</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
zkus<75> vynutit XVideo akceleraci
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<title>Kl<EFBFBD>vesy pouze pro SDL</title>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Kl<EFBFBD>vesa</entry><entry>Akce</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row><entry><keycap>c</keycap></entry><entry>
|
|
|
|
|
cykluje dostupn<70> celoobrazovkov<6F> re<72>imy
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>n</keycap></entry><entry>
|
|
|
|
|
zm<7A>n<EFBFBD> re<72>im zp<7A>t na norm<72>ln<6C>
|
|
|
|
|
</entry></row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<title>Zn<EFBFBD>m<EFBFBD> chyby:</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Kl<4B>vesy stisknut<75> p<>i pou<6F>it<69> sdl:aalib konzolov<6F>ho ovlada<64>e se donekone<6E>na
|
|
|
|
|
opakuj<75>. (pou<6F>ijte <option>-vo aa</option>!) Je to chyba v SDL, j<> to nezm<7A>n<EFBFBD>m
|
|
|
|
|
(testov<6F>no s SDL 1.2.1).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
NEPOU<4F><55>VEJTE SDL s GUI! Nefunguje to jak by m<>lo.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="svgalib">
|
|
|
|
|
<title>SVGAlib</title>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>INSTALACE</title>
|
|
|
|
|
<para>
|
|
|
|
|
Budete muset nainstalovat svgalib i s development bal<61><6C>kem, aby
|
|
|
|
|
<application>MPlayer</application> vytvo<76>il sv<73> SVGAlib rozhran<61>
|
|
|
|
|
(autodetekov<6F>no, ale nelze vynutit) a nezapome<6D>te upravit
|
|
|
|
|
<filename>/etc/vga/libvga.config</filename> tak, aby odpov<6F>dal va<76><61> kart<72> a
|
|
|
|
|
monitoru.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>
|
|
|
|
|
Ujist<EFBFBD>te se, <20>e nepou<6F><75>v<EFBFBD>te volbu <option>-fs</option>, jeliko<6B> zap<61>n<EFBFBD>
|
|
|
|
|
pou<EFBFBD>it<EFBFBD> softwarov<6F>ho <20>k<EFBFBD>lov<6F>n<EFBFBD>, co<63> je pomal<61>. Pokud jej opravdu pot<6F>ebujete,
|
|
|
|
|
pou<EFBFBD>ijte volbu <option>-sws 4</option>, co<63> poskytuje <20>patnou kvalitu, ale je
|
|
|
|
|
o pozn<7A>n<EFBFBD> rychlej<65><6A>.
|
|
|
|
|
</para>
|
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
|
<formalpara><title>PODPORA EGA (4BPP)</title>
|
|
|
|
|
<para>
|
|
|
|
|
SVGAlib obsahuje EGAlib a <application>MPlayer</application> um<75> zobrazovat
|
|
|
|
|
jak<EFBFBD>koli film v 16 barv<72>ch, co<63> je vhodn<64> v n<>sleduj<75>c<EFBFBD>ch konfigurac<61>ch:
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
EGA karta s EGA monitorem: 320x200x4bpp, 640x200x4bpp, 640x350x4bpp
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
EGA karta s CGA monitorem: 320x200x4bpp, 640x200x4bpp
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Hodnota bpp (bit<69> na pixel) mus<75> b<>t nastavena na 4 ru<72>n<EFBFBD>:
|
|
|
|
|
<option>-bpp 4</option>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Obraz bude nejsp<73><70> muset b<>t zmen<65>en<65> tak, aby se ve<76>el v EGA re<72>imu:
|
|
|
|
|
<screen>-vf scale=640:350</screen>
|
|
|
|
|
nebo
|
|
|
|
|
<screen>-vf scale=320:200</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Kdy<EFBFBD> pot<6F>ebujeme rychlou, ale nekvalitn<74> <20>k<EFBFBD>lovac<61> rutinu:
|
|
|
|
|
<screen>-sws 4</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Mo<EFBFBD>n<EFBFBD> bude muset b<>t vypnuta automatick<63> korekce pom<6F>ru stran:
|
|
|
|
|
<screen>-noaspect</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
Podle m<>ch zku<6B>enost<73> lze dos<6F>hnout nejlep<65><70> kvality obrazu na
|
|
|
|
|
EGA obrazovk<76>ch m<>rn<72>m sn<73><6E>en<65>m jasu:
|
|
|
|
|
<option>-vf eq=-20:0</option>. Na sv<73>m po<70><6F>ta<74>i jsem rovn<76><6E> musel sn<73><6E>it
|
|
|
|
|
vzorkovac<EFBFBD> kmito<74>et zvuku, proto<74>e zvuk p<><70> 44kHz byl vadn<64>:
|
|
|
|
|
<option>-srate 22050</option>.
|
|
|
|
|
</para></note>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Zapnout OSD a titulky m<><6D>ete pouze v kombinaci s <option>expand</option>
|
|
|
|
|
filtrem, viz man str<74>nka pro p<>esn<73> parametry.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="fbdev">
|
|
|
|
|
<title>V<EFBFBD>stup na Framebuffer (FBdev)</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Podpora pro c<>l FBdev je autodetekov<6F>na b<>hem
|
|
|
|
|
<filename>./configure</filename>. P<>e<EFBFBD>t<EFBFBD>te si dokumentaci framebufferu ve
|
|
|
|
|
zdrojov<EFBFBD>ch k<>dech kernelu (<filename>Documentation/fb/*</filename>) pro v<>ce
|
|
|
|
|
informac<EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud va<76>e karta nepodporuje standard VBE 2.0 (star<61><72> ISA/PCI karty, jako
|
|
|
|
|
S3 Trio64), pouze VBE 1.2 (nebo stra<72><61>?): Nu<4E>e, st<73>le m<>te k dispozici VESAfb,
|
|
|
|
|
ale budete muset nahr<68>t SciTech Display Doctor (p<>vodn<64> UniVBE) p<>ed startem
|
|
|
|
|
Linuxu. Pou<6F>ijte bootovac<61> disk DOSu nebo tak. A nezapom<6F><6D>te si zaregistrovat
|
|
|
|
|
sv<EFBFBD>j UniVBE ;))
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>stup FBdev p<>ij<69>m<EFBFBD> n<>kolik dodate<74>n<EFBFBD>ch voleb:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-fb</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
nastav<61> za<7A><61>zen<65> framebufferu k pou<6F>it<69> (<filename>/dev/fb0</filename>)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-fbmode</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
n<>zev re<72>imu k pou<6F>it<69> (podle <filename>/etc/fb.modes</filename>)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-fbmodeconfig</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
config soubor re<72>im<69> (v<>choz<6F> <filename>/etc/fb.modes</filename>)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-monitor-hfreq</option></term>
|
|
|
|
|
<term><option>-monitor-vfreq</option></term>
|
|
|
|
|
<term><option>-monitor-dotclock</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">d<EFBFBD>le<EFBFBD>it<EFBFBD></emphasis> hodnoty, viz
|
|
|
|
|
<filename>example.conf</filename>
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud se chcete p<>epnout do ur<75>it<69>ho re<72>imu, pak pou<6F>ijte
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vm -fbmode <replaceable>name_of_mode</replaceable> <replaceable>soubor</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<option>-vm</option> samotn<74> zvol<6F> nejp<6A><70>hodn<64>j<EFBFBD><6A> re<72>im z
|
|
|
|
|
<filename>/etc/fb.modes</filename>. M<><4D>e b<>t rovn<76><6E> pou<6F>ita spolu s volbami
|
|
|
|
|
<option>-x</option> a <option>-y</option>. Volba
|
|
|
|
|
<option>-flip</option> je podporov<6F>na pouze pokud pixelov<6F> form<72>t filmu
|
|
|
|
|
odpov<6F>d<EFBFBD> pixelov<6F>mu form<72>tu videore<72>imu. V<>nujte pozornost hodnot<6F> bpp.
|
|
|
|
|
Ovlada<64> fbdev zkus<75> pou<6F><75>t aktu<74>ln<6C>, nebo pokud zad<61>te volbu
|
|
|
|
|
<option>-bpp</option>, pak tuto.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Volba <option>-zoom</option> nen<65> podporov<6F>na (pou<6F>ijte <option>-vf scale</option>).
|
|
|
|
|
Nelze pou<6F><75>t re<72>imy 8bpp (nebo ni<6E><69><EFBFBD>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pravd<76>podobn<62> budete cht<68>t vypnout kursor:
|
|
|
|
|
<screen>echo -e '\033[?25l'</screen>
|
|
|
|
|
nebo
|
|
|
|
|
<screen>setterm -cursor off</screen>
|
|
|
|
|
a spo<70>i<EFBFBD> obrazovky:
|
|
|
|
|
<screen>setterm -blank 0</screen>
|
|
|
|
|
Pro op<6F>tovn<76> zapnut<75> kursoru:
|
|
|
|
|
<screen>echo -e '\033[?25h'</screen>
|
|
|
|
|
nebo
|
|
|
|
|
<screen>setterm -cursor on</screen>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>
|
|
|
|
|
Zm<EFBFBD>na videore<72>imu FBdev <emphasis>nepracuje</emphasis> ve VESA
|
|
|
|
|
framebufferu a necht<68>jte to po n<>s, jeliko<6B> to nen<65> omezen<65>
|
|
|
|
|
<application>MPlayer</application>u.
|
|
|
|
|
</para>
|
|
|
|
|
</note>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="mga_vid">
|
|
|
|
|
<title>Matrox framebuffer (mga_vid)</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Tato sekce je o podpo<70>e Matrox G200/G400/G450/G550 BES (Back-End Scaler)
|
|
|
|
|
jadern<EFBFBD>ho modulu mga_vid. Aktivn<76> je vyv<79>jena A'rpim a m<> hardwarovou
|
|
|
|
|
podporu VSYNC s trojitou vyrovn<76>vac<61> pam<61>t<EFBFBD>. Pracuje jak v konzoli, tak pod X.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<warning>
|
|
|
|
|
<para>
|
|
|
|
|
Toto je pouze pro Linux! Na ne-Linuxech (testov<6F>no na FreeBSD) m<><6D>ete m<>sto n<>j
|
|
|
|
|
pou<EFBFBD><EFBFBD>t <link linkend="vidix">VIDIX</link>.
|
|
|
|
|
</para>
|
|
|
|
|
</warning>
|
|
|
|
|
|
|
|
|
|
<procedure>
|
|
|
|
|
<title>Instalace:</title>
|
|
|
|
|
<step><para>
|
|
|
|
|
Pokud jej chcete pou<6F><75>t, nejd<6A><64>ve mus<75>te sestavit
|
|
|
|
|
<filename>mga_vid.o</filename>:
|
|
|
|
|
<screen>
|
|
|
|
|
cd drivers
|
|
|
|
|
make<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Pak vytvo<76>te za<7A><61>zen<65> <filename>/dev/mga_vid</filename>:
|
|
|
|
|
<screen>mknod /dev/mga_vid c 178 0</screen>
|
|
|
|
|
a nahrajte ovlada<64> pomoc<6F>
|
|
|
|
|
<screen>insmod mga_vid.o</screen>
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
M<>li byste ov<6F><76>it velikost detekovan<61> pam<61>ti pomoc<6F> p<><70>kazu
|
|
|
|
|
<command>dmesg</command>. Pokud je <20>patn<74>, pou<6F>ijte volbu
|
|
|
|
|
<option>mga_ram_size</option>
|
|
|
|
|
(nejd<6A><64>v <command>rmmod mga_vid</command>),
|
|
|
|
|
nastavte velikost pam<61>ti karty v MB:
|
|
|
|
|
<screen>insmod mga_vid.o mga_ram_size=16</screen>
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Aby se nahr<68>val/odstra<72>oval automaticky podle pot<6F>eby, nejd<6A><64>ve p<>idejte
|
|
|
|
|
n<>sleduj<75>c<EFBFBD> <20><>dek na konec <filename>/etc/modules.conf</filename>:
|
|
|
|
|
|
|
|
|
|
<programlisting>alias char-major-178 mga_vid</programlisting>
|
|
|
|
|
|
|
|
|
|
Pak zkop<6F>rujte modul <filename>mga_vid.o</filename> na vhodn<64> m<>sto
|
|
|
|
|
pod <filename>/lib/modules/<replaceable>verze j<>dra
|
|
|
|
|
</replaceable>/<replaceable>n<EFBFBD>kde</replaceable></filename>.
|
|
|
|
|
</para><para>
|
|
|
|
|
Pak spus<75>te
|
|
|
|
|
<screen>depmod -a</screen>
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Te<54> budete muset (p<>e)kompilovat <application>MPlayer</application>,
|
|
|
|
|
<filename>./configure</filename> zdetekuje
|
|
|
|
|
<filename>/dev/mga_vid</filename> a zakompiluje 'mga' rozhran<61>.
|
|
|
|
|
V <application>MPlayer</application>u se pou<6F><75>v<EFBFBD> pomoc<6F> <option>-vo mga</option>
|
|
|
|
|
pokud m<>te matroxfb konzoli, nebo <option>-vo xmga</option> pod XFree86
|
|
|
|
|
3.x.x nebo 4.x.x.
|
|
|
|
|
</para></step>
|
|
|
|
|
</procedure>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ovlada<EFBFBD> mga_vid spolupracuje s Xv.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ur<EFBFBD>it<EFBFBD> informace lze p<>e<EFBFBD><65>st z <filename>/dev/mga_vid</filename> za<7A><61>zen<65>,
|
|
|
|
|
nap<EFBFBD><EFBFBD>klad pomoc<6F>
|
|
|
|
|
<screen>cat /dev/mga_vid</screen>
|
|
|
|
|
a m<><6D>e do n<>j b<>t zaps<70>na zm<7A>na jasu:
|
|
|
|
|
<screen>echo "brightness=120" > /dev/mga_vid</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="tdfxfb" xreflabel="3Dfx YUV support (tdfxfb)">
|
|
|
|
|
<title>Podpora 3Dfx YUV</title>
|
|
|
|
|
<para>
|
|
|
|
|
Tento ovlada<64> pou<6F><75>v<EFBFBD> ovlada<64> framebufferu tdfx z j<>dra pro p<>ehr<68>v<EFBFBD>n<EFBFBD>
|
|
|
|
|
film<EFBFBD> s YUV akcelerac<61>. Budete pot<6F>ebovat j<>dro s podporou tdfxfb a
|
|
|
|
|
rekompilovat s
|
|
|
|
|
<screen>./configure --enable-tdfxfb</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="opengl">
|
|
|
|
|
<title>Rozhran<EFBFBD> OpenGL</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> podporuje zobrazov<6F>n<EFBFBD> film<6C> pomoc<6F> OpenGL,
|
|
|
|
|
ale pokud va<76>e platforma/ovlada<64> podporuje xv co<63> by m<>l b<>t p<><70>pad PC s
|
|
|
|
|
Linuxem, pou<6F>ijte rad<61>ji xv, jeliko<6B> v<>kon OpenGL je o pozn<7A>n<EFBFBD> hor<6F><72>.
|
|
|
|
|
Pokud m<>te X11 implementaci bez podpory xv, je OpenGL slu<6C>n<EFBFBD> alternativa.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nane<EFBFBD>t<EFBFBD>st<EFBFBD> ne v<>echny ovlada<64>e tuto vlastnost podporuj<75>. Ovlada<64>e Utah-GLX
|
|
|
|
|
(pro XFree86 3.3.6) ji podporuj<75> pro v<>echny karty.
|
|
|
|
|
Viz <ulink url="http://utah-glx.sf.net"/> pro detaily jak je nainstalovat.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
XFree86(DRI) 4.0.3 nebo pozd<7A>j<EFBFBD><6A> podporuj<75> OpenGL s kartami Matrox a Radeon,
|
|
|
|
|
4.2.0 a pozd<7A>j<EFBFBD><6A> podporuj<75> Rage128.
|
|
|
|
|
Viz <ulink url="http://dri.sf.net"/> pro sta<74>en<65> a instala<6C>n<EFBFBD> instrukce.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Rada od jednoho z u<>ivatel<65>: GL video v<>stup lze pou<6F><75>t pro dosa<73>en<65>
|
|
|
|
|
vertik<EFBFBD>ln<EFBFBD> synchronizovan<61>ho TV v<>stupu. Budete muset nastavit prom<6F>nnou
|
|
|
|
|
prost<EFBFBD>ed<EFBFBD> (aspo<70> na nVidii):
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<command>export $__GL_SYNC_TO_VBLANK=1</command>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="aalib">
|
|
|
|
|
<title>AAlib - zobrazov<6F>n<EFBFBD> v textov<6F>m re<72>imu</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
AAlib je knihovna pro zobrazov<6F>n<EFBFBD> grafiky v textov<6F>m re<72>imu pomoc<6F> v<>konn<6E>ho
|
|
|
|
|
ASCII renderova<76>e. Existuje <emphasis>spousta</emphasis> program<61>, ktar<61> ji ji<6A>
|
|
|
|
|
podporuj<EFBFBD>, jako DOOM, Quake, atd. <application>MPlayer</application>
|
|
|
|
|
pro ni obsahuje <20>ikovn<76> rozhran<61>. Pokud <filename>./configure</filename>
|
|
|
|
|
zjist<EFBFBD> nainstalovanou aalib, sestav<61> se aalib libvo rozhran<61>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
M<EFBFBD><EFBFBD>ete pou<6F><75>t n<>kter<65> kl<6B>vesy v AA okn<6B> pro zm<7A>nu renderovac<61>ch voleb:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<informaltable>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Kl<EFBFBD>vesa</entry><entry>Akce</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row><entry><keycap>1</keycap></entry><entry>
|
|
|
|
|
sn<73><6E><EFBFBD> kontrast
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>2</keycap></entry><entry>
|
|
|
|
|
zv<7A><76><EFBFBD> kontrast
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>3</keycap></entry><entry>
|
|
|
|
|
sn<73><6E><EFBFBD> jas
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>4</keycap></entry><entry>
|
|
|
|
|
zv<7A><76><EFBFBD> jas
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>5</keycap></entry><entry>
|
|
|
|
|
vyp<79>n<EFBFBD>/zap<61>n<EFBFBD> rychl<68> renderov<6F>n<EFBFBD>
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>6</keycap></entry><entry>
|
|
|
|
|
nastav<61> rozhodovac<61> re<72>im (<28><>dn<64>, error distribution, Floyd Steinberg)
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>7</keycap></entry><entry>
|
|
|
|
|
inverze obrazu
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>8</keycap></entry><entry>
|
|
|
|
|
p<>ep<65>n<EFBFBD> mezi ovl<76>d<EFBFBD>n<EFBFBD>m aa a <application>MPlayer</application>u
|
|
|
|
|
</entry></row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>M<EFBFBD><EFBFBD>ete pou<6F><75>t n<>sleduj<75>c<EFBFBD> volby p<><70>kazov<6F>ho <20><>dku:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-aaosdcolor=<replaceable>V</replaceable></option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
zm<7A>na barvy OSD
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-aasubcolor=<replaceable>V</replaceable></option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
zm<7A>na barvy titulk<6C>
|
|
|
|
|
</para><para>
|
|
|
|
|
kde <replaceable>V</replaceable> m<><6D>e b<>t:
|
|
|
|
|
<literal>0</literal> (norm<72>ln<6C>),
|
|
|
|
|
<literal>1</literal> (tmav<61>),
|
|
|
|
|
<literal>2</literal> (tu<74>n<EFBFBD>),
|
|
|
|
|
<literal>3</literal> (polotu<74>n<EFBFBD> font),
|
|
|
|
|
<literal>4</literal> (reverz),
|
|
|
|
|
<literal>5</literal> (speci<63>ln<6C>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>AAlib samotn<74> poskytuje velk<6C> mno<6E>stv<74> voleb. Zde je n<>kolik
|
|
|
|
|
d<EFBFBD>le<EFBFBD>it<EFBFBD>ch:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-aadriver</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
nastav<61> doporu<72>en<65> aa ovlada<64> (X11, curses, Linux)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-aaextended</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
pou<6F>it<69> v<>ech 256 znak<61>
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-aaeight</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
pou<6F>it<69> osmibitov<6F>ho ASCII
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-aahelp</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
vyp<79><70>e v<>echny aalib volby
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>
|
|
|
|
|
Renderov<EFBFBD>n<EFBFBD> je velmi n<>ro<72>n<EFBFBD> na CPU, zvlṻ p<>i pou<6F>it<69> AA-na-X
|
|
|
|
|
(aalib na X) a nejm<6A>n<EFBFBD> n<>ro<72>n<EFBFBD> je na standardn<64> neframebuferovan<61>
|
|
|
|
|
konzoli. Pou<6F>ijte SVGATextMode pro nastaven<65> velk<6C>ho textov<6F>ho re<72>imu
|
|
|
|
|
a u<>ijte si! (secondary head Hercules cards rock :)) (ale IMHO m<><6D>ete pou<6F><75>t
|
|
|
|
|
volbu <option>-vf 1bpp</option> pro grafiku na hgafb:)
|
|
|
|
|
</para>
|
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pou<EFBFBD>ijte volbu <option>-framedrop</option>, pokud v<><76> po<70><6F>ta<74> nen<65> dostate<74>n<EFBFBD>
|
|
|
|
|
rychl<EFBFBD> pro renderov<6F>n<EFBFBD> v<>ech sn<73>mk<6D>!
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>i p<>ehr<68>v<EFBFBD>n<EFBFBD> na termin<69>lu dos<6F>hnete lep<65><70> rychlosti i kvality pou<6F>it<69>m
|
|
|
|
|
ovlada<EFBFBD>e Linux, bez curses (<option>-aadriver linux</option>). Ale pak budete
|
|
|
|
|
pot<EFBFBD>ebovat pr<70>va k z<>pisu do
|
|
|
|
|
<filename>/dev/vcsa<replaceable><terminal></replaceable></filename>!
|
|
|
|
|
Aalib to nedetekuje, ale vo_aa zkou<6F><75> naj<61>t nejlep<65><70> re<72>im.
|
|
|
|
|
Pro v<>ce lad<61>c<EFBFBD>ch mo<6D>nost<73> viz <ulink url="http://aa-project.sf.net/tune"/>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="caca">
|
|
|
|
|
<title><systemitem class="library">libcaca</systemitem> - Barevn<76> ASCII Art knihovna</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Knihovna <ulink url="http://sam.zoy.org/projects/libcaca/"><systemitem class="library">libcaca</systemitem></ulink>
|
|
|
|
|
je grafick<63> knihovna produkuj<75>c<EFBFBD> text m<>sto pixel<65>, tak<61>e m<><6D>e fungovat na
|
|
|
|
|
star<EFBFBD><EFBFBD>ch video kart<72>ch a textov<6F>ch termin<69>lech. Nen<65> nepodobn<62> zn<7A>m<EFBFBD> knihovn<76>
|
|
|
|
|
<systemitem class="library">AAlib</systemitem>.
|
|
|
|
|
<systemitem class="library">libcaca</systemitem> vy<76>aduje k <20>innosti termin<69>l,
|
|
|
|
|
tak<EFBFBD>e by m<>la fungovat na v<>ech Unixov<6F>ch syst<73>mech (v<>etn<74> Mac OS X) pomoc<6F> bu<62>
|
|
|
|
|
knihovny <systemitem class="library">slang</systemitem> nebo knihovny
|
|
|
|
|
<systemitem class="library">ncurses</systemitem>, pod DOSem pomoc<6F> knihovny
|
|
|
|
|
<systemitem class="library">conio.h</systemitem> a na syst<73>mech Windows
|
|
|
|
|
pomoc<EFBFBD> bu<62> <systemitem class="library">slang</systemitem> nebo
|
|
|
|
|
<systemitem class="library">ncurses</systemitem> (pomoc<6F> emulace Cygwin) nebo
|
|
|
|
|
<systemitem class="library">conio.h</systemitem>. Pokud
|
|
|
|
|
<filename>./configure</filename>
|
|
|
|
|
detekuje <systemitem class="library">libcaca</systemitem>, bude sestaveno
|
|
|
|
|
rozhran<EFBFBD> caca libvo.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<title>Odli<EFBFBD>nosti od <systemitem class="library">AAlib</systemitem> jsou:</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
16 dostupn<70>ch barev pro znakov<6F> v<>stup (256 barev pro p<>r)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
rozhodov<6F>n<EFBFBD> podle barev v obr<62>zku
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<title>Ale <systemitem class="library">libcaca</systemitem> m<> tak<61> n<>sleduj<75>c<EFBFBD>
|
|
|
|
|
omezen<65>:</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
nem<65> podpora pro jas, kontrast a gamu
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V caca okn<6B> m<><6D>ete pou<6F><75>t n<>kter<65> kl<6B>vesy pro zm<7A>nu renderovac<61>ch volby:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<informaltable>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Kl<EFBFBD>vesa</entry><entry>Akce</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row><entry><keycap>d</keycap></entry><entry>
|
|
|
|
|
P<>ep<65>n<EFBFBD> metody rozhodov<6F>n<EFBFBD> v <systemitem class="library">libcaca</systemitem>.
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>a</keycap></entry><entry>
|
|
|
|
|
P<>ep<65>n<EFBFBD> vyhlazov<6F>n<EFBFBD> v <systemitem class="library">libcaca</systemitem>.
|
|
|
|
|
</entry></row>
|
|
|
|
|
<row><entry><keycap>b</keycap></entry><entry>
|
|
|
|
|
P<>ep<65>n<EFBFBD> pozad<61> v <systemitem class="library">libcaca</systemitem>.
|
|
|
|
|
</entry></row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title><systemitem class="library">libcaca</systemitem> tak<61> respektuje n<>kter<65>
|
|
|
|
|
prom<6F>nn<6E> prost<73>ed<65>:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>CACA_DRIVER</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Nastav<61> doporu<72>en<65> caca ovlada<64>, jako ncurses, slang, x11.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>CACA_GEOMETRY (pouze X11)</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Nastav<61> po<70>et <20>ad a sloupc<70>. Nap<61>. 128x50.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>CACA_FONT (pouze X11)</option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Nastav<61> pou<6F>it<69> font. Nap<61>. fixed, nexus.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pou<EFBFBD>ijte volbu <option>-framedrop</option>, pokud v<><76> po<70><6F>ta<74> nen<65> dost rychl<68>
|
|
|
|
|
pro renderov<6F>n<EFBFBD> v<>ech sn<73>mk<6D>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="vesa">
|
|
|
|
|
<title>VESA - v<>stup do VESA BIOSu</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Tento ovlada<64> byl navr<76>en a p<>edstaven jako <emphasis role="bold">obecn<EFBFBD>
|
|
|
|
|
ovlada<EFBFBD></emphasis> pro jakoukoli video kartu, kter<65> m<> VESA VBE 2.0 kompatibiln<6C>
|
|
|
|
|
BIOS. Dal<61><6C> v<>hodou tohoto ovlada<64>e je, <20>e zkou<6F><75> vynutit zapnut<75> v<>stupu na TV.
|
|
|
|
|
<citetitle>VESA BIOS EXTENSION (VBE) Version 3.0 Date: September 16,
|
|
|
|
|
1998</citetitle> (Strana 70) uv<75>d<EFBFBD>:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
<formalpara><title>Karty Dual-Controller</title>
|
|
|
|
|
<para>
|
|
|
|
|
VBE 3.0 podporuje karty s dual-controllerem za p<>edpokladu <20>e, jeliko<6B> jsou
|
|
|
|
|
typicky oba controllery vybaveny stejn<6A>m OEM a nastavov<6F>ny jedinou
|
|
|
|
|
BIOS ROM na stejn<6A> grafick<63> kart<72>, je mo<6D>n<EFBFBD> skr<6B>t p<>ed aplikac<61> p<><70>tomnost
|
|
|
|
|
dvou controller<65>. To omezuje nez<65>visl<73> pou<6F>it<69> jednotliv<69>ch controller<65>,
|
|
|
|
|
ale umo<6D><6F>uje aplikac<61>m vydan<61>m p<>ed VBE 3.0 pracovat norm<72>ln<6C>.
|
|
|
|
|
VBE funkce 00h (N<>vrat informac<61> o controlleru) vrac<61> kombinovan<61> informace
|
|
|
|
|
obou conroller<65>, v<>etn<74> kombinovan<61>ho seznamu platn<74>ch re<72>im<69>.
|
|
|
|
|
P<EFBFBD><EFBFBD>slu<EFBFBD>n<EFBFBD> controller je aktivov<6F>n jakmile aplikace vybere re<72>im. V<>echny
|
|
|
|
|
ostatn<EFBFBD> VBE funkce pak pracuj<75> s aktivn<76>m controllerem.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
M<EFBFBD>te tedy mo<6D>nost s t<>mto rozhran<61>m dostat funk<6E>n<EFBFBD> TV v<>stup.
|
|
|
|
|
(Soud<75>m <20>e TV v<>stup m<> velmi <20>asto samostatnou jednotku, nebo aspo<70> samostatn<74>
|
|
|
|
|
v<EFBFBD>stup.)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<title>V<EFBFBD>HODY</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<>te <20>anci sledovat video <emphasis role="bold">dokonce i kdy<64> Linux nezn<7A>
|
|
|
|
|
</emphasis> v<><76> video hardware.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Nepot<6F>ebujete m<>t ve sv<73>m Linuxu nainstalov<6F>ny <20><>dn<64> v<>ci souvisej<65>c<EFBFBD> s
|
|
|
|
|
grafikou (jako X11 (alias XFree86), fbdev atd). Toto rozhran<61> lze provozovat
|
|
|
|
|
z <emphasis role="bold">textov<EFBFBD>ho re<72>imu</emphasis>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<>te <20>anci z<>skat <emphasis role="bold">funk<EFBFBD>n<EFBFBD> TV-out</emphasis>.
|
|
|
|
|
(Je to pravda minim<69>ln<6C> s kartami ATI).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Toto rozhran<61> vol<6F> <function>int 10h</function> handler, tak<61>e nen<65>
|
|
|
|
|
emul<75>torem – vol<6F> <emphasis role="bold">skute<EFBFBD>n<EFBFBD></emphasis> v<>ci
|
|
|
|
|
<emphasis>skute<EFBFBD>n<EFBFBD>ho</emphasis> BIOSu v <emphasis>re<EFBFBD>ln<EFBFBD>m re<72>imu</emphasis>
|
|
|
|
|
(ve skute<74>nosti v re<72>imu vm86).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<><4D>ete s n<>m pou<6F><75>t VIDIX, tak<61>e dostanete akcelerovan<61> video
|
|
|
|
|
<emphasis role="bold">a</emphasis> TV v<>stup sou<6F>asn<73>!
|
|
|
|
|
(Doporu<72>eno pro karty ATI.)
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<>te-li VESA VBE 3.0+ a nastavili jste si n<>kde
|
|
|
|
|
<option>monitor-hfreq, monitor-vfreq, monitor-dotclock</option>
|
|
|
|
|
(config soubor nebo p<><70>kazov<6F> <20><>dek) dostanete nejvy<76><79><EFBFBD> mo<6D>n<EFBFBD> obnovovac<61>
|
|
|
|
|
kmito<74>et. (Using General Timing Formula). Abyste t<>to funkce dos<6F>hli, mus<75>te
|
|
|
|
|
nastavit <emphasis role="bold">v<EFBFBD>echna</emphasis> nastaven<65> monitoru.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<title>NEV<EFBFBD>HODY</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Pracuje pouze na <emphasis role="bold">syst<EFBFBD>mech x86</emphasis>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<><4D>e to pou<6F><75>t pouze <systemitem class="username">root</systemitem>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Zat<61>m je dostupn<70> pouze pro <emphasis role="bold">Linux</emphasis>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<important>
|
|
|
|
|
<para>
|
|
|
|
|
Nepou<EFBFBD><EFBFBD>vejte toto rozhran<61> s <emphasis role="bold">GCC 2.96</emphasis>!
|
|
|
|
|
Nefunguje!
|
|
|
|
|
</para>
|
|
|
|
|
</important>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>VOLBY P<><50>KAZOV<4F>HO <20><>DKU DOSTUPN<50> PRO VESA</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vo vesa:<replaceable>volby</replaceable></option></term>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
zat<61>m dostupn<70>: <literal>dga</literal> pro vynucen<65> dga re<72>imu a
|
|
|
|
|
<literal>nodga</literal> pro jeho potla<6C>en<65>. V re<72>imu dga m<><6D>ete zapnout
|
|
|
|
|
dvojitou vyrovn<76>vac<61> pam<61><6D> pomoc<6F> volby <option>-double</option>.
|
|
|
|
|
Pozn<7A>mka: Tyto volby m<><6D>ete vynechat, abyste zapli
|
|
|
|
|
<emphasis role="bold">autodetekci</emphasis> dga re<72>imu.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<title>ZN<EFBFBD>M<EFBFBD> PROBL<42>MY A KLI<4C>KY</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Pokud m<>te nainstalov<6F>n <emphasis role="bold">NLS</emphasis> font v
|
|
|
|
|
Linuxov<6F> konzoli a pou<6F>ijete VESA rozhran<61> v textov<6F>m re<72>imu, pak po
|
|
|
|
|
ukon<6F>en<65> <application>MPlayer</application>u budete m<>t nahr<68>n
|
|
|
|
|
<emphasis role="bold">ROM font</emphasis> m<>sto n<>rodn<64>ho.
|
|
|
|
|
M<><4D>ete si op<6F>t nahr<68>t n<>rodn<64> font nap<61><70>klad pomoc<6F> utility
|
2005-10-07 08:02:13 +00:00
|
|
|
|
<command>setsysfont</command> z distribuce Mandrake/Mandriva.
|
2005-09-23 06:40:02 +00:00
|
|
|
|
(<emphasis role="bold">Tip</emphasis>: Stejn<6A> utilita je pou<6F>ita pro
|
|
|
|
|
lokalizaci fbdev).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
N<>kter<65> <emphasis role="bold">Linuxov<EFBFBD> grafick<63> ovlada<64>e</emphasis> neobnovuj<75>
|
|
|
|
|
aktivn<76> <emphasis role="bold">re<EFBFBD>im BIOSu</emphasis> v DOSov<6F> pam<61>ti.
|
|
|
|
|
Tak<61>e pokud m<>te tento probl<62>m – v<>dy pou<6F><75>vejte VESA rozhran<61> pouze v
|
|
|
|
|
<emphasis role="bold">textov<EFBFBD>m re<72>imu</emphasis>. Jinak bude p<>esto aktivov<6F>n
|
|
|
|
|
textov<6F> re<72>im (#03) a budete muset restartovat po<70><6F>ta<74>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<20>asto po ukon<6F>en<65> VESA rozhran<61> dostanete <emphasis role="bold"><EFBFBD>ernou</emphasis>
|
|
|
|
|
obrazovku. Chcete-li vr<76>tit obraz do p<>vodn<64>ho stavu – jednodu<64>e se
|
|
|
|
|
p<>epn<70>te do jin<69> konzole (stiskem <keycap>Alt</keycap>+<keycap>F<x></keycap>)
|
|
|
|
|
a pak se p<>epn<70>te zp<7A>t stejn<6A>m zp<7A>sobem.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Chcete-li <emphasis role="bold">funk<EFBFBD>n<EFBFBD> TV-out</emphasis>, mus<75>te m<>t
|
|
|
|
|
p<>ipojen<65> TV konektor p<>ed startem po<70><6F>ta<74>e, jeliko<6B> se video BIOS
|
|
|
|
|
inicializuje pouze jednou b<>hem POST procedury.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="x11">
|
|
|
|
|
<title>X11</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud mo<6D>no se mu vyhn<68>te. Pos<6F>l<EFBFBD> obraz do X11 (pou<6F><75>v<EFBFBD> roz<6F><7A><EFBFBD>en<65> sd<73>len<65> pam<61><6D>)
|
|
|
|
|
bez jak<61>koli hardwarov<6F> akcelerace. Podporuje (MMX/3DNow/SSE akcelerovan<61>, ale
|
|
|
|
|
p<EFBFBD>esto pomal<61>) softwarov<6F> <20>k<EFBFBD>lov<6F>n<EFBFBD>. Pou<6F>ijte volby <option>-fs -zoom</option>.
|
|
|
|
|
V<EFBFBD>t<EFBFBD>ina karet m<> hardwarovou podporu <20>k<EFBFBD>lov<6F>n<EFBFBD>, pou<6F>ijte pro n<> volbu
|
|
|
|
|
<option>-vo xv</option>, nebo <option>-vo xmga</option> pro karty Matrox.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Probl<EFBFBD>m je, <20>e v<>t<EFBFBD>ina karet nepodporuje hardwarovou akceleraci na sekund<6E>rn<72>m
|
|
|
|
|
v<EFBFBD>stupu/TV. V t<>chto p<><70>padech uvid<69>te m<>sto filmu zelenou/modrou obrazovku.
|
|
|
|
|
Te<EFBFBD> se hod<6F> toto rozhran<61>, ale pot<6F>ebujete siln<6C> procesor pro pou<6F>it<69>
|
|
|
|
|
softwarov<EFBFBD>ho <20>k<EFBFBD>lov<6F>n<EFBFBD>. Nepou<6F><75>vejte SDL softwarov<6F> v<>stup a <20>k<EFBFBD>lov<6F>n<EFBFBD>, m<> hor<6F><72>
|
|
|
|
|
kvalitu obrazu!
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Softwarov<EFBFBD> <20>k<EFBFBD>lov<6F>n<EFBFBD> je velmi pomal<61>, zkuste rad<61>ji m<>nit videore<72>imy.
|
|
|
|
|
Je to jednoduch<63>. Viz <link linkend="dga-modelines">modelines v DGA sekci</link>
|
|
|
|
|
a p<>idejte je do sv<73>ho <filename>XF86Config</filename>.
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<>te-li XFree86 4.x.x: pou<6F>ijte volbu <option>-vm</option>. Ta zm<7A>n<EFBFBD>
|
|
|
|
|
rozli<6C>en<65> tak, aby do n<>j film dob<6F>e ve<76>el. Kdy<64> ne:
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
S XFree86 3.x.x: mus<75>te cyklovat dostupn<70>mi rozli<6C>en<65>mi pomoc<6F> tla<6C><61>tek
|
|
|
|
|
<keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>plus</keycap>
|
|
|
|
|
a
|
|
|
|
|
<keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>minus</keycap>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud nem<65><6D>ete naj<61>r rozli<6C>en<65>, kter<65> jste vlo<6C>ili, pro<72>t<EFBFBD>te si v<>stup XFree86.
|
|
|
|
|
N<EFBFBD>kter<EFBFBD> ovlada<64>e nezvl<76>dnou n<>zk<7A> bodov<6F> kmito<74>ty pot<6F>ebn<62> pro re<72>imy s n<>zk<7A>m
|
|
|
|
|
rozli<EFBFBD>en<EFBFBD>m videa.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="vidix">
|
|
|
|
|
<title>VIDIX</title>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>P<EFBFBD>EDMLUVA</title>
|
|
|
|
|
<para>
|
|
|
|
|
<acronym>VIDIX</acronym> je zkratka pro <emphasis role="bold">VID</emphasis>eo
|
|
|
|
|
<emphasis role="bold">I</emphasis>nterface for *ni<emphasis role="bold">X</emphasis>
|
|
|
|
|
(video rozhran<61> pro *nix).
|
|
|
|
|
VIDIX bylo navr<76>eno a p<>edstaveno jako rozhran<61> pro rychl<68> u<>ivatelsk<73> ovlada<64>e
|
|
|
|
|
dosahuj<EFBFBD>c<EFBFBD>ch video v<>konu jako dosahuje mga_vid na kart<72>ch Matrox. Je rovn<76><6E>
|
|
|
|
|
dob<EFBFBD>e p<>enositeln<6C>.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
<para>
|
|
|
|
|
Toto rozhran<61> bylo navr<76>eno jako pokus napasovat existuj<75>c<EFBFBD> video akceleruj<75>c<EFBFBD>
|
|
|
|
|
rozhran<EFBFBD> (zn<7A>m<EFBFBD> jako mga_vid, rage128_vid, radeon_vid, pm3_vid) do pevn<76>ho
|
|
|
|
|
sch<EFBFBD>ma. Poskytuje vysoko<6B>rov<6F>ov<6F> rozhran<61> k <20>ip<69>m zn<7A>m<EFBFBD>m jako BES
|
|
|
|
|
(BackEnd scalers) nebo OV (Video Overlays). Neposkytuje n<>zko<6B>rov<6F>ov<6F> rozhran<61>
|
|
|
|
|
k v<>cem zn<7A>m<EFBFBD>m jako grafick<63> servery.
|
|
|
|
|
(Nechci konkurovat X11 t<>mu v p<>ep<65>n<EFBFBD>n<EFBFBD> grafick<63>ch re<72>im<69>). <20>ili hlavn<76>m c<>lem
|
|
|
|
|
tohoto rozhran<61> je maximalizace rychlosti p<>ehr<68>v<EFBFBD>n<EFBFBD> videa.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<title>POU<EFBFBD>IT<EFBFBD></title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<><4D>ete pou<6F><75>t samostatn<74> video rozhran<61>: <option>-vo xvidix</option>.
|
|
|
|
|
Toto rozhran<61> bylo vytvo<76>eno jako front end X11 k technologii VIDIX.
|
|
|
|
|
Vy<56>aduje X server a m<><6D>e pracovat pouze pod X serverem. Poznamenejme, <20>e
|
|
|
|
|
jeliko<6B> p<><70>mo komunikuje s hardwarem a obch<63>z<EFBFBD> X ovlada<64>, pixmapy ulo<6C>en<65>
|
|
|
|
|
v pam<61>ti grafick<63> karty m<><6D>ou b<>t po<70>kozeny. M<><4D>ete se tomu vyhnout omezen<65>m
|
|
|
|
|
mno<6E>stv<74> video pam<61>ti pou<6F>it<69> X pomoc<6F> volby "VideoRam" v XF86Config o 4MB.
|
|
|
|
|
Pokud m<>te m<>n<EFBFBD> ne<6E> 8MB video ram, m<><6D>ete m<>sto toho pou<6F><75>t volbu
|
|
|
|
|
"XaaNoPixmapCache" v sekci screen.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Existuje konzolov<6F> VIDIX rozhran<61>: <option>-vo cvidix</option>.
|
|
|
|
|
To vy<76>aduje pro v<>t<EFBFBD>inu karet funk<6E>n<EFBFBD> inicializovan<61> framebuffer (jinak pouze
|
|
|
|
|
rozhod<6F>te obrazovku) a dos<6F>hnete podobn<62>ho efektu jako s
|
|
|
|
|
<option>-vo mga</option> nebo <option>-vo fbdev</option>. nVidia karty v<>ak
|
|
|
|
|
jsou schopny zobrazit pln<6C> grafick<63> video na re<72>ln<6C> textov<6F> konzoli. Viz
|
|
|
|
|
sekci <link linkend="vidix-nvidia">nvidia_vid</link> pro v<>ce informac<61>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
M<><4D>ete pou<6F><75>t VIDIXov<6F> podza<7A><61>zen<65>, kter<65> bylo zabudov<6F>no do n<>kolika video
|
|
|
|
|
ovlada<64><61>, nap<61><70>klad: <option>-vo vesa:vidix</option>
|
|
|
|
|
(<emphasis role="bold">pouze Linux</emphasis>) a
|
|
|
|
|
<option>-vo fbdev:vidix</option>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nez<EFBFBD>le<EFBFBD><EFBFBD> na tom, kter<65> video v<>stupn<70> rozhran<61> je pou<6F>ito s
|
|
|
|
|
<emphasis role="bold">VIDIX</emphasis>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<title>PO<EFBFBD>ADAVKY</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Video karta by m<>la b<>t v grafick<63>m re<72>imu (vyjma karet nVidia s v<>stupn<70>m
|
|
|
|
|
rozhran<61>m <option>-vo cvidix</option>).
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
V<>stupn<70> video rozhran<61> <application>MPlayer</application>u by m<>lo zn<7A>t
|
|
|
|
|
aktivn<76> video re<72>im a b<>t schopno sd<73>lit VIDIXov<6F>mu podza<7A><61>zen<65> n<>kter<65> video
|
|
|
|
|
charakteristiky serveru.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>METODY POU<4F>IT<49></title>
|
|
|
|
|
<para>
|
|
|
|
|
Kdy<EFBFBD> pou<6F>ijete VIDIX jako <emphasis role="bold">subdevice</emphasis>
|
|
|
|
|
(<option>-vo vesa:vidix</option>), pak je konfigurace video re<72>imu je provedeno
|
|
|
|
|
v<EFBFBD>stupn<EFBFBD>m video rozhran<61>m (zkr<6B>tka <emphasis role="bold">vo_server</emphasis>em).
|
|
|
|
|
Tak<EFBFBD>e m<><6D>ete zadat na p<><70>kazov<6F>m <20><>dku <application>MPlayer</application>u
|
|
|
|
|
stejn<EFBFBD> volby jako pro vo_server. N<>vdavkem rozezn<7A>v<EFBFBD> volbu
|
|
|
|
|
<option>-double</option> jako glob<6F>ln<6C> parametr. (Doporu<72>uji pou<6F><75>t tuto volbu
|
|
|
|
|
s VIDIX aspo<70> pro ATI kartu). Stejn<6A> jako <option>-vo xvidix</option>, dosud
|
|
|
|
|
zn<EFBFBD> n<>sleduj<75>c<EFBFBD> volby: <option>-fs -zoom -x -y -double</option>.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
<para>
|
|
|
|
|
Rovn<EFBFBD><EFBFBD> m<><6D>ete uv<75>st VIDIXov<6F> ovlada<64> jako t<>et<65> podvolbu na p<><70>kazov<6F>m <20><>dku:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer -vo xvidix:mga_vid.so -fs -zoom -double <replaceable>soubor.avi</replaceable></screen>
|
|
|
|
|
nebo
|
|
|
|
|
<screen>mplayer -vo vesa:vidix:radeon_vid.so -fs -zoom -double -bpp 32 <replaceable>soubor.avi</replaceable></screen>
|
|
|
|
|
|
|
|
|
|
Ale je to nebezpe<70>n<EFBFBD> a nem<65>li byste to d<>lat. V tomto p<><70>pad<61> bude zadan<61>
|
|
|
|
|
ovlada<EFBFBD> vynucen a v<>sledek je nep<65>edv<64>dateln<6C> (m<><6D>e v<>m
|
|
|
|
|
<emphasis role="bold">zatuhnout</emphasis> po<70><6F>ta<74>). M<>li byste to pou<6F><75>t
|
|
|
|
|
POUZE pokud jste si absolutn<74> jist<73>, <20>e to bude fungovat a
|
|
|
|
|
<application>MPlayer</application> to neud<75>l<EFBFBD> automaticky. <20>ekn<6B>te o tom pros<6F>m
|
|
|
|
|
v<EFBFBD>voj<EFBFBD><EFBFBD><EFBFBD>m. Spr<70>vn<76> zp<7A>sob je pou<6F>it<69> VIDIX bez argument<6E>, aby prob<6F>hla
|
|
|
|
|
autodetekce.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
VIDIX je nov<6F> technologie a je extr<74>mn<6D> mo<6D>n<EFBFBD>, <20>e na va<76>em syst<73>mu nebude
|
|
|
|
|
pracovat. V tom p<><70>pad<61> je jedin<69>m <20>e<EFBFBD>en<65>m ji portovat (hlavn<76> libdha).
|
|
|
|
|
Ale je <20>ance, <20>e bude pracovat na syst<73>mech, kde funguje X11.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jeliko<EFBFBD> VIDIX vy<76>aduje p<><70>m<EFBFBD> p<><70>stup k hardware, m<><6D>ete jej bu<62> spustit jako
|
|
|
|
|
root, nebo nastavit SETUID bit bin<69>rce <application>MPlayer</application>u
|
|
|
|
|
(<emphasis role="bold">Varov<EFBFBD>n<EFBFBD>: Toto je bezpe<70>nostn<74> risk!</emphasis>).
|
|
|
|
|
Alternativn<EFBFBD> m<><6D>ete pou<6F><75>t speci<63>ln<6C> jadern<72> modul, nap<61><70>klad:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<procedure>
|
|
|
|
|
<step><para>
|
|
|
|
|
St<53>hn<68>te si <ulink url="http://www.arava.co.il/matan/svgalib/">v<EFBFBD>vojovou verzi</ulink>
|
|
|
|
|
svgalib (nap<61><70>klad 1.9.17), <emphasis role="bold">NEBO</emphasis> si
|
|
|
|
|
st<73>hn<68>te verzi vatvo<76>enou Alexem speci<63>ln<6C> pro pou<6F>it<69> s
|
|
|
|
|
<application>MPlayer</application>em (ke kompilaci nepot<6F>ebuje zdrojov<6F> k<>d
|
|
|
|
|
svgalib)
|
2005-10-07 08:02:13 +00:00
|
|
|
|
<ulink url="http://www.mplayerhq.hu/MPlayer/contrib/svgalib/svgalib_helper-1.9.17-mplayer.tar.bz2">odtud</ulink>.
|
2005-09-23 06:40:02 +00:00
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Skompilujte modul v adres<65><73>i <filename class="directory">svgalib_helper</filename>
|
|
|
|
|
(naleznete ji v <filename class="directory">svgalib-1.9.17/kernel/</filename>,
|
|
|
|
|
pokud jste si st<73>hli zdrojov<6F> k<>d ze serveru svgalib) a nahrajte (insmod) jej.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Pro vytvo<76>en<65> pot<6F>ebn<62>ch za<7A><61>zen<65> v adres<65><73>i
|
|
|
|
|
<filename class="directory">/dev</filename> prove<76>te jako root
|
|
|
|
|
<screen>make device</screen> v adres<65><73>i
|
|
|
|
|
<filename class="directory">svgalib_helper</filename>.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
P<>esu<73>te adres<65><73> <filename class="directory">svgalib_helper</filename> do
|
|
|
|
|
<filename class="directory">mplayer/main/libdha/svgalib_helper</filename>.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Pokud jste si st<73>hli zdroj ze str<74>nek svgalib, mus<75>te odkomentovat <20><>dek
|
|
|
|
|
CFLAGS obsahuj<75>c<EFBFBD> text "svgalib_helper" v souboru
|
|
|
|
|
<filename class="directory">libdha/Makefile</filename>.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
P<>ekompilujte a nainstalujte libdha.
|
|
|
|
|
</para></step>
|
|
|
|
|
</procedure>
|
|
|
|
|
|
|
|
|
|
<sect4 id="vidix-ati">
|
|
|
|
|
<title>Karty ATI</title>
|
|
|
|
|
<para>
|
|
|
|
|
V sou<6F>asnosti je v<>t<EFBFBD>ina ATI karet podporov<6F>na nativn<76> od Mach64 a<> po
|
|
|
|
|
nejnov<EFBFBD>j<EFBFBD><EFBFBD> Radeony.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Existuj<EFBFBD> dv<64> skompilovan<61> bin<69>rky: <filename>radeon_vid</filename> pro Radeony a
|
|
|
|
|
<filename>rage128_vid</filename> pro karty Rage 128. M<><4D>ete n<>kterou vynutit,
|
|
|
|
|
nebo nechat VIDIX rozhran<61> autodetekovat v<>echny dostupn<70> ovlada<64>e.
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
<sect4 id="vidix-mga">
|
|
|
|
|
<title>Karty Matrox</title>
|
|
|
|
|
<para>
|
|
|
|
|
Matrox G200, G400, G450 a G550 jsou hl<68><6C>eny jako funk<6E>n<EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ovlada<EFBFBD> podporuje video ekvaliz<69>ry a m<>l by b<>t t<>m<EFBFBD><6D> tak rychl<68> jako
|
|
|
|
|
<link linkend="mga_vid">Matrox framebuffer</link>
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
<sect4 id="vidix-trident">
|
|
|
|
|
<title>Karty Trident</title>
|
|
|
|
|
<para>
|
|
|
|
|
Existuje ovlada<64> pro <20>ipset Trident Cyberblade/i1, kter<65> lze nal<61>zt na
|
|
|
|
|
motherboardech VIA Epia.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ovlada<EFBFBD> byl naps<70>n a je udr<64>ov<6F>n
|
|
|
|
|
<ulink url="http://www.blackfiveservices.co.uk/EPIAVidix.shtml">Alastairem M. Robinsonem</ulink>
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
<sect4 id="vidix-3dlabs">
|
|
|
|
|
<title>Karty 3DLabs</title>
|
|
|
|
|
<para>
|
|
|
|
|
A<EFBFBD>koli existuje ovlada<64> pro <20>ipy 3DLabs GLINT R3 a Permedia3, nikdo je
|
|
|
|
|
netestoval, tak<61>e hl<68><6C>en<65> v<>t<EFBFBD>me.
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
<sect4 id="vidix-nvidia">
|
|
|
|
|
<title>Karty nVidia</title>
|
|
|
|
|
<para>
|
|
|
|
|
Existuje relativn<76> nov<6F> ovlada<64> pro nVidie o kter<65>m je zn<7A>mo, <20>e pracuje
|
|
|
|
|
s <20>ipsety Riva 128, TNT a GeForce2 a n<>kter<65> dal<61><6C> byly rovn<76><6E> hl<68><6C>eny jako
|
|
|
|
|
funk<EFBFBD>n<EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<title>OMEZEN<EFBFBD></title>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Doporu<72>ujeme pou<6F>it<69> bin<69>rn<72>ch nVidia ovlada<64><61> pro X p<>ednostn<74> p<>ed t<>mto
|
|
|
|
|
VIDIX ovlada<64>em, proto<74>e n<>kter<65> registry, kter<65> je nutn<74> nastavit nebyly
|
|
|
|
|
dosud ob<6F>veny, tak<61>e pravd<76>podobn<62> sel<65>e s Open Source XFree86
|
|
|
|
|
ovlada<64>em <filename>nv.o</filename>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
V sou<6F>asnosti mohou s t<>mto ovlada<64>em pracovat pouze kodeky schopn<70> v<>stupu
|
|
|
|
|
v barevn<76>m prostoru UYVY. Nane<6E>t<EFBFBD>st<73> to vylu<6C>uje v<>echny dekod<6F>ry z rodiny
|
|
|
|
|
<systemitem class="library">libavcodec</systemitem>. Tak<61>e z<>st<73>vaj<61>
|
|
|
|
|
n<>sleduj<75>c<EFBFBD> pou<6F>iteln<6C> popul<75>rn<72> kodeky:
|
|
|
|
|
<systemitem>cvid, divxds, xvid, divx4, wmv7, wmv8</systemitem> a n<>kter<65>
|
|
|
|
|
dal<61><6C>. M<>jte v<>ak pros<6F>m na pam<61>ti, <20>e to je pouze do<64>asn<73> obt<62><74>.
|
|
|
|
|
Syntaxe pro pou<6F>it<69> je n<>sleduj<75>c<EFBFBD>:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vf format=uyvy -vc divxds <replaceable>divx3soubor.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Unik<69>tn<74> vlastnost<73> ovlada<64>e nvidia_vid je jeho schopnost zobrazit video na
|
|
|
|
|
<emphasis role="bold">jednoduch<EFBFBD>, <20>ist<73>, pouze textov<6F> konzoli</emphasis>
|
|
|
|
|
– bez framebufferu nebo n<>jak<61> X magie. Pro tento <20><>el budete muset
|
|
|
|
|
pou<6F><75>t video rozhran<61> <option>cvidix</option>, jak to ukazuje n<>sleduj<75>c<EFBFBD>
|
|
|
|
|
p<><70>klad:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vf format=uyvy -vc divxds -vo cvidix <replaceable>p<EFBFBD><EFBFBD>klad.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Hl<EFBFBD><EFBFBD>en<EFBFBD> o<>ek<65>v<EFBFBD>na!
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
|
|
<sect4 id="vidix-sis">
|
|
|
|
|
<title>Karty SiS</title>
|
|
|
|
|
<para>
|
|
|
|
|
Toto je velmi experiment<6E>ln<6C> k<>d, stejn<6A> jako nvidia_vid.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Byl testov<6F>n na SiS 650/651/740 (nejobvyklej<65><6A> <20>ipsety pou<6F>it<69> v SiS
|
|
|
|
|
verz<EFBFBD>ch "Shuttle XPC" barebones boxes out there)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Hl<EFBFBD><EFBFBD>en<EFBFBD> o<>ek<65>v<EFBFBD>na!
|
|
|
|
|
</para>
|
|
|
|
|
</sect4>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="directfb">
|
|
|
|
|
<title>DirectFB</title>
|
|
|
|
|
<blockquote><para>
|
|
|
|
|
"DirectFB je grafick<63> knihovna navr<76>en<65> se z<>etelem na vestav<61>n<EFBFBD> syst<73>my.
|
|
|
|
|
Nab<EFBFBD>z<EFBFBD> maxim<69>ln<6C> hardwarov<6F> akcelerovan<61> v<>kon p<>i minim<69>ln<6C> spot<6F>eb<65>
|
|
|
|
|
zdroj<EFBFBD> a zat<61><74>en<65>." – citov<6F>no z <ulink url="http://www.directfb.org"/>
|
|
|
|
|
</para></blockquote>
|
|
|
|
|
|
|
|
|
|
<para>Vlastnosti DirectFB v t<>to sekci vynech<63>m.</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
|
|
|
|
|
A<EFBFBD>koli <application>MPlayer</application> nen<65> podporov<6F>n jako "video
|
|
|
|
|
provider" v DirectFB, toto video rozhran<61> umo<6D>n<EFBFBD> p<>ehr<68>v<EFBFBD>n<EFBFBD> videa p<>es
|
|
|
|
|
DirectFB. Bude to samoz<6F>ejm<6A> akcelerovan<61>. Na m<>m Matroxu G400 byla rychlost
|
|
|
|
|
DirectFB stejn<6A> jako XVideo.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>dy se sna<6E>te pou<6F><75>vat nejnov<6F>j<EFBFBD><6A> verzi DirectFB. M<><4D>ete nastavovat volby pro
|
|
|
|
|
DirectFB na p<><70>kazov<6F>m <20><>dku pomoc<6F> volby <option>-dfbopts</option>. Volbu
|
|
|
|
|
vrstvy lze prov<6F>st metodou podza<7A><61>zen<65>, nap<61>.: <option>-vo directfb:2</option>
|
|
|
|
|
(v<>choz<6F> je vrstva -1: autodetekce)
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="dfbmga">
|
|
|
|
|
<title>DirectFB/Matrox (dfbmga)</title>
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>e<EFBFBD>t<EFBFBD>te si pros<6F>m <link linkend="directfb">hlavn<EFBFBD> DirectFB</link> sekci pro
|
|
|
|
|
obecn<EFBFBD> informaci.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Toto video v<>stupn<70> za<7A><61>zen<65> zapne CRTC2 (na sekund<6E>rn<72>m v<>stupu) na kart<72>ch
|
|
|
|
|
Matrox G400/G450/G550, tak<61>e zobrazuje video
|
|
|
|
|
<emphasis role="bold">nez<EFBFBD>visle</emphasis> na hlavn<76>m v<>stupu.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ville Syrjala's m<>
|
|
|
|
|
<ulink url="http://www.sci.fi/~syrjala/directfb/Matrox_TV-out_README.txt">README</ulink>
|
|
|
|
|
a
|
|
|
|
|
<ulink url="http://www.sci.fi/~syrjala/directfb/matrox-tv-out-howto">HOWTO</ulink>
|
|
|
|
|
na sv<73> dom<6F>c<EFBFBD> str<74>nce, kde vysv<73>tluje, jak rozb<7A>hnout DirectFB TV v<>stup na
|
|
|
|
|
kart<EFBFBD>ch Matrox.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
Prvn<EFBFBD> DirectFB verze se kterou se n<>m to povedlo byla
|
|
|
|
|
0.9.17 (je chybov<6F>, pot<6F>ebuje <systemitem>surfacemanager</systemitem>
|
|
|
|
|
patch z v<><76>e uveden<65>ho URL). Portace CRTC2 k<>du do
|
|
|
|
|
<link linkend="mga_vid">mga_vid</link> bylo pl<70>nov<6F>no l<>ta,
|
|
|
|
|
<ulink url="../../tech/patches.txt">patche</ulink> v<>t<EFBFBD>me.
|
|
|
|
|
</para></note>
|
|
|
|
|
</sect3>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="mpeg_decoders">
|
|
|
|
|
<title>MPEG dekod<6F>ry</title>
|
|
|
|
|
|
|
|
|
|
<sect3 id="dvb">
|
|
|
|
|
<title>DVB v<>stup a vstup</title>
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> podporuje karty s <20>ipsetem Siemens DVB od
|
|
|
|
|
v<EFBFBD>robc<EFBFBD> jako Siemens, Technotrend, Galaxis nebo Hauppauge. Posledn<64> DVB
|
|
|
|
|
ovlada<EFBFBD>e jsou dostupn<70> na <ulink url="http://www.linuxtv.org">Linux TV str<74>nk<6E>ch</ulink>.
|
|
|
|
|
Pokud chcete prov<6F>d<EFBFBD>t softwarov<6F> transk<73>dov<6F>n<EFBFBD>, m<>li byste m<>t aspo<70> 1GHz CPU.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Configure by m<>l detekovat va<76>i DVB kartu. Pokud ne, vynu<6E>te detekci pomoc<6F>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para><screen>./configure --enable-dvb</screen></para>
|
|
|
|
|
|
|
|
|
|
<para>Pokud m<>te ost hlavi<76>ky na nestandardn<64>m m<>st<73>, nastavte cestu pomoc<6F></para>
|
|
|
|
|
|
|
|
|
|
<para><screen>./configure --with-extraincdir=<replaceable>zdrojov<EFBFBD> adres<65><73> DVB</replaceable>/ost/include
|
|
|
|
|
</screen></para>
|
|
|
|
|
|
|
|
|
|
<para>Pak kompilujte a instalujte obvykl<6B>m zp<7A>sobem.</para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>POU<EFBFBD>IT<EFBFBD></title>
|
|
|
|
|
<para>
|
|
|
|
|
Hardwarov<EFBFBD> dek<65>dov<6F>n<EFBFBD> (p<>ehr<68>v<EFBFBD>n<EFBFBD> standardn<64>ch MPEG-1/2 soubor<6F>) lze prov<6F>st
|
|
|
|
|
t<EFBFBD>mto p<><70>kazem:
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<screen>mplayer -ao mpegpes -vo mpegpes <replaceable>soubor.mpg|vob</replaceable></screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Softwarov<EFBFBD>ho dek<65>dov<6F>n<EFBFBD> nebo transk<73>dov<6F>n<EFBFBD> odli<6C>n<EFBFBD>ch form<72>t<EFBFBD> do MPEG-1 m<><6D>ete
|
|
|
|
|
dos<EFBFBD>hnout p<><70>kazem podobn<62>m tomuto:
|
|
|
|
|
</para>
|
|
|
|
|
<para><screen>
|
|
|
|
|
mplayer -ao mpegpes -vo mpegpes <replaceable>v<EFBFBD><EFBFBD>_soubor.ext</replaceable>
|
|
|
|
|
mplayer -ao mpegpes -vo mpegpes -vf expand <replaceable>v<EFBFBD><EFBFBD>_soubor.ext</replaceable>
|
|
|
|
|
</screen></para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pamatujte, <20>e DVB karty podporuj<75> pouze v<><76>ky 288 a 576 pro PAL nebo 240 a 480
|
|
|
|
|
pro NTSC. Jin<69> v<><76>ky <emphasis role="bold">mus<EFBFBD>te</emphasis> p<>e<EFBFBD>k<EFBFBD>lovat
|
|
|
|
|
p<EFBFBD>id<EFBFBD>n<EFBFBD>m <option>scale=<3D><><EFBFBD>ka:v<><76>ka</option> s <20><><EFBFBD>kou a v<><76>kou, kter<65> chcete
|
|
|
|
|
do volby <option>-vf</option>. DVB karty akceptuj<75> r<>zn<7A> <20><><EFBFBD>ka jako 720, 704,
|
|
|
|
|
640, 512, 480, 352 atd, ale neprov<6F>d<EFBFBD> <20><>dn<64> vodorovn<76> hardwarov<6F> <20>k<EFBFBD>lov<6F>n<EFBFBD>,
|
|
|
|
|
tak<EFBFBD>e ve v<>t<EFBFBD>in<69> p<><70>pad<61> nemus<75>te vodorovn<76> <20>k<EFBFBD>lovat. Pro 512x384
|
|
|
|
|
(pom<6F>r stran 4:3) MPEG-4 (DivX) zkuste:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para><screen>mplayer -ao mpegpes -vo mpegpes -vf scale=512:576</screen></para>
|
|
|
|
|
|
|
|
|
|
<para>Pokud m<>te <20>iroko<6B>hl<68> film a nechcete jej <20>k<EFBFBD>lovat na plnou v<><76>ku, m<><6D>ete
|
|
|
|
|
pou<EFBFBD><EFBFBD>t filtr <option>expand=<3D>:v</option> pro p<>id<69>n<EFBFBD> <20>ern<72>ch okraj<61>. Pro
|
|
|
|
|
prom<EFBFBD>t<EFBFBD>n<EFBFBD> 640x384 MPEG-4 (DivX), zkuste:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<screen>mplayer -ao mpegpes -vo mpegpes -vf expand=640:576 <replaceable>soubor.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud je v<><76> procesor p<><70>li<6C> slab<61> pro 720x576 MPEG-4 (DivX), zkuste pod<6F>k<EFBFBD>lovat:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<screen>mplayer -ao mpegpes -vo mpegpes -vf scale=352:576 <replaceable>soubor.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>Pokud se rychlost nezlep<65><70>, zkuste pod<6F>k<EFBFBD>lovat i v<><76>ku:</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<screen>mplayer -ao mpegpes -vo mpegpes -vf scale=352:288 <replaceable>soubor.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pro OSD a titulky pou<6F>ijte OSD vlastnost expand filtru. Tak<61>e m<>sto
|
|
|
|
|
<option>expand=<3D>:v</option> nebo <option>expand=<3D>:v:x:y</option>, pou<6F>ijte
|
|
|
|
|
<option>expand=<3D>:v:x:y:1</option> (p<>t<EFBFBD> parametr <option>:1</option>
|
|
|
|
|
na konci zapne renderov<6F>n<EFBFBD> OSD). Mo<4D>n<EFBFBD> byste m<>li trochu posunout obraz nahoru,
|
|
|
|
|
abyste m<>li v<>t<EFBFBD><74> <20>ern<72> okraj pro titulky. Rovn<76><6E> byste m<>li posunout nahoru
|
|
|
|
|
titulky, pokud jsou mimo TV obrazovku. Pou<6F>ijte volbu <option>-subpos <0-100></option>
|
|
|
|
|
pro toto nastaven<65> (<option>-subpos 80</option> je dobr<62> volba).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Chcete-li p<>ehr<68>vat filmy s jinou sn<73>mkovou rychlost<73> ne<6E> 25 fps na PAL TV, nebo
|
|
|
|
|
na pomal<61>m CPU, p<>idejte volbu <option>-framedrop</option>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Chcete-li zachovat pom<6F>r stran MPEG-4 (DivX) soubor<6F> a dos<6F>hnout optim<69>ln<6C>ch
|
|
|
|
|
<EFBFBD>k<EFBFBD>lovac<EFBFBD>ch parametr<74> (hardwarov<6F> horizont<6E>ln<6C> <20>k<EFBFBD>lov<6F>n<EFBFBD> a softwarov<6F> vertik<69>ln<6C>
|
|
|
|
|
<EFBFBD>k<EFBFBD>lov<EFBFBD>n<EFBFBD> zat<61>mco zachov<6F>te spr<70>vn<76> pom<6F>r stran), pou<6F>ijte filtr dvbscale:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para><screen>
|
|
|
|
|
pro 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
|
|
|
|
|
pro 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
|
|
|
|
|
</screen></para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>Digit<EFBFBD>ln<EFBFBD> TV (vstupn<70> DVB modul)</title>
|
|
|
|
|
<para>M<EFBFBD><EFBFBD>ete pou<6F><75>t svou DVB kartu pro sledov<6F>n<EFBFBD> Digit<69>ln<6C> TV.</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
M<>li byste m<>t nainstalov<6F>ny programy <command>scan</command> a
|
|
|
|
|
<command>szap/tzap/czap/azap</command>; v<>echny jsou za<7A>azeny v bal<61><6C>ku
|
|
|
|
|
ovlada<64><61>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ov<4F><76>te si, zda va<76>e ovlada<64>e pracuj<75> spr<70>vn<76> s progamy jako je
|
|
|
|
|
<ulink url="http://sf.net/projects/dvbtools/"><command>dvbstream</command></ulink>
|
|
|
|
|
(to je z<>klad vstupn<70>ho DVB modulu).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nyn<79> byste m<>li skompilovat soubor <filename>~/.mplayer/channels.conf</filename>,
|
|
|
|
|
se syntax<61> akceptovanou <command>szap/tzap/czap/azap</command>, nebo nechat
|
|
|
|
|
<command>scan</command>, aby jej skompiloval.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud m<>te v<>ce ne<6E> jeden typ karty (Nap<61>. Satellitar, Terrestrial, Cable a ATSC)
|
|
|
|
|
m<><6D>ete si ulo<6C>it sv<73> channels soubory podle typu jako
|
|
|
|
|
<filename>~/.mplayer/channels.conf.sat</filename>,
|
|
|
|
|
<filename>~/.mplayer/channels.conf.ter</filename>,
|
|
|
|
|
<filename>~/.mplayer/channels.conf.cbl</filename>,
|
|
|
|
|
a <filename>~/.mplayer/channels.conf.atsc</filename>,
|
|
|
|
|
kdy <application>MPlayer</application> pou<6F>ije tyto soubory sp<73><70>e ne<6E>
|
|
|
|
|
<filename>~/.mplayer/channels.conf</filename>,
|
|
|
|
|
a vy mus<75>te pouze nastavit, kterou kartu pou<6F><75>t.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ujist<73>te se, <20>e m<>te <emphasis>pouze</emphasis> nek<65>dovan<61>
|
|
|
|
|
kan<61>ly ve sv<73>m <filename>channels.conf</filename> souboru, jinak se
|
|
|
|
|
<application>MPlayer</application> pokus<75> p<>eladit na nejbli<6C><69><EFBFBD> zobraziteln<6C>,
|
|
|
|
|
ale to m<><6D>e trvat dlouho, pokud je zde mnoho po sob<6F> jdouc<75>ch <20>ifrovan<61>ch
|
|
|
|
|
kan<61>l<EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V pol<6F>ch audio a video m<><6D>ete pou<6F><75>t roz<6F><7A><EFBFBD>enou syntaxi:
|
|
|
|
|
<option>...:pid[+pid]:...</option> (maxim<69>ln<6C> 6 pid<69> ka<6B>d<EFBFBD>);
|
|
|
|
|
v tom p<><70>pad<61> zahrne <application>MPlayer</application> do datov<6F>ho proudu
|
|
|
|
|
v<>echny zadan<61> pidy plus pid 0 (kter<65> obsahuje PAT).
|
|
|
|
|
Doporu<72>ujeme zahrnout do ka<6B>d<EFBFBD>ho <20><>dku PMT pid pro odpov<6F>daj<61>c<EFBFBD> kan<61>l
|
|
|
|
|
(pokud jej zn<7A>te)
|
|
|
|
|
Dal<61><6C> mo<6D>n<EFBFBD> pou<6F>it<69> jsou: televideo pid, druh<75> audio stopa, atd.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pro zobrazen<65> prvn<76>ho z kan<61>l<EFBFBD> uveden<65>ho v seznamu, spus<75>te
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer dvb://
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud chcete sledovat ur<75>it<69> kan<61>l, nap<61><70>klad R1, spus<75>te
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer dvb://R1
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud m<>te v<>ce ne<6E> jednu kartu, mus<75>te rovn<76><6E> uv<75>st <20><>slo karty, na kter<65> lze
|
|
|
|
|
kan<61>l sledovat (nap<61>. 2). Syntyxe je:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer dvb://2@R1
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pro zm<7A>nu kan<61>lu stiskn<6B>te kl<6B>vesu <keycap>h</keycap> (dal<61><6C>) a
|
|
|
|
|
<keycap>k</keycap> (p<>edchoz<6F>), nebo pou<6F>ijte OSD menu (vy<76>aduje funk<6E>n<EFBFBD>
|
|
|
|
|
<link linkend="subosd">OSD subsyst<73>m</link>).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud v<><76> <filename>~/.mplayer/menu.conf</filename> obsahuje <20><>dek
|
|
|
|
|
<literal><dvbsel></literal> podobn<62> tomu v uk<75>zkov<6F>m souboru
|
|
|
|
|
<filename>etc/dvb-menu.conf</filename> (kter<65> m<><6D>ete pou<6F><75>t k p<>eps<70>n<EFBFBD>
|
|
|
|
|
<filename>~/.mplayer/menu.conf</filename>), bude v hlavn<76>m menu podseznam,
|
|
|
|
|
kde si budete moci zvolit kan<61>l ze sv<73>ho <filename>channels.conf</filename>.
|
|
|
|
|
M<><4D>e mu p<><70>padn<64> p<>edch<63>zet menu se seznamem dostupn<70>ch karet, pokud m<>te
|
|
|
|
|
v<>ce ne<6E> jednu pou<6F>itelnou <application>MPlayer</application>em.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud si chcete ulo<6C>it program na disk, m<><6D>ete pou<6F><75>t
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -dumpfile r1.ts -dumpstream dvb://R1
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud jej chcete zaznamenat v odli<6C>n<EFBFBD>m form<72>tu (reenk<6E>dovat jej), spus<75>te
|
|
|
|
|
m<>sto toho p<><70>kaz podobn<62> n<>sleduj<75>c<EFBFBD>mu
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
mencoder -o r1.avi -ovc xvid -xvidencopts bitrate=800 -oac mp3lame -lameopts cbr:br=128 -pp=ci dvb://R1
|
|
|
|
|
</screen>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<>e<EFBFBD>t<EFBFBD>te si man str<74>nku pro seznam voleb, kter<65> m<><6D>ete p<>edat vstupn<70>mu
|
|
|
|
|
DVB modulu.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>BUDOUCNOST</title>
|
|
|
|
|
<para>
|
|
|
|
|
M<EFBFBD>te-li ot<6F>zky, nebo chcete dost<73>vat ozn<7A>men<65> o nov<6F>ch vlastnostech a zapojit
|
|
|
|
|
se do diskuse o t<>chto v<>cech, p<>ipojte se k na<6E><61>
|
|
|
|
|
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</ulink>
|
|
|
|
|
e-mailov<6F> konferenci. Pamatujte pros<6F>m, <20>e jazykem konference je angli<6C>tina.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V budoucnu m<><6D>ete o<>ek<65>vat schopnost zobrazovat OSD a titulky pomoc<6F> nativn<76>
|
|
|
|
|
podpory OSD v DVB kart<72>ch, stejn<6A> jako plynulej<65><6A> p<>ehr<68>v<EFBFBD>n<EFBFBD> film<6C> s jinou
|
|
|
|
|
sn<EFBFBD>mkovou rychlost<73>, ne<6E> 25 fps a transk<73>dov<6F>n<EFBFBD> MPEG-2 na MPEG-4 v re<72>ln<6C>m <20>ase
|
|
|
|
|
(<28><>ste<74>n<EFBFBD> dekomprese).
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="dxr2">
|
|
|
|
|
<title>DXR2</title>
|
|
|
|
|
<para><application>MPlayer</application> podporuje hardwarov<6F> akcelerovan<61>
|
|
|
|
|
p<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> pomoc<6F> karty Creative DXR2.</para>
|
|
|
|
|
<para>
|
|
|
|
|
Nejd<EFBFBD><EFBFBD>ve mus<75>te m<>t spr<70>vn<76> nainstalovan<61> DXR2 ovlada<64>e. Ovlada<64>e a n<>vod
|
|
|
|
|
k jejich instalaci naleznete na str<74>nk<6E>ch
|
|
|
|
|
<ulink url="http://dxr2.sf.net/">DXR2 Resource Center</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>POU<EFBFBD>IT<EFBFBD></title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vo dxr2</option></term>
|
|
|
|
|
<listitem><para>zap<EFBFBD>n<EFBFBD> TV v<>stup</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vo dxr2:x11</option> nebo <option>-vo dxr2:xv</option></term>
|
|
|
|
|
<listitem><para>zap<EFBFBD>n<EFBFBD> Overlay v<>stup v X11</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-dxr2 <volba1:volba2:...></option></term>
|
|
|
|
|
<listitem><para>Tato volba je pou<6F>ita k ovl<76>d<EFBFBD>n<EFBFBD> DXR2 ovlada<64>e.</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Overlay <20>ipset pou<6F>it<69> v DXR2 m<> mizernou kvalitu, ale v<>choz<6F> nastaven<65> pracuje
|
|
|
|
|
v<EFBFBD>dy. OSD lze pou<6F><75>t spolu s overlay (ne na TV) p<>i jeho vykreslen<65> v kl<6B><6C>ovac<61>
|
|
|
|
|
barv<EFBFBD>. S v<>choz<6F>m nastaven<65>m kl<6B><6C>ovac<61> barvy m<><6D>ete dos<6F>hnout r<>zn<7A>ch v<>sledk<64>,
|
|
|
|
|
obvykle uvid<69>te kl<6B><6C>ovac<61> barvu kolem znak<61> nebo jin<69> srandovn<76> v<>ci. Pokud ale
|
|
|
|
|
vhodn<EFBFBD> uprav<61>te kl<6B><6C>ov<6F>n<EFBFBD>, m<><6D>ete dos<6F>hnout pou<6F>iteln<6C>ch v<>sledk<64>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>Prostudujte si pros<6F>m man str<74>nku pro dostupn<70> volby.</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="dxr3">
|
|
|
|
|
<title>DXR3/Hollywood+</title>
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> podporuje hardwarov<6F> akcelerovan<61>
|
|
|
|
|
p<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> videa pomoc<6F> karet Creative DXR3 a Sigma Designs Hollywood Plus.
|
|
|
|
|
Ob<EFBFBD> tyto karty pou<6F><75>vaj<61> MPEG dekod<6F>r em8300 od Sigma Designs.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nejprve budete pot<6F>ebovat spr<70>vn<76> nainstalovan<61> DXR3/H+ ovlada<64>e verze 0.12.0
|
|
|
|
|
nebo pozd<7A>j<EFBFBD><6A>. Ovlada<64>e a n<>vod na jejich instalaci naleznete na str<74>nk<6E>ch
|
|
|
|
|
<ulink url="http://dxr3.sf.net/">DXR3 & Hollywood Plus for Linux</ulink>.
|
|
|
|
|
<filename>configure</filename> by m<>lo automaticky detekovat va<76>i kartu a
|
|
|
|
|
kompilace by se m<>la obej<65>t bez pot<6F><74><EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<!-- FIXME: find a more clear presentation -->
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>POU<EFBFBD>IT<EFBFBD></title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vo dxr3:prebuf:sync:norm=x:<replaceable>za<EFBFBD><EFBFBD>zen<EFBFBD></replaceable></option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<option>overlay</option> aktivuje overlay m<>sto TVOut. Pro spr<70>vnou funkci
|
|
|
|
|
vy<EFBFBD>aduje, abyste m<>li spr<70>vn<76> nakonfigurovan<61> nastaven<65> overlay. Nejjednodu<64><75><EFBFBD>
|
|
|
|
|
zp<EFBFBD>sob nastaven<65> overlay, je spu<70>t<EFBFBD>n<EFBFBD> autocal. Pak spus<75>te MPlayer s video
|
|
|
|
|
v<EFBFBD>stupem nastaven<65>m na dxr3 s vypnut<75>m overlay, spus<75>te dxr3view. V dxr3view
|
|
|
|
|
si m<><6D>ete hr<68>t s nastaven<65>m overlay a pozorovat zm<7A>ny v re<72>ln<6C>m <20>ase. Snad bude
|
|
|
|
|
tato funkce <20>asem dostupn<70> z GUI <application>MPlayer</application>u. Jakmile
|
|
|
|
|
m<EFBFBD>te spr<70>vn<76> nastaveno overlay, nen<65> ji<6A> nutn<74> pou<6F><75>vat dxr3view.
|
|
|
|
|
<option>prebuf</option> zap<61>n<EFBFBD> prebuffering. Prebuffering je vlastnost <20>ipu
|
|
|
|
|
em8300, ter<65> mu umo<6D><6F>uje podr<64>et si v<>ce ne<6E> jeden videosn<73>mek v dan<61>m <20>ase.
|
|
|
|
|
To znamen<65>, <20>e pokud jej m<>te zapnut<75>, sna<6E><61> se <application>MPlayer</application>
|
|
|
|
|
udr<EFBFBD>et vyrovn<76>vac<61> pam<61><6D> videa (buffer) napln<6C>n<EFBFBD> daty. Pokud jej provozujete na
|
|
|
|
|
pomal<EFBFBD>m stroji, pou<6F>ije <application>MPlayer</application> t<>m<EFBFBD><6D> nebo p<>esn<73>
|
|
|
|
|
100% v<>konu CPU. To je zvlṻ <20>ast<73>, pokud p<>ehr<68>v<EFBFBD>te <20>ist<73> MPEG datov<6F> proudy
|
|
|
|
|
(jako DVD, SVCD atp.) jeliko<6B> je <application>MPlayer</application> nemus<75>
|
|
|
|
|
p<EFBFBD>ev<EFBFBD>d<EFBFBD>t do MPEG, napln<6C> buffer velmi rychle.
|
|
|
|
|
S prebufferingem je p<>ehr<68>v<EFBFBD>n<EFBFBD> videa <emphasis role="bold">mnohem</emphasis>
|
|
|
|
|
m<EFBFBD>n<EFBFBD> citliv<69> na zam<61>stn<74>v<EFBFBD>n<EFBFBD> CPU jin<69>mi programy. Nebudou zahozeny sn<73>mky, pokud
|
|
|
|
|
si aplikace neuzme CPU na dlouhou dobu.
|
|
|
|
|
Pokud p<>ehr<68>v<EFBFBD>te bez prebufferingu, je em8300 mnohem citliv<69>j<EFBFBD><6A> na vyt<79><74>en<65> CPU,
|
|
|
|
|
tak<EFBFBD>e doporu<72>ujeme zapnout <application>MPlayer</application>ovu volbu
|
|
|
|
|
<option>-framedrop</option> pro zachov<6F>n<EFBFBD> synchronizace.
|
|
|
|
|
<option>sync</option> zap<61>n<EFBFBD> nov<6F> sync-engine. To je zat<61>m experiment<6E>ln<6C>
|
|
|
|
|
vlastnost. Se zapl<70>m sync budou vnit<69>n<EFBFBD> hodiny em8300 neust<73>le sledov<6F>ny a
|
|
|
|
|
pokud se za<7A>nou rozch<63>zet s <20>asova<76>em <application>MPlayer</application>u,
|
|
|
|
|
budou resetov<6F>ny, co<63> zp<7A>sob<6F>, <20>e em8300 zahod<6F> ve<76>ker<65> sn<73>mky, kter<65> <20>ekaj<61> ve
|
|
|
|
|
front<EFBFBD>.
|
|
|
|
|
<option>norm=x</option> nastav<61> TV normu DXR3 karty bez nutnosti extern<72>ho
|
|
|
|
|
n<EFBFBD>stroje jako em8300setup. Platn<74> normy jsou 5 = NTSC, 4 = PAL-60,
|
|
|
|
|
3 = PAL. Zvl<76><6C>tn<74> normy jsou 2 (automaticn<63> nastaven<65> s pou<6F>it<69>m PAL/PAL-60) a
|
|
|
|
|
1 (automatick<63> nastaven<65> s pou<6F>it<69>m PAL/NTSC), jeliko<6B> ty ur<75><72> pou<6F>itou normu
|
|
|
|
|
podle sn<73>mkov<6F> rychlosti filmu. norm = 0 (v<>choz<6F>) nezm<7A>n<EFBFBD> aktu<74>ln<6C> normu.
|
|
|
|
|
<option><replaceable>device</replaceable></option> = <20><>slo za<7A><61>zen<65>, kter<65> se
|
|
|
|
|
m<EFBFBD> pou<6F><75>t, pokud m<>te v<>ce ne<6E> jednu em8300 kartu.
|
|
|
|
|
Jakoukoli z t<>chto voleb m<><6D>ete vynechat.
|
|
|
|
|
Volby <option>:prebuf:sync</option> zd<7A> se pracuj<75> skv<6B>le p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD> film<6C>
|
|
|
|
|
v MPEG-4 (DivX). Lid<69> v<>ak hl<68>sili pot<6F><74>e s volbou prebuf p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD> soubor<6F>
|
|
|
|
|
v MPEG-1/2. M<>li byste je nejprve zkusit p<>ehr<68>t bez dodate<74>n<EFBFBD>ch voleb a pokud
|
|
|
|
|
naraz<EFBFBD>te na pot<6F><74>e se synchronizac<61> nebo DVD titulky, zkuste to s volbou
|
|
|
|
|
<option>:sync</option>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-ao oss:/dev/em8300_ma-<replaceable>X</replaceable></option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pro zvukov<6F> v<>stup, kde <replaceable>X</replaceable> je <20><>slo za<7A><61>zen<65>
|
|
|
|
|
(0 m<>te-li jen jednu kartu).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-af resample=<replaceable>xxxxx</replaceable></option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<EFBFBD>ip em8300 neum<75> p<>ehr<68>vat sign<67>l vzorkovan<61> m<>n<EFBFBD> ne<6E> 44100Hz. Pokud je
|
|
|
|
|
vzorkovac<EFBFBD> kmito<74>et pod 44100Hz, zvolte bu<62> 44100Hz nebo 48000Hz podle toho,
|
|
|
|
|
n<EFBFBD>sobek kter<65>ho je bl<62><6C>. <20>ili pokud m<> film zvuk 22050Hz pou<6F>ijte 44100Hz,
|
|
|
|
|
jeliko<EFBFBD> 44100 / 2 = 22050, pokud jej m<> 24000Hz pou<6F>ijte 48000Hz jeliko<6B>
|
|
|
|
|
48000 / 2 = 24000 a tak d<>le.
|
|
|
|
|
S v<>stupem digit<69>ln<6C>ho audia to nefunguje (<option>-ac hwac3</option>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vf lavc/fame</option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pro p<>ehr<68>v<EFBFBD>n<EFBFBD> ne-MPEG obsahu na em8300 (nap<61>. MPEG-4 (DivX) nebo RealVideo)
|
|
|
|
|
mus<EFBFBD>te nastavit MPEG-1 video filtr jako
|
|
|
|
|
<systemitem class="library">libavcodec</systemitem> (lavc) nebo
|
|
|
|
|
<systemitem class="library">libfame</systemitem> (fame). V tuto chv<68>li
|
|
|
|
|
je lavc jak rychlej<65><6A>, tak poskytuje lep<65><70> kvalitu obrazu, tak<61>e v<>m rad<61>me jej
|
|
|
|
|
pou<EFBFBD><EFBFBD>vat, pokud s n<>m nem<65>te pot<6F><74>e. Prostudujte si v man str<74>nce dodate<74>n<EFBFBD>
|
|
|
|
|
informace o <option>-vf lavc/fame</option>.
|
|
|
|
|
Pou<EFBFBD>it<EFBFBD> lavc siln<6C> doporu<72>ujeme. Zat<61>m nelze nastavit sn<73>mkovou rychlost em8300,
|
|
|
|
|
tak<EFBFBD>e je pevn<76> nastavena na 30000/1001 fps. Z toho d<>vodu doporu<72>ujeme,
|
|
|
|
|
abyste pou<6F>ili <option>-vf lavc=<replaceable>quality</replaceable>:25</option>
|
|
|
|
|
zvlṻ pokud pou<6F><75>v<EFBFBD>te prebuffering. Pro<72> tedy 25 a ne 30000/1001? Nu, d<>vodem
|
|
|
|
|
je, <20>e pokud zad<61>te 30000/1001, za<7A>ne obraz trochu poskakovat. D<>vod tohoto
|
|
|
|
|
jevu n<>m nen<65> zn<7A>m. Pokud to nastav<61>te n<>kdemezi 25 a 27, obraz se ust<73>l<EFBFBD>.
|
|
|
|
|
Pro tuto chv<68>li se to d<> pouze uznat jako fakt.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-vf expand=-1:-1:-1:-1:1</option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
A<EFBFBD>koli DXR3 ovlada<64> um<75> dodat OSD do MPEG-1/2/4 videa, m<> to mnohem ni<6E><69><EFBFBD>
|
|
|
|
|
kvalitu ne<6E> tradi<64>n<EFBFBD> OSD <application>MPlayer</application>u a m<> i r<>zn<7A>
|
|
|
|
|
probl<EFBFBD>my s obnovov<6F>n<EFBFBD>m. V<><56>e uveden<65> p<><70>kazov<6F> <20><>dek nejprve p<>evede vstupn<70>
|
|
|
|
|
video do MPEG-4 (je to nutn<74>, sorry), pak aplikuje filtr expand, kter<65> v<>ak
|
|
|
|
|
nic neexpanduje (-1: v<>choz<6F>), ale dopln<6C> norm<72>ln<6C> OSD do obrazu
|
|
|
|
|
(na to je ta "1" na konci).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><option>-ac hwac3</option></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<EFBFBD>ip em8300 podporuje p<>ehr<68>v<EFBFBD>n<EFBFBD> zvuku v AC3 (prostorov<6F> zvuk) p<>es digit<69>ln<6C>
|
|
|
|
|
audio v<>stup na kart<72>. Viz v<><76> volbu <option>-ao oss</option>. Ta mus<75> b<>t
|
|
|
|
|
pou<EFBFBD>ita pro nastaven<65> v<>stupu do DXR3 m<>sto zvukov<6F> karty.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="other">
|
|
|
|
|
<title>Ostatn<EFBFBD> vizualiza<7A>n<EFBFBD> hardware</title>
|
|
|
|
|
|
|
|
|
|
<sect3 id="zr">
|
|
|
|
|
<title>Zr</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Toto je zobrazovac<61> rozhran<61> (<option>-vo zr</option>) pro mnoho MJPEG
|
|
|
|
|
zachyt<EFBFBD>vac<EFBFBD>ch/p<>ehr<68>vac<61>ch karet (testov<6F>no na DC10+ a Buz a m<>lo by pracovat
|
|
|
|
|
i s LML33, tedy DC10). Rozhran<61> pracuje tak, <20>e sn<73>mek zak<61>duje do JPEG a pak
|
|
|
|
|
jej po<70>le do karty. Pro enk<6E>dov<6F>n<EFBFBD> do JPEG se pou<6F><75>v<EFBFBD>
|
|
|
|
|
<systemitem class="library">libavcodec</systemitem> a je pro n<> nezbytn<74>.
|
|
|
|
|
Ve speci<63>ln<6C>m <emphasis>cinerama</emphasis> re<72>imu m<><6D>ete sledovat filmy
|
|
|
|
|
v prav<61>m <20>iroko<6B>hl<68>m form<72>tu, kter<65>ho je dosa<73>eno tak, <20>e m<>te dv<64> prom<6F>ta<74>ky
|
|
|
|
|
a dv<64> MJPEG karty. V z<>vislosti na rozli<6C>en<65> a nastaven<65> kvality m<><6D>e toto
|
|
|
|
|
rozhran<EFBFBD> vy<76>adovat spoustu v<>konu CPU. Nezapome<6D>te zadat
|
|
|
|
|
<option>-framedrop</option>, pokud je v<><76> po<70><6F>ta<74> p<><70>li<6C> pomal<61>.
|
|
|
|
|
Pozn<EFBFBD>mka: M<>j AMD K6-2 350MHz je (s <option>-framedrop</option>) vcelku
|
|
|
|
|
adekv<EFBFBD>tn<EFBFBD> pro sledov<6F>n<EFBFBD> materi<72>lu o rozm<7A>ru VCD a pod<6F>k<EFBFBD>lovan<61>ch film<6C>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Toto rozhran<61> komunikuje s jadern<72>m modulem dostupn<70>m na
|
|
|
|
|
<ulink url="http://mjpeg.sf.net"/>, tak<61>e jej nejd<6A><64>ve mus<75>te zprovoznit.
|
|
|
|
|
P<EFBFBD><EFBFBD>tomnost MJPEG karty je autodetekov<6F>na skriptem
|
|
|
|
|
<filename>configure</filename>. Pokud detekce sel<65>e, vynu<6E>te ji pomoc<6F>
|
|
|
|
|
<screen>./configure --enable-zr</screen>
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>stup m<><6D>e b<>t ovliv<69>ov<6F>n n<>kolika volbami. Ob<4F><62>rn<72> v<>klad t<>chto voleb
|
|
|
|
|
naleznete v man str<74>nce, kr<6B>tk<74> p<>ehled obr<62><72>te spu<70>t<EFBFBD>n<EFBFBD>m
|
|
|
|
|
<screen>mplayer -zrhelp</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>ci jako <20>k<EFBFBD>lov<6F>n<EFBFBD> a OSD (display na obrazovce) nejsou t<>mto rozhran<61>m pokryty,
|
|
|
|
|
ale lze jich dos<6F>hnout pomoc<6F> video filtr<74>. Nap<61><70>klad m<>jte video o rozli<6C>en<65>
|
|
|
|
|
512x272 a chcete jej p<>ehr<68>vat na cel<65> obrazovce p<>es DC10+, pak m<>te t<>i
|
|
|
|
|
z<EFBFBD>kladn<EFBFBD> mo<6D>nosti, jak to ud<75>lat. M<><4D>ete <20>k<EFBFBD>lovat video na <20><><EFBFBD>ku 768, 384 nebo
|
|
|
|
|
192. Z d<>vodu v<>konu a kvality si zvol<6F>te <20>k<EFBFBD>lov<6F>n<EFBFBD> filmu na 384x204 pomoc<6F>
|
|
|
|
|
biline<EFBFBD>rn<EFBFBD>ho softwarov<6F>ho <20>k<EFBFBD>lova<76>e. P<><50>kazov<6F> <20><>dek je pak
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vo zr -sws 0 -vf scale=384:204 <replaceable>film.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
O<EFBFBD>ez<EFBFBD>n<EFBFBD> lze prov<6F>st <option>crop</option> filtrem a samotn<74>m rozhran<61>m.
|
|
|
|
|
<EFBFBD>ekn<EFBFBD>me, <20>e film je p<><70>li<6C> <20>irok<6F> pro prom<6F>t<EFBFBD>n<EFBFBD> na va<76><61> Buz a proto chcete
|
|
|
|
|
pou<EFBFBD><EFBFBD>t <option>-zrcrop</option> pro z<><7A>en<65> filmu, pak byste m<>li pou<6F><75>t
|
|
|
|
|
n<EFBFBD>sleduj<EFBFBD>c<EFBFBD> p<><70>kaz
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vo zr -zrcrop 720x320+80+0 <replaceable>benhur.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
chcete-li pou<6F><75>t filtr <option>crop</option>, prove<76>te
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vo zr -vf crop=720:320:80:0 <replaceable>benhur.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Zvl<EFBFBD><EFBFBD>tn<EFBFBD> p<><70>pady <option>-zrcrop</option> vyvol<6F> re<72>im
|
|
|
|
|
<emphasis>cinerama</emphasis>, tak<61>e rozprost<73>ete film na n<>kolik televiz<69> nebo
|
|
|
|
|
prom<EFBFBD>ta<EFBFBD>ek, <20><>m<EFBFBD> se vytvo<76><6F> v<>t<EFBFBD><74> obraz. P<>edpokl<6B>dejme, <20>e m<>te dv<64> prom<6F>ta<74>ky.
|
|
|
|
|
Lev<EFBFBD> je p<>ipojena k va<76><61> Buz na <filename>/dev/video1</filename> a
|
|
|
|
|
prav<EFBFBD> je p<>ipojen do va<76><61> DC10+ na <filename>/dev/video0</filename>.
|
|
|
|
|
Film m<> rozli<6C>en<65> 704x288. P<>edpokl<6B>dejme rovn<76><6E>, <20>e prav<61> prom<6F>ta<74>ka je
|
|
|
|
|
<EFBFBD>ernob<EFBFBD>l<EFBFBD> a lev<65> um<75> JPEG sn<73>mky s kvalitou 10, pak byste m<>li pou<6F><75>t
|
|
|
|
|
n<EFBFBD>sleduj<EFBFBD>c<EFBFBD> p<><70>kaz
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vo zr -zrdev /dev/video0 -zrcrop 352x288+352+0 -zrxdoff 0 -zrbw \
|
|
|
|
|
-zrcrop 352x288+0+0 -zrdev /dev/video1 -zrquality 10 \
|
|
|
|
|
<replaceable>movie.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jak vid<69>te, volby uveden<65> p<>ed druh<75>m <option>-zrcrop</option> jsou p<>ed<65>ny
|
|
|
|
|
pouze do DC10+ a volby za druh<75>m <option>-zrcrop</option> do Buz.
|
|
|
|
|
Maxim<EFBFBD>ln<EFBFBD> po<70>et MJPEG karet zahrnut<75>ch do <emphasis>cinerama</emphasis>
|
|
|
|
|
re<EFBFBD>imu jsou <20>ty<74>i, tak<61>e m<><6D>ete sestavit zobrazovac<61> st<73>nu 2x2.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nakonec d<>le<6C>it<69> upozorn<72>n<EFBFBD>: Nespou<6F>t<EFBFBD>jte ani nezastavujte XawTV na p<>ehr<68>vac<61>m
|
|
|
|
|
za<EFBFBD><EFBFBD>zen<EFBFBD> b<>hem p<>ehr<68>v<EFBFBD>n<EFBFBD>, zhavaru je v<>m po<70><6F>ta<74>. M<><4D>ete v<>ak
|
|
|
|
|
<emphasis role="bold">NEJD<EFBFBD><EFBFBD>V</emphasis> spustit XawTV a
|
|
|
|
|
<emphasis role="bold">PAK</emphasis> spustit <application>MPlayer</application>,
|
|
|
|
|
po<EFBFBD>kat a<> <application>MPlayer</application> skon<6F><6E> a
|
|
|
|
|
<emphasis role="bold">PAK</emphasis> zastavit XawTV.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="blinkenlights">
|
|
|
|
|
<title>Blinkenlights</title>
|
|
|
|
|
<para>
|
|
|
|
|
Toto rozhran<61> je schopno p<>ehr<68>v<EFBFBD>n<EFBFBD> pomoc<6F> Blinkenlights UDP protokolu. Pokud
|
|
|
|
|
nev<EFBFBD>te co je <ulink url="http://www.blinkenlights.de/">Blinkenlights</ulink>
|
|
|
|
|
nebo jeho n<>stupce
|
|
|
|
|
<ulink url="http://www.blinkenlights.de/arcade/">Arcade</ulink>,
|
|
|
|
|
zjist<EFBFBD>te si to. A<>koli je to dost mo<6D>n<EFBFBD> nejm<6A>n<EFBFBD> pou<6F><75>van<61> video v<>stupn<70>
|
|
|
|
|
rozhran<EFBFBD>, bezpochyby je t<>m nejlep<65><70>m, co m<><6D>e <application>MPlayer</application>
|
|
|
|
|
nab<EFBFBD>dnout. Sta<74><61> shl<68>dnout n<>kter<65> z
|
|
|
|
|
<ulink url="http://www.blinkenlights.de/video.en.html">Blinkenlights dokumenta<74>n<EFBFBD>ch vide<64></ulink>.
|
|
|
|
|
Na Arcade video m<><6D>ete vid<69>t v<>stupn<70> rozhran<61> Blinkenlights v akci v 00:07:50.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="tvout">
|
|
|
|
|
<title>pODPORA TV v<>stupu</title>
|
|
|
|
|
|
|
|
|
|
<sect3 id="tvout-mga-g400">
|
|
|
|
|
<title>Karty Matrox G400</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pod Linuxem m<>te dva zp<7A>soby jak zprovoznit TV v<>stup na G400:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<important>
|
|
|
|
|
<para>
|
|
|
|
|
pro instrukce k TV v<>stupu na Matrox G450/G550 si prostudujte textovou <20><>st!
|
|
|
|
|
</para>
|
|
|
|
|
</important>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>XFree86</term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pomoc<6F> ovlada<64>e a HAL modulu dostupn<70>ho na str<74>nk<6E>ch <ulink
|
|
|
|
|
url="http://www.matrox.com">Matrox</ulink>. Takto dostanete X na TV.
|
|
|
|
|
</para><para>
|
|
|
|
|
<emphasis role="bold">Tato metoda v<>m neposkytne akcelerovan<61> p<>ehr<68>v<EFBFBD>n<EFBFBD></emphasis>
|
|
|
|
|
jako pod Windows! Sekund<6E>rn<72> jednotka m<> pouze YUV framebuffer, <emphasis>BES</emphasis>
|
|
|
|
|
(Back End Scaler, YUV <20>k<EFBFBD>lova<76> na kart<72>ch G200/G400/G450/G550) na n<>m
|
|
|
|
|
nepracuje! Ovlada<64> pro Windows to n<>jak obch<63>z<EFBFBD>, pravd<76>podobn<62> pou<6F>it<69>m
|
|
|
|
|
3D jednotky pro zoom a YUV framebufferu pro zobrazen<65> zoomovan<61>ho
|
|
|
|
|
obrazu. Pokud opravdu chcete pou<6F><75>t X, pou<6F>ijte volby <option>-vo x11 -fs
|
|
|
|
|
-zoom</option>, ale bude to <emphasis role="bold">POMAL<EFBFBD></emphasis> a
|
|
|
|
|
bude zapnuta ochrana proti kop<6F>rov<6F>n<EFBFBD>
|
|
|
|
|
<emphasis role="bold">Macrovision</emphasis>
|
|
|
|
|
(Macrovision m<><6D>ete obej<65>t pomoc<6F> tohoto
|
|
|
|
|
<ulink url="http://avifile.sf.net/mgamacro.pl">perlov<EFBFBD>ho skriptu</ulink>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>Framebuffer</term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pomoc<6F> <emphasis role="bold">matroxfb modul<75></emphasis> v j<>drech <20>ady 2.4.
|
|
|
|
|
J<>dra 2.2 v nich neobsahuj<75> podporu pro TV, tak<61>e jsou pro tento <20><>el
|
|
|
|
|
nepou<6F>iteln<6C>. M<>li byste povolit V<>ECHNY matroxfb-specifick<63> vlastnosti
|
|
|
|
|
b<>hem kompilace (vyjma MultiHead) a zakompilovat je do
|
|
|
|
|
<emphasis role="bold">modul<EFBFBD></emphasis>!
|
|
|
|
|
Rovn<76><6E> pot<6F>ebujete zapnut<75> I2C.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<procedure>
|
|
|
|
|
<step><para>
|
|
|
|
|
Vstupte do <filename class="directory">TVout</filename> a zadejte
|
|
|
|
|
<command>./compile.sh</command>. Nainstalujte
|
|
|
|
|
<filename>TVout/matroxset/matroxset</filename>
|
|
|
|
|
n<>kde do cesty <envar>PATH</envar>.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Nem<65>te-li nainstalov<6F>n <command>fbset</command>, vlo<6C>te
|
|
|
|
|
<filename>TVout/fbset/fbset</filename>
|
|
|
|
|
n<>kde do cesty <envar>PATH</envar>.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Nem<65>te-li nainstalov<6F>n <command>con2fb</command>, vlo<6C>te
|
|
|
|
|
<filename>TVout/con2fb/con2fb</filename>
|
|
|
|
|
n<>kde do cesty <envar>PATH</envar>.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Pak vstupte do adres<65><73>e <filename class="directory">TVout/</filename>
|
|
|
|
|
ve zdrojov<6F>m adres<65><73>i <application>MPlayer</application>u a spus<75>te
|
|
|
|
|
<filename>./modules</filename> jako root. Va<56>e textov<6F> konzole p<>ejde
|
|
|
|
|
do re<72>imu framebuffer (nen<65> cesta zp<7A>t!).
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
D<>le EDITUJTE a spus<75>te skript <filename>./matroxtv</filename>. Objev<65> se
|
|
|
|
|
v<>m velmi jednoduch<63> menu. Stiskn<6B>te <keycap>2</keycap> a
|
|
|
|
|
<keycap>Enter</keycap>. Nyn<79> byste m<>li m<>t stejn<6A> obraz na sv<73>m monitoru
|
|
|
|
|
i TV. Pokud m<> obraz na TV (v<>choz<6F> je PAL) n<>jak<61> podivn<76> <20>r<EFBFBD>my, nebyl
|
|
|
|
|
skript schopen nastavit spr<70>vn<76> rozli<6C>en<65> (na v<>choz<6F>ch 640x512).
|
|
|
|
|
Zkuste jin<69> rozli<6C>en<65> z menu a/nebo experimentujte s fbset.
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
Jo. Dal<61><6C>m <20>kolem je nechat zmizet kurzor z tty1 (nebo odjinud) a
|
|
|
|
|
vypnout maz<61>n<EFBFBD> obrazovky. Spus<75>e n<>sleduj<75>c<EFBFBD> p<><70>kazy:
|
|
|
|
|
|
|
|
|
|
<screen>
|
|
|
|
|
echo -e '\033[?25l'
|
|
|
|
|
setterm -blank 0<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
nebo
|
|
|
|
|
<screen>
|
|
|
|
|
setterm -cursor off
|
|
|
|
|
setterm -blank 0<!--
|
|
|
|
|
--></screen>
|
|
|
|
|
|
|
|
|
|
P<>edchoz<6F> nejsp<73><70> bude lep<65><70> um<75>stit do skriptu a tak<61> vy<76>istit obrazovku.
|
|
|
|
|
Pro zp<7A>tn<74> zapnut<75> kurzoru:
|
|
|
|
|
<screen>echo -e '\033[?25h'</screen> nebo
|
|
|
|
|
<screen>setterm -cursor on</screen>
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
A jasn<73>. Spus<75>te p<>ehr<68>v<EFBFBD>n<EFBFBD> filmu:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vo mga -fs -screenw 640 -screenh 512 <replaceable>soubor</replaceable><!--
|
|
|
|
|
--></screen>
|
|
|
|
|
|
|
|
|
|
(Pokud pou<6F><75>v<EFBFBD>te X, p<>epn<70>te se nyn<79> do matroxfb pomoc<6F> nap<61><70>klad
|
|
|
|
|
<keycap>Ctrl</keycap>+<keycap>Alt</keycap>+<keycap>F1</keycap>.)
|
|
|
|
|
Zm<5A><6D>te <literal>640</literal> a <literal>512</literal> pokud m<>te
|
|
|
|
|
nastaveno jin<69> rozli<6C>en<65>...
|
|
|
|
|
</para></step>
|
|
|
|
|
<step><para>
|
|
|
|
|
<emphasis role="bold">U<EFBFBD>ijte si ultra-rychl<68> ultra-vybaven<65> Matrox TV
|
|
|
|
|
v<>stup (lep<65><70> ne<6E> Xv)!</emphasis>
|
|
|
|
|
</para></step>
|
|
|
|
|
</procedure>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>V<EFBFBD>roba kabelu pro Matrox TV-out</title>
|
|
|
|
|
<para>
|
|
|
|
|
Z<EFBFBD><EFBFBD>k<EFBFBD>me se jak<61>koli odpov<6F>dnosti nebo z<>ruky za jak<61>koli po<70>kozen<65> zp<7A>soben<65>
|
|
|
|
|
touto dokumentac<61>.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>Kabel pro G400</title>
|
|
|
|
|
<para>
|
|
|
|
|
Na <20>tvrt<72>m pinu CRTC2 konektoru je kompozitn<74> video sign<67>l. Zem je
|
|
|
|
|
na <20>est<73>m, sedm<64>m a osm<73>m pinu. (informaci poskytl
|
|
|
|
|
Bal<EFBFBD>zs R<>cz)
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>Kabel pro G450</title>
|
|
|
|
|
<para>
|
|
|
|
|
Kompozitn<EFBFBD> video sign<67>l je na pinu jedna. Zem je na p<>t<EFBFBD>m,
|
|
|
|
|
<EFBFBD>est<EFBFBD>m, sedm<64>m a patn<74>ct<63>m (5, 6, 7, 15) pinu.
|
|
|
|
|
(informaci poskytl Bal<61>zs Kerekes)
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="tv-out_matrox_g450">
|
|
|
|
|
<title>Karty Matrox G450/G550</title>
|
|
|
|
|
<para>
|
|
|
|
|
Podpora TV v<>stupu pro tyto karty byla p<>id<69>na teprve ned<65>vno a dosud nen<65>
|
|
|
|
|
v ostr<74> verzi j<>dra. V sou<6F>asnosti nelze (aspo<70> pokud v<>m) pou<6F><75>t modul
|
|
|
|
|
<emphasis role="bold">mga_vid</emphasis>, proto<74>e ovlada<64> G450/G550 pracuje
|
|
|
|
|
pouze v jedn<64> konfiguraci: prvn<76> CRTC <20>ip (s mnohem v<>ce schopnostmi) na prvn<76>
|
|
|
|
|
displej a druh<75> CRTC (<28><>dn<64> <emphasis role="bold">BES</emphasis> – pro
|
|
|
|
|
popis BES viz sekci G400 v<><76>e) na TV. Tak<61>e v sou<6F>asnosti m<><6D>ete pou<6F><75>t pouze
|
|
|
|
|
<application>MPlayer</application>ovo <emphasis>fbdev</emphasis> v<>stupn<70>
|
|
|
|
|
rozhran<EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Prvn<EFBFBD> CRTC nem<65><6D>e b<>t v sou<6F>asnosti p<>esm<73>rov<6F>na na sekund<6E>rn<72> v<>stup. Autor
|
|
|
|
|
jadern<EFBFBD>ho ovlada<64>e matroxfb – Petr Vandrovec – pro to snad
|
|
|
|
|
vyrob<EFBFBD> podporu pomoc<6F> zobrazen<65> v<>stupu prvn<76>ho CRTC na oba v<>stupy najednou,
|
|
|
|
|
co<EFBFBD> se pro tuto chv<68>li doporu<72>uje pro G400, viz p<>edchoz<6F> sekce.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pot<EFBFBD>ebnou z<>platu j<>dra a podrobn<62> HOWTO lze st<73>hnout z
|
|
|
|
|
<ulink url="http://www.bglug.ca/matrox_tvout/"/>
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="tvout-ati">
|
|
|
|
|
<title>Karty ATI</title>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title><EFBFBD>VOD</title>
|
|
|
|
|
<para>
|
|
|
|
|
V sou<6F>asnosti nechce ATI podporovat <20><>dn<64> ze sv<73>ch TV-out <20>ip<69> pod Linuxem
|
|
|
|
|
z d<>vodu jejich licencovan<61> technologii Macrovision.
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<title>STATUS TV V<>STUPU NA KART<52>CH ATI POD LINUXEM</title>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">ATI Mach64</emphasis>:
|
|
|
|
|
podporovan<61> <ulink url="http://gatos.sf.net">GATOS</ulink>em.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">ASIC Radeon VIVO</emphasis>:
|
|
|
|
|
podporovan<61> <ulink url="http://gatos.sf.net">GATOS</ulink>em.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">Radeon</emphasis> a <emphasis role="bold">Rage128</emphasis>:
|
|
|
|
|
podporovan<61> <application>MPlayer</application>em!
|
|
|
|
|
Pod<6F>vejte se na sekce <link linkend="vesa">VESA</link> a
|
|
|
|
|
<link linkend="vidix">VIDIX</link>.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">Rage Mobility P/M, Radeon, Rage 128, Mobility M3/M4</emphasis>:
|
|
|
|
|
podporovan<61> <ulink url="http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/">atitvout</ulink>em.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ne ostatn<74>ch kart<72>ch prost<73> pou<6F>ijte rozhran<61> <link linkend="vesa">VESA</link>
|
|
|
|
|
bez VIDIX. Vy<56>aduje to v<>kon<6F> CPU.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jedin<EFBFBD> co mus<75>te, je <emphasis role="bold">m<EFBFBD>t TV konektor zapojen<65>
|
|
|
|
|
p<EFBFBD>ed zapnut<75>m PC</emphasis> jeliko<6B> video BIOS se inicializuje pouze
|
|
|
|
|
jednou b<>hem POST procedury.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="tvout-voodoo">
|
|
|
|
|
<title>Voodoo 3</title>
|
|
|
|
|
<para>
|
|
|
|
|
Shl<EFBFBD>dn<EFBFBD>te <ulink url="http://www.iki.fi/too/tvout-voodoo3-3000-xfree">tuto URL</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="tvout-nvidia">
|
|
|
|
|
<title>nVidia</title>
|
|
|
|
|
<para>
|
|
|
|
|
Nejprve si MUS<55>TE st<73>hnout closed-source ovlada<64>e z <ulink url="http://nvidia.com"/>.
|
|
|
|
|
Nebudu zde popisovat instalaci a konfiguraci, jeliko<6B> je to mimo r<>mec t<>to
|
|
|
|
|
dokumentace.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jakmile je funk<6E>n<EFBFBD> XFree86, XVideo a 3D akcelerace, editujte sekci
|
|
|
|
|
Device v souboru <filename>XF86Config</filename>, podle
|
|
|
|
|
n<EFBFBD>sleduj<EFBFBD>c<EFBFBD>ho p<><70>kladu (upravte si to pro svou kartu/TV):
|
|
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
|
Section "Device"
|
|
|
|
|
Identifier "GeForce"
|
|
|
|
|
VendorName "ASUS"
|
|
|
|
|
BoardName "nVidia GeForce2/MX 400"
|
|
|
|
|
Driver "nvidia"
|
|
|
|
|
#Option "NvAGP" "1"
|
|
|
|
|
Option "NoLogo"
|
|
|
|
|
Option "CursorShadow" "on"
|
|
|
|
|
|
|
|
|
|
Option "TwinView"
|
|
|
|
|
Option "TwinViewOrientation" "Clone"
|
|
|
|
|
Option "MetaModes" "1024x768,640x480"
|
|
|
|
|
Option "ConnectedMonitor" "CRT, TV"
|
|
|
|
|
Option "TVStandard" "PAL-B"
|
|
|
|
|
Option "TVOutFormat" "Composite"
|
|
|
|
|
|
|
|
|
|
EndSection
|
|
|
|
|
</programlisting>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Samoz<EFBFBD>ejm<EFBFBD> je nejd<6A>le<6C>it<69>j<EFBFBD><6A> <20><>st TwinView.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3 id="tvout-neomagic">
|
|
|
|
|
<title>NeoMagic</title>
|
|
|
|
|
<para>
|
|
|
|
|
<EFBFBD>ip NeoMagic lze nal<61>zt v r<>zn<7A>ch laptopech. N<>kter<65> z nich jsou vybaveny
|
|
|
|
|
jednoduch<EFBFBD>m analogov<6F>m TV enkod<6F>rem, n<>kter<65> jej maj<61> mnohem pokro<72>ilej<65><6A>.
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">Analogov<EFBFBD> enkod<6F>r</emphasis>:
|
|
|
|
|
Testov<6F>no na Toshib<69> Tecra 8000. Jej<65> <20>ip pro TV v<>stup je mizern<72> k<><6B>p.
|
|
|
|
|
Pokud mo<6D>no se mu obloukem vyhn<68>te.
|
|
|
|
|
</simpara> <simpara>
|
|
|
|
|
Mus<75>te pou<6F><75>t <option>-vo vesa</option>. Testovan<61> <20>ip um<75> jen pom<6F>r stran
|
|
|
|
|
1.333333, tak<61>e se ujist<73>te, <20>e pou<6F><75>v<EFBFBD>te volby <option>-x</option>,
|
|
|
|
|
<option>-y</option> a/nebo filtry
|
|
|
|
|
<option>-vf scale,crop,expand</option>, pokud po<70><6F>ta<74> neumo<6D>n<EFBFBD> TV v<>stup.
|
|
|
|
|
Maxim<69>ln<6C> rozli<6C>en<65> je 720*576 v 16bpp.
|
|
|
|
|
</simpara>
|
|
|
|
|
<simpara>
|
|
|
|
|
Zn<5A>m<EFBFBD> omezen<65>: pouze VESA, omezen<65> pom<6F>ru stran 1.33333, obraz nen<65> v<>dy
|
|
|
|
|
vycentrov<6F>n, barevn<76> hloubka filmu se ka<6B>d<EFBFBD>ch 10 minut zm<7A>n<EFBFBD> na 4bpp a
|
|
|
|
|
z<>stane tak. <20>asto zatuh<75>v<EFBFBD>, probl<62>my se zobrazov<6F>n<EFBFBD>m na LCD.
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
<emphasis role="bold">Chrontel 70xx enkod<6F>r</emphasis>:
|
|
|
|
|
Nalezen v IBM Thinkpad 390E a bude pravd<76>podobn<62> i ostatn<74>ch Thinkpadech nebo
|
|
|
|
|
notebooc<6F>ch.
|
|
|
|
|
</simpara><simpara>
|
|
|
|
|
Mus<75>te pou<6F><75>t <option>-vo vesa:neotv_pal</option> pro PAL nebo
|
|
|
|
|
<option>-vo vesa:neotv_ntsc</option> pro NTSC.
|
|
|
|
|
To v<>m zp<7A><70>stupn<70> funkci TV v<>stupu v n<>sleduj<75>c<EFBFBD>ch 16 bpp a 8 bpp re<72>imech:
|
|
|
|
|
</simpara>
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><simpara>NTSC 320x240, 640x480 a mo<6D>n<EFBFBD> tak<61> 800x600.</simpara></listitem>
|
|
|
|
|
<listitem><simpara>PAL 320x240, 400x300, 640x480, 800x600.</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
<simpara>Re<EFBFBD>im 512x384 nen<65> podporov<6F>n BIOSem. Mus<75>te obraz <20>k<EFBFBD>lovat do
|
|
|
|
|
jin<69>ho rozli<6C>en<65> pro aktivaci TV v<>stupu. Pokud vid<69>te obraz na obrazovce
|
|
|
|
|
v 640x480 nebo v 800x600, ale ne v 320x240 nebo jin<69>m men<65><6E>m rozli<6C>en<65>,
|
|
|
|
|
mus<75>te nahradit dv<64> tabulky ve <filename>vbelib.c</filename>.
|
|
|
|
|
Viz funkci vbeSetTV pro v<>ce informac<61>. V tomto p<><70>pad<61> pros<6F>m kontaktujte
|
|
|
|
|
autora.
|
|
|
|
|
</simpara>
|
|
|
|
|
<simpara>
|
|
|
|
|
Zn<5A>m<EFBFBD> omezen<65>: pouze VESA, <20><>dn<64> dal<61><6C> ovl<76>dac<61> prvky jako jas, kontrast,
|
|
|
|
|
<20>rove<76> <20>ern<72>, filtrace blik<69>n<EFBFBD> nejsou implementov<6F>ny.
|
|
|
|
|
</simpara>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|