[XFree86] Matrox G550 + DVI + HAL + DPMS + ViewSonic LCD + FreeBSD

2003-02-02 Thread Don
I have a Matrox G550 + 2 Matrox G450 PCI cards all with DVI output.

All three are connected to Viewsonic LCD's via DVI.

I am running 4.2.1 on FreeBSD 5.0 compiled from source with the Matrox HAL
libraries.

Any time I try to send the monitors into sleep or poweroff, they just end
up displaying a series of colored vertical bands that vary depending on
what my desktop looks like.

I have Options  "DPMS" in my config file.

I know Andrew said that DPMS was working with his G550 and was wondering
where the difference likely is.

Does it work better with 4.2.99.x?

I did not have this problem, to my knowledge, with the Radeon 7000 that
was installed in this system previously.

-Don
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] Matrox G550 + DVI

2003-01-22 Thread Don
> The need to turn the monitor off and on may not have anything to do with X: I have a 
>similar
> problem with a PC which runs W2k with a Samsung and a G550 (the analog output gives 
>no
> problems)...
Fascinating. The thing is, this card and display came out of a Win2k box
operating with exactly the same timings and never did this. The
Vertical Refresh and Horizontal Timings are identical.

I am testing out a different version of HAL to see if that helps the
problem.

-Don

> Lionel
> --- Don <[EMAIL PROTECTED]> wrote:
> > After a bit of fighting, I finally got my Matrox G550 to output to the DVI
> > port.
> >
> > Using DVI with the G450 and G550 requires the mga_hal_drv.o library from
> > the Matrox web site.
> >
> > Additionally, I had to specify the resolution and force a Vertical Refresh
> > of 60Hz on this monitor to get it to work.
> >
> > On top of that, I have to turn the monitor off and then back on after it
> > switches from console mode to X.
> >
> > The hardware cursor is also broken and you need to enable the software
> > cursor. These are by no means mild problems but at least the thing works.
> >
> > 4.2.99.3 or 4.2.99.4 dont fix any of these problems. You still have to use
> > the HAL library (as far as I can tell) and I still have to restart my
> > monitor after switching modes.
> >
> > These problems do not exist with a spare Radeon card I tested.
> >
> > The Radeon card has its own issues, however. 4.2.99.3 and 4.2.99.4
> > seg fault when I use a "Powered By ATI" Radeon 7000 in the system. Under
> > 4.2.1 I could not initialize more than one Radeon 7000 in the system at a
> > time. I could use each one individually, but not at the same time.
> >
> > Someone mentioned hacking the driver to get it working, but I need to find
> > out why the server keeps segfaulting first :)
> >
> > -Don

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] Matrox G550 + DVI

2003-01-22 Thread Lionel Lecoq
The need to turn the monitor off and on may not have anything to do with X: I have a 
similar
problem with a PC which runs W2k with a Samsung and a G550 (the analog output gives no
problems)...

Lionel
--- Don <[EMAIL PROTECTED]> wrote:
> After a bit of fighting, I finally got my Matrox G550 to output to the DVI
> port.
> 
> Using DVI with the G450 and G550 requires the mga_hal_drv.o library from
> the Matrox web site.
> 
> Additionally, I had to specify the resolution and force a Vertical Refresh
> of 60Hz on this monitor to get it to work.
> 
> On top of that, I have to turn the monitor off and then back on after it
> switches from console mode to X.
> 
> The hardware cursor is also broken and you need to enable the software
> cursor. These are by no means mild problems but at least the thing works.
> 
> 4.2.99.3 or 4.2.99.4 dont fix any of these problems. You still have to use
> the HAL library (as far as I can tell) and I still have to restart my
> monitor after switching modes.
> 
> These problems do not exist with a spare Radeon card I tested.
> 
> The Radeon card has its own issues, however. 4.2.99.3 and 4.2.99.4
> seg fault when I use a "Powered By ATI" Radeon 7000 in the system. Under
> 4.2.1 I could not initialize more than one Radeon 7000 in the system at a
> time. I could use each one individually, but not at the same time.
> 
> Someone mentioned hacking the driver to get it working, but I need to find
> out why the server keeps segfaulting first :)
> 
> -Don
> 
> ___
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



[XFree86] Matrox G550 + DVI

2003-01-21 Thread Don
After a bit of fighting, I finally got my Matrox G550 to output to the DVI
port.

Using DVI with the G450 and G550 requires the mga_hal_drv.o library from
the Matrox web site.

Additionally, I had to specify the resolution and force a Vertical Refresh
of 60Hz on this monitor to get it to work.

On top of that, I have to turn the monitor off and then back on after it
switches from console mode to X.

The hardware cursor is also broken and you need to enable the software
cursor. These are by no means mild problems but at least the thing works.

4.2.99.3 or 4.2.99.4 dont fix any of these problems. You still have to use
the HAL library (as far as I can tell) and I still have to restart my
monitor after switching modes.

These problems do not exist with a spare Radeon card I tested.

The Radeon card has its own issues, however. 4.2.99.3 and 4.2.99.4
seg fault when I use a "Powered By ATI" Radeon 7000 in the system. Under
4.2.1 I could not initialize more than one Radeon 7000 in the system at a
time. I could use each one individually, but not at the same time.

Someone mentioned hacking the driver to get it working, but I need to find
out why the server keeps segfaulting first :)

-Don

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] Matrox G550 + DVI

2003-01-21 Thread Don
> > Is there some reason that the XFree86 page does not mention that DVI
> > output is not supported on the G450 and G550 cards?
>
> Some people say that DVI on a G550 works for them if they don't use
> mga_hal, but does not work if they use mga_hal.
>
> I hadn't really realised that it didn't work for me without it;
> just that the features I use work better with it.
>
> It hadn't occurred to me that using mga_hal needed to be documented.
>
> I'm submitting the attached patch now.
The G550 works perfectly with the analog port.

The DVI port does not work for me (Though it does work fine under Windows)

I have tested this with 4.2.1, 4.2.99.3, 4.2.99.4

I have also tried this with the Matrox Linux module but it still will not
work for me even though it says HAL loaded. This is a FreeBSD box, however
so who knows.

Any additional documentation is always appreciated.

Does the G450 have the same issues with the DVI port?

-Don

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] Matrox G550 + DVI

2003-01-21 Thread Dr Andrew C Aitchison
On Tue, 21 Jan 2003, Don wrote:

> Is there some reason that the XFree86 page does not mention that DVI
> output is not supported on the G450 and G550 cards?

Some people say that DVI on a G550 works for them if they don't use 
mga_hal, but does not work if they use mga_hal.

I hadn't really realised that it didn't work for me without it;
just that the features I use work better with it.

It hadn't occurred to me that using mga_hal needed to be documented.

I'm submitting the attached patch now.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

Index: xc/programs/Xserver/hw/xfree86/drivers/mga/mga.man
===
RCS file: /home/CVS/XFree86/xc/programs/Xserver/hw/xfree86/drivers/mga/mga.man,v
retrieving revision 1.5
diff -r1.5 mga.man
29c29,32
< .  That module also provides various other enhancements.
---
> , and may be on the CD supplied with the card. 
> That module also provides various other enhancements,
> and may be necessary to use the DVI (digital) output on the G550
> (and other cards).
153c156
< Leonard N. Zubkoff.
---
> Leonard N. Zubkoff, Andrew C. Aitchison.



Re: [XFree86] Matrox G550 + DVI

2003-01-21 Thread Don
> > OS: FreeBSD 4.7, FreeBSD -CURRENT
> > XFree Version: 4.2.1, 4.2.99.3, 4.2.99.4
> > Hardware: Matrox G550 + ViewSonic VG171 17" LCD
> >
> > Any attempt to get this configuration working using DVI fails.
> >
> > If I launch xf86cfg, the monitor simply displays "Out Of Range"
> >
> > I have tried to insert modelines and to make this work by hand, but so far
> > I have had almost no luck.
> >
> > One time the monitor did manage to display a jumping image and when I
> > checked the screen information, it was claiming a 1600x1200 input on an
> > LCD only capable of 1280x1024.
> >
> > I have tried forcing DigitalScreen and other options. Am I missing
> > something?
>
> (II) Loading sub module "mga_hal"
> (II) LoadModule: "mga_hal"
> (WW) Warning, couldn't open module mga_hal
> (II) UnloadModule: "mga_hal"
> (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
> (II) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead
>
> The mga_hal submodule is a binary file mga_hal_drv.o which isn't part of
> XFree86, but is provided by Matrox.
> I find that using it gives better results with the DVI output on my G550.
>
> There is a version of this file on the CD that came with my G550, at
>   Linux/drivers/xfree86/4.1.0/drivers/mga_hal_drv.o
> but I use a version intended for XFree86 version 4.2.0 that came with the
> Matrox Linux drivers on their web site. You may find that the CD with a
> newer card has the 4.2.0 version on it.
>
> XFree86 built from our sources will use the binary mga_hal_drv.o,
> but I've found that the version shipped with Red Hat 8.0 does not
> use this module even if it is available.
I saw this on a few sites but everything referenced 4.2.0. It was
obviously foolish to think it had been fixed in the newer revisions.

Is there some reason that the XFree86 page does not mention that DVI
output is not supported on the G450 and G550 cards?

-Don

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] Matrox G550 + DVI

2003-01-21 Thread Dr Andrew C Aitchison
On Tue, 21 Jan 2003, Don wrote:

> OS: FreeBSD 4.7, FreeBSD -CURRENT
> XFree Version: 4.2.1, 4.2.99.3, 4.2.99.4
> Hardware: Matrox G550 + ViewSonic VG171 17" LCD
> 
> Any attempt to get this configuration working using DVI fails.
> 
> If I launch xf86cfg, the monitor simply displays "Out Of Range"
> 
> I have tried to insert modelines and to make this work by hand, but so far
> I have had almost no luck.
> 
> One time the monitor did manage to display a jumping image and when I
> checked the screen information, it was claiming a 1600x1200 input on an
> LCD only capable of 1280x1024.
> 
> I have tried forcing DigitalScreen and other options. Am I missing
> something?

(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(WW) Warning, couldn't open module mga_hal
(II) UnloadModule: "mga_hal"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(II) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead

The mga_hal submodule is a binary file mga_hal_drv.o which isn't part of 
XFree86, but is provided by Matrox.
I find that using it gives better results with the DVI output on my G550.

There is a version of this file on the CD that came with my G550, at
Linux/drivers/xfree86/4.1.0/drivers/mga_hal_drv.o
but I use a version intended for XFree86 version 4.2.0 that came with the 
Matrox Linux drivers on their web site. You may find that the CD with a 
newer card has the 4.2.0 version on it.

XFree86 built from our sources will use the binary mga_hal_drv.o,
but I've found that the version shipped with Red Hat 8.0 does not
use this module even if it is available.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



[XFree86] Matrox G550 + DVI

2003-01-21 Thread Don
OS: FreeBSD 4.7, FreeBSD -CURRENT
XFree Version: 4.2.1, 4.2.99.3, 4.2.99.4
Hardware: Matrox G550 + ViewSonic VG171 17" LCD

Any attempt to get this configuration working using DVI fails.

If I launch xf86cfg, the monitor simply displays "Out Of Range"

I have tried to insert modelines and to make this work by hand, but so far
I have had almost no luck.

One time the monitor did manage to display a jumping image and when I
checked the screen information, it was claiming a 1600x1200 input on an
LCD only capable of 1280x1024.

I have tried forcing DigitalScreen and other options. Am I missing
something?

Thanks in advance,
-Don


XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF] 
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.8.log", Time: Tue Jan 21 04:43:50 2003
(++) Using config file: "/root/XF86Config.new"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"

(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0645 card 1039,0645 rev 02 class 06,00,00 hdr 80
(II) PCI: 00:01:0: chip 1039,0001 card , rev 00 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 1039,0008 card , rev 00 class 06,01,00 hdr 80
(II) PCI: 00:02:2: chip 1039,7001 card 1039,7001 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:3: chip 1039,7001 card 1039,7001 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev d0 class 01,01,80 hdr 80
(II) PCI: 00:0a:0: chip 1013,6003 card 5053,3357 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:0c:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 102b,2527 card 102b,0f84 rev 01 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0x - 0x (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0e (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
[0] -1  0xe600 - 0xe8ff (0x300) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1  0xe400 - 0xe5ff (0x200) MX[B]
(II) Bus -1: bridge is at (0:2:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) Matrox MGA G550 AGP rev 1, Mem @ 0xe400/25, 0xe600/14, 
0xe700/23