Choose style:

Author Topic: Desktop Issue After Boot  (Read 2077 times)

0 Members and 1 Guest are viewing this topic.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #45 on: February 08, 2018, 07:26:00 am »
Okay to remove the HWE and go back to the default 16.04 kernel (4.4.0) run these commands in sequence:
(these commands are rather long so will scroll off the page to the right .. be sure to get the entire command .. also DO NOT reboot until told to do so)
Code: [Select]
sudo apt-get install linux-generic linux-signed-generic xserver-xorg xserver-xorg-core xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-intel xserver-xorg-video-qxl xserver-xorg-input-all libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
then if that command finishes without error:
Code: [Select]
sudo apt-get remove --purge linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic linux-image-4.13.0-32-generic linux-image-extra-4.13.0-32-generic linux-signed-generic-hwe-16.04 linux-signed-image-4.13.0-32-generic linux-signed-image-generic-hwe-16.04
if those two commands ran without error .. REBOOT.

Once rebooted, check you're running the 4.4.0 kernel with:
Code: [Select]
uname -a
If you are, go to:-

Menu > System Tools > Synaptic Package Manager

In Synaptic, on the left hand column select the "Status" button .. select the "Not Installed (residual config)" category .. then mark all displayed packages as "Mark for Complete Removal", and click the "Apply" button.

Once those packages are gone, close Synaptic.

Back in the terminal run:
Code: [Select]
sudo apt-get install --reinstall linux-generic linux-signed-generic xserver-xorg xserver-xorg-core xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-intel xserver-xorg-video-qxl xserver-xorg-input-all libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
this will replace any config files removed previously with the correct ones.

Okay, all done, so test your computer for the issues you've been having.

If you're having no problems, post the output (if any) from:
Code: [Select]
dpkg -l | grep hwe-16.04
and
Code: [Select]
dpkg -l | grep 4.13.0
so we can see if anything was left behind that shouldn't have been.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #46 on: February 08, 2018, 08:07:27 am »
Just a reminder, that output is from a clean install with just the usual update upgrade and dist upgrade done once. The earlier modification to the grub has not been done.
Should I put that on this install as it did nothing to help?
Which graphics card do you want me to work with before doing as you requested?
A little knowledge is dangerous, I'm proof of it.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #47 on: February 08, 2018, 09:01:20 am »
Don't change GRUB yet

and whichever graphics card you wish .. I no longer think that's the root of the issue.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #48 on: February 08, 2018, 12:02:03 pm »
I removed the Nvidia card.
Followed all your instructions.
Shutdown and let it sit for over 2 hours.
When I fired it up  :) :D ;D :P
So tomorrow if all goes well I can mark this solved. Thank you so much for all your effort.
Can you link to whatever showed you this solution? I would love to read more about it.

dpkg+uname
~ $ dpkg -l | grep hwe-16.04
buz@agstone ~ $ dpkg -l | grep 4.13.0
buz@agstone ~ $ uname -a
Linux agstone 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[close]
A little knowledge is dangerous, I'm proof of it.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #49 on: February 08, 2018, 12:35:47 pm »
Okay the output shows there's nothing to clean up.

Can you link to whatever showed you this solution? I would love to read more about it.

Sorry but there's no link .. I just noticed that you said the 4.9 kernel worked in Debian, so I wondered if there was some kind of kernel regression in the 4.13 (and possibly later) kernel series, and/or a regression in the later version of the xorg stack which is also updated by hwe-16.04. Now considering the default (non-HWE) kernel for Ubuntu 16.04 (so therefore Peppermint 7 and 8 ) is the 4.4 series, I figured lets test that kernel and xorg stack because they'll continue to get security updates automagically.

Basically we undid the changes applied by the "Hardware Enablement" track for 16.04 (hwe-16.04) as used in Peppermint 8 Respin (and Ubuntu 16.04.3, or distros based on it). So you now have Peppermint 8 built on Ubuntu 16.04 instead of 16.04.3

Sadly this "guess" at what might fix the problem doesn't identify what the actual kernel regression is, or what hardware you have that's triggering the regression :( .. but I guess it's better than nothing ?
« Last Edit: February 08, 2018, 12:43:31 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #50 on: February 09, 2018, 09:29:08 am »
So it seems as though my OP is solved. I have tried it three time and it starts as one would expect.
But with one problem solved another has popped up. This motherboard has wireless built in and it won't connect. Looking in the forum under networking I found this post that looks like what I am experiencing.   https://forum.peppermintos.com/index.php/topic,5980.0.html

The solution though looks like what I removed. The spoiler shows inxi, iwconfig,and nmcli.

Spoiler (click here to view / hide)
buz@agstone ~ $ iwconfig
enp2s0    no wireless extensions.

lo        no wireless extensions.

enp0s31f6  no wireless extensions.

buz@agstone ~ $ nmcli device status
DEVICE     TYPE      STATE        CONNECTION         
enp2s0     ethernet  connected    Wired connection 2
enp0s31f6  ethernet  unavailable  --                 
lo         loopback  unmanaged    --                 
buz@agstone ~ $ inxi -Fx
System:    Host: agstone Kernel: 4.4.0-112-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: N/A Distro: Peppermint Eight
Machine:   Mobo: ASRock model: Z370M-ITX/ac
           Bios: American Megatrends v: P1.60 date: 11/30/2017
CPU:       Quad core Intel Core i3-8100 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28799
           clock speeds: max: 3600 MHz 1: 800 MHz 2: 799 MHz 3: 799 MHz 4: 800 MHz
Graphics:  Card: Intel Device 3e91 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: fbdev,intel (unloaded: vesa)
           Resolution: 1920x1080@77.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits)
           GLX Version: 3.0 Mesa 17.0.2 Direct Rendering: Yes
Audio:     Card Intel 200 Series PCH HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.4.0-112-generic
Network:   Card-1: Intel Ethernet Connection (2) I219-V
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: down mac: 70:85:c2:60:ad:d7
           Card-2: Intel I211 Gigabit Network Connection
           driver: igb v: 5.3.0-k port: e000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: 70:85:c2:60:ad:d5
           Card-3: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] bus-ID: 03:00.0
           IF: N/A state: N/A mac: N/A
Drives:    HDD Total Size: 525.1GB (4.1% used)
           ID-1: /dev/sda model: Crucial_CT525MX3 size: 525.1GB
Partition: ID-1: / size: 466G used: 5.1G (2%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 17.11GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 22.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 185 Uptime: 26 min Memory: 620.7/15721.8MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
buz@agstone ~ $
[close]

A little knowledge is dangerous, I'm proof of it.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #51 on: February 09, 2018, 10:01:19 am »
Can you post the output from:
Code: [Select]
lsusb
and
Code: [Select]
lspci -vnn | grep -i net
and
Code: [Select]
iwlist scan
and
Code: [Select]
rfkill list
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #52 on: February 09, 2018, 11:10:50 am »
lsusb
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 12c9:1001 
Bus 001 Device 003: ID 8087:0aa7 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[close]

lspci
lspci -vnn | grep -i net
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
   Subsystem: ASRock Incorporation Ethernet Connection (2) I219-V [1849:15b8]
02:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
   Subsystem: ASRock Incorporation I211 Gigabit Network Connection [1849:1539]
03:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] [8086:24fb] (rev 10)
[close]

iwlist
iwlist scan
enp2s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

enp0s31f6  Interface doesn't support scanning.
[close]

rfkill
buz@agstone ~ $ rfkill list
0: hci0: Bluetooth
   Soft blocked: no
   Hard blocked: no
[close]
A little knowledge is dangerous, I'm proof of it.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #53 on: February 09, 2018, 12:13:00 pm »
Okay now we have a problem.

That network adapter insn't supported until kernel 4.6.

We could easily install that (or the 4.8) kernel but it will NOT get security updates, nor will it be patched against the Meltdown and Spectre vulnerabilities.

So looks like your decision is between an unpatched and static kernel .. or getting a new wireless adapter :(

Just as a matter on interest, can you post the output from:
Code: [Select]
dmesg | grep iwl
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #54 on: February 09, 2018, 12:20:14 pm »
dmesg | grep iwl returns nothing.
FYI Debian network work after I added some firmware.  I found this but don't understand where they got the file from. OpenElectric?
« Last Edit: February 09, 2018, 12:36:45 pm by Ralph »
A little knowledge is dangerous, I'm proof of it.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #55 on: February 09, 2018, 02:53:02 pm »
The firmware on its own won't help, if it would, that last command I asked you to run would have spit out that the driver couldn't find the firmware. The problem is the kernel doesn't even contain the driver :(
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #56 on: February 09, 2018, 03:06:37 pm »
Once again thank you for all you have done. Maybe by the time Peppermint 9 comes out these issues with Coffee Lake and Intels 3168 ac wireless will be addressed. Anyway the ball is in my court.

How would you like me to post the results?  The original post was solved after all. But??? :-\
A little knowledge is dangerous, I'm proof of it.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: Desktop Issue After Boot
« Reply #57 on: February 09, 2018, 03:18:29 pm »
Just leave the topic open my mate, and let it slide into obscurity .. I'm sure if anyone has the same issue just searching for coffee lake will find it for them .. if not and they post, we'll know the answer now anyway :)

Quote from: Ralph
Once again thank you for all you have done.

You're most welcome Ralph :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 116
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #58 on: August 21, 2018, 10:03:57 am »
Since this goes way back and I thought I'd share what has happen since then. Because I could not use wifi with the solution I got here I thought I would keep looking for another distro that would work better. To make a long story short I settled on Solus Gnome. I tried the Budgie but just didn't like it. I don't know why but SG just worked. The issues I had just disappeared. Solus isn't bad but it's not Peppermint.
This week I installed Peppermint 9 and so far all those issues discussed priviously have not materialised. I really like Peppermint and I'm very pleased to be back using it on this machine.
A little knowledge is dangerous, I'm proof of it.

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 3445
  • Karma: 776
    • View Profile
  • Peppermint version(s): Peppermint 7 & 9
Re: Desktop Issue After Boot
« Reply #59 on: August 21, 2018, 10:08:22 am »
Hey, thanks for the update. Have a karma point for remembering this place and returning to Peppermint.  :D