Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33549 - Specific modeline does not work with buildin matrox driver, but works with the driver from matrox
Summary: Specific modeline does not work with buildin matrox driver, but works with th...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-15 04:29 UTC by Klaus S. Madsen
Modified: 2004-09-30 13:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus S. Madsen 2003-11-15 04:29:14 UTC
I have recently switched to a DVI connected screen. Therefore my Matrox card needed to be 
configured to use the correct mode. Looking at the I2C output, I determined that it should use 
the following modeline: 
 
ModeLine "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync 
 
This also corresponds with what Windows is using, both according to the Matrox tools, and 
according to http://www.entechtaiwan.com/files/moninfo.exe. 
 
I could see that X was using the correct modeline from the output of /var/log/XFree86.0.log, but 
when X started, my monitor just showed "Signal out of bounds". 
 
I then installed the drivers available from ftp://ftp.matrox.com/pub/mga/archive/linux/2003/
mgadrivers-3.0.tgz, by running the install.sh script included in the package. When I started X 
again, everything worked fine. 
 
So it seems that the driver included in X does not program the card correctly. 
 

Reproducible: Always
Steps to Reproduce:
Comment 1 Klaus S. Madsen 2003-11-15 04:32:22 UTC
Oops, forgot some information:

XFree version: xfree-4.3.0-r3

emerge info:

ksm@hjernemadsen ksm $ emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=" -z combreloc -mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /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"
CXXFLAGS=" -z combreloc -mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache fixpackages"
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/  http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xv zlib gtkhtml gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr X gtk2 gnome alsa dvd encode xmms fbcon directfb matrox -nls gstreamer mmx video_cards_matrox video_cards_radeon"
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-15 12:42:30 UTC
Why is it that you want to set a modeline? Isn't giving it your horizontal and vertical sync rates good enough?
Comment 3 Klaus S. Madsen 2003-11-15 14:41:26 UTC
Well, it is enough to give the sync rates. Then X determines that the modeline should be the same as the one that I have specified, and the end result is the same.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-30 13:57:06 UTC
If things aren't over-specified, it works fine.