Choose style:

Author Topic: how do I get HD 530 graphics working correctly on Peppermint OS 6? (SOLVED)  (Read 2523 times)

0 Members and 1 Guest are viewing this topic.

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
I have a new Sky Lake build (i5-6600) and would like to know how, if possible, to get the graphics drivers (HD 530) properly installed. Or do I need to wait for 7?
« Last Edit: March 10, 2016, 11:51:04 am by snide »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #1 on: March 08, 2016, 04:53:42 pm »
Okay, as Skylake DRM support landed in kernel 4.3, what I'd do is update to the (wily) 4.2 kernel series and xorg stack via the LTS Enablement stack:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack
then now you have the wily xorg stack, upgrade to the 4.4.4 kernel (for wily) from the Ubuntu mainline kernel PPA
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.4-wily/

Let us know if you need assistance.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #2 on: March 09, 2016, 08:53:03 am »
Let us know if you need assistance.
:D
That will almost be a certainty!

Thanks for  the response; I'll check out the links and see what I can figure out. Hopefully that will solve my ethernet (Intel I219-lm) and audio (realtek) issues, too.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #3 on: March 09, 2016, 09:15:29 am »
I take it you're running Peppermint 6 64bit ?

If so, start by running:
Code: [Select]
sudo apt-get install --install-recommends linux-generic-lts-wily xserver-xorg-core-lts-wily xserver-xorg-lts-wily xserver-xorg-video-all-lts-wily xserver-xorg-input-all-lts-wily libwayland-egl1-mesa-lts-wily libgl1-mesa-glx-lts-wily libgl1-mesa-glx-lts-wily:i386 libglapi-mesa-lts-wily:i386
Once that finishes REBOOT.

Once rebooted, post the output from:
Code: [Select]
uname -a
back here.

If for some reason you're using Peppermint 6 32bit, let me know.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #4 on: March 09, 2016, 10:51:18 am »
Hah! I had beat you to the punch and already run the command you referenced.  Man, it is nice not to look at 800X600, and the formerly unrecognized ethernet port is now functioning properly.  Anyway here is inxi -F output:
Code: [Select]
hgs@hgs-pep ~ $ inxi -F
System:    Host: hgs-pep Kernel: 4.2.0-30-generic x86_64 (64 bit) Desktop: N/A Distro: Peppermint Six
Machine:   System: Gigabyte product: N/A
           Mobo: Gigabyte model: Q170M-MK version: x.x Bios: American Megatrends version: F2 date: 01/12/2016
CPU:       Quad core Intel Core i5-6600 CPU (-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
           Clock Speeds: 1: 3846.820 MHz 2: 3742.921 MHz 3: 2610.996 MHz 4: 3871.828 MHz
Graphics:  Card: Intel Sky Lake Integrated Graphics
           X.Org: 1.17.2 drivers: intel (unloaded: fbdev,vesa) Resolution: 1440x900@59.9hz, 1440x900@60.0hz
           GLX Renderer: Mesa DRI Intel Skylake DT GT2 GLX Version: 3.0 Mesa 11.0.2
Audio:     Card: Intel Sunrise Point-H HD Audio driver: snd_hda_intel Sound: ALSA ver: k4.2.0-30-generic
Network:   Card-1: Intel Ethernet Connection (2) I219-LM driver: e1000e
           IF: eth1 state: up speed: 1000 Mbps duplex: full mac: 40:8d:5c:b6:c9:22
           Card-2: Intel I211 Gigabit Network Connection driver: igb
           IF: eth0 state: down mac: 40:8d:5c:b6:c9:20
Drives:    HDD Total Size: 820.1GB (0.6% used) 1: id: /dev/sda model: ST3160812AS size: 160.0GB
           2: id: /dev/sdb model: ST3160812AS size: 160.0GB 3: id: /dev/sdc model: WDC_WD5000AAKS size: 500.1GB
Partition: ID: / size: 8.0G used: 4.2G (56%) fs: btrfs ID: /home size: 4.0G used: 445M (13%) fs: btrfs
           ID: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 220 Uptime: 11 min Memory: 976.1/15913.2MB Client: Shell (bash) inxi: 1.9.17
I don't think I am going to install an upstream kernel at this time, unless you think I should. I don't think I need the latest/greatest drivers drivers from 01.org. Thanks to your previous links I found this site for future reference: https://wiki.ubuntu.com/Kernel/MainlineBuilds#Installing_upstream_kernels_.28manually.29 (unless you recommend something else).  I do need to know how to extend the screens for my dual monitor setup, though. Also, do I need to change any sort of configurations or anything so that updating isn't messed up now that I have a different kernel?
Thanks

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #5 on: March 09, 2016, 02:40:51 pm »
No you don't need to change anything for updates, that 4.2 kernel will receive security updates automagically .. basically you're now based on 14.04.4 now but it all comes from the same repo.

and I agree, if everything is working now, there's no point in changing kernel

There is however a little tidying up to be done .. what is the output from:
Code: [Select]
dpkg -l | grep 3.16.0
and
Code: [Select]
dpkg -l | grep lts-utopic

Adjusting for multiple screens .. you'll probably want to install ARandR
Code: [Select]
sudo apt-get install arandr

Try to figure things out in ARandR, but if you can't gimme a shout 

be aware a reboot will undo ARandR settings but once you figure them out you can save them to a script and set the script to run at system bootup.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #6 on: March 09, 2016, 04:07:46 pm »
There is however a little tidying up to be done .. what is the output from:
Code: [Select]
dpkg -l | grep 3.16.0
Code: [Select]
hgs@hgs-pep ~ $ dpkg -l | grep 3.16.0
ii  linux-generic-lts-utopic                  3.16.0.62.53                            amd64        Complete Generic Linux kernel and headers
ii  linux-headers-3.16.0-46                   3.16.0-46.62~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-46-generic           3.16.0-46.62~14.04.1                    amd64        Linux kernel headers for version 3.16.0 on 64 bit x86 SMP
ii  linux-headers-3.16.0-62                   3.16.0-62.83~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-62-generic           3.16.0-62.83~14.04.1                    amd64        Linux kernel headers for version 3.16.0 on 64 bit x86 SMP
ii  linux-headers-generic-lts-utopic          3.16.0.62.53                            amd64        Generic Linux kernel headers
rc  linux-image-3.16.0-37-generic             3.16.0-37.51~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-46-generic             3.16.0-46.62~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-62-generic             3.16.0-62.83~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-extra-3.16.0-37-generic       3.16.0-37.51~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-46-generic       3.16.0-46.62~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-62-generic       3.16.0-62.83~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-utopic            3.16.0.62.53                            amd64        Generic Linux kernel image
ii  linux-signed-generic-lts-utopic           3.16.0.62.53                            amd64        Complete Signed Generic Linux kernel and headers
ii  linux-signed-image-3.16.0-46-generic      3.16.0-46.62~14.04.1                    amd64        Signed kernel image generic
ii  linux-signed-image-3.16.0-62-generic      3.16.0-62.83~14.04.1                    amd64        Signed kernel image generic
ii  linux-signed-image-generic-lts-utopic     3.16.0.62.53                            amd64        Signed Generic Linux kernel image

and
Code: [Select]
dpkg -l | grep lts-utopic
Code: [Select]
hgs@hgs-pep ~ $ dpkg -l | grep lts-utopic
rc  libegl1-mesa-lts-utopic:amd64             10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the EGL API -- runtime
rc  libgbm1-lts-utopic:amd64                  10.3.2-0ubuntu1~trusty2                 amd64        generic buffer management API -- runtime
rc  libgl1-mesa-dri-lts-utopic:amd64          10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the OpenGL API -- DRI modules
rc  libgl1-mesa-glx-lts-utopic:amd64          10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the OpenGL API -- GLX runtime
rc  libglapi-mesa-lts-utopic:amd64            10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the GL API -- shared library
rc  libgles1-mesa-lts-utopic:amd64            10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the OpenGL|ES 1.x API -- runtime
rc  libgles2-mesa-lts-utopic:amd64            10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the OpenGL|ES 2.x API -- runtime
rc  libopenvg1-mesa-lts-utopic:amd64          10.3.2-0ubuntu1~trusty2                 amd64        free implementation of the OpenVG API -- runtime
rc  libwayland-egl1-mesa-lts-utopic:amd64     10.3.2-0ubuntu1~trusty2                 amd64        implementation of the Wayland EGL platform -- runtime
rc  libxatracker2-lts-utopic:amd64            10.3.2-0ubuntu1~trusty2                 amd64        X acceleration library -- runtime
ii  linux-generic-lts-utopic                  3.16.0.62.53                            amd64        Complete Generic Linux kernel and headers
ii  linux-headers-generic-lts-utopic          3.16.0.62.53                            amd64        Generic Linux kernel headers
ii  linux-image-generic-lts-utopic            3.16.0.62.53                            amd64        Generic Linux kernel image
ii  linux-signed-generic-lts-utopic           3.16.0.62.53                            amd64        Complete Signed Generic Linux kernel and headers
ii  linux-signed-image-generic-lts-utopic     3.16.0.62.53                            amd64        Signed Generic Linux kernel image
rc  xserver-xorg-core-lts-utopic              2:1.16.0-1ubuntu1.2~trusty2             amd64        Xorg X server - core server
rc  xserver-xorg-lts-utopic                   1:7.7+7ubuntu2~trusty1                  amd64        X.Org X server
rc  xserver-xorg-video-intel-lts-utopic       2:2.99.914-1~exp1ubuntu4.5~trusty1      amd64        X.Org X server -- Intel i8xx, i9xx display driver
rc  xserver-xorg-video-modesetting-lts-utopic 0.9.0-1build1~trusty1                   amd64        X.Org X server -- Generic modesetting driver
rc  xserver-xorg-video-openchrome-lts-utopic  1:0.3.3-1build2~trusty1                 amd64        X.Org X server -- VIA display driver
rc  xserver-xorg-video-vmware-lts-utopic      1:13.0.2-3ubuntu1~trusty1               amd64        X.Org X server -- VMware display driver

Installed arandr and it does mostly what I want - now I get to learn how to run scripts at startup  8)! (and start a new topic on how to start troubleshooting my audio problem  ???)



Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #7 on: March 09, 2016, 05:09:07 pm »
Okay, run these 3 commands in sequence
Code: [Select]
sudo apt-get remove --purge linux-generic-lts-utopic linux-headers-3.16.0-46 linux-headers-3.16.0-46-generic linux-headers-3.16.0-62 linux-headers-3.16.0-62-generic linux-headers-generic-lts-utopic linux-image-3.16.0-37-generic linux-image-3.16.0-46-generic linux-image-3.16.0-62-generic linux-image-extra-3.16.0-37-generic linux-image-extra-3.16.0-46-generic linux-image-extra-3.16.0-62-generic linux-image-generic-lts-utopic linux-signed-generic-lts-utopic linux-signed-image-3.16.0-46-generic linux-signed-image-3.16.0-62-generic linux-signed-image-generic-lts-utopic
then:
Code: [Select]
sudo apt-get remove --purge libegl1-mesa-lts-utopic:amd64 libgbm1-lts-utopic:amd64 libgl1-mesa-dri-lts-utopic:amd64 libgl1-mesa-glx-lts-utopic:amd64 libglapi-mesa-lts-utopic:amd64 libgles1-mesa-lts-utopic:amd64 libgles2-mesa-lts-utopic:amd64 libopenvg1-mesa-lts-utopic:amd64 libwayland-egl1-mesa-lts-utopic:amd64 libxatracker2-lts-utopic:amd64 linux-generic-lts-utopic linux-headers-generic-lts-utopic linux-image-generic-lts-utopic linux-signed-generic-lts-utopic linux-signed-image-generic-lts-utopic xserver-xorg-core-lts-utopic xserver-xorg-lts-utopic xserver-xorg-video-intel-lts-utopic xserver-xorg-video-modesetting-lts-utopic xserver-xorg-video-openchrome-lts-utopic xserver-xorg-video-vmware-lts-utopic
then
Code: [Select]
sudo apt-get install --reinstall libegl1-mesa-lts-wily libgbm1-lts-wily libgl1-mesa-dri-lts-wily libgl1-mesa-glx-lts-wily libglapi-mesa-lts-wily libgles1-mesa-lts-wily libgles2-mesa-lts-wily libwayland-egl1-mesa-lts-wily libxatracker2-lts-wily linux-generic-lts-wily linux-headers-generic-lts-wily linux-image-generic-lts-wily linux-signed-generic-lts-wily linux-signed-image-generic-lts-wily xserver-xorg-core-lts-wily xserver-xorg-lts-wily xserver-xorg-video-intel-lts-wily xserver-xorg-video-openchrome-lts-wily xserver-xorg-video-vmware-lts-wily
then REBOOT

and post the output (if any) from:
Code: [Select]
dpkg -l | grep 3.16.0
and
Code: [Select]
dpkg -l | grep lts-utopic
again
« Last Edit: March 10, 2016, 11:10:09 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #8 on: March 10, 2016, 08:09:44 am »
Code: [Select]
hgs@hgs-pep ~ $ dpkg -l | grep 3.16.0
hgs@hgs-pep ~ $ dpkg -l grep lts-utopic
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  grep           2.16-1       amd64        GNU grep, egrep and fgrep
dpkg-query: no packages found matching lts-utopic
hgs@hgs-pep ~ $

OK. Did it. So what did I just do? And why?
Also, this message appeared for each command:
Code: [Select]
The following package was automatically installed and is no longer required:
  libllvm3.5
Use 'apt-get autoremove' to remove it.
Autoremove or purge or leave alone?

Thanks.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #9 on: March 10, 2016, 11:12:53 am »
Sorry there was a typo in that last command .. fixed in my last reply now  :-[

Yeah, feel free to autoremove libllvm3.5 with:
Code: [Select]
sudo apt-get autoremove

Then if there's no output from:
Code: [Select]
dpkg -l | grep lts-utopic
we're all done cleaning up :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
Re: how do I get HD 530 graphics working correctly on Peppermint OS 6?
« Reply #10 on: March 10, 2016, 11:46:32 am »
Thanks again PCNetSpec for your assistance. The corrected command returned nothing.
Marking as solved, but would still like to know what harm there would be in not cleaning up with the massive commands you gave me earlier, and how in the world a simple user like me is supposed to know about that  ???.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
There would be no harm at all not cleaning up .. you'd just end up downloading any updates to the 3.16 kernel AS WELL as the 4.2 kernel, even though they'd never become the default kernel .. I was just saving you disk space, not really *necessary* unless you have say a small separate /boot partition, but can't hurt)

How is a "simple user" supposed to know how .. well they're not which is why we're not suggesting people do this unless they know what they're doing or have assistance ;)

Neither Ubuntu or Peppermint push this as an update, so when would a "simple user" come across this in the first place ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
Neither Ubuntu or Peppermint push this as an update, so when would a "simple user" come across this in the first place ?
Well, when they want to use Peppermint OS on their Sky Lake system  :).  I surely can't be the only one!
Thanks again!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
But then they'll have to either research the issue, or ask here as Skylake isn't supported out of the box .. and if they ask here they'll be helped with cleaning up properly.

You seem to be asking me why full instructions aren't given by us when it wasn't us that gave the instructions in the first place (?) .. Peppermint 6 never claimed to support Skylake, you came here and asked if it were possible, and I helped.

At no point did Peppermint (unprompted) only give you half instructions  .. so I don't really understand the question ?

Skylake will be supported out of the box in Peppermint 7, but I'm afraid we're not going to do a respin of the Peppermint 6 ISO with Skylake support this close to Peppermint 7 (and so far you're the only one that's asked) ;)
« Last Edit: March 10, 2016, 02:22:40 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline snide

  • nOOb
  • *
  • Posts: 16
  • Karma: 0
  • Old Experimenter
    • View Profile
  • Peppermint version(s): 9
I'm sorry for not being clear, but my question about the cleanup instructions was in no way at all criticism about Peppermint OS or your excellent instructions. At worst, maybe a criticism of the omission of that step by the author of the Ubuntu page that explains their kernel update process.

In fact, I am very appreciative of your assistance, and impressed with the speed and expertise of the responses that I've seen in these forums overall. Before posting the question here I came across many posts (particularly in Ubuntu and Mint forums) about this problem in the 20-30 minutes I spent searching for solutions to this issue. Nowhere did I notice a solution, at least one that I could comprehend or recognize as a solution. Geez, I had no idea one could update/upgrade the kernel without (re)installing a new operating system/distro; what a great thing!  8)

I really think it would be beneficial to have a tutorial in the one of the tutorial sections explaining this process and when/why to try it. Like I mentioned before, doing this solved my graphics and NIC issue. In my opinion this also seems an excellent way of enhancing the LT part of LTS for those of us (not many I'm sure) that don't want to fully (re)install an upgraded/new distro every 6 months or year or so. I wish I understood Peppermint/Linux so I could write a tutorial, but I just don't get it. Yet.

So thanks again for your help and keep up the great work!