multiple monitors - Intel SkyLake Blank Screen on Ubuntu 16.10 - Ask Ubuntu


when installed ubuntu 16.10 on new machine (asrock z170 gaming-itx/ac s1151 m-itx intel motherboard intel core skylake processor i5-6500/3.2 ghz processor cpu), got blank screen on first boot.

after lot of searching around on web, discovered boot correctly linux using nomodeset on kernel command line. however, limits graphics options xrandr -q reports 1 monitor:

xrandr: failed size of gamma output default screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm    1024x768      76.00* 

i've read lots of websites suggesting problem in earlier kernel versions (which need i915.preliminary_hw_support=1) , 4.3+ should fine, have:

linux mypc 4.8.0-26-generic #28-ubuntu smp tue oct 18 14:39:52 utc 2016 x86_64 x86_64 x86_64 gnu/linux

so think shouldn't problem. based on websites i've read, i've tried of following kernel options (and few combinations largely @ random), none have helped:

i915.preliminary_hw_support=1 i915.i915_enable_rc6=1 nolapic 

in cases, removed quiet splash see happening. depending on option, visible boot process gets different place. nomodeset gets way virtual console (i started server install better choose packages wanted). without nomodeset, gets far as:

[    5.088899] fb: switching inteldrmfb vesa vga 

with nolapic addition, gets couple of lines further on (both related sata stuff think). might relatively random though i've tried few times , got different stage in sata stuff (but within 100th of second or after fb: line)

with i915.i915_enable_rc6=1, message saying:

i915: unknown parameter 'i915_enable_rc6' ignored` 

so that's not doing anything.

i've tried adding i915 , nvme /etc/modules, again: no discernible effect.

all of above came various different forums (and site), i'm afraid didn't keep note of of references - hence not linking of original questions.

in case of empty kernel line (just stuff added installer , no nomodeset), if ssh machine , startx, can run xrandr , see:

screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767 dp1 disconnected (normal left inverted right x axis y axis) dp2 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm    1280x1024     60.02 +  75.02    1920x1080     60.00    59.94    1152x864      75.00    1280x720      60.00    59.94    1024x768      75.03    72.00    70.07    60.00    800x600       72.19    75.00    60.32    56.25    720x480       60.00    59.94    640x480       75.00    72.81    60.00    59.94    720x400       70.08 hdmi1 disconnected (normal left inverted right x axis y axis) hdmi2 disconnected (normal left inverted right x axis y axis) hdmi3 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 531mm x 299mm    1920x1080     60.00 +  50.00    59.94    59.99    1920x1080i    60.00    50.00    59.94    1600x1200     60.00    1680x1050     59.88    1280x1024     75.02    60.02    1440x900      59.90    1280x960      60.00    1366x768      59.79    1152x864      75.00    1280x720      60.00    50.00    59.94    1024x768      75.03    70.07    60.00    832x624       74.55    800x600       72.19    75.00    60.32    56.25    720x576       50.00    720x480       60.00    59.94    640x480       75.00    72.81    66.67    60.00    59.94    720x400       70.08 virtual1 disconnected (normal left inverted right x axis y axis)   1280x1024 (0x4a) 540.000mhz +hsync +vsync         h: width  1280 start 1328 end 1440 total 1688 skew    0 clock 319.91khz         v: height 1024 start 1025 end 1028 total 1066           clock 300.10hz 

... suggesting driver working degree, there's nothing being drawn on screen.

can offer suggestions i'm doing wrong?

i can add more information required, i'm not sure add @ moment.


edit 1

this current grub configuration /etc/default/grub

# if change file, run 'update-grub' afterwards update # /boot/grub/grub.cfg. # full documentation of options in file, see: #   info -f grub -n 'simple configuration'  grub_default=0 #grub_hidden_timeout=0 #grub_hidden_timeout_quiet=true grub_timeout=10 grub_distributor=`lsb_release -i -s 2> /dev/null || echo debian` grub_cmdline_linux_default="nomodeset" grub_cmdline_linux=""  # uncomment enable badram filtering, modify suit needs # works linux (no patch required) , kernel obtains # memory map information grub (gnu mach, kernel of freebsd ...) #grub_badram="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # uncomment disable graphical terminal (grub-pc only) #grub_terminal=console  # resolution used on graphical terminal # note can use modes graphic card supports via vbe # can see them in real grub command `vbeinfo' grub_gfxmode=1024x768  # uncomment if don't want grub pass "root=uuid=xxx" parameter linux #grub_disable_linux_uuid=true  # uncomment disable generation of recovery mode menu entries #grub_disable_recovery="true"  # uncomment beep @ grub start #grub_init_tune="480 440 1" 

this bit of /boot/grub/grub.cfg seems relevant:

menuentry 'ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c21835f3-4aaf-4880-b573-19a361a72db9' {         recordfail         load_video         gfxmode $linux_gfx_mode         insmod gzio         if [ x$grub_platform = xxen ]; insmod xzio; insmod lzopio; fi         insmod part_msdos         insmod ext2         set root='hd1,msdos1'         if [ x$feature_platform_search_hint = xy ];           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  c21835f3-4aaf-4880-b573-19a361a72db9         else           search --no-floppy --fs-uuid --set=root c21835f3-4aaf-4880-b573-19a361a72db9         fi         linux   /boot/vmlinuz-4.8.0-26-generic root=uuid=c21835f3-4aaf-4880-b573-19a361a72db9 ro  nomodeset         initrd  /boot/initrd.img-4.8.0-26-generic } 

edit 2

the xorg.log here: http://pastebin.com/nvnwtpj4

i've rebooted , (in grub edit screen) removed nomodeset , removed gfxmode line (since i've had comments removing vga=, haven't got vga= remove). resulted in same blank screen before.

i've tried having text on boot line, got same place without (switching inteldrmfb etc above).


edit 3

following suggestion @mladen:

  • i've tried installing intel graphics drivers https://01.org/linuxgraphics/intel-linux-graphics-firmwares - both skylake ones - guc , dmc installed according instructions. rebooted without nomodeset on boot line , screen went blank @ same point in other tests. interestingly though, stated:

    w: possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin module i915 w: possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin module i915

the output of ls -l /lib/firmware/i915 shows:

total 412 -rw-r--r-- 1 root root   8380 aug 15 15:40 bxt_dmc_ver1_07.bin lrwxrwxrwx 1 root root     19 aug 15 15:40 bxt_dmc_ver1.bin -> bxt_dmc_ver1_07.bin -rw-r--r-- 1 root root   8616 aug 15 15:40 kbl_dmc_ver1_01.bin lrwxrwxrwx 1 root root     19 aug 15 15:40 kbl_dmc_ver1.bin -> kbl_dmc_ver1_01.bin -rw-r--r-- 1 root root   8824 sep 14 13:47 skl_dmc_ver1_23.bin -rw-r--r-- 1 root root   8928 nov 10 17:54 skl_dmc_ver1_26.bin lrwxrwxrwx 1 root root     38 nov 10 17:54 skl_dmc_ver1.bin -> /lib/firmware/i915/skl_dmc_ver1_26.bin -rw-r--r-- 1 root root 109636 aug 15 15:40 skl_guc_ver1.bin -rw-r--r-- 1 root root 128320 aug 15 15:40 skl_guc_ver4.bin -rw-r--r-- 1 root root 129024 nov 10 17:53 skl_guc_ver6_1.bin lrwxrwxrwx 1 root root     37 nov 10 17:53 skl_guc_ver6.bin -> /lib/firmware/i915/skl_guc_ver6_1.bin 

which shows earlier versions of firmware ones initramfs seems expecting

  • following this, followed instructions here upgrade kernel version 4.8.6 (this reported missing firmware lines above). rebooted (again without nomodeset) , again got same place.

  • since error above had seemed relate firmware kabylake , broxton processors (although i'm sure have skylake one), downloaded latest files 2 here - seems dmc stuff though. installing both of produced same messages regarding missing firmware (presumably since dmc files , version numbers different). unsurprisingly, result same: without nomodeset, screen freezes after fb: switching inteldrmfb vesa vga.

from i've read, these firmware files related unreleased processors, it's unlikely relevant anyway, thought worth try.


edit 4

in case helps, i've pasted complete dmesg output nomodeset boot , non-nomodeset, blank screen boot. there differences (including loading of skl_dmc_ver1_26.bin file, i'm not sure make of all...


edit 5

i've tried kernel 4.8.7, behaviour same 4.8.0 or 4.8.6. installing intel microcode version 3.20160714.1 didn't make noticeable difference.


edit 6

in case turns out kernel bug related in way this one, i've raised bug on kernel bugzilla page - https://bugzilla.kernel.org/show_bug.cgi?id=187601

are using display port ? having troubles skylake, kernel 4.8 , i915 drivers ubuntu 16.10 ==> intel didn't release latest graphics stack 16.10 yet.

you try to:

1) switch ubuntu 16.04 lts (and kernel 4.4.x)

2) use kernel 4.6.7: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.7/

3) use latest drm-intel-nightly kernel: http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/ (but there no amd64 successful build available anymore, last 2016-10-19)


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User