Bug 54056 - [NVAF] plenty of errors trapped write at plus PGRAPH error
Summary: [NVAF] plenty of errors trapped write at plus PGRAPH error
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-25 15:23 UTC by Alin M Elena
Modified: 2013-10-16 04:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg output (78.68 KB, text/plain)
2012-08-25 15:23 UTC, Alin M Elena
no flags Details
possible fix (468 bytes, patch)
2012-09-12 16:20 UTC, Marcin Slusarz
no flags Details | Splinter Review

Description Alin M Elena 2012-08-25 15:23:15 UTC
Created attachment 66109 [details]
dmesg output

Hi,

I have an nvidia 320m on a mac book pro 7,1.
I run opensuse on it... nouveau from yesterday's master [   14.127006] nouveau E[     
[alin@abbaton:~]: uname -a 
Linux abbaton.ucd.ie 3.6.0-rc2-1-desktop #1 SMP PREEMPT Tue Aug 21 16:17:16 UTC 2012 (e0fa472) x86_64 x86_64 x86_64 GNU/Linux

mesa version 
i | Mesa                    | package | 8.0.4-23.4  | x86_64 | openSUSE-Factory-Oss


I get plenty of these...
PFB][0000:04:00.0] trapped write at 0x0000369af0 on channel 0x0000fee0 BAR/PFIFO_WRITE/FB reason: VRAM_LIMIT
[   14.127006] nouveau E[     PFB][0000:04:00.0] trapped write at 0x00003a85cc on channel 0x0000fee0 BAR/PFIFO_WRITE/FB reason: VRAM_LIMIT
[   14.127006] nouveau E[     PFB][0000:04:00.0] trapped read at 0x00003e30f4 on channel 0x0000fee0 BAR/PFIFO_READ/FB reason: VRAM_LIMIT

plus this 
[   35.384336] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[   36.337789] nouveau E[  PGRAPH][0000:04:00.0] DATA_ERROR INVALID_VALUE
[   36.337794] nouveau  [  PGRAPH][0000:04:00.0]  DATA_ERROR
[   36.337799] nouveau E[  PGRAPH][0000:04:00.0] ch 2 [0x000fb4a000] subc 7 class 0x8697 mthd 0x16b0 data 0x00000000
[   62.805500] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[   64.363133] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable


as a side effect I get randomnly crashes of X but I do not know if is related to the write errors...

Alin
Comment 1 Sebastian@SSpaeth.de 2012-08-31 14:44:42 UTC
I get very similar symptoms, corrupted screen (Ubuntu login screen constantly attempts to redraw itself with widgets in the wrong place) and missing mouse pointer after login on my MacBookPro7,1 Nvidia 320M:

VM: trapped write at 0x00523b0000 on ch 2 [0x000007f9] PGRAPHG/PROP/DST2D reason: VRAM_LIMIT
...


there are *plenty* of those. Kernel is 3.5.0-13 #14-Ubuntu SMP

The very first *error* in dmesg that I can see is
 PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x000000003
Comment 2 Marcin Slusarz 2012-09-12 16:20:07 UTC
Created attachment 67059 [details] [review]
possible fix

Does this patch happen to fix your first issue by any chance?

Sebastian: your bug looks completely different. Please file new bug report as described here: http://nouveau.freedesktop.org/wiki/Bugs
Comment 3 Alin M Elena 2012-09-12 19:18:25 UTC
Hi Marcin,


I still have all the issues...  with the patch applied and today's master on 3.6.0rc5.

though it seems I donot get the random crashes anymore.

regards,
Alin
Comment 4 Ilia Mirkin 2013-08-24 02:05:51 UTC
Alin, please re-test with the latest kernel. If you're still having issues, please supply a complete dmesg form that kernel, as well as the Xorg.0.log. Also you could use a mesa upgrade (to at least 9.1).
Comment 5 Ilia Mirkin 2013-09-26 23:12:08 UTC
No response to re-test request in over a month. Closing as invalid.
Comment 6 Arun S A G 2013-10-15 19:44:52 UTC
I am running kernel 3.11

$ uname -a
Linux broughtfine-lm.eglbp.corp.yahoo.com 3.11.4-201.fc19.x86_64 #1 SMP Thu Oct 10 14:11:18 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I am also running gnome-shell (gnome 3), i see following messages in my dmesg

[ 4327.397129] nouveau E[  PGRAPH][0000:04:00.0] DATA_ERROR INVALID_VALUE
[ 4327.397137] nouveau E[  PGRAPH][0000:04:00.0]  DATA_ERROR
[ 4327.397142] nouveau E[  PGRAPH][0000:04:00.0] ch 5 [0x000fc2a000 gnome-shell[2200]] subc 3 class 0x8697 mthd 0x1458 data 0x00086d74
[ 4327.397806] nouveau E[     DRM] unexpected pageflip
[ 4481.699932] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[ 4503.038557] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[ 4503.904139] nouveau E[  PGRAPH][0000:04:00.0] DATA_ERROR INVALID_VALUE
[ 4503.904148] nouveau E[  PGRAPH][0000:04:00.0]  DATA_ERROR
[ 4503.904153] nouveau E[  PGRAPH][0000:04:00.0] ch 6 [0x000f7d8000 totem[7624]] subc 3 class 0x8697 mthd 0x0e04 data 0xff050000
[ 4503.904164] nouveau E[  PGRAPH][0000:04:00.0] DATA_ERROR INVALID_VALUE
[ 4503.904167] nouveau E[  PGRAPH][0000:04:00.0]  DATA_ERROR
[ 4503.904171] nouveau E[  PGRAPH][0000:04:00.0] ch 6 [0x000f7d8000 totem[7624]] subc 3 class 0x8697 mthd 0x0e08 data 0xfea80000
[ 4771.854097] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[ 4978.214759] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[ 4979.086082] nouveau E[  PGRAPH][0000:04:00.0] DATA_ERROR INVALID_VALUE
[ 4979.086090] nouveau E[  PGRAPH][0000:04:00.0]  DATA_ERROR
[ 4979.086096] nouveau E[  PGRAPH][0000:04:00.0] ch 6 [0x000f7d8000 totem[7759]] subc 3 class 0x8697 mthd 0x0e04 data 0xff9d0000
[ 4979.086107] nouveau E[  PGRAPH][0000:04:00.0] DATA_ERROR INVALID_VALUE
[ 4979.086110] nouveau E[  PGRAPH][0000:04:00.0]  DATA_ERROR
[ 4979.086114] nouveau E[  PGRAPH][0000:04:00.0] ch 6 [0x000f7d8000 totem[7759]] subc 3 class 0x8697 mthd 0x0e08 data 0xfdda0000
[ 4991.451072] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[ 5027.543718] nouveau W[    PCE0][0000:04:00.0] disabled, PCE0=1 to enable
[ 5396.792300] nouveau E[     DRM] unexpected pageflip
[ 5396.869805] nouveau E[     DRM] unexpected pageflip
[ 5398.272907] nouveau E[   PFIFO][0000:04:00.0] DMA_PUSHER - ch 5 [gnome-shell[2200]] get 0x0020166478 put 0x002016d2e8 ib_get 0x00000243 ib_put 0x00000244 state 0x80007698 (err: INVALID_CMD) push 0x003020b0
[ 5745.560979] nouveau E[   PFIFO][0000:04:00.0] DMA_PUSHER - ch 5 [gnome-shell[2200]] get 0x00201e877c put 0x00201ebfc4 ib_get 0x00000242 ib_put 0x00000243 state 0x80007088 (err: INVALID_CMD) push 0x003020b0
[ 5765.557657] nouveau E[   PFIFO][0000:04:00.0] DMA_PUSHER - ch 5 [gnome-shell[2200]] get 0x00200b9540 put 0x00200ba914 ib_get 0x00000217 ib_put 0x0000021b state 0x80000024 (err: INVALID_CMD) push 0x003020b0
[ 5765.557994] nouveau E[     DRM] unexpected pageflip
[ 6240.496808] nouveau E[   PFIFO][0000:04:00.0] DMA_PUSHER - ch 5 [gnome-shell[2200]] get 0x002018a4c8 put 0x002018e0f4 ib_get 0x0000005f ib_put 0x00000060 state 0x80007088 (err: INVALID_CMD) push 0x00400040
Comment 7 Emil Velikov 2013-10-15 22:59:51 UTC
Arun S A G

I'm not sure that reopening a bug, that you've did not report nor respond previously is a reasonable thing to do.

With that said, noone can imagine what the issue on your system could be considering the isolated snippet from dmesg.
For more info what is required take a look in here [1] and open a separate bug report.

Thanks
Emil

FWIW The *class 0x8697 mthd 0x0e0{4,8} data 0x* messages should not cause any issues.

[1] http://nouveau.freedesktop.org/wiki/Bugs/
http://nouveau.freedesktop.org/wiki/TroubleShooting/
http://nouveau.freedesktop.org/wiki/FAQ/
Comment 8 Arun S A G 2013-10-16 04:54:42 UTC
Sorry about that, i will open a separate bug. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.