File: faq.html

package info (click to toggle)
em8300 0.16.0-2
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k
  • size: 2,024 kB
  • ctags: 1,492
  • sloc: ansic: 11,554; sh: 3,849; perl: 1,353; makefile: 429
file content (374 lines) | stat: -rw-r--r-- 16,789 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<html>
<head>
<title>Linux DXR3 and Hollywood+ Driver</title>
<!-- HTML Copyright 2001 Paul Laufer -->
</head>

<body bgcolor=#ffffff link=#990033 vlink=#4a73ad alink=#ed004f text=#000000>

<!--header-->
<table align=center border=0 cellpadding=0 cellspacing=0 width=100%>
  <tr>
    <td align=center width=150 colspan=3><img border=0 src=images/dxr3logo.gif alt="Dxr3 Logo" width=124 height=92></td>
    <td><p align=center colspan=3><img src=images/logo.gif alt="DXR3 & Hollywood Plus Logo"></p></td>
  </tr>
<!-- end header -->
  <tr>
    <td bgcolor=#557faa colspan=2 valign=top align=left><img src=images/oul.gif width=8 height=8></td>
    <td bgcolor=#557faa colspan=3><font color=#ffffff size=+1><center>
<!-- Page Title -->
Linux DXR3 and Hollywood+ Driver Project FAQ
<!-- End Page Title -->
    </center></font></td>
    <td bgcolor=#557faa valign=top align=right><img src=images/our.gif width=8 height=8></td>
  </tr>
  <tr>
    <td bgcolor=#557faa colspan=2>&nbsp;</td>
    <td bgcolor=#ffffff valign=top align=left><img src=images/iul.gif width=8 height=8></td>
    <td bgcolor=#ffffff>&nbsp;</td>
    <td bgcolor=#ffffff valign=top align=right><img src=images/iur.gif width=8 height=8></td>
    <td bgcolor=#557faa width=15>&nbsp;</td>
  </tr>
  <tr>
    <td width=8 bgcolor=#557faa>&nbsp;</td>
    <td valign=top bgcolor=#557faa link=#ffffff >

<!-- start navbar content -->

	<a href=index.html><font color=#ffffff>News</font></a><br>
	<a href=about.html><font color=#ffffff>About</font></a><br>
	<a href=faq.html><font color=#ffffff>FAQ</font></a><br>
	<a href=howto.html><font color=#ffffff>Howto</font></a><br>
	<a href=download.html><font color=#ffffff>Download</font></a><br>
	<a href=links.html><font color=#ffffff>Links</font></a><br>
	<a href=development.html><font color=#ffffff>Developers</font></a><br>
	<a href=http://sourceforge.net/project/?group_id=5165><font color=#ffffff>Project Page</font></a><br>

<!-- end navbar content -->

    </td>
    <td bgcolor=#ffffff>&nbsp;</td>
    <td valign=top>

<!-- start main window content -->

<font size=+2>Table of Contents</font>
<ul>
    <li><a href=#mixer>I'm unable to change the audio volume in my mixer, what gives?</a>
    <li><a href=#unresolved>I get unresolved symbols when running "make install" or loading modules, what's wrong?</a>
    <li><a href=#srclocation>My kernel source is not in /usr/src/linux, how can I get the darned thing to compile?</a>
    <li><a href=#multicard>Microcode upload to /dev/em8300-1 failed.  What does that mean?</a>
    <li><a href=#database>Does this actually work for anyone?  Where can I find their results?</a>
    <li><a href=#nonmpeg12>Can I play stuff like DivX/RealVideo as well?</a>
    <li><a href=#kernel>Will the driver ever become part of the official kernel?</a>
    <li><a href=#em8300_mv>When I cat a .mpg file to /dev/em8300_mv-* a bunch of garbage appears on the screen. Whats wrong?</a>
    <li><a href=#ucodefiles>Only two microcode files are extracted from my driver file. What gives?</a>
    <li><a href=#msexpand>How can I uncompress rmquasar.vx_ or enc2dev.vx_?</a>
    <li><a href=#forums>I left a message in the Sourceforge project site forums and nobody has answered!</a>
    <li><a href=#green>The video is all green! How can I fix it?</a>
    <li><a href=#scrambled>The tv output looks like a scrambled cable-channel, what's wrong?</a>
    <li><a href=#halfscreen>The video is only on one half of my screen! What's wrong?</a>
    <li><a href=#bitrate>I can only play low bit rate mpeg videos, higher bit rate streams lock up the card. What could be the problem?</a>
    <li><a href=#noises>When I load the microcode, my monitor starts making funny noises!</a>
    <li><a href=#blank>When I load the microcode, my monitor screen goes blank!</a>
    <li><a href=#libdxr3>What is libdxr3?</a>
    <li><a href=#help>Can I help with the project?</a>
</ul>

<hr width=90%>

<br>
<font size=+2>Answers</font>
<dl>

<dt><a name=mixer>Question:</a>
<dd>I'm unable to change the audio volume in my mixer, what gives?
<dt>Answer:
<dd>The em8300 does not contain an audio mixer, so this feature cannot be implemented. You could write a software mixer but we have decided that something like that does not belong in a kernel module.
<br><br>

Alternatively you can output your audio through a native OSS or Alsa
device, and then just use your regular mixer controls.  Think of the
the em8300 audio out as what it really is, a line out.  Which is perfect
for hooking up to stereo equipment.

<p></p>

<dt><a name=unresolved>Question:</a>
<dd>I get unresolved symbols when running "make install" or loading modules, what's wrong?
<dt>Answer:
<dd>
First thing's first.  The kernel source you are compiling against must match
your running kernel.  i.e. if you're running say RedHat-2.4.18-14 you
must point the Makefile for the kernel modules at the correct source tree
for your "running kernel".  You can verify that your running kernel and
sources match by typing "uname -a" and looking at the Makefile in the
root directory of the kernel source.<p>

e.g. output from uname<br><br>
<code>
root@barney# uname -a<br>
Linux barney 2.4.18-14custom #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
</code>
<br><br>
Excerpt from Makefile in /usr/src/linux-2.4
<br><br>
<code>
VERSION = 2<br>
PATCHLEVEL = 4<br>
SUBLEVEL = 18<br>
EXTRAVERSION = -14custom<br>
</code>
<p>
See these match so it should be safe to compile kernel modules against
this tree.  You really need to compile your own kernel tree, and boot it.
This establishes that a) the kernel source you have runs, b) creates
all the dependency files and links that em8300 uses to compile itself
correctly.  Think of it as a pre-requisite to getting em8300 running.
<p>
Before compiling a "vendor" kernel it is recommended you type:
<code>make mrproper</code> this will clean up any lingering files
from previous compilations.  If you have your own <code>.config</code> file you
will need to back it up before doing this otherwise it is gone
forever and you have to set it up again.
<p>
Vendor kernels are typically set up correctly for em8300, i.e. they
have <b>I2C, I2C-bit-banging and OSS Sound support enabled</b>.  You can
usually short cut the whole process and get the default configuration by typing
<code>make oldconfig</code>.  If you download a "Marcelo/Linus" kernel you will
need to configure both these options in using something like <code>make
menuconfig</code>

<p>
For more in-depth discussion on how to compile a linux kernel check
out the <a href="http://www.linux.org/docs/ldp/howto/Kernel-HOWTO.html">
Kernel HOW-TO</a>.
<p></p>

<dt><a name=srclocation>Question:</a>
<dd>My kernel source is not in /usr/src/linux, how can I get the darned thing to compile?
<dt>Answer:
<dd>Edit the KERNEL_LOCATION line in the Makefile. This must be the source directory for the kernel
you are currently running, not the version that shipped with your distribution (which you should
keep in /usr/src/linux for other reasons). Also, you must have run make config and make dep in the
kernel tree before compiling the driver kernel modules.
<p></p>

<dt><a name=multicard>Question:</a>
<dd>Microcode upload to /dev/em8300-1 failed.  What does that mean?
<dt>Answer:
<dd>This error message is normal.  /dev/em8300-1, /dev/em8300-2, and /dev/em8300-3 are used for multi card support only.  If you don't have more than one dxr3 don't worry about it.
<p></p>

<dt><a name=database>Question:</a>
<dd>Does this actually work for anyone?  Where can I find their results?
<dt>Answer:
<dd>Yes.  Unfortunately Patryk Laurent's <a href="http://digitalpipes.org/dxr3log/">dxr3 users database</a> domain appears to be down.  We'll update this link if things change.
<p></p>

<dt><a name=nonmpeg12>Question:</a>
<dd>
Can I use my DXR3/H+ to watch movies other than DVDs or MPEG1/2? Is this accelerated?
<dt>Answer:
<dd>
Yes, you will be able to play DivX and other supported video formats on your card as well. Though
this has to happen through an MPEG1 filter which means it needs lots of CPU power, you should have
at least a 400MHz CPU or preferably faster.<br><br>
The em8300 cannot decode anything other than MPEG1/2 in hardware so this will never happen in an
accelerated form. If that is what you want, look for another card. What it can and will do is to
handle postprocessing for you, so the output will look alot nicer than it would do if you play it
on your monitor without any postprocessing enabled. And, this is a real cheap way of getting a 
tv-out for watching movies.<br>
For further information regardning this please refer to the DXR3 <a href=howto.html#mplayer2>howto</a>
or MPlayer manual.
<p></p>

<dt><a name=kernel>Question:</a>
<dd>
Will the driver ever become part of the official Linux kernel or will
I have to download and compile this thing separately for the rest of
my life?

<dt>Answer:
<dd>
Development of a new driver in the official Linux kernel tree is
difficult because Linus doesn't like to apply lots of little patches;
he would rather apply fewer larger patches to revise an already working
driver. So, once we get this thing stable and working with the known
revisions of the cards, we may seek to include the kernel portion of
this driver in the official kernel source tree.

<p></p>

<dt><a name=em8300_mv>Question:</a>
<dd>When I cat a .mpg file to /dev/em8300_mv-* a bunch of garbage appears on the screen. Whats wrong?
<dt>Answer:
<dd>
Only mpeg video can be sent to /dev/em8300_mv-*. If an mpeg system file,
which is both mpeg video and audio, is sent to the device, garbage like
that will show up on the screen. First separate the mpeg system into
separate video and audio files, then send those to the appropriate device.
See the <a href=howto.html#playcat>Howto</a>.

<p></p>

<dt><a name=ucodefiles>Question:</a>
<dd>Only two microcode files are extracted from my driver file. What gives?
<dt>Answer:
<dd>
Some revisions of the driver (seems like those shipped with boards with
a bt865) only came with two microcode files. Just use one of these two
and the card should work correctly. You can also download the latest
version of the driver from either Creative Labs or Sigma Designs and
use the microcode shipped with those drivers instead.
<br><br>
<strong>Update:</strong> (12/06/2002) This question is somewhat obsolete
now as the latest driver, 0.13 at this time, comes with a microcode file.

<p></p>

<dt><a name=msexpand>Question:</a>
<dd>How can I uncompress rmquasar.vx_ or enc2dev.vx_?
<dt>Answer:
<dd>A utility written by Paul Laufer called msexpand.pl is included in the em8300/scripts directory
that will uncompress microsoft compressed files. Just run it without any arguments to get the usage
information. See the <a href=howto.html#ucext>Howto</a>.
<br><br>
<strong>Update:</strong> (12/06/2002) See the previous question as to why you don't need to do this anymore.

<p></p>

<dt><a name=forums>Question:</a>
<dd>I left a message in the Sourceforge project site forums and nobody has answered!
<dt>Answer:
<dd>In general, use the mailing list. Unfortunately, at this point the Sourceforge project forums
are not visited very often by developers.  See the <a href=howto.html#help>Howto</a>
<p></p>

<dt><a name=green>Question:</a>
<dd>The video is all green! How can I fix it?
<dt>Answer:
<dd>Check to make sure you are passing the correct module options to the em8300.o and adv717x.o
kernel modules. See the <a href=howto.html#modparam>Howto</a> for further information about these options. In
the future detection of these settings should be automated.
<p></p>

<dt><a name=scrambled>Question:</a>
<dd>The tv output looks like a scrambled cable-channel, what's wrong?
<dt>Answer:
<dd>
There are a couple of possibilities.  Firstly check that you've configured your Dxr3 for the correct TV standard.  PAL in Europe and parts of South America, NTSC in the US and Japan and SECAM in France or Russia.  SECAM is not supported.
<p>
Secondly, if you are using an SVHS/S-Video to Composite converter cable,
make sure the SVHS connector has 7 pins and not 4. Most video cards
are delivered with 4-pin SVHS->Composite converters because they use
only 2 outputs for video (Luminance and Chrominance). But the DXR3/H+
is a very high quality card that uses 3 outputs (Luminance, and 2
Chrominance outputs) which also requires that you use a converter cable
that recognizes this. If you can't find one, the solution is to buy an
SVHS cable and a scart contact which accepts an SVHS input.

<p>
If your TV has SVHS inputs you can also modify a regular SVHS cable by
removing the plastic leg on one end of the cable.  Only do this if you
know what you are doing as it is not reversable and basically removes
the key allowing you to try plugging it in upside down.  However it
works quite well and lets you use a high quality cable rather than the
cheap one the DXR3 comes with.

<p></p>

<dt><a name=halfscreen>Question:</a>
<dd>The video is only on one half of my screen! What's wrong?
<dt>Answer:
<dd>Check to make sure you are passing the correct module options to the em8300.o and adv717x.o
kernel modules. See the <a href=howto.html#modparam>Howto</a> for further information about these options.In
the future detection of these settings should be automated.
<p></p>

<dt><a name=bitrate>Question:</a>
<dd>I can only play low bit rate mpeg videos, higher bit rate streams lock up the card. What could
be the problem?
<dt>Answer:
<dd>
Try using microcode from a newer driver version or one of the
other microcode files that were extracted from your rmquasar.vxd or
enc2dev.vxd. Some microcode files seem only to work with some versions
of the card.<br><br>

<strong>Update:</strong> (12/05/2002) Try downloading the latest version
of the driver.  It includes a universal microcode as part of the source.

<p></p>

<dt><a name=noises>Question:</a>
<dd>When I load the microcode, my monitor starts making funny noises!
<dt>Answer:
<dd>Remove the passthrough cable and connect your monitor to the video card directly. VGA overlay
and passthrough are not working on some revisions of the card. More reverse engineering is much
needed. If you own one of these cards you currently have to watch your DVDs using the TV out
connector.
<p></p>

<dt><a name=blank>Question:</a>
<dd>When I load the microcode, my monitor screen goes blank!
<dt>Answer:
<dd>Some cards disable the passthrough when the microcode is uploaded.
Use the 'activate_loopback' module parameter to fix this.  However, you may
not be able to use the tv out connector with activate_loopback. If you want to
use tvout you'll need to disconnect the passthrough cable for now.
See the <a href=howto.html#modparam>Howto</a>.
<p></p>


<dt><a name=libdxr3>Question</a>
<dd>What is libdxr3?
<dt>Answer
<dd>libdxr3 was a library that served as an interface between client programs
like Xine and OMS and the kernel modules.  The original idea was to provide a
reusable library and avoid code duplication in client programs, but the
library was never quite finished and its use never really took off, so it was
removed from the em8300 distribution as of version 0.15.1 after being
unmaintained and unused for a few years.  In case someone's interested in
finishing and maintaining it, the code can still be resurrected from CVS.
<p></p>

<dt><a name=help>Question:</a>
<dd>Can I help with the project?
<dt>Answer:
<dd>Of course! We need people to help write better documentation, reverse engineer the windows
driver, implement new features in the Linux driver, and better integrate the driver into the DVD
player software.
<p></p>

</dl>
<!-- end main window content -->

    </td>
    <td bgcolor=#ffffff>&nbsp;</td>
    <td bgcolor=#557faa width=15>&nbsp;</td>
  </tr>
  <tr>
    <td colspan=2 bgcolor="#557faa" align=center>
      <a href=http://sourceforge.net>
      <IMG src="http://sourceforge.net/sflogo.php?group_id=5165&type=1" width="88" height="31" border="0" alt="SourceForge Logo"></a>
    </td>
    <td bgcolor=#ffffff valign=bottom align=left><img src=images/ill.gif width=8 height=8></td>
    <td bgcolor=#ffffff>&nbsp;</td>
    <td bgcolor=#ffffff valign=bottom align=right><img src=images/ilr.gif width=8 height=8></td>
    <td bgcolor=#557faa width=15>&nbsp;</td>
  </tr>
  <tr>
    <td valign=bottom align=left bgcolor=#557faa><img src=images/oll.gif width=8 height=8></td>
    <td colspan=4 bgcolor=#557faa>&nbsp;</td>
    <td valign=bottom align=right bgcolor=#557faa><img src=images/olr.gif width=8 height=8></td>
  </tr>
</table>

<address><a href="mailto:dxr3-devel@lists.sourceforge.net">dxr3-devel mailing list</a></address>
<!-- Created: Mon Apr 10 11:20:32 CEST 2000 -->
<!-- hhmts start -->
Last modified: Sun Nov  6 11:01:15 EET 2005
<!-- hhmts end -->
</body>
</html>