[Mesa-dev] [Bug 101952] OpenCL enqueueReadBuffer returns trash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 27 13:50:04 UTC 2017


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

            Bug ID: 101952
           Summary: OpenCL enqueueReadBuffer returns trash
           Product: Mesa
           Version: 17.1
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: janpieter.sollie at dommel.be
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 133073
  --> https://bugs.freedesktop.org/attachment.cgi?id=133073&action=edit
command log with GDB showing the results of a library switch from amdgpu-pro to
mesa

Hardware: 
cpu: 2x Opteron 6276
RAM: 128GB 
Video card: on-board matrox G200 and AMD Nano (Fiji)

Software:
Linux: 4.10.17/DRM 3.9.0 (gentoo)
LLVM: 4.0.0
gcc: 7.1.0
mesa: 17.1.5

problem:
when I render a program using the AMD pro libraries, the clEnqueueReadBuffer
command returns the correct output.  When I use the mesa libs, the output is
trash.  A write to the buffer is performed in both cases. before, the whole
buffer is 0, and after:
AMD: { 0, 0, 0, 255 }
MESA: {4177618488, 4177945519, 16468310, 12159302}

for both cases, the standard amdgpu kernel module was used.

incorrect clReadBuffer results make the system unusable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170727/c021db60/attachment.html>


More information about the mesa-dev mailing list