All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: GM206 support?
Date: Sun, 22 Mar 2015 10:19:05 +0200	[thread overview]
Message-ID: <550E7AF9.5080609@free.fr> (raw)
In-Reply-To: <CAKb7UvgAZw2XrmanoMd7emGiBEGC_mC1VT4-7qzqKcb0terNtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 18/03/2015 00:59, Ilia Mirkin wrote:
> On Tue, Mar 17, 2015 at 6:40 PM, Andy Lutomirski <luto@amacapital.net> wrote:
>> On Tue, Mar 17, 2015 at 2:57 PM, Ilia Mirkin <imirkin@alum.mit.edu> wrote:
>>> On Tue, Mar 17, 2015 at 5:52 PM, Andy Lutomirski <luto@amacapital.net> wrote:
>>>> On Fri, Feb 13, 2015 at 9:52 PM, Ilia Mirkin <imirkin@alum.mit.edu> wrote:
>>>>> On Fri, Feb 13, 2015 at 8:59 PM, Andy Lutomirski <luto@amacapital.net> wrote:
>>>>>> My new GTX 960 (GM206, I think) says:
>>>>>>
>>>>>> [   10.329351] nouveau ![  DEVICE][0000:09:00.0] unknown Maxwell chipset
>>>>>> [   10.329355] nouveau E[  DEVICE][0000:09:00.0] unknown chipset, 0x126010a1
>>>>>> [   10.329356] nouveau E[     DRM] failed to create 0x00000080, -22
>>>>>> [   10.330129] nouveau: probe of 0000:09:00.0 failed with error -22
>>>>>>
>>>>>> Hacking up nouveau so that it treats it like a GM204 doesn't work.
>>>>> What happens if you just drop the 0x126 next to the 0x124 in
>>>>> engine/device/gm100.c ?
>>>>>
>>>>>> Are there any near-term plans to support this card?
>>>>> I don't know of anyone with the hw... maybe Ben got one? If you're
>>>>> interested in helping, the kernel logs from the above experiment + an
>>>>> mmiotrace of the blob drivers (see
>>>>> https://wiki.ubuntu.com/X/MMIOTracing) + vbios (see
>>>>> http://nouveau.freedesktop.org/wiki/DumpingVideoBios/).
>>>>>
>>>>> I assume you're on a recent kernel? You need 3.19 for the GM204 stuff
>>>>> to work in the first place.
>>>> Neither 3.19 nor 4.0-rcsomething works.
>>>>
>>>> I put an mmio trace (X startup and glxgears) and a vbios dump here:
>>>>
>>>> http://web.mit.edu/luto/www/GM206/
>>> Stefan sent proper patches to get nouveau going on his GM206, which
>>> will make it into the next 4.0-rc. Here is a tree that is destined
>>> towards drm-fixes:
>>>
>>> http://cgit.freedesktop.org/nouveau/linux-2.6/log/?h=linux-4.0
>>>
>>> Let us know if it makes the card work. (Definitely no acceleration
>>> without signed firmware for now though.)
>> The driver loads and seems to work.
> Excellent!
>
>> The nouveau X driver doesn't load, though.
> Yeah, xf86-video-nouveau has no support for the GM20x family? Note
> that even if it did load, you wouldn't get any acceleration -- may as
> well just use the 'xf86-video-modesetting' driver.
>
>> I tried to use the nvidia firmware:
>>
> [...]
>
>> with:
>>
>> options nouveau config=NvGrUseFW=1
>>
>> in my modprobe configuration, and that made no obvious difference,
>> even in the kernel logs.
> Right, that's expected. GM20x requires signed firmware. We haven't
> even gotten as far as being able to figure out what all the
> *proprietary* firmware is, never mind even loading it. It doesn't show
> up in mmiotraces, probably read by the card directly out of system
> memory. It's a multi-stage process, complicating RE. The firmware that
> you've extracted is exclusively for video decoding acceleration. You
> could extract firmware from 325.15 which will include the pgraph fuc
> blobs too [which would get loaded by NvGrUseFW=1], but nothing that'll
> help you.
This is something that the recent work done by Samuel could help. He
got the nvidia driver to work in kvm and then managed to trace the
MMIO operations. If the card really reads the fw from system memory,
it should show up in his trace.

More info: https://hakzsam.wordpress.com/2015/02/21/471/
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

      parent reply	other threads:[~2015-03-22  8:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-14  1:59 GM206 support? Andy Lutomirski
     [not found] ` <CALCETrVXm2ypJ1cRRzqwyoq-cowZn47eYv3JHmz7kW5b4TTTtA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-14  5:52   ` Ilia Mirkin
     [not found]     ` <CAKb7Uvi5zxN9_yw9OmuWLWDUz3Ce3xHYK4=fgp8Qp=nZu_N3hA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-21 14:28       ` Stefan Huehner
2015-03-17 21:52       ` Andy Lutomirski
     [not found]         ` <CALCETrV5XjUxOLvyd2qukJbx0s8+qwE3ivG8s-Koc1VPe_Zezg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-17 21:57           ` Ilia Mirkin
     [not found]             ` <CAKb7UvgpjeLUn2+kAfPpMaYkuJgYKEosr7uc7BySE2xS0mcQdg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-17 22:40               ` Andy Lutomirski
     [not found]                 ` <CALCETrV7tyDgz7OYw6GCTmk0hLFNhi1bMP+-Eabg5NuxBSXUeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-17 22:59                   ` Ilia Mirkin
     [not found]                     ` <CAKb7UvgAZw2XrmanoMd7emGiBEGC_mC1VT4-7qzqKcb0terNtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-18 10:25                       ` Stefan Huehner
     [not found]                         ` <20150318102538.GA30814-Xd65/bSt806pwFb5G8XvHQ@public.gmane.org>
2015-03-18 18:59                           ` Andy Lutomirski
2015-03-22  8:19                       ` Martin Peres [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=550E7AF9.5080609@free.fr \
    --to=martin.peres-ganu6spqydw@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.