1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>7.6. Uscita su framebuffer (FBdev)</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="MPlayer - Il Visualizzatore di film"><link rel="up" href="video.html" title="Capitolo 7. Dispositivi di uscita video"><link rel="prev" href="svgalib.html" title="7.5. SVGAlib"><link rel="next" href="mga_vid.html" title="7.7. Framebuffer Matrox (mga_vid)"><link rel="preface" href="howtoread.html" title="Come leggere questa documentazione"><link rel="chapter" href="intro.html" title="Capitolo 1. Introduzione"><link rel="chapter" href="install.html" title="Capitolo 2. Installazione"><link rel="chapter" href="usage.html" title="Capitolo 3. Utilizzo"><link rel="chapter" href="cd-dvd.html" title="Capitolo 4. Utilizzo CD/DVD"><link rel="chapter" href="tv.html" title="Capitolo 5. TV"><link rel="chapter" href="radio.html" title="Capitolo 6. Radio"><link rel="chapter" href="video.html" title="Capitolo 7. Dispositivi di uscita video"><link rel="chapter" href="ports.html" title="Capitolo 8. Ports"><link rel="chapter" href="mencoder.html" title="Capitolo 9. Utilizzo base di MEncoder"><link rel="chapter" href="encoding-guide.html" title="Capitolo 10. La codifica con MEncoder"><link rel="chapter" href="faq.html" title="Capitolo 11. Frequently Asked Questions"><link rel="appendix" href="bugreports.html" title="Appendice A. Come segnalare i bug (errori)"><link rel="appendix" href="skin.html" title="Appendice B. MPlayer skin format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">7.6. Uscita su framebuffer (FBdev)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="svgalib.html">Indietro</a> </td><th width="60%" align="center">Capitolo 7. Dispositivi di uscita video</th><td width="20%" align="right"> <a accesskey="n" href="mga_vid.html">Avanti</a></td></tr></table><hr></div><div class="sect1" title="7.6. Uscita su framebuffer (FBdev)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="fbdev"></a>7.6. Uscita su framebuffer (FBdev)</h2></div></div></div><p>
2
Se compilare l'uscita FBdev o no viene rilevato automaticamente da
3
<tt class="filename">./configure</tt>. Leggi nei sorgenti del kernel la
4
documentazione sul framebuffer (<tt class="filename">Documentation/fb/*</tt>) per
5
ulteriori informazioni.
7
Se la tua scheda non supporta lo standard VBE 2.0 (vecchie schede ISA/PCI, come
8
la S3 Trio64), ma solo VBE 1.2 (o precedente?): bene, c'è ancora VESAfb, ma
9
ddovrai caricare SciTech Display Doctor (conosciuto precedentemente come UniVBE)
10
prima di avviare Linux. Usa un disco di avvio DOS o qualcosa del genere. E non
11
dimenticare di registrare il tuo UniVBE ;))
13
L'uscita su FBdev richiede principalmente alcuni parametri addizionali:
14
</p><div class="variablelist"><dl><dt><span class="term"><tt class="option">-fb</tt></span></dt><dd><p>
15
specifica il dispositivo framebuffer da usare (default:
16
<tt class="filename">/dev/fb0</tt>)
17
</p></dd><dt><span class="term"><tt class="option">-fbmode</tt></span></dt><dd><p>
18
nome della modalità da usare (come in <tt class="filename">/etc/fb.modes</tt>)
19
</p></dd><dt><span class="term"><tt class="option">-fbmodeconfig</tt></span></dt><dd><p>
20
file di configirazione delle modalità (default:
21
<tt class="filename">/etc/fb.modes</tt>)
22
</p></dd><dt><span class="term"><tt class="option">-monitor-hfreq</tt>, </span><span class="term"><tt class="option">-monitor-vfreq</tt>, </span><span class="term"><tt class="option">-monitor-dotclock</tt></span></dt><dd><p>
23
valori <span class="bold"><strong>importanti</strong></span>, vedi
24
<tt class="filename">example.conf</tt>
25
</p></dd></dl></div><p>
26
Se vuoi passare a una modalità particolare, allora usa
27
</p><pre class="screen">
28
mplayer -vm -fbmode <em class="replaceable"><code>nome_modalità</code></em> <em class="replaceable"><code>nomefile</code></em>
30
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
31
<tt class="option">-vm</tt> da sola può scegliere la modalità più adatta da
32
<tt class="filename">/etc/fb.modes</tt>. Può essere usata anche insieme con le
33
opzioni <tt class="option">-x</tt> e <tt class="option">-y</tt>. L'opzione
34
<tt class="option">-flip</tt> è supportata solo se il formato pixel del film
35
corrisponde al formato pixel della modalità video. Stai attento al valore
36
di bpp, il driver fbdev cerca di usare prima quello corrente, poi quello che
37
indichi tramite l'opzione <tt class="option">-bpp</tt> option.
38
</p></li><li class="listitem"><p>
39
l'opzione <tt class="option">-zoom</tt> non è supportata
40
(usa <tt class="option">-vf scale</tt>). Non puoi usare modalità a 8bbp (o meno).
41
</p></li><li class="listitem"><p>
42
Probabilmente vuoi disabilitare il cursore:
43
</p><pre class="screen">echo -e '\033[?25l'</pre><p>
45
</p><pre class="screen">setterm -cursor off</pre><p>
47
</p><pre class="screen">setterm -blank 0</pre><p>
48
Per riabilitare il cursore:
49
</p><pre class="screen">echo -e '\033[?25h'</pre><p>
51
</p><pre class="screen">setterm -cursor on</pre><p>
52
</p></li></ul></div><div class="note" title="Nota" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Nota</h3><p>
53
La modifica della modalità video di FBdev <span class="emphasis"><em>non funziona</em></span>
54
con il framebuffer VESA, e non chiederla, visto che non è una limitazione di
55
<span class="application">MPlayer</span>.
56
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="svgalib.html">Indietro</a> </td><td width="20%" align="center"><a accesskey="u" href="video.html">Risali</a></td><td width="40%" align="right"> <a accesskey="n" href="mga_vid.html">Avanti</a></td></tr><tr><td width="40%" align="left" valign="top">7.5. SVGAlib </td><td width="20%" align="center"><a accesskey="h" href="index.html">Partenza</a></td><td width="40%" align="right" valign="top"> 7.7. Framebuffer Matrox (mga_vid)</td></tr></table></div></body></html>