All of lore.kernel.org
 help / color / mirror / Atom feed
From: aik <aik.rsdn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: running x.org on powerpc64 with nvidia6200
Date: Fri, 13 Feb 2009 22:49:59 +0300	[thread overview]
Message-ID: <4995CEE7.2040805@gmail.com> (raw)
In-Reply-To: <20090213211243.60d6955a-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 3546 bytes --]

Thanks for the prompt reply. My comments are below.


Pekka Paalanen wrote:
>> 0005:01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 
>> 6200 LE] (rev a1) (prog-if 00 [VGA controller])
>>     
>
> Hmm, note the bus id.
>   

I actually did, but I have no idea how to interpret this. x86 linux show 
only 3 numbers for every device, but this server has 6 PCI roots with 
separate bus numbering so if we want to use 3 numbers system, the bus-id 
needs to be fixed somehow...

>> [root@localhost ~]# ls -la /dev/fb*
>> crw------- 1 root root 29, 0 2009-02-13 10:19 /dev/fb
>>     
>
> This is offb, right? If it is nvidiafb, you need to use... can't recall,
> see here: http://nouveau.freedesktop.org/wiki/Kernel_Framebuffer_Driver
>
> The device you should get from nouveau DRM is /dev/dri/card0.
Note this place. I'll ask later :)
>
>> (II) Primary Device is: PCI 01@05:00:0
>>     
>
> Above it says bus id (5@1:0:0) and here 01@05:00:0...
> could that be the problem?
>
>   
I'd like anybody to tell what do they write (or see after auto-config) 
as PCI-id for their videos on ppc. I think that it might be a problem.

>> Section "Device"
>>         Driver      "nouveau"
>>         VendorName  "nVidia Corporation"
>>         BoardName   "NV44 [GeForce 6200 LE]"
>>         BusID       "PCI:1:0:0"
>>     
>
> And this is a third bus id, different from the two above?
> It's confusing at least. Try without any BusID in config?
>   

For example? What string would at least look correct? I did try a lot of 
them but to no avail.
>> 3. what am I doing wrong in my expirements? I can see 4 types of drivers:
>> - original drivers coming with the fedora10 kernel (I got rid of them 
>> before started playing with nouveau because they did not create even 
>> /dev/fb*);
>>     
>
> That's the kernel framebuffer driver device, which is usually harmful
> to accelerated X.org drivers, but since you have ppc, you probably
> need something. The offb driver in kernel should work.
>   


Is /dev/dri/card0 the only device node needed for X? Do not we need /dev/fb(0) as well? Or we need both, do we?


>> - drm drivers (which are replacement for the original onesm right?)
>>     
> Original what?
>   
Original I meant is the .ko which appears after compiling the Linux 
kernel with the nVidia driver enabled as a module.
My point was that there can be only it OR drm driver loaded. At least, 
the original drriver does not start (and does not create /dev/fb - I am 
not sure tha it has to, but anyway) because it fails on reading the 
nVidia registers in the very beginning (while executing its _probe) - 
all the memory space mapped via PCI BAR0 is empty.

> DRM modules are the kernel part of the Nouveau driver. Without them you
> don't get any acceleration. These are not kernel framebuffer drivers (yet,
> at least).
>   

But is the original (from the linux kernel tree) driver required to make 
things working at all?

>> - x.org drivers (which I've not changed/replaced)
>>     
>
> nouveau_drv.so, required, from git.
>   

It is accessed via /dev/dri/card0, right?

>> - mesa drivers - what is their role - I still do not understand.
>>     
>
> 3D acceleration. Not in any usable state at this time, and not
> included in any Mesa release yet. You can just forget it and enjoy
> software OpenGL rendering.
>   

Cool! There are already too many things so excluding any of them is 
helpful :-)

Actually I start thinking that I need to look for the linux capable to 
start with X on PlayStation3. It can have clues...

[-- Attachment #1.2: Type: text/html, Size: 5744 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2009-02-13 19:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 15:36 running x.org on powerpc64 with nvidia6200 Alexey Kardashevsky
     [not found] ` <49959366.2000805-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-13 19:12   ` Pekka Paalanen
     [not found]     ` <20090213211243.60d6955a-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2009-02-13 19:49       ` aik [this message]
     [not found]         ` <4995CEE7.2040805-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-13 20:18           ` Pekka Paalanen
2009-02-13 23:07   ` Stephane Marchesin
     [not found]     ` <6a89f9d50902131507h23cf0b50h62c887502d028073-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-14  9:12       ` aik
     [not found]         ` <49968B05.4090701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-14 10:32           ` Stephane Marchesin
     [not found]             ` <6a89f9d50902140232h4b262deby85e7b437067fbc99-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-15  5:18               ` Dave Airlie
     [not found]                 ` <21d7e9970902142118u50a56366u2efa5fe0d8aadd72-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-15  9:09                   ` Stephane Marchesin
2009-02-16 13:32                   ` aik
     [not found]                     ` <49996AD8.2010602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-16 15:59                       ` Younes Manton
     [not found]                         ` <586c2acd0902160759u535b18dfsb5554f5a2d1a3d21-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-16 19:19                           ` aik
     [not found]                             ` <4999BC41.2060200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-16 20:22                               ` aik
     [not found]                                 ` <586c2acd0902170527u509cc3c8r63ddd372aac1e545@mail.gmail.com>
     [not found]                                   ` <586c2acd0902170527u509cc3c8r63ddd372aac1e545-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-17 14:47                                     ` aik
     [not found]                                       ` <499ACDF7.6050202-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-17 16:13                                         ` Younes Manton
2009-02-17 17:56                           ` aik
     [not found]                             ` <499AFA48.3070007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-24 10:35                               ` aik
     [not found]                                 ` <49A3CD5A.1050905-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-03-02 14:42                                   ` aik
2009-03-02 14:45                                   ` aik

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=4995CEE7.2040805@gmail.com \
    --to=aik.rsdn-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=pq-X3B1VOXEql0@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.