New: OpenGL OpenCL interop results in corrupted renderbuffer object image
https://bugs.freedesktop.org/show_bug.cgi?id=79431
Priority: medium
Bug ID: 79431
Assignee: [email protected]
Summary: OpenGL OpenCL interop results in corrupted
renderbuffer object image
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
I use APP SDK with OpenCL running on CPU and r600 driver on GPU (AMD Mobility 3650) to compute image. If I use OpenCL image, I get correct result, however if I want to display image using OpenGL (interop), it is corrupted.
I create renderbuffer object, than link it with OpenCL (clCreateFromGLRenderbuffer) and then after image was computed I blit it to back buffer.
I tested it in lab on nVidia proprietary driver and it works well, I suspect the problem is in renderbuffer sharing.
OpenCL is 1.2, OpenGL 3.3.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 79431] OpenGL OpenCL interop results in corrupted renderbuffer object image
https://bugs.freedesktop.org/show_bug.cgi?id=79431
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from [email protected] ---
If I use LIBGL_ALWAYS_SOFTWARE=1 I get uncorrupted image, but it is all black.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 79431] OpenGL OpenCL interop results in corrupted renderbuffer object image
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=79431
--- Comment #2 from Bruno Jiménez <[email protected]> --- Hi,
I have tried looking information for your card regarding OpenCL and I haven't been able to found anything. Are you sure that it supports it?
Besides, I think that clover doesn't support your card, so even if it does support OpenCL I think that it wouldn't work.
And, I'm afraid that clover doesn't implement yet clCreateFromGLRenderbuffer.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 79431] OpenGL OpenCL interop results in corrupted renderbuffer object image
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=79431
--- Comment #3 from [email protected] ---
As I mentioned, I use CPU as OpenCL device using APP SDK.
I have a problem with OpenGL OpenCL interop. OpenCL from AMD APP SDK works fine, the problem is when I use Gallium driver for OpenGL, I get corrupted image.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 79431] OpenGL OpenCL interop results in corrupted renderbuffer object image
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=79431
Vedran Miletić <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Blocks| |99553
Status|NEW |RESOLVED--- Comment #4 from Vedran Miletić <[email protected]> --- r600 does support OpenCL, but only on EG/NI (Radeon HD 5000/6000).
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
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
[Bug 79431] OpenGL OpenCL interop results in corrupted renderbuffer object image
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=79431
Jan Vesely <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|NOTABUG |---
Status|RESOLVED |REOPENED
Blocks|99553 |--- Comment #5 from Jan Vesely <[email protected]> --- (In reply to Vedran Miletić from comment #4)
Quoted 1 line
r600 does support OpenCL, but only on EG/NI (Radeon HD 5000/6000).
my understanding is that this bug is not about clover, but getting r600g GL work with third party CL.
afaik Marek was looking into that, but that might have been just for GCN+. (the conclusion might still be that it's unsupported)
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
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
[Bug 79431] OpenGL OpenCL interop results in corrupted renderbuffer object image
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=79431
GitLab Migration User <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |MOVED--- Comment #6 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/514.
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