All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mihai Georgian <mihai-qazKcTl6WRFWk0Htik3J/w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Clock speed for GeForce 6100
Date: Sun, 01 Jun 2008 18:35:33 +0100	[thread overview]
Message-ID: <1212341733.27920.16.camel@meme.inline.com> (raw)

Hi,

The nouveau driver on my MSI K9N6GM (GeForce 6100 nForce 405)
motherboard generates a dot clock speed which is about 8% lower than the
value given in xorg.conf. The same happens with the nv driver. The same
appears to happen with other motherboards with GeForce 6100 (see
Bugzilla – Bug 12002).

I have seen reports of nVidia using the PCIE clock / 4 to drive some of
their cards and I noticed that 27000 / 25000 = 1.08. Applying the
following patch resolved my problem and now the nouveau driver works
fine for me:

diff -ur xf86-video-nv-2.1.6/nouveau-20070920/src/nv_setup.c
xf86-video-nv-2.1.6.mihai/nouveau-20070920/src/nv_setup.c
--- xf86-video-nv-2.1.6/nouveau-20070920/src/nv_setup.c 2007-09-19
23:17:39.000000000 +0100
+++ xf86-video-nv-2.1.6.mihai/nouveau-20070920/src/nv_setup.c
2008-06-01 15:45:53.000000000 +0100
@@ -333,7 +333,10 @@
     if(pNv->twoHeads && (implementation != CHIPSET_NV11))
     {
        if(nvReadEXTDEV(pNv, 0x0000) & (1 << 22))
-           pNv->CrystalFreqKHz = 27000;
+           if(implementation == CHIPSET_C512)
+               pNv->CrystalFreqKHz = 25000;
+           else
+               pNv->CrystalFreqKHz = 27000;
     }

     pNv->CURSOR           = NULL;  /* can't set this here */

A similar patch fixed the nv driver.

The above patch is against the nouveau version which comes with Fedora 8
but, looking at the current git, it appears that this part of the code
hasn't changed recently.

Regards,

Mihai



_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

                 reply	other threads:[~2008-06-01 17:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1212341733.27920.16.camel@meme.inline.com \
    --to=mihai-qazkctl6wrfwk0htik3j/w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.