<?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=2330&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / HOWTO: ASCII on Dell XPS 15 9570]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2330</link>
		<description><![CDATA[The most recent posts in HOWTO: ASCII on Dell XPS 15 9570.]]></description>
		<lastBuildDate>Mon, 27 Aug 2018 15:41:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: HOWTO: ASCII on Dell XPS 15 9570]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11523#p11523</link>
			<description><![CDATA[<p>Updated with my 4k findings.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigrat)]]></author>
			<pubDate>Mon, 27 Aug 2018 15:41:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11523#p11523</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: ASCII on Dell XPS 15 9570]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11496#p11496</link>
			<description><![CDATA[<p>Updated with some video efficiency improvement.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigrat)]]></author>
			<pubDate>Sat, 25 Aug 2018 06:21:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11496#p11496</guid>
		</item>
		<item>
			<title><![CDATA[HOWTO: ASCII on Dell XPS 15 9570]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11495#p11495</link>
			<description><![CDATA[<p>Hi all -</p><p>I&#039;ve just got done fighting to get Devuan on my new laptop, and I thought I&#039;d share some of the things that were necessary to get a working system.</p><p>The XPS 15 9570 is a new (as of Aug 2018) Coffeelake-based laptop. As such, it&#039;s got a lot of new hardware in it, and a couple of &quot;gotchas&quot;.</p><p><strong>INSTALLATION:</strong></p><p>Devuan ASCII installs in UEFI mode just fine - but you&#039;ll find that it won&#039;t boot afterwards. Moreover, you will find that this laptop won&#039;t boot an MBR-based install at all from the internal /dev/nvme drive at all!</p><p>The Devuan install process apparently does not write some critical EFI information that &quot;registers&quot; the Devuan EFI boot binary with the bios, so we have to add it by hand.</p><p>1) Write the Devuan ASCII iso to a flash drive. Insert the flash drive, and mash F12 on startup - this will bring you to a boot menu. Choose the *2nd* partition on your flash drive, under the UEFI partitions to boot.</p><p>2) When the Devuan installer screen pops up, be sure to choose the UEFI install. The graphical install works just fine, but you&#039;ll find that the mouse doesn&#039;t work. Oh well.</p><p>3) Follow the basic prompts to install. When you get to the partitioner, you will need *at least* the following partitions, in order:</p><p>a) a 500MB FAT32 partition, for EFI<br />b) a swap partition (I used 8GB)<br />c) a partition for / (I used a 30GB partition, ext4)</p><p><strong>OPTIONAL</strong>: I usually keep /home on a separate partition. I would recommend using the mount options of &quot;discard, noatime&quot; on /, and /home (if yours is separate)</p><p>4) Go through the rest of the install. A word of caution: If you like using the Cinnamon desktop, as I do, avoid it at this time on this laptop - it&#039;s crashy, and can&#039;t seem to run the compositor in hardware mode. I defaulted to LXqt, and then installed Budgie later. I will note that the install process complains about missing firmware for the Killer Wireless (ath10k), but wireless works anyway.</p><p><strong>BIOS:</strong></p><p>5) When the install finishes, and the laptop reboots, mash F12 again, and go into the BIOS setup. You&#039;re going to want to go into the UEFI setup, and add a UEFI boot selection. This is the part that seems to work automatically for Ubuntu, but not for Devuan. If you have just one boot option, as I do, the menu will list your EFI partition. At the bottom of this screen, you&#039;ll be able to &quot;browse&quot; to the EFI/devuan/grubx64.efi, and give the boot option a label. I used &quot;Devuan&quot;. Once you save this, the laptop will able to boot from this Devuan install!</p><p><strong>FIRMWARE:</strong></p><p>6) Now that you&#039;re in, you&#039;ll find that the fan spins up quite a lot, bluetooth is not functional, and *dmesg* reports lots of missing firmware .bin files. We&#039;ll fix those.</p><p>a) Install Git:</p><div class="codebox"><pre><code>sudo apt-get install build-essential git </code></pre></div><p>b) Install the following packages: </p><div class="codebox"><pre><code>sudo apt-get install firmware-linux firmware-linux-nonfree firmware-misc-nonfree</code></pre></div><p>c) Clone the firmware tree:</p><div class="codebox"><pre><code>git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/</code></pre></div><p>There are three firmware trees we&#039;re interested in here: </p><div class="codebox"><pre><code>./i915
./nvidia
./ath10k/QCA6174</code></pre></div><p>It seems safe to copy in the following firmware trees:</p><div class="codebox"><pre><code>cp -rp i915 /lib/firmware/
cp -rp ath10k/QCA6174 /lib/firmware/ath10k</code></pre></div><p>The nvidia firmware tree seems a mixed bag. The firmware files include missing firmware for gp102 and gp107 that don&#039;t currently exist on Devuan ASCII, but I find that the *nouveau* driver gets &quot;explody&quot; if you use them. They might be necessary for the nonfree nVidia drivers, though. Use with caution!</p><p><strong>PCI IDs:</strong></p><p>The existing PCI Bus ID list is not updated enough for this hardware. If you want to make sense of all those hex ids in *lspci*, update your pci ID list:</p><div class="codebox"><pre><code> sudo update-pciids </code></pre></div><p><strong>KERNEL:</strong></p><p>The existing 4.9 kernel really doesn&#039;t know what to with a lot of the hardware in this machine. We need a newer kernel to take advantage of the hardware here, and as it happens, 4.18.4 seems to run pretty well. Using the excellent guide by batmore here: <a href="https://dev1galaxy.org/viewtopic.php?id=564" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=564</a>, get the latest stable kernel source, and build a kernel and modules for 4.18.4. I will note that I used gcc-6.</p><p><strong>POWER</strong></p><p>In an effort to bring down the power usage, I&#039;ve added the *tlp* package, and installed the Intel Vulkan drivers, and added some options to the i915 driver:</p><div class="codebox"><pre><code>sudo apt-get install mesa-vulkan-drivers</code></pre></div><p>* /etc/modprobe.d/i915.conf * (create if this does not exist):</p><div class="codebox"><pre><code>options i915 enable_fbc=1 enable_guc=3</code></pre></div><p>Before these changes were made, I would hear my laptop fan spin up and down constantly, even when not under load. Now, I am not hearing that at all. The battery meter estimate in Budgie went from a max of 8 hours or so at full charge to 11 hours. YMMV.</p><p><strong>4K Displays</strong><br />I&#039;m using an external 4k display, a Seiki 39&quot; SE39UY04. This is by no means state-of-the-art, but it&#039;s a functional 4k display. The monitory seems to work, out-of-the-box, with all the changes I&#039;ve made above. Sometimes it doesn&#039;t get detected correctly, but that seems pretty much par for the course. I just turn it off, and then back on. HiDPI seems to &quot;just work&quot; with MATE.</p><p><strong>TODO:</strong></p><p>* In MATE, the marco hardware compositor works, but uses significantly more cpu than the software compositor does. I also note that the Cinnamon hardware compositor will not start up. I think the video drivers have to catch up here. <br />* I haven&#039;t tried the optimus video switching at all, yet<br />* I didn&#039;t have much luck with the close-source nVidia drivers, yet.</p><p><strong>KNOWN WORKING:</strong></p><p>Nostrilcam (webcam)<br />Bluetooth<br />USB ports<br />SD Card reader</p><p><strong>NEEDS IMPROVEMENT:</strong></p><p>Power management (battery life seems good, but could be better. I&#039;m looking into that.)<br />Nouveau driver (I don&#039;t think the driver works too well on the nVidia GeForce GTX 1050 Ti Mobile yet)<br />Intel Graphics (I haven&#039;t updated this driver either, probably some improvements here as well)</p><p>Hopefully someone finds this helpful.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigrat)]]></author>
			<pubDate>Sat, 25 Aug 2018 05:23:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11495#p11495</guid>
		</item>
	</channel>
</rss>
