* XFree86 4.3.0 [Re: [suse-axp] ...]
2003-05-25 7:17 ` Mike A. Harris
@ 2003-05-25 12:05 ` Ivan Kokshaysky
2003-05-26 0:53 ` Mike A. Harris
0 siblings, 1 reply; 5+ messages in thread
From: Ivan Kokshaysky @ 2003-05-25 12:05 UTC (permalink / raw)
To: axp-list
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,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: XFree86 4.3.0 [Re: [suse-axp] ...]
2003-05-25 12:05 ` XFree86 4.3.0 [Re: [suse-axp] ...] Ivan Kokshaysky
@ 2003-05-26 0:53 ` Mike A. Harris
0 siblings, 0 replies; 5+ messages in thread
From: Mike A. Harris @ 2003-05-26 0:53 UTC (permalink / raw)
To: axp-list
On Sun, 25 May 2003, Ivan Kokshaysky 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?
I don't personally submit patches upstream that I can't verify
personally, or to which I don't have time to verify personally,
as XFree86.org gets pissy on the submitter if they haven't tested
a patch they've submitted, however...
To submit a patch upstream, submit a bug report to XFree86.org
via http://bugs.xfree86.org indicating the above info, and attach
the patch to the bug report via bugzilla file attachment.
If you'd like me to include the patch in Red Hat rpm packaging
also, please submit an RFE in Red Hat bugzilla with the patch
attached also (or just a http link to XFree86 bugzilla) and I'd
be glad to review it and probably include it in our rpms if it
checks out ok with other Alpha folk (George France, Jeff,
etc.) too.
--
Mike A. Harris ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: XFree86 4.3.0 [Re: [suse-axp] ...]
@ 2003-05-27 8:29 Heid Oliver
2003-05-27 8:45 ` Mike A. Harris
0 siblings, 1 reply; 5+ messages in thread
From: Heid Oliver @ 2003-05-27 8:29 UTC (permalink / raw)
To: 'axp-list@redhat.com'
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: XFree86 4.3.0 [Re: [suse-axp] ...]
2003-05-27 8:29 XFree86 4.3.0 [Re: [suse-axp] ...] Heid Oliver
@ 2003-05-27 8:45 ` Mike A. Harris
2003-05-27 14:45 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Mike A. Harris @ 2003-05-27 8:45 UTC (permalink / raw)
To: 'axp-list@redhat.com'
On Tue, 27 May 2003, Heid Oliver wrote:
>Date: Tue, 27 May 2003 10:29:44 +0200
>From: Heid Oliver <oliver.heid@siemens.com>
>To: "'axp-list@redhat.com'" <axp-list@redhat.com>
>Content-Type: text/plain;
> charset="iso-8859-1"
>List-Id: Linux and Red Hat on Alpha processors <axp-list.redhat.com>
>Subject: RE: XFree86 4.3.0 [Re: [suse-axp] ...]
>
>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!!
Sounds good. I'll add it to my next rpms if someone files it in
bugzilla as a reminder, with patch as a file attachment. (Cut
and paste usually renders patches useless).
TIA
--
Mike A. Harris ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: XFree86 4.3.0 [Re: [suse-axp] ...]
2003-05-27 8:45 ` Mike A. Harris
@ 2003-05-27 14:45 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 2003-05-27 14:45 UTC (permalink / raw)
To: axp-list
On Tue, May 27, 2003 at 04:45:13AM -0400, Mike A. Harris wrote:
> On Tue, 27 May 2003, Heid Oliver wrote:
> >
> >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!!
>
> Sounds good. I'll add it to my next rpms if someone files it in
> bugzilla as a reminder, with patch as a file attachment.
OK, I will do it unles Ivan will tell me that he did that himself. :-)
In "rawhide" category, I guess.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-05-27 14:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 8:29 XFree86 4.3.0 [Re: [suse-axp] ...] Heid Oliver
2003-05-27 8:45 ` Mike A. Harris
2003-05-27 14:45 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2003-05-24 23:36 [suse-axp] is dead too :( [announce] SuSE Linux 8.1 Alpha Edition available Arkadiy Chapkis - Arc
2003-05-25 7:17 ` Mike A. Harris
2003-05-25 12:05 ` XFree86 4.3.0 [Re: [suse-axp] ...] Ivan Kokshaysky
2003-05-26 0:53 ` Mike A. Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox