There appears to be a number of problems here: The Intel 7700HQ is a Kaby Lake CPU. It seems that support for your CPU was included in kernel version 4.10
Based on this I would recommend installing a version 4.10 (or later) kernelas outlined below:
Issue the commands
apt-cache search linux-image | grep 4.10
sudo apt-get install linux-image-your_version_choice
sudo apt-get install linux-image-extra-your_version_choice
Edit: Based on the error "/usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link" You also appear to be affected by this bug I recommend notifying the devs that it affects you too and subscribing to it so that you can be notified of progress.
A workaround has been reported here and confirmed here for that issue. The suggested driver is available here.
It would likely be prudent to completely purge existing nvidia drivers prior to installation (of 378.13) as described here.
As it seems there are some possible concerns I always recommend having a current backup so that you can easily revert to previous conditions.
For what is hopefully the final piece of the puzzle, I think we need to upgrade the entire Intel graphics stack as there is increased support for Kaby Lake CPU's and a number of related bug fixes
To accomplish this we need to download the Intel Graphics Update Tool which is available for both 32-bit and 64-bit versions of Ubuntu 16.04 here.
Install the deb package you downloaded with the Software Center (or your favorite package manager).
After installation launch the Intel graphics tool from the dash, and follow the prompts to install the latest graphics stack for your system. Assuming an error free installation, reboot the system to make the new driver take effect. (In the unlikely event something went wrong with this process we have our aforementioned current backup to restore and can try again armed with the knowledge gained from the previous attempt)
Note: If we want Ubuntu to trust future updates from the Intel repository, we have to issue the following command via the terminal.
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-4 -O - | sudo apt-key add -
to install the key.
Sources:
http://www.pcworld.com/article/3173618/linux/kaby-lake-is-unleashed-with-kernel-410.html
How to update kernel to the latest mainline version without any Distro-upgrade?
How can I upgrade kernel to version 4.10 on Ubuntu 16.04?
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-375/+bug/1662860
http://tipsonubuntu.com/2016/09/07/install-intel-graphics-driver-ubuntu-16-04/
After almost a week trying without success, finally my Latitude 7390 run smoothly under Ubuntu 20.04 and Pop!_OS 20.04 .
- Short story -
Just like sebastianer, I upgraded my laptop to latest Pop!_OS 20.04 at first time. Just realize the laptop freeze after I leave it almost hours (the power button still on, when it should be already on suspend) with blank screen, try hit the power button and press some key didn't work, so I need to force shutdown by long pressing the power button.
The second time, the laptop charging led blinking 2 times in amber and 1 time in white not long after the laptop going into lock state. According to Latitude 7390 manual, this mean something wrong with the processor. This happen too when I installing Ubuntu 18.04.4 and Ubuntu 20.04. This only happen in latest Ubuntu but not another distro.
Try to touch the processor side under the laptop after hung, but not feel hot. So I assume there must be something in the processor that can't run correctly under new (kernel?) in Ubuntu. Ah and I have an custom AMD APU PC with ASUS motherboard that have same problem, but seems like appear not often. But my other laptop (ThinkPad E540 and Vostro V131) are run smoothly without any problem.
The problem is on the locking state not the suspend. Because somehow I can doing suspend and wake it up normally, but not when locking the system. Just try disable the lock and going to suspend, or just click the suspend button or run sudo systemctl suspend
.
- The Fix -
(Latitude 7390 - i7-8650U - BIOS v1.14.0)
So I focused on the System Setup (BIOS). This time to change some setting related with the processor. Here is what I have done (in the BIOS - System Setup Manual):
- Disable "Intel Speed Shift Technology", this can be found under Power Management menu
- Disable "Trusted Execution" and "TPM 2.0 Security", this can be found under this link for Trusted Execution and this link for TPM
- Disable "Wireless Radio Control", this can be found under Power Management menu. By disabling both of WLAN and WWAN in this menu, it fix problem with "disabled by hardware" problem after wake up from suspend.
- Disable "Intel Software Guard Extensions", this can be found under Intel Software Guard Extensions.
(Custom PC with ASUS motherboard (F2A85-M LE) and AMD APU A10-5800K - BIOS v6504)
- Disable "Deep S4", this can be found under the Advance BIOS menu.
- Conclusion -
Seems like the Intel Speed Shift Technology, TPM, and Intel software Guard Extensions have problem with the new kernel. Maybe there still need a tweak in the driver side, a conflict with the P-State, or the combination all of it, idk. But after I disable all of it, my laptop work smoothly using Ubuntu 20.04 and Pop!_OS 20.04.
In the AMD side seems like S4 bring the system into a very deep sleep that no one can bring it up gracefully except to force it wake up by resetting the system.
I already run both system more than 24 hours now with latest update (kernel 5.4.0-7634-generic). Seems all the system working fine.
- Update 20200610 1813 -
After using almost a weeks or more, seems like my laptop fine but, then I need TPM due to app I made, so I enable all feature that I already disabled before in the BIOS. Then my system back to crash. But the strange things is even I revert it back to disable, it keep crashing after lock, going to CPU Failure. After googling looking for the right answer what happen with my CPU, then I found this and this articles.
I have i7-8650U which is Kaby Lake Refresh. In the article said "Some Intel systems, like Kaby Lake Refresh chips, require both intel_idle.max_cstate=1 and i915.enable_dc=0 to ensure a hang-free experience." so I put
intel_idle.max_cstate=1 i915.enable_dc=0
in my GRUB kernel parameter. Seems like it was the correct settings to make my Latitude 7390 laptop able to lock and/or suspend without CPU Failure and enable again the Intel Speed Shift Technology, TPM, and Trusted Execution .
Hope the answer help you and some people. Thank you and Good Luck
Best Answer
With Dell notebooks I generally configure them like this:
ubuntu-drivers autoinstall
sudo systemctl disable nvidia-fallback.service
/etc/default/grub
and add the line:GRUB_CMDLINE_LINUX="nouveau.blacklist=1"
sudo update-grub
With this my colleagues can suspend/hibernate-resume without too many issues … though there are occasional hiccups for people who suspend for 4+ days.
Hope this works for you, too ??