From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (nat-pix.rdu.redhat.com [10.255.18.200]) by listman.rdu-colo.redhat.com (8.11.6/8.11.6) with ESMTP id h4R8Tn520805 for ; Tue, 27 May 2003 04:29:49 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h4R8Tx924297 for axp-list@listman.rdu-colo.redhat.com; Tue, 27 May 2003 04:29:59 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h4R8TwI24293 for ; Tue, 27 May 2003 04:29:59 -0400 Received: from atlantis.erlm.siemens.de (atlantis.erlm.siemens.de [212.114.202.14]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h4R8TwH09044 for ; Tue, 27 May 2003 04:29:58 -0400 Received: from scupi.erlm.siemens.de (scupi.erlm.siemens.de [146.254.160.13]) by atlantis.erlm.siemens.de (8.9.3p2/8.9.3) with ESMTP id KAA10864 for ; Tue, 27 May 2003 10:29:52 +0200 (MET DST) Received: from erlh910a.med.siemens.de (erlh910a.med.siemens.de [146.254.132.212]) by scupi.erlm.siemens.de (8.11.6/8.11.1) with ESMTP id h4R8ToS10867 for ; Tue, 27 May 2003 10:29:50 +0200 Received: by erlh910a.med.siemens.de with Internet Mail Service (5.5.2656.59) id ; Tue, 27 May 2003 10:29:49 +0200 Message-ID: <850F2E3B91BCD611A3FC00508B94988A01E19E7B@erlh908a.med.siemens.de> From: Heid Oliver To: "'axp-list@redhat.com'" Subject: RE: XFree86 4.3.0 [Re: [suse-axp] ...] Date: Tue, 27 May 2003 10:29:44 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: list Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Thanks, Ivan! Your mga_driver.c patch finally fixed that machine check problem that cleared the SRM variables all the time on my PC164. Great!! Oliver -----Original Message----- From: Ivan Kokshaysky [mailto:ink@jurassic.park.msu.ru] Sent: Sunday, May 25, 2003 14:05 To: axp-list@redhat.com Subject: XFree86 4.3.0 [Re: [suse-axp] ...] On Sun, May 25, 2003 at 03:17:03AM -0400, Mike A. Harris wrote: > There hasn't been any widescale testing of 4.3.0 on Alpha that > I'm aware of, so it may not be too stable. THen again, it might > be more stable. Hard to say. I had couple of problems with 4.3.0: - Detection of the primary adapter is broken. You have to set explicit PCI id in XF86Config to get the card detected as *secondary*. However, switching to VGA text console won't work then (most drivers don't save/restore VGA state for secondary adapters). - Rather old bug in mga driver (since 4.1.0, IIRC) - the driver attempts to read the video ROM *before* enabling it. Naturally, this causes annoying machine check on certain platforms. Fixes appended. Mike, could you include these in XFree rpms / push it upstream? Otherwise the 4.3.0 works just fine on my boxes (with matrox, voodoo and radeon cards). Ivan. --- xc.orig/programs/Xserver/hw/xfree86/common/xf86pciBus.c Tue Feb 18 18:42:11 2003 +++ xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c Fri Apr 18 15:56:36 2003 @@ -401,7 +401,7 @@ FindPCIVideoInfo(void) if ((pcrp->pci_command & PCI_CMD_MEM_ENABLE) && (num == 1 || ((info->class == PCI_CLASS_DISPLAY) && - (info->subclass == PCI_SUBCLASS_DISPLAY_MISC)))) { + (info->subclass == PCI_SUBCLASS_DISPLAY_VGA)))) { if (primaryBus.type == BUS_NONE) { primaryBus.type = BUS_PCI; primaryBus.id.pci.bus = pcrp->busnum; --- xc.orig/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c Wed Jan 29 22:29:49 2003 +++ xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c Thu Apr 17 17:19:35 2003 @@ -712,10 +712,6 @@ MGAReadBios(ScrnInfoPtr pScrn) pBios = &pMga->Bios; pBios2 = &pMga->Bios2; - /* Get the output mode set by the BIOS */ - xf86ReadDomainMemory(pMga->PciTag, pMga->BiosAddress + 0x7ff1u, - sizeof(CARD8), &pMga->BiosOutputMode); - /* * If the BIOS address was probed, it was found from the PCI config * space. If it was given in the config file, try to guess when it @@ -739,6 +735,9 @@ MGAReadBios(ScrnInfoPtr pScrn) return; } + /* Get the output mode set by the BIOS */ + pMga->BiosOutputMode = BIOS[0x7ff1]; + /* Get the video BIOS info block */ if (strncmp((char *)(&BIOS[45]), "MATROX", 6)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, _______________________________________________ Axp-list mailing list Axp-list@redhat.com https://www.redhat.com/mailman/listinfo/axp-list