Skip to contentSkip to conversation

New: Problems identifying card

Bug 55449 [email protected] 1 participant 4 messages Sep 29, 2012 – Sep 21, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 55449
Assignee: [email protected]
Summary: Problems identifying card
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: PowerPC
Status: NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg

I'm trying to bootstrap nouveau on the NV15 (Geforce 2 GTS / Asus V7700 TVR) card on my PowerPC board. System hangs early if the driver is made builtin into the kernel. I tried building the driver as module and here is the log:

nouveau 0000:f0:10.0: enabling device (0000 -> 0002)
nouveau 0000:f0:10.0: enabling bus mastering
[drm] nouveau 0000:f0:10.0: Detected an NV30 generation card (0xa3005001) [drm] nouveau 0000:f0:10.0: Unable to get the OF node
[drm] nouveau 0000:f0:10.0: Checking PRAMIN for VBIOS
[drm] nouveau 0000:f0:10.0: ... BIOS signature not found
[drm] nouveau 0000:f0:10.0: Checking PROM for VBIOS
[drm] nouveau 0000:f0:10.0: ... appears to be valid
[drm] nouveau 0000:f0:10.0: Using VBIOS from PROM
[drm] nouveau 0000:f0:10.0: BMP BIOS found
[drm] nouveau 0000:f0:10.0: BMP version 5.6
[drm] nouveau 0000:f0:10.0: Bios version 02.15.01.14
[drm] nouveau 0000:f0:10.0: No useful DCB data in VBIOS
[drm] nouveau 0000:f0:10.0: MXM: no VBIOS data, nothing to do [drm] nouveau 0000:f0:10.0: Adaptor not initialised, running VBIOS init tables. [drm] nouveau 0000:f0:10.0: PTIMER: unknown input clock freq
[TTM] Zone kernel: Available graphics memory: 501592 kiB
[TTM] Initializing pool allocator
[TTM] Initializing DMA pool allocator
[drm] nouveau 0000:f0:10.0: Detected 0MiB VRAM (SDRAM)
[drm] nouveau 0000:f0:10.0: 128 MiB GART (aperture) [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [TTM] Finalizing pool allocator
[TTM] Finalizing DMA pool allocator
[TTM] Zone kernel: Used memory at exit: 9 kiB
nouveau: probe of 0000:f0:10.0 failed with error -22

System information: PowerPC 970FX, Linux v3.6-rc7. AGP GART support is disabled as AGP is not working properly on this system.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 55449] Problems identifying card

In reply to a message not in the archive

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

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- OK, so the fundamental problem is that it's being detected as a NV30 card instead of NV15 due to a lack of byteswapping when reading in the the PMC.ID register (which should have come out as 0x015000a3). Once that goes wrong, all bets are off.

I know that another user was pretty close to getting a NV4x card to work (benh, the ppc maintainer), which would largely go through the same init paths (at least as far as mmio reads/writes are concerned). Could you test a more recent kernel (like 3.10 or 3.11) and see if this particular issue is still there?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 55449] [NV15] Problems identifying card on PPC big endian

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

            Summary|Problems identifying card   |[NV15] Problems identifying
                   |                            |card on PPC big endian
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 55449] [NV15] Problems identifying card on PPC big endian

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- No retest in a month, closing as invalid.

Note that NV15 did not have built-in big endian support for at least some stuff, not sure if nouveau handles that. But at least I thought that for basic MMIO stuff, it was supposed to work...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau