Date: Fri, 21 Mar 2003 08:25:16 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Peter Gervais <pgervais@cnwl.igs.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Matrox G450 support in FreeBSD 5.0 Message-ID: <20030321072516.GB54854@pcwin002.win.tue.nl> In-Reply-To: <5.1.0.14.0.20030320161750.03578020@mail.cnwl.igs.net> References: <5.1.0.14.0.20030320161750.03578020@mail.cnwl.igs.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Y5rl02BVI9TCfPar
Content-Type: multipart/mixed; boundary="gatW/ieO32f1wygP"
Content-Disposition: inline
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi Peter,
On Thu, Mar 20, 2003 at 04:27:47PM -0500, Peter Gervais wrote:
> The Matrox G450 video card is supposed to able to handle 2 monitors on th=
e=20
> single PCI card.
It is, I'm running on one right now:
[stijn@firsa] <~> dmesg | grep -i matrox
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
drm0: <Matrox G400/G450 (AGP)> mem 0xdf000000-0xdf7fffff,0xdf800000-0xdf803=
fff,0xe2000000-0xe3ffffff irq 11 at device 0.0 on pci1
> The 5.0 doc indicate that it includes XFree86 4.3.0 release which suppor=
ts=20
> this card.
Where does it state this?
> When 5.0 is loaded, and i look at the mga driver man page, i get XFree86=
=20
> 4.2.0.
That's because the 5.0 CD included XFree86 4.2.0. However you should be
able to install the newer XFree86 4.3.0 for 5.0 by either compiling
the port, or installing a package when it's available. See the handbook
on how to do this.
> I need to be able to use the two monitors separately as two separate unit=
s=20
> ( not showing the same stuff on both ).
That's true dualhead.
> 1) Do i need to download 4.3.0 from Xfree86 in order to get this support?
> If so, Xfree86 4.3.0 is only supported on previous 4.x version of FreeBSD.
No, and no. XFree86 4.2.0 can do this also, if you setup your XF86Config in
the right way.
Furthermore, XFree86 4.3.0 runs on both 5.0 and 4.x, as far as I understand.
> 2) What is the XFree86Config file supposed to look like in order to=20
> implementation dual separate head using the Matrox mga driver.
You'll find my config file attached. Note that if you don't comment out the
'DRI' parts X might complain because you need the special kernel module in
order to get fast OpenGL support, which is what the DRI provides.
> 3) the man page talks about a mga_hal file. Can't find this anywhere? Is=
=20
> this required?
It's supposedly required for the real G400, but not for the G450, and then
only if you need e.g. digital output for an LCD screen. I do not need it.
> 4) do i need to start the xserver in a special way ?
No, if your config file is ok, it should work.
> 5) can this done using motif mwm?
That I don't know. A certain amount of support is needed from the window
manager and I'm not familiar enough with mwm to be able to answer this.
Most newer window managers (Windowmaker, Blackbox, Sawfish etc) work
just fine.
> The system does work showing identical info on both screens. I need to ge=
t=20
> true dual separate heads working.
Yes, that's the default.
HTH,
--Stijn
--=20
"Computer games don't affect kids; I mean if Pac-Man affected us as kids,
we'd all be running around in darkened rooms, munching magic pills and
listening to repetitive electronic music."
-- Kristian Wilson, Nintendo, Inc., 1989
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=XF86Config
Section "ServerLayout"
Identifier "FIRSA"
Screen "Screen (Left)"
Screen "Screen (Right)" RightOf "Screen (Left)"
InputDevice "Mouse" "CorePointer"
InputDevice "Keyboard" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
# FontPath "/usr/X11R6/lib/X11/fonts/webfonts/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
# FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
# FontPath "/usr/X11R6/lib/X11/fonts/CID/"
EndSection
Section "Module"
Load "extmod"
Load "xie"
Load "pex5"
Load "GLcore"
Load "dbe"
Load "record"
Load "freetype"
Load "type1"
Load "xaa"
Load "fb"
Load "ddc"
Load "vbe"
Load "vgahw"
Load "int10"
Load "glx"
Load "dri"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "keyboard"
Option "XkbLayout" "nl(euro)"
EndSection
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
EndSection
Section "Device"
Identifier "Matrox G450 (Left)"
Driver "mga"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Matrox G450 (Right)"
Driver "mga"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Monitor"
Identifier "Iiyama Vision Master 17 (Left)"
HorizSync 30-69
VertRefresh 48-120
ModeLine "320x200" 12.59 320 336 384 400 200 204 205 225
ModeLine "320x240" 12.59 320 340 388 396 240 257 258 298
Modeline "400x300" 25 400 424 488 520 300 319 322 333
Modeline "480x300" 29.95 480 504 584 624 300 319 322 333
# new ones from xmame
#Modeline "224x224" 12.75 224 228 276 288 224 228 230 236
Modeline "224x224" 14.93 224 256 280 312 224 228 232 236 doublescan
Modeline "256x224" 12.75 256 260 308 320 224 228 230 236
Modeline "256x240" 15.00 256 260 308 320 240 244 246 254
Modeline "288x224" 12.75 288 292 340 352 224 228 230 236
Modeline "292x240" 16.75 292 296 344 356 240 244 246 254
Modeline "320x224" 12.75 320 324 372 388 224 228 230 236
Modeline "336x240" 18.00 336 344 392 417 240 244 246 254
Modeline "360x288" 20.00 360 364 412 444 288 292 298 302
Modeline "360x256" 18.00 360 364 412 444 256 260 266 270
Modeline "384x224" 20.00 384 388 436 480 224 228 230 236
Modeline "384x240" 20.00 384 388 436 480 240 244 246 254
Modeline "400x256" 22.00 400 416 480 504 256 259 262 269
Modeline "400x224" 20.00 400 416 480 500 224 228 230 234
Modeline "512x384" 25.00 512 516 580 632 384 385 388 400
ModeLine "640x240" 31.50 640 644 708 788 240 244 246 254
ModeLine "672x240" 31.50 672 676 740 820 240 244 246 254
EndSection
Section "Monitor"
Identifier "Iiyama Vision Master 17 (Right)"
HorizSync 30-69
VertRefresh 48-120
ModeLine "320x200" 12.59 320 336 384 400 200 204 205 225
ModeLine "320x240" 12.59 320 340 388 396 240 257 258 298
Modeline "400x300" 25 400 424 488 520 300 319 322 333
Modeline "480x300" 29.95 480 504 584 624 300 319 322 333
# new ones from xmame
#Modeline "224x224" 12.75 224 228 276 288 224 228 230 236
Modeline "224x224" 14.93 224 256 280 312 224 228 232 236 doublescan
Modeline "256x224" 12.75 256 260 308 320 224 228 230 236
Modeline "256x240" 15.00 256 260 308 320 240 244 246 254
Modeline "288x224" 12.75 288 292 340 352 224 228 230 236
Modeline "292x240" 16.75 292 296 344 356 240 244 246 254
Modeline "320x224" 12.75 320 324 372 388 224 228 230 236
Modeline "336x240" 18.00 336 344 392 417 240 244 246 254
Modeline "360x288" 20.00 360 364 412 444 288 292 298 302
Modeline "360x256" 18.00 360 364 412 444 256 260 266 270
Modeline "384x224" 20.00 384 388 436 480 224 228 230 236
Modeline "384x240" 20.00 384 388 436 480 240 244 246 254
Modeline "400x256" 22.00 400 416 480 504 256 259 262 269
Modeline "400x224" 20.00 400 416 480 500 224 228 230 234
Modeline "512x384" 25.00 512 516 580 632 384 385 388 400
ModeLine "640x240" 31.50 640 644 708 788 240 244 246 254
ModeLine "672x240" 31.50 672 676 740 820 240 244 246 254
EndSection
Section "Screen"
Identifier "Screen (Left)"
Device "Matrox G450 (Left)"
Monitor "Iiyama Vision Master 17 (Left)"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "672x240" "640x480" "640x240" "512x384" "480x300" "400x300" "400x256" "400x224" "384x240" "384x224" "360x288" "360x256" "336x240" "320x240" "320x224" "320x200" "292x240" "288x224" "256x224" "224x224"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen (Right)"
Device "Matrox G450 (Right)"
Monitor "Iiyama Vision Master 17 (Right)"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "672x240" "640x480" "640x240" "512x384" "480x300" "400x300" "400x256" "400x224" "384x240" "384x224" "360x288" "360x256" "336x240" "320x240" "320x224" "320x200" "292x240" "288x224" "256x224" "224x224"
EndSubSection
EndSection
--gatW/ieO32f1wygP--
--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+er5cY3r/tLQmfWcRAsYNAJ4k6GD0YmlIANh0HMQlqbFx92Z3jACeMMQE
qGLlDZp+bt7ZvAIj8lLcH7c=
=ksts
-----END PGP SIGNATURE-----
--Y5rl02BVI9TCfPar--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030321072516.GB54854>
