Date: Tue, 02 Oct 2007 16:27:08 -0700 From: "Kevin Oberman" <oberman@es.net> To: Warren Block <wblock@wonkity.com> Cc: freebsd-x11@freebsd.org Subject: Re: Matrox mga driver on Xorg 7.3 Message-ID: <20071002232708.6BC4145014@ptavv.es.net> In-Reply-To: Your message of "Tue, 02 Oct 2007 15:08:04 MDT." <20071002144141.B49743@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1191367628_56357P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Tue, 2 Oct 2007 15:08:04 -0600 (MDT) > From: Warren Block <wblock@wonkity.com> > Sender: owner-freebsd-x11@freebsd.org > > There's a problem that seems to be FreeBSD-specific (6.2-STABLE) with > the mga driver, version 1.4.7 (and also with 1.9.99, which I've been > testing): > > (II) Module vgahw: vendor="X.Org Foundation" > compiled for 1.4.0, module version = 0.1.0 > ABI class: X.Org Video Driver, version 2.0 > (--) MGA(0): Chipset: "mgag400" (G450) > (==) MGA(0): Depth 24, (==) framebuffer bpp 32 > (==) MGA(0): RGB weight 888 > (==) MGA(0): Using AGP 1x mode > (==) MGA(0): Using XAA acceleration > (--) MGA(0): Linear framebuffer at 0xDC000000 > (==) MGA(0): MMIO registers at 0xDFEFC000 > (--) MGA(0): Pseudo-DMA transfer window at 0xDF000000 > (--) MGA(0): BIOS at 0xDFEC0000 > > At this point, it has a problem: > > Requesting insufficient memory window!: start: 0xdee00000 end: 0xdfefffff size 0x2000000 > (EE) Cannot find empty range to map base to > (WW) MGA(0): Video BIOS info block not detected! > > The driver still works, but without being able to get to the BIOS, it > can't determine BIOS version and card features. That's relevant to the > experimental mga 1.9.99, which supports the new xrandr features. In > turn, that means 1.9.99 can't see or enable the second output on the > G450 card. > > The newest version of Xorg I could find on a Linux liveCD (Xorg 7.2) > can find the BIOS: > > (--) MGA(0): Pseudo-DMA transfer window at 0xDF000000 > (--) MGA(0): BIOS at 0xDFEC0000 > (II) Attempted to read BIOS 64KB from /sys/bus/pci/devices/0000:01:00.0/rom: got 34KB > (--) MGA(0): Video BIOS info block at offset 0x07D00 > > pciconf entries that may be relevant: > > agp0@pci0:0:0: class=0x060000 card=0x00001106 chip=0x31891106 rev=0x80 hdr=0x00 > vendor = 'VIA Technologies Inc' > device = 'VT8377 Apollo KT400/A/600 CPU to PCI Bridge' > class = bridge > subclass = HOST-PCI > pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0xb1981106 rev=0x00 hdr=0x01 > vendor = 'VIA Technologies Inc' > device = 'ProSavageDDR P4X600 CPU to AGP Bridge' > class = bridge > subclass = PCI-PCI > drm0@pci1:0:0: class=0x030000 card=0x0641102b chip=0x0525102b rev=0x82 hdr=0x00 > vendor = 'Matrox Electronic Systems Ltd.' > device = 'MGA G450 Dual Head Chip of G450 graphics card' > class = display > subclass = VGA > > My crude attempts at tracking the problem down seem to point to > freebsdPci.c in xorg-server-1.4/hw/xfree86/os-support/bus/. > > It would be nice to fix this and get back the second VGA output. > > (Note: the mga-1.9.99 code just drops into a copy of the xf86-video-mga > port, and acts just like the 1.4.7 version.) I reported the same problem last week, but did not track it down nearly as far as you did. I really want my second display back, but I had assumed it was not FreeBSD specific, so thought that the issue was with Xorg. Thanks! (Have you submitted a PR on this?) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1191367628_56357P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHAtPMkn3rs5h7N1ERAi/zAJ4971m5CJRaNsyVG+HP9wTiLFhZiQCeMOdw 6pnQgytOKpCXWCeaew0YWGc= =tFs7 -----END PGP SIGNATURE----- --==_Exmh_1191367628_56357P--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002232708.6BC4145014>