public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Dinosaur Matrox Mystique: corruption
Date: Sat, 19 Nov 2005 16:46:25 +0100	[thread overview]
Message-ID: <20051119164625.770ca69d.hilse@web.de> (raw)
In-Reply-To: <7bef1f890511170656x6977f2d3wd61ecd63d757abb3@mail.gmail.com>

Hi,

On Fri, 18 Nov 2005 00:56:18 +1000
"Alan E. Davis" <lngndvs@gmail.com> wrote:

> I backed down to 1024xsomething: vertical lines were scalloped/wavy. Someone
> mentioned this would be a timing issue, but I don't know what I'd do to
> microadjust timing? xvidtune? I'll try it.

That won't help. I'm currently using a mystique and am having the very
same problem. It's _very_ easy to circumvent but requires a recompile
of xorg. The fix still hasn't made it into xorg CVS. Maybe time to
write another bug report. But i think I remember having written one for
XFree86, which behaved the same way. I was told that it was merely a
timing issue but AFAIK this isn't configurable und it was fixed in 4.5.
But I never tried that out.

To "fix" the issue, I usually did the following:
1. $ emerge xorg-x11
   waited after the moment when everything is unpacked and patched and hit CTRL-Z
2. $ vi /var/tmp/portage/xorg-x11.../work/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c

search for the lines:
|/* MGAISBUSY() reportedly causes a freeze for Mystique revision 2 and older */
|    if (!(pMga->Chipset == PCI_CHIP_MGA1064 && (pMga->ChipRev >= 0 && pMga->ChipRev <= 2)))
|        while(MGAISBUSY());

Reading the comment exactly, it is easy to fix it (i.e. it couldn't work for Rev. 2):
|    if (!(pMga->Chipset == PCI_CHIP_MGA1064 && (pMga->ChipRev >= 0 && pMga->ChipRev < 2)))
(i.e., changing "<= 2" to "< 2")

3. $ fg
   to continue the suspended emerge job

I'd suggest making a binary package and saving it somewhere...


-hwh
-- 
gentoo-user@gentoo.org mailing list



      parent reply	other threads:[~2005-11-19 15:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 10:50 [gentoo-user] Dinosaur Matrox Mystique: corruption Alan E. Davis
2005-11-17  1:52 ` Bob Sanders
2005-11-17 14:56   ` Alan E. Davis
2005-11-18  2:49     ` Bob Sanders
2005-11-18  3:11       ` Alan E. Davis
2005-11-18  4:54         ` Bob Sanders
2005-11-19  5:36     ` Walter Dnes
2005-11-19  5:57       ` kashani
2005-11-20  3:45         ` Walter Dnes
2005-11-20 14:02           ` Alan E. Davis
2005-11-25  0:29             ` Alan E. Davis
2005-11-25  0:32               ` Alan E. Davis
2005-11-19 15:46     ` Hans-Werner Hilse [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051119164625.770ca69d.hilse@web.de \
    --to=hilse@web.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox