This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Graphic acceleration failed to initialize

Other Parts Discussed in Thread: AM3358

I'm building a minimal system based on AM3358 using Bitbake/Arago and kernel 3.2 (modified psp04.06.00.10 kernel).  Everything works fine, except I can't get graphics acceleration working. I'm using OMAP35X-Graphics-SDK-04.09.00.01 .  Everything is built fine, but when I start the system, pvr-init fails with following errors:

Starting PVR
[   20.935119] Disabling lock debugging due to kernel taint
[   20.977142] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   20.985687] pgd = c7744000
[   20.988494] [00000000] *pgd=86138831, *pte=00000000, *ppte=00000000
[   20.995086] Internal error: Oops: 17 [#1]
[   20.999267] Modules linked in: omaplfb(O+) pvrsrvkm(O) wl12xx_sdio wl12xx mac80211 cfg80211
[   21.007995] CPU: 0    Tainted: G           O  (3.2.0 #1)
[   21.013671] PC is at AllocateDeviceID+0xc/0x54 [pvrsrvkm]
[   21.019348] LR is at PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm]
[   21.025878] pc : [<bf130ad4>]    lr : [<bf12c9a0>]    psr: 400f0013
[   21.025878] sp : c60b9e18  ip : c60b9e28  fp : c60b9e24
[   21.037872] r10: bf161428  r9 : bf1611e0  r8 : bf161094
[   21.043304] r7 : c769967c  r6 : 00000000  r5 : c7699604  r4 : 00000000
[   21.050109] r3 : c7058bc0  r2 : 00000001  r1 : c7058bc8  r0 : 00000000
[   21.056915] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   21.064361] Control: 10c5387d  Table: 87744019  DAC: 00000015
[   21.070373] Process modprobe (pid: 1315, stack limit = 0xc60b82f0)
[   21.076812] Stack: (0xc60b9e18 to 0xc60ba000)
[   21.081359] 9e00:                                                       c60b9e4c c60b9e28
[   21.089904] 9e20: bf12c9a0 bf130ad4 c7512400 c7058bc0 c7699600 bf16311c bf1610bc bf1610a8
[   21.098419] 9e40: c60b9e8c c60b9e50 bf161cf8 bf12c8b0 c01cbc70 c7557010 c7557000 00000004
[   21.106964] 9e60: 00000000 bf162fe8 bf162fe8 c05dc000 c60b8000 0000001c c0069280 bf165000
[   21.115509] 9e80: c60b9e9c c60b9e90 bf165010 bf1619b0 c60b9ef4 c60b9ea0 c000897c bf16500c
[   21.124053] 9ea0: c60b9ec4 c60b9eb0 00000002 00000000 c75cbc40 c89f0000 c60b9ee4 c60b9ec8
[   21.132568] 9ec0: bf162fe8 bf162fe8 c7512480 bf162fe8 bf162fe8 c7512480 00000001 0000001c
[   21.141113] 9ee0: c0069280 000007ed c60b9fa4 c60b9ef8 c006a718 c0008860 bf162ff4 00000000
[   21.149658] 9f00: 00000000 c0069380 c89f2970 c89f5b4c 00000000 bf163030 c00bdbb0 c05278d0
[   21.158172] 9f20: 00000000 00000000 00000000 00000000 00000000 00000000 c89f0000 00007ff1
[   21.166717] 9f40: c89f5674 c89f553b c89f7804 c7058bc0 00002124 000026b4 00000000 00000000
[   21.175262] 9f60: 0000001e 0000001f 0000000f 0000000d 0000000c 00000000 c60b9fa4 00007ff1
[   21.183776] 9f80: 00093718 00093758 00000080 c0014b28 c60b8000 00000000 00000000 c60b9fa8
[   21.192321] 9fa0: c0014980 c006a340 00007ff1 00093718 00093a40 00007ff1 00093758 00093768
[   21.200866] 9fc0: 00007ff1 00093718 00093758 00000080 00000007 000929cc 00000001 00093a9f
[   21.209381] 9fe0: be8699c0 be8699b0 00017c9c 48435ce0 800f0010 00093a40 6e554f49 5770616d
[   21.217926] Backtrace:
[   21.220550] [<bf130ac8>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf12c9a0>] (PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm])
[   21.232849] [<bf12c8a4>] (PVRSRVRegisterDCDeviceKM+0x0/0x188 [pvrsrvkm]) from [<bf161cf8>] (OMAPLFBInit+0x354/0x54c [omaplfb])
[   21.244720]  r7:bf1610a8 r6:bf1610bc r5:bf16311c r4:c7699600
[   21.250671] [<bf1619a4>] (OMAPLFBInit+0x0/0x54c [omaplfb]) from [<bf165010>] (OMAPLFB_Init+0x10/0x34 [omaplfb])
[   21.261230] [<bf165000>] (OMAPLFB_Init+0x0/0x34 [omaplfb]) from [<c000897c>] (do_one_initcall+0x128/0x1a8)
[   21.271301] [<c0008854>] (do_one_initcall+0x0/0x1a8) from [<c006a718>] (sys_init_module+0x3e4/0x1b68)
[   21.280944] [<c006a334>] (sys_init_module+0x0/0x1b68) from [<c0014980>] (ret_fast_syscall+0x0/0x30)
[   21.290374] Code: e89da830 e1a0c00d e92dd800 e24cb004 (e5902000)
[   21.296783] ---[ end trace ef7954ffdc4ccf5f ]---
Segmentation fault
[   21.318908] device class 'bccat': registering
[   21.323638] device: 'bccat0': device_add
[   21.328796] PM: Adding info for No Bus:bccat0
[   21.333526] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   21.342010] pgd = c61a4000
[   21.344818] [00000000] *pgd=87636831, *pte=00000000, *ppte=00000000
[   21.351379] Internal error: Oops: 17 [#2]
[   21.355560] Modules linked in: bufferclass_ti(O+) omaplfb(O+) pvrsrvkm(O) wl12xx_sdio wl12xx mac80211 cfg80211
[   21.366058] CPU: 0    Tainted: G      D    O  (3.2.0 #1)
[   21.371734] PC is at AllocateDeviceID+0xc/0x54 [pvrsrvkm]
[   21.377380] LR is at PVRSRVRegisterBCDeviceKM+0x108/0x18c [pvrsrvkm]
[   21.384002] pc : [<bf130ad4>]    lr : [<bf12c534>]    psr: 40000013
[   21.384033] sp : c6119e30  ip : c6119e40  fp : c6119e3c
[   21.395996] r10: bf168fa4  r9 : 00000000  r8 : bf12ddfc
[   21.401428] r7 : c773ea60  r6 : 00000000  r5 : c773ea44  r4 : 00000000
[   21.408264] r3 : 00000002  r2 : 00000009  r1 : c70587c8  r0 : 00000000
[   21.415069] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   21.422515] Control: 10c5387d  Table: 861a4019  DAC: 00000015
[   21.428497] Process modprobe (pid: 1316, stack limit = 0xc61182f0)
[   21.434936] Stack: (0xc6119e30 to 0xc611a000)
[   21.439483] 9e20:                                     c6119e64 c6119e40 bf12c534 bf130ad4
[   21.448028] 9e40: c7736b80 c70587c0 00000000 bf168fa4 bf168cac c773ea40 c6119e9c c6119e68
[   21.456573] 9e60: bf16b228 bf12c438 bf168cac 00000000 00000000 bf168e70 bf168e70 c05dc000
[   21.465087] 9e80: c6118000 0000001c c0069280 bf16b000 c6119ef4 c6119ea0 c000897c bf16b00c
[   21.473632] 9ea0: c6119ec4 c6119eb0 00000002 00000000 c7716640 c8bef000 c6119ee4 c6119ec8
[   21.482177] 9ec0: bf168e70 bf168e70 c75122c0 bf168e70 bf168e70 c75122c0 00000001 0000001c
[   21.490692] 9ee0: c0069280 0000036f c6119fa4 c6119ef8 c006a718 c0008860 bf168e7c 00000000
[   21.499237] 9f00: 00000000 c0069380 c8bf07f0 c8bf3934 00000000 bf168eb8 c00bdbb0 c05278d0
[   21.507781] 9f20: 00000000 00000000 00000000 00000000 00000000 00000000 c8bef000 0000620b
[   21.516326] 9f40: c8bf3484 c8bf335e c8bf4e9c c632d140 00000fdc 0000126c 00000000 00000000
[   21.524841] 9f60: 0000001d 0000001e 0000000e 0000000b 00000009 00000000 c6119fa4 0000620b
[   21.533386] 9f80: 00093718 00093760 00000080 c0014b28 c6118000 00000000 00000000 c6119fa8
[   21.541931] 9fa0: c0014980 c006a340 0000620b 00093718 00093a88 0000620b 00093760 00093770
[   21.550445] 9fc0: 0000620b 00093718 00093760 00000080 0000000e 000929cc 00000001 00093ae7
[   21.558990] 9fe0: beb589c0 beb589b0 00017c9c 48435ce0 800f0010 00093a88 00000000 00000000
[   21.567535] Backtrace:
[   21.570129] [<bf130ac8>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf12c534>] (PVRSRVRegisterBCDeviceKM+0x108/0x18c [pvrsrvkm])
[   21.582519] [<bf12c42c>] (PVRSRVRegisterBCDeviceKM+0x0/0x18c [pvrsrvkm]) from [<bf16b228>] (bc_cat_init+0x228/0x2f0 [bufferclass_ti])
[   21.595031]  r7:c773ea40 r6:bf168cac r5:bf168fa4 r4:00000000
[   21.600982] [<bf16b000>] (bc_cat_init+0x0/0x2f0 [bufferclass_ti]) from [<c000897c>] (do_one_initcall+0x128/0x1a8)
[   21.611694] [<c0008854>] (do_one_initcall+0x0/0x1a8) from [<c006a718>] (sys_init_module+0x3e4/0x1b68)
[   21.621337] [<c006a334>] (sys_init_module+0x0/0x1b68) from [<c0014980>] (ret_fast_syscall+0x0/0x30)
[   21.630798] Code: e89da830 e1a0c00d e92dd800 e24cb004 (e5902000)
[   21.637207] ---[ end trace ef7954ffdc4ccf60 ]---
Segmentation fault
[   21.737274] Unhandled fault: external abort on non-linefetch (0x1018) at 0x4011f014
/usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=4)

What could cause this and how do I fix it?