Skip to contentSkip to conversation

New: [NVA5] Created FIFOs do not work

Bug 39988 [email protected] 1 participant 13 messages Aug 10, 2011 – Dec 6, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=39988

Summary: [NVA5] Created FIFOs do not work
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=50104)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50104)
kernel log with drm.debug=15

I must currently use 'noaccel=1' to use nouveau on my NVA5 (GT 220, 1GB vram).

While debugging, it appeared the extra created FIFOs simply do not run at all, and trigger PFIFO_DMA_PUSHER errors, with IB_EMPTY status. The first of these errors happen in nouveau_dma_init() function, which is the first one to be run after creation of a new FIFO.

I must add 'vram_pushbuf=1' to kernel parameters to not have these errors at start, however, adding 'vram_notify=1' appears to have not effect.

X crashes at start if I do not use 'noaccel=1', with or without 'vram_pushbuf=1', triggering PFIFO_DMA_PUSHER errors, with INVALID_CMD status.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-39988-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

https://bugs.freedesktop.org/show_bug.cgi?id=39988

Patrice Mandin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #50104|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #1 from Patrice Mandin <[email protected]> 2011-08-10 14:29:29 PDT --- Created an attachment (id=50105)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50105)
kernel log, when trying to start X

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #2 from Ben Skeggs <[email protected]> 2011-08-10 16:00:55 PDT --- I've noticed you mention this issue on IRC previously.

Am I misremembering that you also mentioned that some other board doesn't work in that machine either? And that the NVIDIA binary driver does not work?

If the binary driver works, please post a kmmio trace of it.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #3 from Patrice Mandin <[email protected]> 2011-08-11 02:54:05 PDT --- The blob works, and also no problem in Windows either.

I'll do an mmio trace, and also update/retest everything with the nv46.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #5 from Ben Skeggs <[email protected]> 2011-08-11 04:14:05 PDT --- Created an attachment (id=50120)
View: https://bugs.freedesktop.org/attachment.cgi?id=50120
Review: https://bugs.freedesktop.org/review?bug=39988&attachment=50120

try harder at forcing vram pushbufs

Thanks for the trace, I shall attempt to look at it tomorrow (bed time now!).

From what you said, I presume console accel works okay with vram_pushbuf=1? If that's the case, does X work too with this patch?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #6 from Patrice Mandin <[email protected]> 2011-08-11 07:16:40 PDT --- Yes, console acceleration works with vram_pushbuf=1.
With your patch, X starts now, albeit showing full garbage.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #7 from Patrice Mandin <[email protected]> 2011-08-11 07:17:14 PDT --- Created an attachment (id=50132)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50132)
X screenshot with patch

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #8 from Ben Skeggs <[email protected]> 2011-08-11 17:25:32 PDT --- Created an attachment (id=50147)
View: https://bugs.freedesktop.org/attachment.cgi?id=50147
Review: https://bugs.freedesktop.org/review?bug=39988&attachment=50147

reset pci bus mastering at init time

Hmmm.. Yes, it looks like your card is completely failing to access system memory for some reason. I can't believe it's a general issue with us setting up page tables etc, we'd surely have seen this report a *lot* more otherwise..

The binary driver resets PCI bus mastering really early on during init, lets give that a go for starters..

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #9 from Patrice Mandin <[email protected]> 2011-08-12 07:00:53 PDT --- Created an attachment (id=50161)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50161)
X screenshot with pci bus mastering patch

It's a bit better with this second patch. KDE Menu, and many other stuff, are readable now, when they were partly full of garbage previously.

I also think it's something specific to my system, as you say. My motherboard has Via PT880 chipset, and can support an AGP or a PCI-E video card.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

Patrice Mandin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #10 from Patrice Mandin <[email protected]> 2011-11-23 12:57:28 PST --- My motherboard BIOS had option "PCIE VC1 Request Queue" set to [Auto]. When
putting this setting as [Disabled], there is no problem anymore, and everything
works correctly.

Will check that is also fixes the issue with my NV46 (bug #32494 ).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 39988] [NVA5] Created FIFOs do not work

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=39988

--- Comment #11 from Patrice Mandin <[email protected]> 2011-12-06 11:56:01 PST --- *** Bug 32494 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.