[opensuse-factory] Enable Mesa OpenCL support
There appear to be two others building opencl support in various forms on OBS, but I merged the best from each and did some significant cleanup. Before I bother with a package submission request I would like to understand if this is something in which the X11/Factory maintainers are interested. The relevant packages (libclc would need to be added): - https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/M... - https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/l... Other packages like opencl-headers, clinfo, ect. are already provided by factory and other repos like Education. I was able to confirm proper setup using clinfo and http://cgit.freedesktop.org/~tstellar/opencl-example/. Running the example tests resulted in: 64 passes, 7 fails By removing gallium-pipe or opencl package the tests completely fail as expected. The libclc is rather odd that no tags are provided in git or svn. I made an upstream request to add them since they change the version in the build files. For now I manually set major version in _service and apparent git information. Obviously, the current Mesa OpenCL implementation is not fully functional, but seems functional enough to package and will hopefully improve. If I am not mistaken Fedora has packaged the OpenCL support for quite sometime, not that it should drive a decision. Thoughts? -- Jimmy -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
A followup, I managed to run the OpenCL piglet tests as well, from: http://people.freedesktop.org/~nh/piglit/ ./piglit run tests/quick_cl results/quick_cl [462/462] skip: 17, pass: 102, warn: 1, fail: 342 - Details: http://boombatower.github.io/piglit-results/
From IRC discussions it sounds like Mesa OpenCL (as with Mesa in general) varies on different hardware. Some of which may be helped by reports. Seems like my card is among the lesser supported.
-- Jimmy On Mon, Nov 30, 2015 at 3:47 AM, Jimmy Berry <jimmy@boombatower.com> wrote:
There appear to be two others building opencl support in various forms on OBS, but I merged the best from each and did some significant cleanup.
Before I bother with a package submission request I would like to understand if this is something in which the X11/Factory maintainers are interested.
The relevant packages (libclc would need to be added):
- https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/M... - https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/l...
Other packages like opencl-headers, clinfo, ect. are already provided by factory and other repos like Education. I was able to confirm proper setup using clinfo and http://cgit.freedesktop.org/~tstellar/opencl-example/.
Running the example tests resulted in: 64 passes, 7 fails
By removing gallium-pipe or opencl package the tests completely fail as expected.
The libclc is rather odd that no tags are provided in git or svn. I made an upstream request to add them since they change the version in the build files. For now I manually set major version in _service and apparent git information.
Obviously, the current Mesa OpenCL implementation is not fully functional, but seems functional enough to package and will hopefully improve. If I am not mistaken Fedora has packaged the OpenCL support for quite sometime, not that it should drive a decision.
Thoughts?
-- Jimmy -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
try send SR to X11:Xorg ... :) On 30 November 2015 at 11:18, Jimmy Berry <jimmy@boombatower.com> wrote:
A followup, I managed to run the OpenCL piglet tests as well, from:
http://people.freedesktop.org/~nh/piglit/
./piglit run tests/quick_cl results/quick_cl [462/462] skip: 17, pass: 102, warn: 1, fail: 342 -
Details: http://boombatower.github.io/piglit-results/
From IRC discussions it sounds like Mesa OpenCL (as with Mesa in general) varies on different hardware. Some of which may be helped by reports. Seems like my card is among the lesser supported.
-- Jimmy
On Mon, Nov 30, 2015 at 3:47 AM, Jimmy Berry <jimmy@boombatower.com> wrote:
There appear to be two others building opencl support in various forms on OBS, but I merged the best from each and did some significant cleanup.
Before I bother with a package submission request I would like to understand if this is something in which the X11/Factory maintainers are interested.
The relevant packages (libclc would need to be added):
- https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/M... - https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/l...
Other packages like opencl-headers, clinfo, ect. are already provided by factory and other repos like Education. I was able to confirm proper setup using clinfo and http://cgit.freedesktop.org/~tstellar/opencl-example/.
Running the example tests resulted in: 64 passes, 7 fails
By removing gallium-pipe or opencl package the tests completely fail as expected.
The libclc is rather odd that no tags are provided in git or svn. I made an upstream request to add them since they change the version in the build files. For now I manually set major version in _service and apparent git information.
Obviously, the current Mesa OpenCL implementation is not fully functional, but seems functional enough to package and will hopefully improve. If I am not mistaken Fedora has packaged the OpenCL support for quite sometime, not that it should drive a decision.
Thoughts?
-- Jimmy -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I updated libclc to latest git and looks like my card works properly now. [462/462] skip: 17, pass: 434, warn: 1, fail: 10 - -- Jimmy On Mon, Nov 30, 2015 at 4:31 AM, Ondřej Súkup <mimi.vx@gmail.com> wrote:
try send SR to X11:Xorg ... :)
For libclc first? or both at the same time?
On 30 November 2015 at 11:18, Jimmy Berry <jimmy@boombatower.com> wrote:
A followup, I managed to run the OpenCL piglet tests as well, from:
http://people.freedesktop.org/~nh/piglit/
./piglit run tests/quick_cl results/quick_cl [462/462] skip: 17, pass: 102, warn: 1, fail: 342 -
Details: http://boombatower.github.io/piglit-results/
From IRC discussions it sounds like Mesa OpenCL (as with Mesa in general) varies on different hardware. Some of which may be helped by reports. Seems like my card is among the lesser supported.
-- Jimmy
On Mon, Nov 30, 2015 at 3:47 AM, Jimmy Berry <jimmy@boombatower.com> wrote:
There appear to be two others building opencl support in various forms on OBS, but I merged the best from each and did some significant cleanup.
Before I bother with a package submission request I would like to understand if this is something in which the X11/Factory maintainers are interested.
The relevant packages (libclc would need to be added):
- https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/M... - https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/l...
Other packages like opencl-headers, clinfo, ect. are already provided by factory and other repos like Education. I was able to confirm proper setup using clinfo and http://cgit.freedesktop.org/~tstellar/opencl-example/.
Running the example tests resulted in: 64 passes, 7 fails
By removing gallium-pipe or opencl package the tests completely fail as expected.
The libclc is rather odd that no tags are provided in git or svn. I made an upstream request to add them since they change the version in the build files. For now I manually set major version in _service and apparent git information.
Obviously, the current Mesa OpenCL implementation is not fully functional, but seems functional enough to package and will hopefully improve. If I am not mistaken Fedora has packaged the OpenCL support for quite sometime, not that it should drive a decision.
Thoughts?
-- Jimmy -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
For those interested libclc and Mesa-libOpenCL are both in factory. -- Jimmy On Mon, Nov 30, 2015 at 4:57 AM, Jimmy Berry <jimmy@boombatower.com> wrote:
I updated libclc to latest git and looks like my card works properly now.
[462/462] skip: 17, pass: 434, warn: 1, fail: 10 -
-- Jimmy
On Mon, Nov 30, 2015 at 4:31 AM, Ondřej Súkup <mimi.vx@gmail.com> wrote:
try send SR to X11:Xorg ... :)
For libclc first? or both at the same time?
On 30 November 2015 at 11:18, Jimmy Berry <jimmy@boombatower.com> wrote:
A followup, I managed to run the OpenCL piglet tests as well, from:
http://people.freedesktop.org/~nh/piglit/
./piglit run tests/quick_cl results/quick_cl [462/462] skip: 17, pass: 102, warn: 1, fail: 342 -
Details: http://boombatower.github.io/piglit-results/
From IRC discussions it sounds like Mesa OpenCL (as with Mesa in general) varies on different hardware. Some of which may be helped by reports. Seems like my card is among the lesser supported.
-- Jimmy
On Mon, Nov 30, 2015 at 3:47 AM, Jimmy Berry <jimmy@boombatower.com> wrote:
There appear to be two others building opencl support in various forms on OBS, but I merged the best from each and did some significant cleanup.
Before I bother with a package submission request I would like to understand if this is something in which the X11/Factory maintainers are interested.
The relevant packages (libclc would need to be added):
- https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/M... - https://build.opensuse.org/package/show/home:boombatower:branches:X11:XOrg/l...
Other packages like opencl-headers, clinfo, ect. are already provided by factory and other repos like Education. I was able to confirm proper setup using clinfo and http://cgit.freedesktop.org/~tstellar/opencl-example/.
Running the example tests resulted in: 64 passes, 7 fails
By removing gallium-pipe or opencl package the tests completely fail as expected.
The libclc is rather odd that no tags are provided in git or svn. I made an upstream request to add them since they change the version in the build files. For now I manually set major version in _service and apparent git information.
Obviously, the current Mesa OpenCL implementation is not fully functional, but seems functional enough to package and will hopefully improve. If I am not mistaken Fedora has packaged the OpenCL support for quite sometime, not that it should drive a decision.
Thoughts?
-- Jimmy -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Jimmy Berry
-
Martin Pluskal
-
Ondřej Súkup