bugzilla-daemon at freedesktop.org
2012-Feb-24 06:13 UTC
[Nouveau] [Bug 46557] New: nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Bug #: 46557 Summary: nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1 Classification: Unclassified Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: salah.coronya at gmail.com QAContact: xorg-team at lists.x.org Created attachment 57574 --> https://bugs.freedesktop.org/attachment.cgi?id=57574 live dmesg before X was started When I start nouveau with 2D acceleration the framebuffer is unusable (typically displays frozen contents of the last shutdown), but the keyboard is responsive. Once X starts, the display is unreadable - anything to a tiled staircase picture to a partially solid grey screen, with no mouse cursor, and the keyboard locks up - no responsive from the caps/num/scroll locks keys, however it DOES respond to Magic SysRQ. The machine itself doesn't seem hard locked, though. The syslog is spammed with tons of message from the nouveau driver complaining about PFIFO_CACHE_ERROR, PFIFO_DMA_PUSHER: MEM_FAULT, INVALID_CMD, CALL_SUBR_ACTIVE, etc - varies wildly on each boot. Sometimes its only few errors, sometimes tons of them, but the end result is the same. Tried with the nouveau git tree on freedesktop 2/23. using nouveau.nofbaccel=1 clears up the framebuffer corruption, but the X display corruption/lockups still happen Display adapter: 00:05.0 VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 2a34 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M] Region 3: Memory at fb000000 (64-bit, non-prefetchable) [size=16M] [virtual] Expansion ROM at c0000000 [disabled] [size=128K] Capabilities: [48] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Kernel driver in use: nouveau Kernel modules: nouveau -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Feb-24 06:13 UTC
[Nouveau] [Bug 46557] nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #1 from Salah Coronya <salah.coronya at gmail.com> 2012-02-23 22:13:58 PST --- Created attachment 57575 --> https://bugs.freedesktop.org/attachment.cgi?id=57575 Xorg logs -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-04 08:30 UTC
[Nouveau] [Bug 46557] nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #2 from Salah Coronya <salah.coronya at gmail.com> 2012-05-04 01:30:53 PDT --- Created attachment 61012 --> https://bugs.freedesktop.org/attachment.cgi?id=61012 Picture from the framebugger after the nouveau drivers loads with acceleration Using the current (5/2/12) nouveau git -this is a picture from the framebuffer when nouveau loads and acceleration is enabled - it displays the shutdown screen from the previous boot and the display is frozen. It stay this way until either the driver is unloaded or the GPU hangs and the fbcon code switches back to software fbcon (dmesg displays "GPU lockup - switching to software fbcon"). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-09 22:53 UTC
[Nouveau] [Bug 46557] nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #3 from Salah Coronya <salah.coronya at gmail.com> 2012-05-09 15:53:36 PDT --- Created attachment 61315 --> https://bugs.freedesktop.org/attachment.cgi?id=61315 VBOIS from card vios dump attached; also sent mmiotrace via e-mail. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-13 08:07 UTC
[Nouveau] [Bug 46557] nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #4 from Salah Coronya <salah.coronya at gmail.com> 2012-05-13 01:07:06 PDT --- After experimenting with a few kernels, acceleration works in the framebuffer and X normally on 32-bit (x86) kernels; but not on 64-bit (amd64) kernels. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-17 18:30 UTC
[Nouveau] [Bug 46557] nouveau: nv40 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Salah Coronya <salah.coronya at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nouveau: nv40 display |nouveau: nv40 2D |corruption in framebuffer |acceleration broken on |and X lockups unless |64-bit kernel; works on |nouveau.noaccel=1 |32-bit -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-22 09:54 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Salah Coronya <salah.coronya at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nouveau: nv40 2D |nouveau: nv4E 2D |acceleration broken on |acceleration broken on |64-bit kernel; works on |64-bit kernel; works on |32-bit |32-bit -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-22 16:55 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Salah Coronya <salah.coronya at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57574|0 |1 is obsolete| | --- Comment #5 from Salah Coronya <salah.coronya at gmail.com> 2012-05-22 09:55:47 PDT --- Created attachment 61969 --> https://bugs.freedesktop.org/attachment.cgi?id=61969 64-bit dmesg Here's the "bad" 64-bit dmesg from kernel 3.4.0 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-May-22 16:57 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #6 from Salah Coronya <salah.coronya at gmail.com> 2012-05-22 09:57:19 PDT --- Created attachment 61970 --> https://bugs.freedesktop.org/attachment.cgi?id=61970 32-bit dmesg This is the "good" 32-bit dmesg for comaprison (both dmesg have drm.debug=0x06) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-02 05:51 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #7 from Salah Coronya <salah.coronya at gmail.com> 2012-06-01 22:51:07 PDT --- After playing with kernel command line, I've found the problem does not occur in a 64-bit kernel if mem=2G is added the kernel command line (the machine in question has 3G of RAM). The higher the mem above that, the great the chance of corruption - its hard to tell exactly when its an issue because its intermittent - sometimes it work, sometimes it doesn't, (So far, 5 attempts at 2G no failures on either X for the framebuffer, whereas one start at 2G + 80M worked but the second time it did not) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 10:52 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #16 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 10:52:34 UTC --- Sorry, I said my notebook had 3G of RAM. I misremembered. It has 2.25G. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:10 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #8 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 06:10:59 PDT --- I experience something similar on my notebook. - AMD Turion CPU; 3GiB RAM; nVidia GeForce Go 6100 video controller - was working fine with 64 bit Ubuntu 10.04 using nv X video driver - problems on 64 bit Ubuntu 12.04 with nouveau driver (VESA driver works but does not support native resolution) Symptoms are various. Simplest, on fully updated system: LightDM seems to work to allow login but Unity desktop does not show up except for background. dmesg shows a lot of messages like this (and variants): [drm] nouveau 0000:00:05.0: PFIFO_DMA_PUSHER - Ch 3 Get 0x01256038 Put 0x011c60b0 State 0x4ffe0004 (err: INVALID_MTHD) Push 0x00000000 /var/log/Xorg.0.log shows lots of mayhem after this message: [mi] EQ overflowing. Additional events will be discarded until existing events are processed. Adding mem=2g to kernel seems to fix the problem! Thanks Salah for this discovery! Thanks xexaxo on #nouveau for recognizing my problem and pointing me here! I will attach logs. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:14 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #9 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 06:14:37 PDT --- Created attachment 63133 --> https://bugs.freedesktop.org/attachment.cgi?id=63133 Hugh's dmesg + lspci + /proc/modules -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:16 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #10 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 06:16:18 PDT --- Created attachment 63134 --> https://bugs.freedesktop.org/attachment.cgi?id=63134 Hugh's Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:18 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #11 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 06:18:58 PDT --- Created attachment 63135 --> https://bugs.freedesktop.org/attachment.cgi?id=63135 Hugh's mem=2g dmesg + lspci -v + /proc/modules -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:19 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #12 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 06:19:47 PDT --- Created attachment 63136 --> https://bugs.freedesktop.org/attachment.cgi?id=63136 Hugh's mem=2g Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:25 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #63133|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:26 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #63134|text/x-log |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:26 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #63135|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 13:27 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #63136|text/x-log |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 14:16 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #13 from Marcin Slusarz <marcin.slusarz at gmail.com> 2012-06-17 07:16:35 PDT --- Created attachment 63137 --> https://bugs.freedesktop.org/attachment.cgi?id=63137 ugly workaround Does this patch help too? It's still a workaround, but it doesn't lose memory above 2GB. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 15:03 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #14 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 08:03:12 PDT --- Marcin: Thanks for the proposed patch. I'm in "dumb Ubuntu user mode". Would testing your patch be valuable to the cause, valuable enough for me to learn how to learn how to rebuild Ubuntu kernels, with patches? (I've rebuilt CentOS kernels and long ago built kernel.org kernels, but not debian or Ubuntu kernels.) Is there a good test for "broken PCI/AGP" hardware? I take it that there is a lot broken at the 4G boundary but you suspect mine is broken at the 2G boundary. Possibly relevant factoid: the notebook is speced to accept 4G of RAM but won't with this BIOS (the latest). It will accept 4G with an older BIOS. The manufacturer (Acer) does not accept that this is a defect. I had guessed (based on no evidence) that there was a sign-extension bug in the nouveau code. That guess was based on the apparent fact that a 32-bit kernel worked. How do you distinguish hardware vs software bug? Your patch should bypass either. I would have thought that a kernel parameter to set MAX_DMA32_PFN might be useful. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 16:02 UTC
[Nouveau] [Bug 46557] nouveau: nv4E 2D acceleration broken on 64-bit kernel; works on 32-bit
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #15 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 09:02:34 PDT --- Thinking some more. Some inconclusive evidence that this is not a hardware bug: 64-bit Ubuntu worked fine on it with 3G of RAM. So to does the MS Windows Vista. This surely included DMAing into the high 1G by disk I/O, DVD writer I/O, and video driver I/O. What's new is nouveau. Perhaps it uses part of the video controller that nv and Vista do not, part that does defective DMA, but that isn't obvious to me. (Note: I'm using "DMA" in the computer architecture sense, not the IBM PC clone sense.) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 20:00 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA about 31-bit (2 G)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Salah Coronya <salah.coronya at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nouveau: nv4E 2D |nouveau: NV4E acceleration |acceleration broken on |corruption when DMA about |64-bit kernel; works on |31-bit (2 G) |32-bit | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 20:12 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA about 31-bit (2 G)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #17 from Salah Coronya <salah.coronya at gmail.com> 2012-06-17 13:12:54 PDT --- The above "workaround" works. Framebuffer is OK, X is good, glxgears runs without having to specify mem=2G (this is against the nouveau git). I think it is buggy hardware - its just the blob and Windows driver know about it and only do 31-bit DMA (or maybe they just get lucky). Attempting to set dma_bits=31 in nouveau_vram_init cause nouveau_sgdma_init to mail to map the page, and attempting to allocate a suitable page using pci_alloc_consistent / dna_alloc_coherent or alloc_page GFP_DMA flag causes BUGs and paging faults. If I specify if I specify both nouveau.vram_pushbuf=1 AND nouveau.vram_notify=1 (just one alone does not work), it "soft of" works without mem=2G. The framebuffer is OK. X is still distorted but not as badly and isn't locked up, and the dmesg is no longer filled with errors, but glxgears does not work (it doesn't crash but just shows crazy flashing triangles). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-17 21:26 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA about 31-bit (2 G)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #18 from D. Hugh Redelmeier <hugh at mimosa.com> 2012-06-17 14:26:03 PDT --- Salah: If the limitation were in the hardware, why would the kernel arch (32 bit vs 64 bit) make a difference? By the time that addresses get to the PCI bus, the architecture should make no difference. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jun-19 05:20 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Salah Coronya <salah.coronya at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nouveau: NV4E acceleration |nouveau: NV4E acceleration |corruption when DMA about |corruption when DMA above |31-bit (2 G) |31-bit (2 Gig barrier) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Sep-16 19:45 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |baldur at email.de --- Comment #19 from Marcin Slusarz <marcin.slusarz at gmail.com> 2012-09-16 19:45:48 UTC --- *** Bug 54988 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Oct-02 16:24 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #20 from Marcin Slusarz <marcin.slusarz at gmail.com> --- I talked to Ben about this bug at XDC2012 and he told me we are using nv04-style virtual memory interface, because of some then unknown bugs in nv4x implementation - and this is probably the reason why you are seeing this bug. Since XDC, Ben fixed and enabled nv4x-style virtual memory in nouveau.git, so please test it! -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121002/57043db8/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-03 07:47 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #21 from Salah Coronya <salah.coronya at gmail.com> --- Created attachment 68024 --> https://bugs.freedesktop.org/attachment.cgi?id=68024&action=edit dmesg of new kernel It runs FAR better - the distortion and lockups are gone, and the picture us substantially better (on par with the blob). Its not quite 100% - X crashes reliably if I switch to another VT, back to X, and then use something with video acceleration (after it crashes and restart its distored like before, but not locked up. If I apply the workaround in bug 31961, X still crashes but restarts withotu distortion) Regardless of console switching, CACHE_ERROR start flooding the syslog but not immedately, but there no noticable artfacts or slowdown. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121003/5d559fae/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-03 11:14 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #22 from baldur at email.de --- For my system (reported Bug 54988) it starts up now and works for a RAM size of 3G. But after logging into the gnome desktop the screen becomes blurry and and while trying to open any gnome menu, the screen gets scrambled now. This is even a problem when i boot with mem=2G - this used to work with the current version of the fedora driver in kernel 3.5.4. Seems the DMA problem is gone, however some new bugs are showing up :-) System Description is still the same as 54988. I am running a current fedora kernel,patched with nouveau from 2nd October. Linux version 3.5.4-2.localnouveau.fc17.x86_64 (root at baldur) (gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ) #1 SMP Wed Oct 3 11:36:49 CEST 2012 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121003/f588285f/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-03 11:21 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #23 from baldur at email.de --- here is the output for nouveau from dmesg [ 1.098755] nouveau 0000:00:05.0: >setting latency timer to 64 [ 1.099370] nouveau [ DEVICE][0000:00:05.0] BOOT0 : 0x04e000a2 [ 1.099374] nouveau [ DEVICE][0000:00:05.0] Chipset: C51 (NV4E) [ 1.099377] nouveau [ DEVICE][0000:00:05.0] Family : NV40 [ 1.100226] nouveau [ VBIOS][0000:00:05.0] checking PRAMIN for image... [ 1.136693] nouveau [ VBIOS][0000:00:05.0] ... appears to be valid [ 1.136696] nouveau [ VBIOS][0000:00:05.0] using image from PRAMIN [ 1.136922] nouveau [ VBIOS][0000:00:05.0] BIT signature found [ 1.136925] nouveau [ VBIOS][0000:00:05.0] version 05.51.22.33 [ 1.137122] nouveau [ PFB][0000:00:05.0] RAM type: stolen system memory [ 1.137125] nouveau [ PFB][0000:00:05.0] RAM size: 32 MiB [ 1.789533] nouveau [ DRM] VRAM: 29 MiB [ 1.789540] nouveau [ DRM] GART: 512 MiB [ 1.789546] nouveau [ DRM] BIT BIOS found [ 1.789550] nouveau [ DRM] Bios version 05.51.22.33 [ 1.789554] nouveau [ DRM] TMDS table version 1.1 [ 1.789557] nouveau [ DRM] DCB version 3.0 [ 1.789560] nouveau [ DRM] DCB outp 00: 02000300 00000023 [ 1.789563] nouveau [ DRM] DCB outp 01: 03011312 00000000 [ 1.789566] nouveau [ DRM] DCB outp 02: 020023f1 0040c080 [ 1.789569] nouveau [ DRM] DCB conn 00: 0000 [ 1.789572] nouveau [ DRM] DCB conn 01: 0131 [ 1.789575] nouveau [ DRM] DCB conn 02: 0210 [ 1.789577] nouveau [ DRM] DCB conn 03: 0211 [ 1.789580] nouveau [ DRM] DCB conn 04: 0213 [ 1.791153] nouveau [ DRM] 0xD186: Parsing digital output script table [ 1.841924] nouveau [ DRM] 1 available performance level(s) [ 1.841930] nouveau [ DRM] 0: core 475MHz shader 475MHz fanspeed 100% [ 1.841932] nouveau [ DRM] c: [ 1.843560] nouveau [ DRM] MM: using M2MF for buffer copies [ 1.843567] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 1.843570] nouveau [ DRM] Setting dpms mode 3 on tmds encoder (output 1) [ 1.843574] nouveau [ DRM] Setting dpms mode 3 on TV encoder (output 2) [ 1.878032] nouveau [ DRM] Load detected on output B [ 1.892156] nouveau [ DRM] allocated 1024x768 fb: 0x9000, bo ffff880036fed400 [ 1.892270] fbcon: nouveaufb (fb0) is primary device [ 1.902714] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 1.902716] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 1.903846] fb0: nouveaufb frame buffer device [ 1.903853] [drm] Initialized nouveau 1.1.0 20120801 for 0000:00:05.0 on minor 0 [ 1.980036] nouveau [ DRM] Load detected on output B [ 2.081584] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 2.101978] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 2.101986] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 36.584586] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 36.604973] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 36.604978] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 37.232622] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 37.253031] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 37.253038] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 37.268629] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 37.289024] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 37.289028] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 37.381346] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 37.401716] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 37.401720] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 42.247520] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 42.267901] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 42.267906] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 55.168028] nouveau [ DRM] Load detected on output B [ 55.185027] nouveau [ DRM] Load detected on output B [ 58.741447] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 58.761829] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 58.761833] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 59.054034] nouveau [ DRM] Load detected on output B [ 62.834059] nouveau [ DRM] Load detected on output B [ 63.022824] nouveau [ DRM] Load detected on output B [ 67.077190] nouveau E[ DRM] fail ttm_validate [ 67.077198] nouveau E[ DRM] validate vram_list [ 67.077208] nouveau E[ DRM] validate: -12 [ 67.137161] nouveau E[ DRM] fail ttm_validate [ 67.137169] nouveau E[ DRM] validate vram_list [ 67.137175] nouveau E[ DRM] validate: -12 [ 77.311034] nouveau [ DRM] Load detected on output B [ 80.197045] nouveau [ DRM] Load detected on output B [ 80.290070] nouveau [ DRM] Load detected on output B [ 87.611597] nouveau E[ DRM] fail ttm_validate [ 87.611605] nouveau E[ DRM] validate vram_list [ 87.611611] nouveau E[ DRM] validate: -12 [ 87.637939] nouveau E[ DRM] fail ttm_validate [ 87.637946] nouveau E[ DRM] validate vram_list [ 87.637950] nouveau E[ DRM] validate: -12 [ 211.914453] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 211.934857] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 211.934862] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 256.428249] nouveau [ DRM] Setting dpms mode 3 on vga encoder (output 0) [ 256.448634] nouveau [ DRM] Setting dpms mode 0 on vga encoder (output 0) [ 256.448638] nouveau [ DRM] Output VGA-1 is running on CRTC 0 using output B [ 256.481072] nouveau [ DRM] Load detected on output B -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121003/e5698df9/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-03 22:38 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #24 from Emil Velikov <emil.l.velikov at gmail.com> --- (In reply to comment #23)> here is the output for nouveau from dmesg > > ... > [ 1.098755] nouveau 0000:00:05.0: >setting latency timer to 64 > ... > [ 67.077190] nouveau E[ DRM] fail ttm_validate > [ 67.077198] nouveau E[ DRM] validate vram_list > [ 67.077208] nouveau E[ DRM] validate: -12 (ENOMEM) > ...You have allocated only 32MB of RAM for the GPU Try bumping it to 128 or 256MB it should resolve your issue -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121003/08259a94/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-29 14:26 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #25 from Rapha?l Droz <gibboris at gmail.com> --- Created attachment 69231 --> https://bugs.freedesktop.org/attachment.cgi?id=69231&action=edit dmesg|egrep -i 'drm|agp|fb' I regularly encounter a similar trace as in the first attachment (attachment 57574) since I went from 1.5G RAM to 4G RAM using an NV34 [GeForce FX 5200]. (linux 3.6.0, xf86-video-nouveau 1.0.2) It happens almost every day, by the end of the day, always during (basic) graphical operation (eg: open a PDF viewer) -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121029/8d0e37ba/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Nov-07 12:19 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #26 from m.b.lankhorst at gmail.com --- Judging from the errors, I'd say it can't look up the handle it created. Diving into the old dma implementation seems The handles for vram and gart could not be looked up, so guessing an invalid entry was used. Does setting dma_bits = 32 inside drivers/gpu/drm/nouveau/core/subdev/vm/nv44.c help? The old nouveau driver seemed to have commented out the part about 39-bits support for cards < nv50. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121107/1e36e0bd/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Nov-30 17:42 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #27 from Rapha?l Droz <gibboris at gmail.com> --- Created attachment 70841 --> https://bugs.freedesktop.org/attachment.cgi?id=70841&action=edit nouveau CALL_SUBR_ACTIVE errors using dma_bits=32 kernel on NV34 I tried your suggestion about setting dma_bits to 32 inside drivers/gpu/drm/nouveau/core/subdev/vm/nv44.c. but sadly the same issue arises (dmesg attached). I hope I'm still wise to post those traces (from my NV34) in this bug report and hope the root cause is common. I currently use the drm kernel module with debug=2, debug=3 dumps too much output, but let me know if this can provide additional useful info. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121130/4c5940d2/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-26 17:15 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #28 from Rapha?l Droz <gibboris at gmail.com> --- I should add that I've no problem with 3GB. Problem arises when I add 1 more GB. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121226/d2276e84/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-28 01:33 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #29 from Marcin Slusarz <marcin.slusarz at gmail.com> --- Created attachment 72201 --> https://bugs.freedesktop.org/attachment.cgi?id=72201&action=edit limit vm size to 31 bits (nv04-nv40,nv45) Ok, original Salah's issue seems to be fixed. Xorg crashes and CACHE_ERRORs look like separate bugs - please open new bug reports for them (note that for CACHE_ERRORs I advise running nouveau git kernel with http://lists.freedesktop.org/archives/nouveau/2012-December/011780.html). Rapha?l Droz's: you have nv34, so changing something in *nv44.c* obviously won't fix anything for you... Does the above patch help? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121228/4c09baed/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-28 23:38 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #30 from Salah Coronya <salah.coronya at gmail.com> --- As of kernel 3.7, xorg-1.13, nouveau DDX 1.0.4, mesa-9.0 all the errors related to ths bug are gone for me - no distortion, no crashes, and no CACHE_ERROR, even after switching VT and running accelerated programs for over a week. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121228/6c596c47/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-29 12:21 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #31 from Rapha?l Droz <gibboris at gmail.com> --- I switched to 3.7.0 and I can't reproduce either. All seems stable with 4GB. I'm confident, but I may need to do longer testing. Note that I can consistently throw "nouveau: ib channel create, -22" messages (eg: each time I run glxgears) but they seem harmless (and maybe even unrelated) -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121229/e063db92/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-29 13:06 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #72201|0 |1 is obsolete| | -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121229/e9210d30/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-29 13:09 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #32 from Marcin Slusarz <marcin.slusarz at gmail.com> --- Heh, you probably were experiencing different bug. "ib channel create" messages are not errors - if you turn debugging off you won't see them again. I'm changing status of this bug to RESOLVED FIXED. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121229/a88342a0/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-29 14:35 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #33 from Rapha?l Droz <gibboris at gmail.com> --- Created attachment 72253 --> https://bugs.freedesktop.org/attachment.cgi?id=72253&action=edit nouveau CALL_SUBR_ACTIVE errors unpatched 3.7.0 oops, I spoke too soon. It just happened again with an unpatched 3.7 kernel. I'll come back later after testing your patch, heavily. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121229/e607b22e/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Mar-01 17:53 UTC
[Nouveau] [Bug 46557] nouveau: NV4E acceleration corruption when DMA above 31-bit (2 Gig barrier)
https://bugs.freedesktop.org/show_bug.cgi?id=46557 --- Comment #34 from Rapha?l Droz <gibboris at gmail.com> --- Created attachment 75747 --> https://bugs.freedesktop.org/attachment.cgi?id=75747&action=edit netconsole log of a NV34 crash when mem > 3GB Finally I took some time to seriously (netconsole) dig "how" it crashes when I boot using my 4th memory module. trace attached -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130301/9af690fd/attachment.html>
Seemingly Similar Threads
- [Bug 54988] New: [C51PV] Garbage on initial Console Screen
- [Bug 55258] New: nouveau failure on resume (reloc wait_idle failed)
- [Bug 31961] New: [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
- [Bug 50121] New: [Regression] NV34 Fx5200 fails to resume with commit 5d720f2450
- [Bug 36422] New: unable to hibernate with nouveau and NV11 [bisected]