<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on Chris Hemingway</title>
    <link>https://chemingway.github.io/tags/linux/</link>
    <description>Recent content in Linux on Chris Hemingway</description>
    <generator>Hugo</generator>
    <language>en-GB</language>
    <lastBuildDate>Thu, 27 Jun 2019 11:54:14 +0100</lastBuildDate>
    <atom:link href="https://chemingway.github.io/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dedicating a GPU for CUDA on Ubuntu 18.04</title>
      <link>https://chemingway.github.io/blog/dedicating-a-gpu-for-cuda-on-ubuntu-18.04/</link>
      <pubDate>Thu, 27 Jun 2019 11:54:14 +0100</pubDate>
      <guid>https://chemingway.github.io/blog/dedicating-a-gpu-for-cuda-on-ubuntu-18.04/</guid>
      <description>&lt;p&gt;Recently, I have been doing some deep learning on Tensorflow and PyTorch by dual booting my PC into Ubuntu 18.04 and training with CUDA drivers.&lt;/p&gt;&#xA;&lt;p&gt;However, I am using that graphics card to display my desktop as well, and the desktop becomes annoyingly laggy when running training, especially in GPU accelerated applications like Firefox or &lt;a href=&#34;https://getpolarized.io/&#34;&gt;POLAR&lt;/a&gt;. Changing to using the internal graphics would fix this.&lt;/p&gt;&#xA;&lt;p&gt;In addition, it would be nice to claim back the graphics RAM used by X.Org, by dedicating the GPU to CUDA use only &lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using watchdog with LEDs on OrangePi Zero</title>
      <link>https://chemingway.github.io/blog/using-watchdog-with-leds-on-orangepi-zero/</link>
      <pubDate>Sun, 23 Jun 2019 18:00:09 +0100</pubDate>
      <guid>https://chemingway.github.io/blog/using-watchdog-with-leds-on-orangepi-zero/</guid>
      <description>&lt;p&gt;I have a small &lt;a href=&#34;http://www.orangepi.org/orangepizero/&#34;&gt;OrangePi zero&lt;/a&gt; on my home network turn on my desktop PC using &lt;a href=&#34;https://en.wikipedia.org/wiki/Wake-on-LAN&#34;&gt;Wake-on-Lan&lt;/a&gt; to SSH in and grab files/run processing when I am out and about. I use &lt;a href=&#34;https://www.zerotier.com/&#34;&gt;zerotier&lt;/a&gt; so I can SSH into both the orangepi and my desktop without needing Dynamic DNS or opening ports in my router.&lt;/p&gt;&#xA;&lt;p&gt;However, the SD card used is a bit unreliable, and so occasionally the device will lock up. It would be nice to detect this automatically and reboot when it happens. The board also has some LEDs, which we could use to show the health of the system as well.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
