<?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=2303&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Solved] Royally screwed up X ...]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2303</link>
		<description><![CDATA[The most recent posts in [Solved] Royally screwed up X ....]]></description>
		<lastBuildDate>Tue, 14 Aug 2018 20:47:07 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Solved] Royally screwed up X ...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11313#p11313</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>duane wrote:</cite><blockquote><div><p>If the kernel is the issue, maybe you should just install the 4.17 kernel ...</p></div></blockquote></div><p>I thought that the driver version would be the issue (340.102 in Devuan vs 340.107 in PCLOS), so i went about updating the driver the <span class="bbu">wrong</span> way and that got me a damaged X.</p><div class="quotebox"><cite>duane wrote:</cite><blockquote><div><p>... have to reinstall the nvidia driver, but that shouldn&#039;t be a problem.</p></div></blockquote></div><p>Well ...<br />That was <span class="bbu">exactly</span> the problem I was in: stuck in tty1 without much idea as to how to proceed, hence my OP.</p><p>I eventually figured it out.</p><div class="codebox"><pre><code>groucho@devuan:~$ dpkg --list | grep -i nvidia</code></pre></div><p>... gave me a screen with <span class="bbu">any and all</span> the nvidia stuff in my Devuan installation.</p><p>Then I made sure that /etc/apt/sources.list would <span class="bbu">not</span> have <span class="bbc">ascii contrib</span> and <span class="bbc">ascii non-free</span> enabled.</p><div class="codebox"><pre><code>[root@devuan groucho]# cat /etc/apt/sources.list
## package repositories

# Changed - 20180619
# deb http://pkgmaster.devuan.org/merged/ ascii main 
# deb http://pkgmaster.devuan.org/merged/ ascii-security main 
# deb http://pkgmaster.devuan.org/merged/ ascii-updates main 
# deb http://pkgmaster.devuan.org/merged/ ascii-backports main 

deb http://deb.devuan.org/merged/ ascii main 
deb http://deb.devuan.org/merged/ ascii-updates main 
deb http://deb.devuan.org/merged/ ascii-security main 
# deb http://deb.devuan.org/merged/ ascii-backports non-free contrib main 

# deb http://deb.devuan.org/devuan/ ascii-proposed main 

# added x nvidia non-free installation
# deb http://deb.devuan.org/merged/ ascii contrib  
# deb http://deb.devuan.org/merged/ ascii non-free  </code></pre></div><p>Once that was done, I did some cleaning up:</p><div class="codebox"><pre><code>[root@devuan groucho]# apt-get clean
[root@devuan groucho]# apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[root@devuan groucho]#</code></pre></div><div class="codebox"><pre><code>[root@devuan groucho]# apt-get purge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan groucho]</code></pre></div><div class="codebox"><pre><code>[root@devuan groucho]# apt-get check                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[root@devuan groucho]#</code></pre></div><p>Then I went about uninstalling <span class="bbu">everything</span> that had an nvidia label.<br />This is just one of the files:</p><div class="codebox"><pre><code>[root@devuan groucho]# apt-get purge xserver-xorg-video-nvidia</code></pre></div><p>Eventually, the list shown by <span class="bbc">dpkg --list | grep -i nvidia</span> came up empty.<br />To be on the safe side, I did <span class="bbc">apt-get check</span> again and verified that I had not broken anything else.&#160; &#160;8^/</p><p>I then enabled <span class="bbc"><a href="http://deb.devuan.org/merged/" rel="nofollow">http://deb.devuan.org/merged/</a> ascii contrib</span> and <span class="bbc"><a href="http://deb.devuan.org/merged/" rel="nofollow">http://deb.devuan.org/merged/</a> ascii non-free</span> in etc/apt/sources.list.<br />Without that, I would not be able to find the non-free drivers I wanted to install.</p><p>As I did not know the exact name/version I would have available, I asked:</p><div class="codebox"><pre><code>[root@devuan groucho]# apt list | grep -i nvidia-legacy-340 | more </code></pre></div><p>In the list I saw that there was an updated version, albeit not 340.107 (340.106), but closer than the previous 340.102 version.</p><p>So I installed it via apt-get install and that was it. The only thing I found odd was that at some point of the installation it listed as recommended <span class="bbc">nvidia-legacy-340xx-driver-libs-i386</span> but it was not available in in the repositories.<br />I thought it was odd because of i386.</p><p>On reboot X started as usual but the artifacts I mention in my OP are still there, so I&#039;ll have to see if there&#039;s some setting in Xorg.conf that may be causing them.</p><p>As having <span class="bbc"><a href="http://deb.devuan.org/merged/" rel="nofollow">http://deb.devuan.org/merged/</a> ascii contrib</span> and <span class="bbc"><a href="http://deb.devuan.org/merged/" rel="nofollow">http://deb.devuan.org/merged/</a> ascii non-free</span> enabled in etc/apt/sources.list as a default option <span class="bbu">is not a good idea</span>, I commented them out again.</p><p>This is how I recall the recovery process, hopefully I have not skipped anything important.<br />It may be useful for someone who ends up in the same situation.</p><p>The lesson I learned:<br />All <span class="bbc">-contrib</span> and <span class="bbc">-non-free</span> stuff should be updated by hand and individually, just like when they were installed.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 14 Aug 2018 20:47:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11313#p11313</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Royally screwed up X ...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11311#p11311</link>
			<description><![CDATA[<p>I may be worthwhile to see if there is any log output for X. On my system, these are still in /var/log in the form of Xorg.<em>n</em>.log - where <em>n</em> is the virtual console number. When screwing around with elogind &amp; co., I found a log in ~/.local/share/xorg/Xorg.3.log. So ~/.local/share/xorg also may be a candidate log file location.</p><p>One might also grep around in /var/log/kern.log to check for kernel level complaints, and maybe /var/log/syslog for user space complaints.</p><p>Hope this is helpful.</p>]]></description>
			<author><![CDATA[dummy@example.com (bbatten)]]></author>
			<pubDate>Tue, 14 Aug 2018 17:06:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11311#p11311</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Royally screwed up X ...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11309#p11309</link>
			<description><![CDATA[<p>If the kernel is the issue, maybe you should just install the 4.17 kernel from ascii-backports. You might have to reinstall the nvidia driver, but that shouldn&#039;t be a problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (duane)]]></author>
			<pubDate>Tue, 14 Aug 2018 15:15:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11309#p11309</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] Royally screwed up X ...]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11299#p11299</link>
			<description><![CDATA[<p>Hello:</p><p>I have an up-to-date ASCII rig with a pair of Nvidia cards running three monitors on Xinerama.<br />With the latest kernel update I began to briefly get some artifacts on two of the screens when the desktop started.</p><p>Not a big deal but sort of annoying and we all know how this goes ...</p><p>So ..<br />What did I do?</p><p>As I did not have these artifacts in my PCLOS rig (exact same machine/hardware, just different drive) I checked the proprietary drivers&#039; versions and sure enough, the PCLOS version is 340.107 and the Devuan version (was) 340.102 and I said to myself: &quot;yep, this is it&quot;.</p><p>One thing I evidently did not take into account at the time was that my PCLOS setup&#039;s kernel (4.14.51):</p><div class="codebox"><pre><code>[groucho@groucho ~]$ uname -a -p
Linux groucho 4.14.51-pclos1 #1 SMP Sat Jun 23 22:41:29 CDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[groucho@groucho ~]$ </code></pre></div><p>Not the same as Devuan&#039;s ...</p><p>But I went and upgraded the driver via Synaptic but when the warnings showed up it was too late and I did not know how to back out of the dark alley I had wandered into.&#160; &#160;8^/.</p><p>The result is that now I cannot start X.</p><p>I&#039;d very much appreciate if some kindred soul would give me a hand at straightening this out, preferably ending up with the 340.107 Nvidia non-free drivers or at least the ones I had installed and worked perfectly well.</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 14 Aug 2018 00:49:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11299#p11299</guid>
		</item>
	</channel>
</rss>
