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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to