Skip to contentSkip to conversation

radeon: Failed to allocate virtual address for buffer

Bug 97961 [email protected] 1 participant 3 messages Sep 28, 2016 – Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 97961
Summary: radeon: Failed to allocate virtual address for buffer
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

On a Kabini system using kernel 4.8-rc8, Mesa and LLVM git, running GROMACS OpenCL example 1536 from [1] results in

radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 4096 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x000000000948b000
radeon: Failed to deallocate virtual address for buffer:
radeon:    size      : 4096 bytes
radeon:    va        : 0x948b000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 4096 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    va        : 0x000000000948b000
radeon: Failed to deallocate virtual address for buffer:
radeon:    size      : 4096 bytes
radeon:    va        : 0x948b000

This is one of the larger examples, so it requires more memory than the previous ones. I will test the largest example (3072) soon, and I expect it to crash the same way.

This is a regression. It will be very hard to bisect LLVM and kernel on this machine as it is really slow, but Mesa is likely bisectable. Let me know if it is worth it.

[1] ftp://ftp.gromacs.org/pub/benchmarks/water_GMX50_bare.tar.gz

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Vedran Miletić <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression

--- Comment #1 from Vedran Miletić <[email protected]> --- GROMACS 2016 runs vanilla on Mesa, but it requires LLVM 4.0, matching libclc, and the following patch for Mesa:

[1] https://lists.freedesktop.org/archives/mesa-dev/2016-September/129305.html

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

Vedran Miletić <[email protected]> changed:

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

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Vedran Miletić <[email protected]> --- I believe this was fixed somewhere along the way, I don't get the error anymore.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel