Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22269 - Update xorg-x11 to allow matrox HAL drivers
Summary: Update xorg-x11 to allow matrox HAL drivers
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 13553
Blocks:
  Show dependency tree
 
Reported: 2003-06-05 05:55 UTC by Paul Giordano
Modified: 2010-02-04 06:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated xfree ebuild (xfree-4.3.0-r3.ebuild,31.57 KB, text/plain)
2003-06-05 05:56 UTC, Paul Giordano
Details
Fix duplicate definition (9998_x86_4.3.0-glx-BuildLibGlxWithoutPIC_NO.patch,371 bytes, patch)
2003-06-05 05:57 UTC, Paul Giordano
Details | Diff
Fix another double definition (9999_all_fix_SharedGLReqs.patch,929 bytes, patch)
2003-06-05 05:58 UTC, Paul Giordano
Details | Diff
Whoops - goofed up the host.def setup. (xfree-4.3.0-r3.ebuild,31.59 KB, text/plain)
2003-06-05 06:44 UTC, Paul Giordano
Details
Twice I goofed up host.def. Sheesh. (xfree-4.3.0-r3.ebuild,31.59 KB, text/plain)
2003-06-05 06:46 UTC, Paul Giordano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Giordano 2003-06-05 05:55:14 UTC
I've been using the Matrox HAL drivers ever since I bought my G550's, on a dual
and a triple head system. I would really appreciate a "USE" flag for "mga" that
would integrate HALlib. The skeleton is in the ebuild now, this ebuild
instantiates that change. In addition, there are two inconsistencies in the
flags in config/cf that are addressed by the two attached patches. The
"assumptions" are that prior patches are valid, and site.def is expressing the
actual desired flag settings.



Reproducible: Always
Steps to Reproduce:
1. USE=mga emerge xfree
Actual Results:  
I get a working xinerama based multihead Matrox G550 setup.


Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21-rc4-aa1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/opt/portage/distfiles"
PKGDIR="/opt/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang
readline arts svga ggi java guile X sdl gpm tcpd pam libwww ssl python imlib
oggvorbis gnome gtk qt kde motif opengl aalib acl acpi alsa bonobo cdr dga
directfb dvd esd ethereal evo fbcon flash gb gd gphoto2 gtk2 gtkhtml imap ipv6
jikes lcms ldap matrox mbox mozilla mysql nas -nls oav odbc pda perl pic
postgres ruby samba sasl scanner slp snmp socks5 sse tcltk tetex tiff usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr
-falign-functions=4"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math
-fforce-addr -falign-functions=4"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Paul Giordano 2003-06-05 05:56:43 UTC
Created attachment 12821 [details]
updated xfree ebuild

This is my redo of the current xfree-4.3.0-r3.ebuild
Comment 2 Paul Giordano 2003-06-05 05:57:46 UTC
Created attachment 12822 [details, diff]
Fix duplicate definition
Comment 3 Paul Giordano 2003-06-05 05:58:41 UTC
Created attachment 12823 [details, diff]
Fix another double definition
Comment 4 Paul Giordano 2003-06-05 06:44:23 UTC
Created attachment 12826 [details]
Whoops - goofed up the host.def setup.
Comment 5 Paul Giordano 2003-06-05 06:46:35 UTC
Created attachment 12827 [details]
Twice I goofed up host.def. Sheesh.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-05 19:41:49 UTC
Paul, I'll have a look at this.  for future reference, it would be easier if you were to submit diffs instead of the entire ebuild, though :)
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-06 14:01:48 UTC
Paul,

From looking at this, it seems that the HAL stuff, in fact, over-writes the stock xfree mga driver.  Is there a way we can either have it be a different name when we build it with xfree?  Or, better yet, can we put it into its own separate ebuild?
Comment 8 Paul Giordano 2003-06-22 17:32:41 UTC
Hi Seemant, sorry for the delay in response - been pretty swamped lately.

I agree, I guess I thought that the "mga" flag would be enough to choose whether you wnated to build with HAL or not - perhaps I should have called the flag "HAL", but it's still experimental so we can always adjust, eh?

If I built as a seperate build I suppose it would resemble the drm build, where it re-creates the xfree tree and then builds the modules needed from there? I guess I just thought that it seemed like a lot to go through for two measly modules, and I can't figure why one wouldn't want to pick either "with HAL" or "without HAL" when you originally go through the xfree build. My original thought was "hey, if you've got an mga card you want to use the Matrox mga drivers", but I think I'm gaining a better understanding and perspective of the "open-source" "closed-source" issues now that I'm playing with the newer Matrox cards, and having used an NVidia card for a while.

Anywho, I'll be happy to code up to whichever direction you (all, gentoo) prefer. In addition, if you'd like, I'll work up ebuilds for the Parhelia and Millenium P750/P650  according to the way you decide. Thanks again for your input and help!

Gio
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-10 01:38:48 UTC
Paul, take a look at what's going on with the ati gatos drivers on bug #13553.
Try to set up the mga HAL stuff to install to /usr/X11R6/lib/modules-extra/mga-hal,
then that can be added to XF86Config as a ModulePath. I believe it should
be possible to build it independently, as an mga-hal-$version.ebuild or some
such.
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-09 11:20:26 UTC
Paul, any progress on this?
Comment 11 Adam Jackson 2005-01-05 19:53:44 UTC
as a warning, the mga driver currently available on matrox' web site is not redistributable.  see http://www.matrox.com/mga/support/drivers/files/lnx_41.cfm

section 3 makes it pretty clear:

"3. You may not provide or disclose the Software to any third party;"

i've emailed matrox legal a couple of times about this and haven't heard back yet.  there's an upstream bug for the legal issues at

https://bugs.freedesktop.org/show_bug.cgi?id=1904
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-05 21:27:40 UTC
Doesn't particularly matter for Gentoo, as we have ways to just tell the user to fetch it and stick it in distfiles.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 04:52:41 UTC
What's the status here?
Comment 14 Joshua Baergen (RETIRED) gentoo-dev 2005-09-07 20:51:49 UTC
Looks like we're waiting on responses to comments 9 and 10.  I'll mark this as
NEEDINFO for now.