bugzilla-daemon at freedesktop.org
2008-Feb-06 01:06 UTC
[Nouveau] [Bug 14393] New: NV11 card is not detected properly by nouveau on big-endian box
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Summary: NV11 card is not detected properly by nouveau on big- endian box Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: henrik.sorensen at gmail.com QAContact: xorg-team at lists.x.org Created an attachment (id=14162) --> (http://bugs.freedesktop.org/attachment.cgi?id=14162) Xorg log The system is a gigabit g4 powermac with a PC AGP NV11 (10de:0110) flashed with a mac ROM. While the drm module seems to identify it as a NV11, the nouveau ddx driver does not. [drm] Detected an NV11 generation card (0x011000b2) vs (--) NOUVEAU(0): Chipset: "NVIDIA NV20" There's also a message in further down in the log that seems to suggest endian issues. (EE) NOUVEAU(0): Card is in big endian mode, something is very wrong ! -- Configure bugmail: http://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
2008-Feb-06 01:07 UTC
[Nouveau] [Bug 14393] NV11 card is not detected properly by nouveau on big-endian box
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #1 from Henrik S?rensen <henrik.sorensen at gmail.com> 2008-02-05 17:07:24 PST --- Created an attachment (id=14163) --> (http://bugs.freedesktop.org/attachment.cgi?id=14163) Kernel log -- Configure bugmail: http://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
2008-Feb-14 15:05 UTC
[Nouveau] [Bug 14393] NV11 card is not detected properly by nouveau on big-endian box
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Henrik S?rensen <henrik.sorensen at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14162|0 |1 is obsolete| | --- Comment #2 from Henrik S?rensen <henrik.sorensen at gmail.com> 2008-02-14 07:05:43 PST --- Created an attachment (id=14309) --> (http://bugs.freedesktop.org/attachment.cgi?id=14309) X log -- Configure bugmail: http://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
2008-Feb-14 15:06 UTC
[Nouveau] [Bug 14393] NV11 card is not detected properly by nouveau on big-endian box
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #3 from Henrik S?rensen <henrik.sorensen at gmail.com> 2008-02-14 07:06:44 PST --- Either because of code changes or due to the system firmware being upgraded to 4.2.8, the card is now detected as a nv11. However it does not get far without crashing with a fifo lockup, the x checkboard partern and x cursor is shown for only a second. -- Configure bugmail: http://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
2008-Feb-14 15:07 UTC
[Nouveau] [Bug 14393] fifo lockup with nv11 in ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Henrik S?rensen <henrik.sorensen at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|NV11 card is not detected |fifo lockup with nv11 in ppc |properly by nouveau on big- |machine |endian box | -- Configure bugmail: http://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
2008-Feb-14 15:08 UTC
[Nouveau] [Bug 14393] fifo lockup with nv11 in ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Henrik S?rensen <henrik.sorensen at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14163|0 |1 is obsolete| | --- Comment #4 from Henrik S?rensen <henrik.sorensen at gmail.com> 2008-02-14 07:08:03 PST --- Created an attachment (id=14310) --> (http://bugs.freedesktop.org/attachment.cgi?id=14310) kernel log -- Configure bugmail: http://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
2008-Feb-14 16:08 UTC
[Nouveau] [Bug 14393] fifo lockup with nv11 in ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Henrik S?rensen <henrik.sorensen at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14162|1 |0 is obsolete| | -- Configure bugmail: http://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
2008-Feb-14 16:08 UTC
[Nouveau] [Bug 14393] fifo lockup with nv11 in ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Henrik S?rensen <henrik.sorensen at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14163|1 |0 is obsolete| | -- Configure bugmail: http://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
2008-Feb-14 16:10 UTC
[Nouveau] [Bug 14393] fifo lockup with nv11 in ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #5 from Henrik S?rensen <henrik.sorensen at gmail.com> 2008-02-14 08:10:25 PST --- Sigh.. I was way to quick. The card had been initialised by the nv driver before I started X with the nouveau driver. If the machine is booted without nv having run, it is back to the old behaviour. (NV20 detected and 0 MiB of ram). -- Configure bugmail: http://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
2008-Feb-14 16:13 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Henrik S?rensen <henrik.sorensen at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|fifo lockup with nv11 in ppc|Card detected as NV20 |machine |(endian issue?) With nv | |driver run first, fifo | |lockup on nv11ppc machine -- Configure bugmail: http://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
2008-Jul-11 04:28 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #6 from Danny <obiwan at mailmij.org> 2008-07-10 21:28:09 PST --- Created an attachment (id=17630) --> (http://bugs.freedesktop.org/attachment.cgi?id=17630) correctly set endian access in nouveau_state.c The first issue (card being in the wrong mode) is probably a bug in the drm. Both nv and nvidiafb set up BE access by writing 0x01000001 to NV03_PMC_BOOT_1 (instead of 0x00000001 as done by drm). This also explains why it worked after running nv (nv set up the card correctly). Patch is attached. The second problem is probably something else. It may have been fixed in the meantime, so pls test. Actually, the drm used to write 0x01000001 but this was changed by marcheu in commit 30353c8efcc026ee8940f3eadab084c42a3acd4e. I do not know the reason of this change. d. -- Configure bugmail: http://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
2009-Sep-23 11:56 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #7 from Pekka Paalanen <pq at iki.fi> 2009-09-23 04:56:41 PST --- The code in current DRM still is: #ifdef __BIG_ENDIAN /* Put the card in BE mode if it's not */ if (nv_rd32(dev, NV03_PMC_BOOT_1)) nv_wr32(dev, NV03_PMC_BOOT_1, 0x00000001); DRM_MEMORYBARRIER(); #endif Does the patch change anything? How does Nouveau currently work with and without the patch? The patch may not apply as is, but you can easily do the equivalent change by hand in drivers/gpu/drm/nouveau/nouveau_state.c in the nouveau/linux-2.6 kernel tree, near line 540. -- Configure bugmail: http://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
2009-Sep-23 12:16 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #8 from Chi-Thanh Christopher Nguyen <chithanh at cs.tu-berlin.de> 2009-09-23 05:16:57 PST --- Reports in IRC suggest that the issue still exists. It might be a good idea to ask the committer of 30353c8efcc026ee8940f3eadab084c42a3acd4e what was the reasoning behind the change. -- Configure bugmail: http://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
2009-Sep-23 12:27 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
http://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #9 from Stephane Marchesin <marchesin at icps.u-strasbg.fr> 2009-09-23 05:27:20 PST --- (In reply to comment #8)> Reports in IRC suggest that the issue still exists. > > It might be a good idea to ask the committer of > 30353c8efcc026ee8940f3eadab084c42a3acd4e what was the reasoning behind the > change. >That change was motivated by the fact that it fixed at least one system. If you (PPC guys) can come up with a patch that pleases everyone with a PPC, I think we're more than happy to merge it... -- Configure bugmail: http://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
2011-Aug-23 20:32 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
https://bugs.freedesktop.org/show_bug.cgi?id=14393 --- Comment #10 from Emil Velikov <emil.l.velikov at gmail.com> 2011-08-23 13:32:07 PDT --- Changes almost identical to the proposed patch are part of upstream for a while now. Can you try the latest nouvea-git or linux-3.1 Both of which include the commit "drm/nouveau: fix big-endian switch" Thanks -- 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
2011-Dec-05 18:09 UTC
[Nouveau] [Bug 14393] Card detected as NV20 (endian issue?) With nv driver run first, fifo lockup on nv11ppc machine
https://bugs.freedesktop.org/show_bug.cgi?id=14393 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
Seemingly Similar Threads
- [Bug 14567] New: Randr 1.2 fails on nv17 lvds in a Dell Inspiron 8100 ( continued from 14491)
- [Bug 17185] New: Black Display when using Nouveau on 7300gt with dvi to hdmi attached Sony 32W4000
- [Bug 14491] New: enabling randr-1. 2 support causes LVDS unknown config bits error when starting the X server
- Testing basic direct x capability
- [Bug 14822] New: nv11 is offset one line vertically with randr1.2