<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2711&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Mesa/OpenCL on APU with RX-550 GPU]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2711</link>
		<description><![CDATA[The most recent posts in Mesa/OpenCL on APU with RX-550 GPU.]]></description>
		<lastBuildDate>Mon, 25 Mar 2019 08:02:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15042#p15042</link>
			<description><![CDATA[<p>amdgpu is the only module you need for graphics. If you want recent OpenCL implementation try ROCm from AMD: <a href="https://rocm.github.io/ROCmInstall.html" rel="nofollow">https://rocm.github.io/ROCmInstall.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ToxicExMachina)]]></author>
			<pubDate>Mon, 25 Mar 2019 08:02:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15042#p15042</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15039#p15039</link>
			<description><![CDATA[<p>The computer this is on, is one of the smallest I have (and is eventually supposed to spend time in my truck).</p><p>The partition for /usr is getting a little short on space.</p><p>If a Debian/Devuan developer is working with one or more packages, the instructions about:</p><p> apt-get build-dep whatever-package</p><p>are not a problem.&#160; They are going to be using those packages over and over again, so there is a need for them to be on the system.</p><p>For someone like me, trying to track down a bug; they are a problem.&#160; I have to install a bunch of packages I don&#039;t really want on the final system.&#160; Which means trying to remember what to delete/purge later on.</p><p>Is there a jail/container/vm solution to this?</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Mon, 25 Mar 2019 03:49:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15039#p15039</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15037#p15037</link>
			<description><![CDATA[<p>I see that the DEB_BUILD_OPTIONS from the earliest comment is slightly different from what I have tonight.&#160; I think the important part is nostrip (don&#039;t strip the DEBUG symbols out).</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Mon, 25 Mar 2019 03:41:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15037#p15037</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15036#p15036</link>
			<description><![CDATA[<p>Tonight, I went playing with the libopencl1 (aka ocl-icd) source code again.</p><p>In the past and tonight, I am running</p><p>DEB_BUILD_OPTIONS=nostrip,noopt dpkg-buildpackage -rfakeroot -uc -us</p><p>(Sometimes it is &quot;nostrip noopt&quot;, they both seem to work.)&#160; But, maybe my problem was I didn&#039;t have the build-depends correct?&#160; So, I&#160; did</p><p>apt-get build-depends ocl-icd</p><p>and it installed I believe 3 packages which weren&#039;t here before.&#160; Arrgh!&#160; :-)&#160; Okay, I&#039;ve got a contaminated &quot;source tree&quot;, so I made a new directory and re-downloaded the ocl-icd source.</p><p>Running the dpkg-buildpackage command (with the DEB...) takes longer than earlier tonight (with the contaminated source tree), and I again get the error: dump_vendor_icd not found.</p><p>The clinfo program needs that function to do anything (first libopencl function it calls).&#160; From reading various&#160; OpenCL related things, it seems most programs call it at the beginning.&#160; How can it not be present?</p><p>There is no source code (in C or C++) in the source package.&#160; What it looks like is happening to me, is that the C source is calculated from something in Ruby, for whatever purpose the Makefile presents.&#160; Or dpkg-buildpackage.&#160; How the heck do I track down why this function is missing in dynamically created source code?&#160; I would much rather work in FORTRAN-IV or FORTRAN-77.&#160; :-)</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Mon, 25 Mar 2019 03:39:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15036#p15036</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15035#p15035</link>
			<description><![CDATA[<p>A day or so ago, I ran across some new threads of interest about APUs and GPUs in a computer.</p><p>If want to compare<br /> %command%</p><p>with<br /> DRI_PRIME=1 %command%</p><p>If command is glxinfo and I go looking for the provider, the first version reports the APU, and the second version reports the RX-550.&#160; So, I am guessing that the motherboard graphics and APU are the default.&#160; If command is glxgears, I get about 20% higher frame rate with the RX-550.&#160; The monitor is connected to the motherboard VGA connector.</p><p>I am guessing that this means that amdgpu is able to work with both the APU and the GPU.&#160; I have never read anything about having to put DRI_PRIME=1 in anything having to do with BOINC jobs, so I don&#039;t know if that is a solution or not.&#160; There is still the problem that clinfo hangs, and never tells you anything.</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Mon, 25 Mar 2019 03:26:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15035#p15035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15034#p15034</link>
			<description><![CDATA[<p>Hello Toxic, sorry I didn&#039;t know a reply had come in.</p><p>I am just using Mesa3D as a provider of OpenCL.&#160; I had run into some problem quite a while ago about OpenCL (from Mesa?) co-existing with POCL on the same machine.&#160; I could try purging POCL if that is present, I hadn&#039;t remembered to look.</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Mon, 25 Mar 2019 03:18:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15034#p15034</guid>
		</item>
		<item>
			<title><![CDATA[Re: Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14750#p14750</link>
			<description><![CDATA[<p>Which OpenCL implementation have you tried?</p>]]></description>
			<author><![CDATA[dummy@example.com (ToxicExMachina)]]></author>
			<pubDate>Tue, 12 Mar 2019 04:52:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14750#p14750</guid>
		</item>
		<item>
			<title><![CDATA[Mesa/OpenCL on APU with RX-550 GPU]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14673#p14673</link>
			<description><![CDATA[<p>Most of my machines run amd64 CPU cores with AMD GPUs.&#160; Most of the GPUs are now Polaris.&#160; &#160; An exception , is a mini-ITX running a A10 APU with a RX-550.</p><p>I had been running it with both the radeon and amdgpu modules, and I think the radeon was doing the APU/motherboard side, and amdgpu was doing the RX-550.</p><p>I tried getting it to just use the amdgpu module.&#160; I tried blacklisting and I tried kernel command line options.&#160; It runs, it doesn&#039;t do GPU work any more for BOINC, and clinfo doesn&#039;t work.&#160; If you run clinfo at a command prompt, it hangs.&#160; Running clinfo under strace didn&#039;t seem to point to anything.</p><p>I downloaded the source to clinfo, and changed all print operations (to stdout) to being fprintf to stderr.&#160; This should mean all prints are unbuffered.&#160; Well, it hangs on the very first call to the OpenCL library.&#160; What I think this call is supposed to do, is just to return how many platforms are present, so that it can loop over the platforms present.</p><p>I was doing this in emacs with the gdb interface.&#160; And if you try to singlestep into that library call, it just hangs.&#160; I believe I can get control of the process from within emacs.&#160; So, probably an endless loop?</p><p>Debian doesn&#039;t supply that library with DBG symbols (and so it isn&#039;t surprising that Devuan doesn&#039;t either).&#160; So, I downloaded the source, and did</p><p>DEB_BUILD_OPTIONS=&quot;nostrip noopt debug&quot; dpkg-buildpackage -b-uc-us</p><p>And the first time, dpkg-buildpackage said I didn&#039;t have all the pre-requisties, so I downloaded more stuff.</p><p>Now the compile bombs out on an error.&#160; It cannot find dump_vendor_icd().</p><p>I am in the top directory of this package when running dpkg-buildpackage.&#160; I would think that function would be a few subdirectories down, but running fgrep that function is defined in a file in that top directory.&#160; I didn&#039;t look to see if it is also defined elsewhere.</p><p>Or, maybe I am missing something on how to compile the package with debug symbols.&#160; So, I am describing what I think I did.&#160; And changing consoles with a KVM switch to type stuff.</p>]]></description>
			<author><![CDATA[dummy@example.com (ghaverla)]]></author>
			<pubDate>Thu, 07 Mar 2019 00:59:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14673#p14673</guid>
		</item>
	</channel>
</rss>
