NVAF chipset not supported by nouveau

Bug #602518 reported by Marcin Kościelnicki
52
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

NVAF is a chipset used by GeForce 320M card, which in turn is used on recent MacBookPro. Trying to use it with current ubuntu
results in the following kernel messages:

[ 63.031163] [drm] nouveau 0000:04:00.0: I don't know how to make a ctxprog for your NVaf card.
[ 63.031166] [drm] nouveau 0000:04:00.0: Disabling acceleration. Please contact the devs.

Adding support for this chipset requires getting a mmiotrace of the binary nvidia driver running on it - see nouveau wiki for details.

Note that I'm *not* experiencing this bug, I'm a nouveau developer and was asked to create a bug entry for this issue to gather data.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Marcin,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 602518

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dave Walker (davewalker) wrote :

As requested, here is a mmiotrace. If you require further information, please feel free to request it.

Thanks.

Changed in linux (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Marcin Kościelnicki (koriakin) wrote :

Ew. No good news, Apparently blob uses a different method to write to card's memory on this chipset, since it's an IGP and uses stolen system RAM instead of dedicated VRAM. And this doesn't go through mmiotrace.

We're having a brainstorm on how to modify the mmiotrace/blob to catch the required stuff. One idea is to use older blob, since we somehow got valid traces for NVAA/NVAC IGPs in the past. But I have no idea how much older it'd have to be. Possibly too old to support NVAF.

Alternatively, I could try guessing the remaining required stuff from strand scan instead. This involves the following:

1. Load blob, run X, glxgears.
2. Kill X, unload blob.
3. git clone git://0x04.net/pgtest && cd pgtest && make
4. sudo ./peek 400000 10000 > nvaf-mmio
5. sudo ./strscan > nvaf-strscan
6. Submit the two resulting files

Note that these two commands should be run without blob loaded, or stuff will explode.

Revision history for this message
Dave Walker (davewalker) wrote :

@Marcin. Okay, sorry that trace wasn't of more use.

I will provide the additional data as requested later today, unless someone else provides it first.

Thanks.

Revision history for this message
Marcin Kościelnicki (koriakin) wrote :

ping?

Revision history for this message
Dave Walker (davewalker) wrote :
Revision history for this message
Dave Walker (davewalker) wrote :

@Marcin, apologies for the delay. Here is the two files, the nvaf-mmio appears less than useful :/

$ cat /tmp/nvaf-mmio
...

Revision history for this message
Marcin Kościelnicki (koriakin) wrote :

hmm, maybe blob turns off PGRAPH after unload... how about doing the peek after strscan?

The strscan looks good and I should be able to reconstruct corresponding part of grctx with it.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
amichair (amichai2) wrote : Respectable apps sale

Get the great di ui scou ww nts on popular so yk ft nmd wa wf re today at www.superdigitalriverranch.com.ua
All s zx of kf wa soy re is instantly available to do re wnl ef oad - No Need Wait!
ALL OUR SO rlm FTW lc ARE wg S ON ALL EUROPEAN LANGUAGES -
USA, English, France, Italy, Spanish, German and more!!!

SO tpq FTW yem ARE:Windows 7 Ultimate 32 bit89.95Windows 7 Ultimate 64 bit89.95Office Professional Plus 2010 32-bit89.95Office Professional Plus 2010 64-bit89.95Adobe Photoshop CS5 Extended69.95Office Professional 200769.95Adobe Acrobat 9 Pro Extended59.95Windows XP Professional with Service Pack 359.95Office Home and Student 200749.95
Also we have so mu tkl ch s skv of zv t for MA ag CIN gn TO esr SH!!!Adobe Creative Suite 5 Master Collection for MAC259.95Adobe Creative Suite 5 Design Premium for MAC179.95Microsoft Office 2008 Standart Edition for MAC119.95Aperture 3 for MAC79.95Adobe Photoshop CS5 Extended for MAC69.95
To re bnf vi aen ew full list of the offers, v imx is leu it www.superdigitalriverranch.com.ua

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.