<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - radeon: Failed to allocate virtual address for buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94874#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - radeon: Failed to allocate virtual address for buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94874">bug 94874</a>
from <span class="vcard"><a class="email" href="mailto:paulo.miguel.dias@gmail.com" title="Paulo Dias <paulo.miguel.dias@gmail.com>"> <span class="fn">Paulo Dias</span></a>
</span></b>
<pre>still getting errors with latest mesa git, llvm git, radeonsi git in PRIME
Abr 15 13:35:49 hydra kernel: [drm] probing gen 2 caps for device 8086:9c18 =
5323c42/0
Abr 15 13:35:49 hydra kernel: [drm] PCIE gen 2 link speeds already enabled
Abr 15 13:35:49 hydra kernel: [drm] PCIE GART of 2048M enabled (table at
0x00000000002E8000).
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: WB enabled
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: fence driver on ring 0 use
gpu addr 0x0000000080000c00 and cpu addr 0xffff8801a3202c00
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: fence driver on ring 1 use
gpu addr 0x0000000080000c04 and cpu addr 0xffff8801a3202c04
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: fence driver on ring 2 use
gpu addr 0x0000000080000c08 and cpu addr 0xffff8801a3202c08
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: fence driver on ring 3 use
gpu addr 0x0000000080000c0c and cpu addr 0xffff8801a3202c0c
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: fence driver on ring 4 use
gpu addr 0x0000000080000c10 and cpu addr 0xffff8801a3202c10
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: fence driver on ring 5 use
gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001435a18
Abr 15 13:35:49 hydra kernel: radeon 0000:03:00.0: VCE init error (-22).
Abr 15 13:35:49 hydra kernel: [drm] ring test on 0 succeeded in 1 usecs
Abr 15 13:35:49 hydra kernel: [drm] ring test on 1 succeeded in 1 usecs
Abr 15 13:35:49 hydra kernel: [drm] ring test on 2 succeeded in 1 usecs
Abr 15 13:35:49 hydra kernel: [drm] ring test on 3 succeeded in 10 usecs
Abr 15 13:35:49 hydra kernel: [drm] ring test on 4 succeeded in 5 usecs
Abr 15 13:35:49 hydra kernel: [drm] ring test on 5 succeeded in 2 usecs
Abr 15 13:35:49 hydra kernel: [drm] UVD initialized successfully.
Abr 15 13:35:49 hydra kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Abr 15 13:35:49 hydra kernel: [drm] ib test on ring 1 succeeded in 0 usecs
Abr 15 13:35:49 hydra kernel: [drm] ib test on ring 2 succeeded in 0 usecs
Abr 15 13:35:49 hydra kernel: [drm] ib test on ring 3 succeeded in 0 usecs
Abr 15 13:35:49 hydra kernel: [drm] ib test on ring 4 succeeded in 0 usecs
Abr 15 13:35:51 hydra kernel: [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon:
fence wait timed out.
Abr 15 13:35:51 hydra kernel: [drm:radeon_ib_ring_tests [radeon]] *ERROR*
radeon: failed testing IB on ring 5 (-110).
Abr 15 13:35:51 hydra kernel: radeon 0000:03:00.0: scheduling IB failed (-12).
Abr 15 13:35:51 hydra kernel: [drm:radeon_vce_get_create_msg [radeon]] *ERROR*
radeon: failed to schedule ib (-12).
Abr 15 13:35:51 hydra kernel: [drm:radeon_vce_ib_test [radeon]] *ERROR* radeon:
failed to get create msg (-12).
Abr 15 13:35:51 hydra kernel: [drm:radeon_ib_ring_tests [radeon]] *ERROR*
radeon: failed testing IB on ring 6 (-12).
Abr 15 13:35:51 hydra kernel: radeon 0000:03:00.0: scheduling IB failed (-12).
Abr 15 13:35:51 hydra kernel: [drm:radeon_vce_get_create_msg [radeon]] *ERROR*
radeon: failed to schedule ib (-12).
Abr 15 13:35:51 hydra kernel: [drm:radeon_vce_ib_test [radeon]] *ERROR* radeon:
failed to get create msg (-12).
Abr 15 13:35:51 hydra kernel: [drm:radeon_ib_ring_tests [radeon]] *ERROR*
radeon: failed testing IB on ring 7 (-12).
second run:
Abr 15 13:37:29 hydra kernel: [drm] probing gen 2 caps for device 8086:9c18 =
5323c42/0
Abr 15 13:37:29 hydra kernel: [drm] PCIE gen 2 link speeds already enabled
Abr 15 13:37:29 hydra kernel: [drm] PCIE GART of 2048M enabled (table at
0x00000000002E8000).
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: WB enabled
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: fence driver on ring 0 use
gpu addr 0x0000000080000c00 and cpu addr 0xffff8801a3202c00
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: fence driver on ring 1 use
gpu addr 0x0000000080000c04 and cpu addr 0xffff8801a3202c04
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: fence driver on ring 2 use
gpu addr 0x0000000080000c08 and cpu addr 0xffff8801a3202c08
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: fence driver on ring 3 use
gpu addr 0x0000000080000c0c and cpu addr 0xffff8801a3202c0c
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: fence driver on ring 4 use
gpu addr 0x0000000080000c10 and cpu addr 0xffff8801a3202c10
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: fence driver on ring 5 use
gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001435a18
Abr 15 13:37:29 hydra kernel: radeon 0000:03:00.0: VCE init error (-22).
Abr 15 13:37:29 hydra kernel: [drm] ring test on 0 succeeded in 2 usecs
Abr 15 13:37:29 hydra kernel: [drm] ring test on 1 succeeded in 1 usecs
Abr 15 13:37:29 hydra kernel: [drm] ring test on 2 succeeded in 1 usecs
Abr 15 13:37:29 hydra kernel: [drm] ring test on 3 succeeded in 10 usecs
Abr 15 13:37:29 hydra kernel: [drm] ring test on 4 succeeded in 5 usecs
Abr 15 13:37:29 hydra kernel: [drm] ring test on 5 succeeded in 2 usecs
Abr 15 13:37:29 hydra kernel: [drm] UVD initialized successfully.
Abr 15 13:37:29 hydra kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Abr 15 13:37:29 hydra kernel: [drm] ib test on ring 1 succeeded in 0 usecs
Abr 15 13:37:29 hydra kernel: [drm] ib test on ring 2 succeeded in 0 usecs
Abr 15 13:37:29 hydra kernel: [drm] ib test on ring 3 succeeded in 0 usecs
Abr 15 13:37:29 hydra kernel: [drm] ib test on ring 4 succeeded in 0 usecs
Abr 15 13:37:30 hydra kernel: [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon:
fence wait timed out.
Abr 15 13:37:30 hydra kernel: [drm:radeon_ib_ring_tests [radeon]] *ERROR*
radeon: failed testing IB on ring 5 (-110).
after the third run, i get:
groo@hydra:~$ DRI_PRIME=1 glxinfo
name of display: :0
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
radeonsi: Failed to create a context.
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 43
Current serial number in output stream: 42
and in dmesg:
Abr 15 13:37:57 hydra kernel: [drm] probing gen 2 caps for device 8086:9c18 =
5323c42/0
Abr 15 13:37:57 hydra kernel: [drm] PCIE gen 2 link speeds already enabled
Abr 15 13:37:57 hydra kernel: [drm] PCIE GART of 2048M enabled (table at
0x00000000002E8000).
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: WB enabled
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: fence driver on ring 0 use
gpu addr 0x0000000080000c00 and cpu addr 0xffff8801a3202c00
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: fence driver on ring 1 use
gpu addr 0x0000000080000c04 and cpu addr 0xffff8801a3202c04
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: fence driver on ring 2 use
gpu addr 0x0000000080000c08 and cpu addr 0xffff8801a3202c08
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: fence driver on ring 3 use
gpu addr 0x0000000080000c0c and cpu addr 0xffff8801a3202c0c
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: fence driver on ring 4 use
gpu addr 0x0000000080000c10 and cpu addr 0xffff8801a3202c10
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: fence driver on ring 5 use
gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001435a18
Abr 15 13:37:57 hydra kernel: radeon 0000:03:00.0: VCE init error (-22).
Abr 15 13:37:58 hydra kernel: [drm:r600_ring_test [radeon]] *ERROR* radeon:
ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
Abr 15 13:37:58 hydra kernel: [drm:si_resume [radeon]] *ERROR* si startup
failed on resume
same behaviour with opencl call, like clinfo
mesa git eeff13315858fcb09eefba9a94e6bae5820572e0
llvm svn266408
xf86-video-ati 1ca677309720e2f6c953c9e76f5b34c22a4416c6</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>