AROS World Exec
General => General Chat => Topic started by: trekiej on January 27, 2019, 08:29:13 PM
-
I was wondering if OpenGL would give a programmer any GPGPU capability.
OpenCL sounds like a good thing to add to Aros.
Looking on the web and finding out that adding OpenCL could be difficult due to driver issues and other things.
Using OpenGL by itself might, a big might, be a way around it.
Does the present driver offer the ability to do GPGPU?
-
I was wondering if OpenGL would give a programmer any GPGPU capability.
As stated per wikipedia (https://en.wikipedia.org/wiki/General-purpose_computing_on_graphics_processing_units#Implementations):
Any language that allows the code running on the CPU to poll a GPU shader for return values, can create a GPGPU framework.
As of 2016, OpenCL is the dominant open general-purpose GPU computing language, and is an open standard defined by the Khronos Group.[11] OpenCL provides a cross-platform GPGPU platform that additionally supports data parallel compute on CPUs. OpenCL is actively supported on Intel, AMD, Nvidia, and ARM platforms. The Khronos Group is currently involved in the development of SYCL, which has its implementations with ComputeCPP and SYCL STL, the first being developed by Codeplay, and currently only supported in Linux Operating Systems. The second one, being hosted by Khronos Group on GitHub, and possible to be compiled for any modern operating system.
The dominant proprietary framework is Nvidia CUDA.[12] Nvidia launched CUDA in 2006, a software development kit (SDK) and application programming interface (API) that allows using the programming language C to code algorithms for execution on GeForce 8 series and later GPUs.
Or to put it into other words: OpenCL was especially designed for his purpose.
OpenCL sounds like a good thing to add to Aros.
Not sure why but i take the bait... why do you think that would be a good thing to add to Aros ?
Looking on the web and finding out that adding OpenCL could be difficult due to driver issues and other things.
Exactly and let's not forget to have to proper hardware (although that shouldn't be a problem in this day and age).
But, not to dwell on that too much have a look at this nice old thread (https://ae.amigalife.org/old/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=6683&forum=2) started by HenriCase (excellent explanation in his first post)
Using OpenGL by itself might, a big might, be a way around it.
I think i misunderstand what you are trying to say there. Using OpenCL might be a way around what exactly ? using (graphic-card) drivers ?
If that was your line of thought then try to read into the subject a little further. OpenCL still requires to communicate with the GPU and thus requires a proper driver.
Does the present driver offer the ability to do GPGPU?
I'm not sure how up to date AROS' gallium port is with regards to supporting openCL
I'm guessing the next question is going to be about RTX ? ;D
I rather stick to the custom chipset of an Amiga :P
-
Gallium3D for AROS is brilliant but quite outdated, as it is the Nvidia 3D driver, which covers all DX9 oriented hardware from Nvidia and extends support to the DX10 Fermi architecture only. I am not sure if later GPUs are still natively working on AROS, but I'd sincerely doubt that. I'd not hope our Gallium3D library can hold OpenCL, whose first releases were somehow contemporary, but not in scope for the AROS port.
To be honest, all these components (MESA, Gallium3D, Nouveau drivers, GMA drivers) need a refresh to extend support to newer technologies and current GPUs. A more modern MESA implemetation should allow porting some version of OpenCL to AROS. The problem, however, would be: why? Is there any AROS software which would gain anything from a OpenCL port? Is there anyone willing to port OpenCL-based programs to AROS?
-
I am hoping that it would put Aros, Amiga OS4.X and others on the radar more.
It appears that working with Aros SMP would be more ideal.
It is not like there is a race to build the first computer.
Does the Open Source Driver make all functions of a GPU visible to the programmer?
With used Tesla cards at lower prices, it would be nice to add them to the list of things one could do with Aros.
Maybe I need to learn exactly what is visible to the programmer. You have DirectX, OpenGL, and now OpenCL capable cards.
What does the front door look like? What makes a DirectX card a directX card?
How does the Closed Source Nature of the chip-set and it drivers affect Aros?
How Parallel is OpenGL? Is someone able to do OpenCL like math wit it if I am not able to use OpenCL?
For example, if I wanted to make a program that simulates air going over an air foil, could OpenGL do that?
An 8 Core CPU could as well.
I guess I am a solution looking for a problem.
-
Checking out the link, that was in 2012.
That will answer my question for the most part, if not all.
It is great to know that.
-
I guess I am a solution looking for a problem.
I for one am loving to hear your musings. Its better that we brainstorm ideas which are not finished instead of only coming up with completed ideas. Otherwise how can we collaborate if we keep all our half baked ones to ourselves. Even though you don't have the full answer, perhaps the first part is enough to inspire someone else to have the other half of the problem.
Keep it up! Amiga needs you! :)
-
How else can we push forward?
-
How else can we push forward?
Exactly! :)
-
Well, support for newer graphics chips would certainly be worth it to update Galium3D. Also, the ability to run modern games that use OpenGL 4.x.
-
To be honest, all these components (MESA, Gallium3D, Nouveau drivers, GMA drivers) need a refresh to extend support to newer technologies and current GPUs. A more modern MESA implemetation should allow porting some version of OpenCL to AROS. The problem, however, would be: why? Is there any AROS software which would gain anything from a OpenCL port? Is there anyone willing to port OpenCL-based programs to AROS?
¿Blender? just as a start. But having this technlogies wuld attract many more users and developers. This is not an egg-chicken game. You have to give an egg first, then the chickens will come for sure and just because of it
-
Amiga OS 4.x has AMD and Aros has Nvidia.
I guess that there has to be a way for those two cards to end up on each platform.
Yet OpenCL could end up on an X5000 through Linux.
With some work even on Aros.
-
Being able to make the i386 version compatible and having more users,
having more users there are more developers.
And a triumphant way to start in the x86-64 version.
then two teams would be made the i386 or the x86-64 version.
at the developer's choice.
-
This might be of interest to your discussion.
https://www.youtube.com/watch?v=qtLdi1IKhd8
-
https://www.youtube.com/watch?v=_7p_DEyVws8&t=494s
-
I have a geforce 6200 I can also run doom 3 without problems, wawa said that kalamatee has updated gallium to version v19 but it is not known if it will be brought to abiv0 given the progress of abiv1 which I understand to be well advanced
-
I do not know. :(
-
currently anyway all available games run well precisely even with only one geforce 6200 better with 512 mb of ram, cmq doom 3 I don't know if this thing has been reported in the train level does not go ahead, in theory it should start when you enter inside
-
6600GT seems to be very good.
-
yes
-
you know this site
https://bszili.morphos.me/
:)
you see open jedy games really good man
-
That is a good site.
I have been by there many times.
-
On steam or gog.com you can possible to buy the games a little prices.
i see also aquaria you know this game? there is on steam at 2 or 3 euros it's very good games, the executable for aros is on aros archives
hi
-
I have two games that I can give you, they are aquaria and boh
hi
-
I understand Vulkan on Linux for vega makes it faster than 2080. https://youtu.be/0Vv6mFwMcGA but, I agree with open GL with open cl would be nice.
-
I think it is a miracle that you already have gallium to the current version
hi
-
I need to rebuild my aros machine.
-
ok
hi
-
yes i do not play the games but is wonderfull, actually i think is possible make more porting, doom 3 is one example of capacity of this release of gallium
-
New MESA, Gallium version is exiting news. I downloaded and tried latest abi v.1 night build but neither Nvidia GT1030 or the old GMA945 did boot with native gfx. When I tried AROS booted into vga 4 bit or something.
-
we knew about kalamate's work, we await further news about abiv1
-
you must also wait for the software port
-
Gallium3D for AROS is brilliant but quite outdated, as it is the Nvidia 3D driver, which covers all DX9 oriented hardware from Nvidia and extends support to the DX10 Fermi architecture only. I am not sure if later GPUs are still natively working on AROS, but I'd sincerely doubt that. I'd not hope our Gallium3D library can hold OpenCL, whose first releases were somehow contemporary, but not in scope for the AROS port.
To be honest, all these components (MESA, Gallium3D, Nouveau drivers, GMA drivers) need a refresh to extend support to newer technologies and current GPUs. A more modern MESA implemetation should allow porting some version of OpenCL to AROS. The problem, however, would be: why? Is there any AROS software which would gain anything from a OpenCL port? Is there anyone willing to port OpenCL-based programs to AROS?
This is an older thread from earlier this year about OpenGL for AROS.
YES. Most definitely there are, or will be soon, programs for AROS that can take full advantage of an AROS port of OpenGL.
And yes the graphics drivers do need to be updated as well.
I have been looking at some of the OpenGL demos in the Icaros Desktop distribution. I've tried to compile some of them but I keep getting
"missing tokens" warnings. If OpenGL demos or any other demos for that matter are to be included in the distribution, at least provide some
instructions on how to compile them! Or did I miss something.
The demo programs need to be organized better.
-
I have an 8800 gt I can not go beyond resolution 1024x768 and even with a gtx 470, someone has a 400 gtx series that can go beyond the resolution mensionated :-\
-
nikos also my gtx 470 run at 4 bit mode on abiv1 :-\