2002-06-12 23:53:28 +00:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2001-11-13 16:19:48 +00:00
|
|
|
|
<HTML>
|
2002-03-07 17:55:34 +00:00
|
|
|
|
|
|
|
|
|
<HEAD>
|
2002-08-27 18:06:07 +00:00
|
|
|
|
<TITLE>Developer Cries - MPlayer - The Movie Player for Linux</TITLE>
|
2002-06-12 09:14:08 +00:00
|
|
|
|
<LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
|
2002-06-12 23:53:28 +00:00
|
|
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
2002-03-07 17:55:34 +00:00
|
|
|
|
</HEAD>
|
|
|
|
|
|
2002-06-12 23:53:28 +00:00
|
|
|
|
<BODY>
|
2001-11-13 16:19:48 +00:00
|
|
|
|
|
|
|
|
|
|
2002-09-10 21:56:05 +00:00
|
|
|
|
<H1>Appendix E - Developer Cries</H1>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<P>There are two major topics which always cause huge dispute and flame on the
|
2002-08-11 18:27:38 +00:00
|
|
|
|
<A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>
|
|
|
|
|
mailing list. Number one is the topic of the</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
2002-08-11 18:27:38 +00:00
|
|
|
|
|
2002-08-27 18:06:07 +00:00
|
|
|
|
<H2><A NAME="gcc">GCC 2.96</A></H2>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<P><B>The background:</B> The GCC <B>2.95</B> series is an official GNU release
|
2002-08-11 18:27:38 +00:00
|
|
|
|
and version 2.95.3 of GCC is the most bug-free in that series.
|
2002-08-27 08:12:58 +00:00
|
|
|
|
We have never noticed compilation problems that we could trace to GCC 2.95.3.
|
2002-08-11 18:27:38 +00:00
|
|
|
|
Starting with Red Hat Linux 7.0, <B>Red Hat</B> included a heavily
|
|
|
|
|
patched CVS version of GCC in their distribution and named it <B>2.96</B>. Red
|
|
|
|
|
Hat included this version in the distribution because GCC 3.0 was not finished
|
|
|
|
|
at the time, and they needed a compiler that worked well on all of their
|
|
|
|
|
supported platforms, including IA64 and s390. The Linux distributor
|
|
|
|
|
<B>Mandrake</B> also followed Red Hat's example and started shipping GCC 2.96
|
|
|
|
|
with their Linux-Mandrake 8.0 series.</P>
|
|
|
|
|
|
|
|
|
|
<P><B>The statements:</B> The GCC team disclaimed any link with GCC 2.96 and
|
|
|
|
|
issued an <A HREF="http://gcc.gnu.org/gcc-2.96.html">official response</A> to
|
|
|
|
|
GCC 2.96. Many developers around the world began having problems with GCC 2.96,
|
|
|
|
|
and started recommending other compilers. Examples are
|
|
|
|
|
<A HREF="http://www.apachelabs.org/apr-mbox/200106.mbox/%3c20010623194228.C25512@ebuilt.com%3e">Apache</A>,
|
|
|
|
|
<A HREF="http://www.mysql.com/downloads/mysql-3.23.html">MySQL</A>,
|
|
|
|
|
<A HREF="http://avifile.sourceforge.net/news-old1.htm">avifile</A> and
|
2002-08-11 22:27:08 +00:00
|
|
|
|
<A HREF="http://www.winehq.com/news/?view=92#RH%207.1%20gcc%20fixes%20compiler%20bug">Wine</A>.
|
2002-08-11 18:27:38 +00:00
|
|
|
|
Other interesting links are
|
|
|
|
|
<A HREF="http://www.realtimelinux.org/archives/rtai/20017/0144.html">Real time Linux</A>,
|
|
|
|
|
<A HREF="http://www.atnf.csiro.au/people/rgooch/linux/docs/kernel-newsflash.html">
|
|
|
|
|
Linux kernel news flash about kernel 2.4.17</A> and
|
|
|
|
|
<A HREF="http://www.voy.com/3516/572.html">Voy Forum</A>.
|
2002-10-20 12:20:39 +00:00
|
|
|
|
MPlayer also suffered from intermittent problems that were all solved by
|
2002-08-11 18:27:38 +00:00
|
|
|
|
switching to a different version of GCC. Several projects started implementing
|
|
|
|
|
workarounds for some of the 2.96 issues, but we refused to fix other people's
|
|
|
|
|
bugs, especially since some workarounds may imply a performance penalty.</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<P>You can read about the other side of the story
|
2002-08-23 10:50:19 +00:00
|
|
|
|
<A HREF="http://www.bero.org/gcc296.html">at this site</A>.
|
2002-08-11 18:27:38 +00:00
|
|
|
|
GCC 2.96 does not allow | (pipe) characters in assembler comments
|
|
|
|
|
because it supports Intel as well as AT&T Syntax and the | character is a
|
|
|
|
|
symbol in the Intel variant. The problem is that it <B>silently</B> ignores the
|
|
|
|
|
whole assembler block. This is supposedly fixed now, GCC prints a warning instead
|
|
|
|
|
of skipping the block.</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<P><B>The present:</B> Red Hat says that GCC 2.96-85 and above is fixed. The
|
2002-08-11 18:27:38 +00:00
|
|
|
|
situation has indeed improved, yet we still see problem reports on our
|
|
|
|
|
mailing lists that disappear with a different compiler. In any case it does not
|
|
|
|
|
matter any longer. Hopefully a maturing GCC 3.x will solve the issue for good.
|
|
|
|
|
If you want to compile with 2.96 give the <CODE>--disable-gcc-checking</CODE>
|
|
|
|
|
flag to configure. Remember that you are on your own and <B>do not report any
|
|
|
|
|
bugs</B>. If you do, you will only get banned from our mailing list because
|
|
|
|
|
we have had more than enough flame wars over GCC 2.96. Please let the matter rest.</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
2002-05-12 01:41:24 +00:00
|
|
|
|
<P>If you have problems with GCC 2.96, you can get 2.96-85 packages from the
|
2002-08-11 18:27:38 +00:00
|
|
|
|
Red Hat <A HREF="ftp://updates.redhat.com">ftp server</A>, or just go for the
|
2002-08-23 10:50:19 +00:00
|
|
|
|
3.0.4 packages offered for version 7.2 and later. You can also get
|
|
|
|
|
<A HREF="ftp://people.redhat.com/jakub/gcc3/3.1-1/">gcc-3.1 packages</A>
|
|
|
|
|
(unofficial, but working fine) and you can
|
2002-08-27 08:12:58 +00:00
|
|
|
|
install them along the GCC 2.96 you already have. MPlayer will detect it and
|
2002-08-11 18:27:38 +00:00
|
|
|
|
use 3.1 instead of 2.96. If you do not want to or cannot use the binary
|
|
|
|
|
packages, here is how you can compile GCC 3.1 from source:</P>
|
2001-11-13 16:19:48 +00:00
|
|
|
|
|
2002-08-27 18:06:07 +00:00
|
|
|
|
<OL>
|
2002-05-12 01:41:24 +00:00
|
|
|
|
<LI>Go to the <A HREF="http://gcc.gnu.org/mirrors.html">GCC mirrors page</A>
|
2002-06-27 16:17:54 +00:00
|
|
|
|
page and download <CODE>gcc-core-3.1.tar.gz</CODE>. This includes the
|
2002-10-20 12:20:39 +00:00
|
|
|
|
complete C compiler and is sufficient for MPlayer. If you also want
|
2002-05-12 01:41:24 +00:00
|
|
|
|
C++, Java or some of the other advanced GCC features
|
2002-06-27 16:17:54 +00:00
|
|
|
|
<CODE>gcc-3.1.tar.gz</CODE> may better suit your needs.</LI>
|
2002-05-12 01:41:24 +00:00
|
|
|
|
<LI>Extract the archive with<BR>
|
2002-06-27 16:17:54 +00:00
|
|
|
|
<CODE>tar -xvzf gcc-core-3.1.tar.gz</CODE></LI>
|
2002-05-12 01:41:24 +00:00
|
|
|
|
<LI>GCC is not built inside the source directory itself like most programs,
|
|
|
|
|
but needs a build directory outside the source directory. Thus you need to
|
|
|
|
|
create this directory via<BR>
|
|
|
|
|
<CODE>mkdir gcc-build</CODE></LI>
|
2002-08-27 08:12:58 +00:00
|
|
|
|
<LI>Then you can proceed to configure GCC in the build directory, but you need
|
2002-05-12 01:41:24 +00:00
|
|
|
|
the configure from the source directory:<BR>
|
|
|
|
|
<CODE>cd gcc-build<BR>
|
2002-06-27 16:17:54 +00:00
|
|
|
|
../gcc-3.1/configure</CODE></LI>
|
2002-05-12 01:41:24 +00:00
|
|
|
|
<LI>Compile GCC by issuing this command in the build directory:<BR>
|
|
|
|
|
<CODE>make bootstrap</CODE></LI>
|
|
|
|
|
<LI>Now you can install GCC (as root) by typing<BR>
|
|
|
|
|
<CODE>make install</CODE></LI>
|
2002-08-27 18:06:07 +00:00
|
|
|
|
</OL>
|
2002-01-01 23:57:53 +00:00
|
|
|
|
|
2002-08-11 18:27:38 +00:00
|
|
|
|
|
2002-08-27 18:06:07 +00:00
|
|
|
|
<H2><A NAME="binary">Binary distribution</A></H2>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
2002-11-09 02:22:19 +00:00
|
|
|
|
<P>MPlayer previously contained source from the OpenDivX project, which
|
|
|
|
|
disallows binary redistribution. This code has been removed in version
|
|
|
|
|
0.90-pre1 and the remaining file <CODE>divx_vbr.c</CODE> that is derived
|
|
|
|
|
from OpenDivX sources has been put under the GPL by its authors as of version
|
|
|
|
|
0.90pre9. You are now welcome to create binary packages as you see fit.</P>
|
|
|
|
|
|
|
|
|
|
<P>Another impediment to binary redistribution were compiletime optimizations
|
|
|
|
|
for CPU architecture. MPlayer now supports runtime CPU detection (specify
|
|
|
|
|
the <CODE>--enable-runtime-cpudetection</CODE> option when configuring). It
|
|
|
|
|
is disabled by default because it implies a small speed sacrifice, but it is
|
|
|
|
|
now possible to create binaries that run on different members of the Intel
|
|
|
|
|
CPU family.</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
2002-08-11 18:27:38 +00:00
|
|
|
|
|
2002-08-20 00:33:04 +00:00
|
|
|
|
<H2><A NAME="nvidia">nVidia</A></H2>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<P>We dislike the fact that <A HREF="http://www.nvidia.com">nVidia</A>
|
2002-08-11 18:27:38 +00:00
|
|
|
|
only provides binary drivers (for use with XFree86), which are often buggy.
|
|
|
|
|
We have had many reports on
|
|
|
|
|
<A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>
|
|
|
|
|
about problems related to these closed-source drivers
|
|
|
|
|
and their poor quality, instability and poor user and expert support.
|
|
|
|
|
Here is an example from the
|
|
|
|
|
<A HREF="http://www.nvnews.net/forum/showthread.php?s=fda5725bc2151e29453b2da3bd5d2930&threadid=14306">
|
|
|
|
|
nVidia Linux Forum</A>.
|
|
|
|
|
Many of these problems/issues keep appearing repeatedly.
|
|
|
|
|
We have been contacted by nVidia lately, and they said these bugs
|
|
|
|
|
do not exist, instability is caused by bad AGP chips, and they received
|
|
|
|
|
no reports of driver bugs (like the purple line). So if you have a
|
|
|
|
|
problem with your nVidia card, you are advised to update the nVidia driver
|
|
|
|
|
and/or buy a new motherboard or ask nVidia to supply open-source drivers.
|
|
|
|
|
In any case, if you are using the nVidia binary drivers and facing driver related problems,
|
|
|
|
|
please be aware that you will receive very little help from our side because we have
|
|
|
|
|
little power to help in this matter.</P>
|
|
|
|
|
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
2002-08-20 00:33:04 +00:00
|
|
|
|
<H2><A NAME="barr">Joe Barr</A></H2>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<P>Joe Barr became infamous by writing a less than favorable
|
2002-08-11 18:27:38 +00:00
|
|
|
|
<A HREF="http://www.linuxworld.com/site-stories/2001/1214.mplayer.html">
|
2002-10-20 12:20:39 +00:00
|
|
|
|
MPlayer review</A>. He found MPlayer hard to install, but then
|
2002-08-11 18:27:38 +00:00
|
|
|
|
again he is not very fond of
|
|
|
|
|
<A HREF="http://www.linuxworld.com/linuxworld/lw-2000-06/lw-06-exam.html">reading documentation</A>.
|
|
|
|
|
He also concluded that the developers were unfriendly and the documentation
|
|
|
|
|
incomplete and insulting. You be the judge.
|
2002-10-20 12:20:39 +00:00
|
|
|
|
He went on to mention MPlayer negatively in his
|
2002-08-11 18:27:38 +00:00
|
|
|
|
<A HREF="http://www.linuxworld.com/site-stories/2001/1227.predictions.html">10 Linux predictions for 2002</A>
|
|
|
|
|
In a followup
|
|
|
|
|
<A HREF="http://www.linuxworld.com/site-stories/2002/0125.xine.html">review of xine</A>
|
|
|
|
|
he continued stirring up controversy. Ironically at the end of that article he
|
|
|
|
|
quotes his exchange with G<>nter Bartsch, the original author of xine, that
|
|
|
|
|
perfectly summarizes the whole situation:</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<BLOCKQUOTE>
|
2002-08-11 18:27:38 +00:00
|
|
|
|
However, he also went on to say that he was "surprised" by my column about
|
2002-10-20 12:20:39 +00:00
|
|
|
|
MPlayer and thought it was unfair, reminding me that it is a free software
|
2002-08-11 18:27:38 +00:00
|
|
|
|
project. "If you don't like it," Bartsch said, "you're free not to use it."
|
2002-05-08 18:00:26 +00:00
|
|
|
|
</BLOCKQUOTE>
|
2002-01-01 23:57:53 +00:00
|
|
|
|
|
2002-05-08 18:00:26 +00:00
|
|
|
|
<P>He does not reply to our mails. His editor does not reply to our mails.
|
2002-08-11 18:27:38 +00:00
|
|
|
|
Here are some quotes from different people about Joe Barr, so you can form your
|
|
|
|
|
own opinion:</P>
|
2002-01-01 23:57:53 +00:00
|
|
|
|
|
2002-05-08 18:00:26 +00:00
|
|
|
|
<P>Marc Rassbach has <A HREF="http://daily.daemonnews.org/view_story.php3?story_id=2102">something to say</A>
|
2002-08-11 18:27:38 +00:00
|
|
|
|
about the man.</P>
|
2002-01-01 23:57:53 +00:00
|
|
|
|
|
2002-05-08 18:00:26 +00:00
|
|
|
|
<BLOCKQUOTE>
|
2002-08-11 18:27:38 +00:00
|
|
|
|
You may all remember the LinuxWorld 2000, when he claimed that Linus T said
|
|
|
|
|
that 'FreeBSD is just a handful of programmers'. Linus said NOTHING of the
|
|
|
|
|
sort. When Joe was called on this, his reaction was to call BSD supporters
|
|
|
|
|
assholes and jerks.
|
2002-05-08 18:00:26 +00:00
|
|
|
|
</BLOCKQUOTE>
|
2002-01-01 23:57:53 +00:00
|
|
|
|
|
2002-05-08 18:00:26 +00:00
|
|
|
|
<P>A <A HREF="http://www.mplayerhq.hu/pipermail/mplayer-users/2001-December/009118.html">quote</A>
|
2002-08-11 18:27:38 +00:00
|
|
|
|
from Robert Munro on the
|
|
|
|
|
<A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>
|
|
|
|
|
mailing list:</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
|
|
|
|
<BLOCKQUOTE>
|
2002-08-11 18:27:38 +00:00
|
|
|
|
<P>He's interesting, but not good at avoiding, um... controversy. Joe Barr
|
|
|
|
|
used to be one of the regulars on Will Zachmann's Canopus forum on Compuserve,
|
2002-08-11 22:27:08 +00:00
|
|
|
|
years ago. He was an OS/2 advocate then (I was an OS/2 fan too).</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
|
2002-08-11 18:27:38 +00:00
|
|
|
|
<P>He used to go over-the-top, flaming people, and I suspect he had some hard
|
|
|
|
|
times, then. He's mellowed some, judging by his columns recently. Moderately
|
|
|
|
|
subtle humor was not his mode in those earlier days, not at all.</P>
|
2002-05-08 18:00:26 +00:00
|
|
|
|
</BLOCKQUOTE>
|
2002-01-01 23:57:53 +00:00
|
|
|
|
|
2002-08-20 00:33:04 +00:00
|
|
|
|
</BODY>
|
2001-11-13 16:19:48 +00:00
|
|
|
|
</HTML>
|