Getting Intel Skylake hardware to work on Centos 7

Issues related to hardware problems
Post Reply
jdutoit
Posts: 7
Joined: 2016/02/08 10:57:27

Getting Intel Skylake hardware to work on Centos 7

Post by jdutoit » 2016/02/08 11:28:56

Hi

I've got a Dell Alienware R2 that I'm trying to get Centos 7 to work on.

[root]# uname -a
Linux localhost.localdomain 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
[root]# lspci -tvnnQ
-[0000:00]-+-00.0 Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1904]
+-02.0 Intel Corporation Skylake Integrated Graphics [8086:1916]
+-04.0 Intel Corporation Skylake Processor Thermal Subsystem [8086:1903]
+-14.0 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f]
+-14.2 Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31]
+-15.0 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60]
+-15.1 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61]
+-16.0 Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a]
+-17.0 Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
+-1c.0-[01]----00.0 NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b]
+-1c.4-[02]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller [144d:a802]
+-1c.6-[03]----00.0 Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller [1969:e0a1]
+-1c.7-[04]----00.0 Intel Corporation Wireless 8260 [8086:24f3]
+-1d.0-[05-3d]--
+-1f.0 Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48]
+-1f.2 Intel Corporation Sunrise Point-LP PMC [8086:9d21]
+-1f.3 Intel Corporation Sunrise Point-LP HD Audio [8086:9d70]
\-1f.4 Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
[root]# lsmod
Module Size Used by
rfcomm 69264 14
fuse 87741 3
drbg 30280 1
ansi_cprng 12989 0
ccm 17773 2
ip6t_rpfilter 12546 1
ip6t_REJECT 12939 2
ipt_REJECT 12541 2
xt_conntrack 12760 9
vboxpci 23149 0
vboxnetadp 25813 0
vboxnetflt 27880 0
ebtable_nat 12807 0
ebtable_broute 12731 0
bridge 119562 1 ebtable_broute
stp 12976 1 bridge
llc 14552 2 stp,bridge
ebtable_filter 12827 0
ebtables 30913 3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_nat 12864 1
nf_conntrack_ipv6 18738 6
nf_defrag_ipv6 34768 1 nf_conntrack_ipv6
nf_nat_ipv6 14131 1 ip6table_nat
ip6table_mangle 12700 1
ip6table_security 12710 1
ip6table_raw 12683 1
ip6table_filter 12815 1
ip6_tables 27025 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_nat 12875 1
nf_conntrack_ipv4 14862 5
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
nf_nat_ipv4 14115 1 iptable_nat
nf_nat 26146 2 nf_nat_ipv4,nf_nat_ipv6
nf_conntrack 105745 6 nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_mangle 12695 1
iptable_security 12705 1
vboxdrv 471473 3 vboxnetadp,vboxnetflt,vboxpci
iptable_raw 12678 1
iptable_filter 12810 1
bnep 19704 2
arc4 12608 2
vfat 17411 1
fat 65913 1 vfat
snd_hda_codec_hdmi 47849 1
intel_powerclamp 18648 0
coretemp 13435 0
btusb 28219 0
intel_rapl 18773 0
kvm_intel 162153 0
bluetooth 372944 32 bnep,btusb,rfcomm
kvm 525409 1 kvm_intel
crc32_pclmul 13113 0
uvcvideo 80934 0
snd_hda_codec_realtek 80757 1
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
snd_hda_codec_generic 74126 1 snd_hda_codec_realtek
videobuf2_core 40499 1 uvcvideo
dell_wmi 12681 0
sparse_keymap 13948 1 dell_wmi
videodev 126499 2 uvcvideo,videobuf2_core
iwlmvm 254998 0
nvidia 8604684 0
mac80211 661351 1 iwlmvm
ghash_clmulni_intel 13259 0
snd_hda_intel 35779 6
snd_hda_codec 137386 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 57760 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 13608 1 snd_hda_codec
snd_seq 66691 0
aesni_intel 69884 4
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
snd_seq_device 14356 1 snd_seq
cryptd 20359 3 ghash_clmulni_intel,aesni_intel,ablk_helper
iwlwifi 126101 1 iwlmvm
snd_pcm 105835 5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
cfg80211 572836 3 iwlwifi,mac80211,iwlmvm
snd_timer 29639 2 snd_pcm,snd_seq
snd 83425 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
pcspkr 12718 0
soundcore 15047 1 snd
i2c_i801 18134 0
rfkill 26536 5 cfg80211,bluetooth
tpm_crb 12972 0
acpi_pad 116305 0
shpchp 37032 0
nfsd 302418 1
auth_rpcgss 59343 1 nfsd
nfs_acl 12837 1 nfsd
lockd 93600 1 nfsd
grace 13295 2 nfsd,lockd
sunrpc 300464 7 nfsd,auth_rpcgss,lockd,nfs_acl
ip_tables 27240 5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
xfs 939662 2
libcrc32c 12644 1 xfs
nouveau 1403757 0
i915 1097338 0
mxm_wmi 13021 1 nouveau
crct10dif_pclmul 14289 0
crct10dif_common 12595 1 crct10dif_pclmul
crc32c_intel 22079 1
ttm 93441 1 nouveau
i2c_algo_bit 13413 2 i915,nouveau
ahci 29907 0
drm_kms_helper 125008 2 i915,nouveau
libahci 32031 1 ahci
libata 218730 2 ahci,libahci
serio_raw 13462 0
drm 349210 6 ttm,i915,drm_kms_helper,nvidia,nouveau
nvme 64246 4
i2c_hid 18808 0
i2c_core 40582 9 drm,i915,i2c_i801,i2c_hid,drm_kms_helper,i2c_algo_bit,nvidia,nouveau,videodev
wmi 19070 3 dell_wmi,mxm_wmi,nouveau
video 24400 2 i915,nouveau
dm_mirror 22135 0
dm_region_hash 20862 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
dm_mod 113292 8 dm_log,dm_mirror


Out-the-box Centos 7.2 does a decent job. Wifi works, graphics resolution is at 1920x1080 as it should be, glxgears reports 1,300 FPS. However some things are not right:
1.) There is only one graphics resolution detected, no option to change anything, displayt is reported as "Unknown Display". There don't appear to be any desktop acceleration effects (GNOME 3 desktop)
2.) Power use on battery is shocking - the entire battery runs down in 2.5hrs, whereas one is supposed to get 10hrs
3.) Keyboard function keys don't work (turning wifi on and off, increasing/decreasing screen brightness, etc)
4.) The rear HDMI port doesn't work (this *might* be due to interplay with NVIDIA discrete graphics - couldn't get HDMI to work in Windows until I'd installed NVIDIA drivers [dual boot system])

In an effort to get these working, I installed Kernel-ML 4.4.1 from ELRepo.
[root]# uname -a
Linux localhost.localdomain 4.4.1-1.el7.elrepo.x86_64 #1 SMP Sun Jan 31 16:49:23 EST 2016 x86_64 x86_64 x86_64 GNU/Linux

Under kernel 4.4.1
5.) Desktop acceleration effects appear (windows "explode" into view)
6.) Reported battery life is now more or less what it should be
7.) Keyboard function keys seem to work (well, some of them anyway)
8.) Touch pad works properly
9.) I have no wifi.

[root]# lspci -tnnvvqq
-[0000:00]-+-00.0 Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904]
+-02.0 Intel Corporation Sky Lake Integrated Graphics [8086:1916]
+-04.0 Intel Corporation Device [8086:1903]
+-14.0 Intel Corporation Device [8086:9d2f]
+-14.2 Intel Corporation Device [8086:9d31]
+-15.0 Intel Corporation Device [8086:9d60]
+-15.1 Intel Corporation Device [8086:9d61]
+-16.0 Intel Corporation Device [8086:9d3a]
+-17.0 Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
+-1c.0-[01]----00.0 NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b]
+-1c.4-[02]----00.0 Samsung Electronics Co Ltd Device [144d:a802]
+-1c.6-[03]----00.0 Qualcomm Atheros Device [1969:e0a1]
+-1c.7-[04]----00.0 Intel Corporation Wireless 8260 [8086:24f3]
+-1d.0-[05-3d]--
+-1f.0 Intel Corporation Device [8086:9d48]
+-1f.2 Intel Corporation Device [8086:9d21]
+-1f.3 Intel Corporation Device [8086:9d70]
\-1f.4 Intel Corporation Device [8086:9d23]
[root]# lsmod
Module Size Used by
cmac 16384 2
rfcomm 69632 14
fuse 98304 3
ip6t_rpfilter 16384 1
ip6t_REJECT 16384 2
nf_reject_ipv6 16384 1 ip6t_REJECT
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
xt_conntrack 16384 9
ebtable_nat 16384 0
ebtable_broute 16384 0
ebtable_filter 16384 0
ebtables 36864 3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_nat 16384 1
nf_conntrack_ipv6 20480 6
nf_defrag_ipv6 36864 1 nf_conntrack_ipv6
nf_nat_ipv6 16384 1 ip6table_nat
ip6table_mangle 16384 1
ip6table_security 16384 1
ip6table_raw 16384 1
ip6table_filter 16384 1
ip6_tables 28672 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_nat 16384 1
nf_conntrack_ipv4 16384 5
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 24576 2 nf_nat_ipv4,nf_nat_ipv6
nf_conntrack 110592 6 nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_mangle 16384 1
iptable_security 16384 1
iptable_raw 16384 1
iptable_filter 16384 1
bnep 20480 2
vfat 20480 1
fat 69632 1 vfat
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm_intel 176128 0
kvm 536576 1 kvm_intel
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
snd_hda_codec_hdmi 49152 1
irqbypass 16384 1 kvm
dell_wmi 16384 0
sparse_keymap 16384 1 dell_wmi
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
snd_hda_codec_realtek 81920 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
iwlwifi 131072 1
aesni_intel 167936 2
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 2 aesni_intel,ablk_helper
alx 36864 0
cfg80211 557056 1 iwlwifi
mdio 16384 1 alx
snd_hda_intel 36864 4
uvcvideo 90112 0
snd_hda_codec 135168 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
videobuf2_vmalloc 16384 1 uvcvideo
snd_hda_core 65536 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
videobuf2_memops 16384 1 videobuf2_vmalloc
snd_hwdep 16384 1 snd_hda_codec
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
v4l2_common 16384 1 videobuf2_v4l2
snd_seq 69632 0
snd_seq_device 16384 1 snd_seq
videodev 172032 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
pcspkr 16384 0
snd_pcm 98304 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
btusb 45056 0
btrtl 16384 1 btusb
joydev 20480 0
input_leds 16384 0
snd_timer 32768 2 snd_pcm,snd_seq
idma64 20480 0
snd 81920 18 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
virt_dma 16384 1 idma64
soundcore 16384 1 snd
i2c_i801 28672 0
processor_thermal_device 16384 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
hci_uart 81920 0
mei_me 32768 0
btbcm 16384 2 btusb,hci_uart
btqca 16384 1 hci_uart
int3403_thermal 16384 0
iosf_mbi 16384 1 intel_soc_dts_iosf
btintel 16384 2 btusb,hci_uart
mei 98304 1 mei_me
int340x_thermal_zone 16384 2 processor_thermal_device,int3403_thermal
shpchp 36864 0
intel_lpss_pci 16384 0
bluetooth 491520 37 bnep,btbcm,btqca,btrtl,btusb,hci_uart,rfcomm,btintel
intel_lpss_acpi 16384 0
intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
mfd_core 16384 1 intel_lpss
int3400_thermal 16384 0
dell_rbtn 16384 0
acpi_als 16384 0
acpi_thermal_rel 16384 1 int3400_thermal
tpm_crb 16384 0
kfifo_buf 16384 1 acpi_als
rfkill 24576 5 cfg80211,dell_rbtn,bluetooth
acpi_pad 180224 0
industrialio 57344 2 acpi_als,kfifo_buf
nfsd 290816 1
auth_rpcgss 61440 1 nfsd
nfs_acl 16384 1 nfsd
lockd 90112 1 nfsd
grace 16384 2 nfsd,lockd
sunrpc 331776 7 nfsd,auth_rpcgss,lockd,nfs_acl
ip_tables 28672 5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
xfs 933888 2
libcrc32c 16384 1 xfs
crc32c_intel 24576 1
serio_raw 16384 0
nouveau 1474560 0
mxm_wmi 16384 1 nouveau
i915 1208320 4
ahci 36864 0
ttm 94208 1 nouveau
i2c_algo_bit 16384 2 i915,nouveau
libahci 32768 1 ahci
drm_kms_helper 131072 2 i915,nouveau
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
nvme 61440 4
libata 237568 2 ahci,libahci
drm 356352 7 ttm,i915,drm_kms_helper,nouveau
i2c_hid 20480 0
wmi 20480 3 dell_wmi,mxm_wmi,nouveau
video 40960 3 i915,dell_wmi,nouveau
fjes 28672 0
dm_mirror 24576 0
dm_region_hash 20480 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
dm_mod 110592 8 dm_log,dm_mirror


Could someone give me some advice? Do I try to get wifi working in Kernel 4.4.1 or do I try to patch kernel 3.10 to make everything else work? Any idea why kernel 4.4.1 doesn't pick up the Intel AC 8260 properly? Do I need firmware updates?

How do I go about getting either kernel to work properly?

Thanks!!

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Getting Intel Skylake hardware to work on Centos 7

Post by giulix63 » 2016/02/10 08:07:50

Does your laptop use Optimus Technology, by any chance? What does

Code: Select all

nvidia-detect
installed from ELRepo report when run as root?
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

jdutoit
Posts: 7
Joined: 2016/02/08 10:57:27

Re: Getting Intel Skylake hardware to work on Centos 7

Post by jdutoit » 2016/02/12 10:01:41

Yes, the laptop no doubt has optimus, but I've not managed to install the NVIDIA drivers

Code: Select all

[root]# nvidia-detect
bash: nvidia-detect: command not found...
I managed to fix my problem, to a degree. Turns out I needed new firmware for the Intel wifi module iwlwifi. The iwlwifi drivers shipping with kernel-ml 4.4.1 wanted a newer firmware version than was on my laptop.

So a question: Linux drivers seem to ship with the kernel. The drivers themselves want a particular version of firmware. However the firmware was not updated when I installed kernel-ml. Is this deliberate? Seems a little strange to me.

I now have almost everything working except suspend. When I

Code: Select all

systemctl suspend 
using standard Centos 7 kernel 3.10, the laptop hangs with black screens. I have to do a hard power cycle. When I systemctl suspend with kernel-ml 4.4.1, I get the following:

Code: Select all

[root]# systemctl suspend
A dependency job for suspend.target failed. See 'journalctl -xe' for details.
[root]#  journalctl -xe
-- 
-- Subject: Unit sleep.target has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit sleep.target has finished shutting down.
Feb 12 10:29:46 localhost.localdomain systemd[1]: Stopping Sleep.
-- Subject: Unit sleep.target has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit sleep.target has begun shutting down.
Feb 12 10:29:47 localhost.localdomain polkitd[830]: Unregistered Authentication Agent for unix-process:54
Feb 12 10:29:48 localhost.localdomain avahi-daemon[775]: Received response from host 192.168.1.1 with inv
Feb 12 10:30:01 localhost.localdomain systemd[1]: Created slice user-0.slice.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished starting up.
-- 
-- The start-up result is done.
Feb 12 10:30:01 localhost.localdomain systemd[1]: Starting user-0.slice.
-- Subject: Unit user-0.slice has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has begun starting up.
Feb 12 10:30:02 localhost.localdomain systemd[1]: Started Session 6 of user root.
-- Subject: Unit session-6.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-6.scope has finished starting up.
-- 
-- The start-up result is done.
Feb 12 10:30:02 localhost.localdomain systemd[1]: Starting Session 6 of user root.
-- Subject: Unit session-6.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-6.scope has begun starting up.
Feb 12 10:30:02 localhost.localdomain CROND[5613]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Feb 12 10:30:02 localhost.localdomain systemd[1]: Removed slice user-0.slice.
-- Subject: Unit user-0.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished shutting down.
Feb 12 10:30:02 localhost.localdomain systemd[1]: Stopping user-0.slice.
-- Subject: Unit user-0.slice has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has begun shutting down.
Feb 12 10:30:08 localhost.localdomain chronyd[810]: Forward time jump detected!
Feb 12 10:30:08 localhost.localdomain chronyd[810]: Can't synchronise: no selectable sources
Feb 12 10:30:18 localhost.localdomain avahi-daemon[775]: Received response from host 192.168.1.1 with inv
I'm not really sure how to interpret this. Any ideas on where I could go looking next?

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Getting Intel Skylake hardware to work on Centos 7

Post by giulix63 » 2016/02/12 10:12:10

jdutoit wrote:Yes, the laptop no doubt has optimus, but I've not managed to install the NVIDIA drivers
nvidia-detect is in ELRepo.
jdutoit wrote: So a question: Linux drivers seem to ship with the kernel. The drivers themselves want a particular version of firmware. However the firmware was not updated when I installed kernel-ml. Is this deliberate? Seems a little strange to me.
Firmware is installed from the manufacturer/OEM or (updated) by the final user.

Don't know about suspend. Hopefully someone will chime in to cover that...
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

jdutoit
Posts: 7
Joined: 2016/02/08 10:57:27

Re: Getting Intel Skylake hardware to work on Centos 7

Post by jdutoit » 2016/02/15 08:04:23

Code: Select all

[jdutoit]$ nvidia-detect 
kmod-nvidia
Optimus hardware detected: An Intel display controller was detected
Either disable the Intel display controller in the BIOS
or use the bumblebee driver to support Optimus hardware
So yes, Optimus hardware, but not currently using the NVIDIA graphics. Also don't have bumblebee installed. I need the NVIDIA chip for CUDA work only, not graphics. Typically it is enough to install the proprietary NVIDIA drivers with --no-opengl-files and then make sure that X only uses the Intel graphics.

If anyone has any idea how to go about debugging the suspend, I'd be really grateful for any tips.

java1
Posts: 1
Joined: 2016/03/09 18:18:03

Re: Getting Intel Skylake hardware to work on Centos 7

Post by java1 » 2016/03/09 18:48:47

Don't know about suspend. Hopefully someone will chime in to cover that...
Running CentOS 7 on an Asus Maximus VII Gene required changes to the BIOS settings. Prior to these changes the system would appear to resume from suspend but nothing worked:

Advanced / CPU Config / CPU Power Management Configuration
Enhanced Intel Speedstep Tech = Enabled
Turbo Mode = Disabled (?probably want this enabled?)
CPU C-States = Auto

Advanced / PCH Storage Configuration
Aggressive LPM Support = Disabled
SATA_G_1 Hot Plug = Enabled (for all 6 SATA ports)

Advanced / Platform Misc Configuration
PCI-E Native Power Management = Enabled
Native ASPM = Enabled
---
DMI Link ASPM Support = Enabled
ASPM Support = Auto
---
DMI Link ASPM Control = L0s
PEG ASPM Support = Auto

Advanced Onboard Devices Configuration
ASMedia Storage Controller Windows Hot Plug Notification = Enabled
ASPM Support = Enabled
PCI Express X4_1 Slot Bandwidth = M.2 Mode

Not all of these settings are related to power, but these are all the changes made from the default settings. Suspend works as expected.

Now I'm back to trying to sort out my Skylake graphics issues. After the screen saver activates and I come back to the machine the entire screen below the cursor is black (usually) and the last 1" or so from the right side of the display is wrapped around to the left side. Careful mouse operation allows the system to be shut down and after a reboot it's fine. Remote operation with NoMachine also seems OK. Now I'm trying to change to DisplayPort but it has no output after the screen saver activates.

[root@host ssdrive]# uname -a
Linux host.localdomain 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.2.1511 (Core)

I'll try the 4.4.1 kernel.

Good Luck with suspend!

jdutoit
Posts: 7
Joined: 2016/02/08 10:57:27

Re: Getting Intel Skylake hardware to work on Centos 7

Post by jdutoit » 2016/04/26 08:30:38

I came across an excellent blog post

https://alteeve.ca/w/Thinkpad_P70

Covers similar issues to mine, but from the NVIDIA side. I now have Intel graphics working properly with kernel-ml 4.4.1, but so far I'm totally stumped on the NVIDIA graphics (topic of another post).

The blog writer also had trouble with suspend and put it down to xfs

https://bugzilla.kernel.org/show_bug.cgi?id=112951

Apparently switching to ext3 made suspend work. So there could be some strange interplay between BIOS settings and xfs, perhaps.

The hunt continues. If anyone has any expertise in triaging this kind of thing, could you give us a shout with some ideas of how to go about getting this confirmed and fixed?

JediWombat
Posts: 1
Joined: 2016/05/26 23:48:59

Re: Getting Intel Skylake hardware to work on Centos 7

Post by JediWombat » 2016/05/27 00:01:55

I created an account just to say thank you for this thread. I've been all over the internet trying to make my CentOS7 machine pick up its external monitor ports. All I found was threads detailing how to force xrandr to use a port, but nothing could help me make it *see* the ports in the first place.

Upgrading the kernel from the stock to the elrepo 4.4.1 has fixed everything, even issues I didn't know I was having (this is my first CentOS7 and GNOME3 machine!).

So, again, thanks to jdutoit.

MartinNC
Posts: 3
Joined: 2014/01/19 14:54:04

Re: Getting Intel Skylake hardware to work on Centos 7

Post by MartinNC » 2016/06/24 14:36:24

I also had a lot of issues with Centos 7.2 on my brand new MSI PE70 QE with skylake hardware. It almost took me 2 weeks of playing around with tons of drivers and kernel boot parameters, nothing worked. Finally I found this article which pointed to the right direction. Previously I had
kernel-3.10.0-327.18.2.el7.x86_64 installed, external monitor only worked with xrandr, resume didn't work at all, a lot of flickering.
Installing:
kernel-ml-4.6.2-1.el7.elrepo.x86_64
solved everything for me.

Thank you jdutoit!!

Darr247
Posts: 27
Joined: 2011/12/01 14:29:34

Re: Getting Intel Skylake hardware to work on Centos 7

Post by Darr247 » 2017/03/25 05:54:25

For what this info's worth, I was having trouble getting bluetooth to work on my skylake laptop (Dell M5510) in a new install of CentOS 7.
Also an Intel 8260 wireless card, as was the OP's system.

Here's what seems to have fixed it for me:
$ sudo yum remove NetworkManager-wifi
$ sudo yum install NetworkManager-wifi

From yum's history:
Command Line : remove NetworkManager-wifi
Transaction performed with:
Installed rpm-4.11.3-21.el7.x86_64 @anaconda
Installed yum-3.4.3-150.el7.centos.noarch @anaconda
Installed yum-plugin-fastestmirror-1.1.31-40.el7.noarch @anaconda
Packages Altered:
Erase NetworkManager-wifi-1:1.4.0-17.el7_3.x86_64 @updates
Erase anaconda-gui-21.48.22.93-1.el7.centos.0.1.x86_64 @anaconda
Erase initial-setup-gui-0.3.9.36-1.el7.centos.x86_64 @anaconda

then the install
Command Line : install NetworkManager-wifi
Transaction performed with:
Installed rpm-4.11.3-21.el7.x86_64 @anaconda
Installed yum-3.4.3-150.el7.centos.noarch @anaconda
Installed yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda
Installed yum-plugin-fastestmirror-1.1.31-40.el7.noarch @anaconda
Packages Altered:
Install NetworkManager-wifi-1:1.4.0-17.el7_3.x86_64 @updates

Notice it removed 3 packages, but only put 1 back on the (re)install.

Then I did
$ sudo systemctl restart bluetooth
$ sudo systemctl stop NetworkManager
$ sudo systemctl start NetworkManager
and 'boom' - my bluetooth mouse (finally) appeared in the Bluetooth Settings dialog.
Prior to that, nothing I tried would make it detect *any* bluetooth devices (since then it also detected/paired my cell phone, too... though I haven't got it to accept files from my phone yet). I really didn't feel like switching to an alternate kernel for this functionality.

Anyway... hope that helps someone else with with non-functioning bluetooth from an Intel 8260 wireless+bluetooth adapter in CentOS 7.x (not sure that skylake has anything to do with the problem, of course).

Post Reply