From mboxrd@z Thu Jan 1 00:00:00 1970 From: aik Subject: Re: running x.org on powerpc64 with nvidia6200 Date: Mon, 16 Feb 2009 22:19:29 +0300 Message-ID: <4999BC41.2060200@gmail.com> References: <49959366.2000805@gmail.com> <6a89f9d50902131507h23cf0b50h62c887502d028073@mail.gmail.com> <49968B05.4090701@gmail.com> <6a89f9d50902140232h4b262deby85e7b437067fbc99@mail.gmail.com> <21d7e9970902142118u50a56366u2efa5fe0d8aadd72@mail.gmail.com> <49996AD8.2010602@gmail.com> <586c2acd0902160759u535b18dfsb5554f5a2d1a3d21@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0958315511==" Return-path: In-Reply-To: <586c2acd0902160759u535b18dfsb5554f5a2d1a3d21-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Younes Manton Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org This is a multi-part message in MIME format. --===============0958315511== Content-Type: multipart/alternative; boundary="------------040200030503090002030909" This is a multi-part message in MIME format. --------------040200030503090002030909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Younes Manton wrote: > On Mon, Feb 16, 2009 at 8:32 AM, aik wrote: > >> Then, I made a try to move the card to domain #0. Having the BIOS source >> code, it was easy. >> But it keeps failing with the same error - >> (EE) NOUVEAU(0): wrong DRM version >> (EE) NOUVEAU(0): 1365: >> >> What does it mean? >> I'm also a little confused by a try loading something called "int10h" >> which does not exist in any form on my server. >> >> >> Linux Fedora 10, DRI/DRM has been taken from GIT less than week ago. >> > > It means your DRM kernel module and X driver don't match. That is > strange, since it should fail to compile first I think. Somehow you > had the right DRM module at compile time but not at runtime? Try > getting the latest for both and recompiling. > > /* temporary lock step versioning */ > #if NOUVEAU_DRM_HEADER_PATCHLEVEL != 12 > #error nouveau_drm.h does not match expected patchlevel, update libdrm. > #endif > if (pNv->pKernelDRMVersion->version_patchlevel != > NOUVEAU_DRM_HEADER_PATCHLEVEL) { > xf86DrvMsg(pScrn->scrnIndex, X_ERROR, > "wrong DRM version\n"); > return FALSE; > } > > I knew that I'm missing something essential :-) I forgot about xf86 driver... It does not compile: git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau cd xf86-video-nouveau ./autogen.sh [...] checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 ./configure: line 20777: syntax error near unexpected token `RANDR,' ./configure: line 20777: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)' --------------040200030503090002030909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Younes Manton wrote:
On Mon, Feb 16, 2009 at 8:32 AM, aik <aik.rsdn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
  
Then, I made a try to move the card to domain #0. Having the BIOS source
code, it was easy.
But it keeps failing with the same error -
(EE) NOUVEAU(0): wrong DRM version
(EE) NOUVEAU(0): 1365:

What does it mean?
I'm also a little confused by a try loading something called "int10h"
which does not exist in any form on my server.


Linux Fedora 10, DRI/DRM has been taken from GIT less than week ago.
    

It means your DRM kernel module and X driver don't match. That is
strange, since it should fail to compile first I think. Somehow you
had the right DRM module at compile time but not at runtime? Try
getting the latest for both and recompiling.

        /* temporary lock step versioning */
#if NOUVEAU_DRM_HEADER_PATCHLEVEL != 12
#error nouveau_drm.h does not match expected patchlevel, update libdrm.
#endif
        if (pNv->pKernelDRMVersion->version_patchlevel !=
                        NOUVEAU_DRM_HEADER_PATCHLEVEL) {
                xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
                        "wrong DRM version\n");
                return FALSE;
        }

  
I knew that I'm missing something essential :-) I forgot about xf86 driver... It does not compile:

git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau
cd xf86-video-nouveau
./autogen.sh
[...]
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
./configure: line 20777: syntax error near unexpected token `RANDR,'
./configure: line 20777: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'


--------------040200030503090002030909-- --===============0958315511== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0958315511==--