Leap 42.3 no external monitor support on Kaby Lake Laptop

I am not sure whether this is the right forum to ask questions about bug/functions of Leap 42.3. But i did not find any other place to do so.

My problem is:

Leap 42.3 installs and runs generally fine with the distribution standard 4.4. default kernel on my DELL Kaby Lake laptop.
42.2 could only be used with a newer kneel, e.g. 4.10.

42.3/4.4/i915 works fine for the build in display, but it does not detect any external monitors. External monitor are fine with a 4.10 kernel on Leap 42.2 or Tumbleweed. So I assume the back port of the driver from newer kernels into 4.4. is not finished?

Well, I think the first thing to check is what graphics driver you are actually using.
So please post the file /var/log/Xorg.0.log.

You could of course try kernel 4.10/4.11 on 42.3 as well and see if it helps.

So I assume the back port of the driver from newer kernels into 4.4. is not finished?

Maybe, no idea.
42.3 is still very much work-in-progress.

You might want to ask on the opensuse-factory mailinglist (http://lists.opensuse.org/opensuse-factory/) or the opensuse-kernel mailinglist (http://lists.opensuse.org/opensuse-kernel/, you should reach the openSUSE kernel developers there at least), or file a bug report (openSUSE:Submitting bug reports - openSUSE Wiki).

While people here will try to help you, please accept that 42.3 is work in progress. This is a forum were users help users. Not much openSUSE users are testtng 42.3 (understatement). It will become an issue here when the first beta releases are coming out at the earliest. You really are better off in a developers mailing list or any place where the 42.3 developers gather.

regarding Xorg.0.log - following your hint I tried several driver setups - all give the same result. Your hint looking into the log which driver is really used helped a lot. i915.ko is not. fbdevhw seems to be the fallback option. See:


....
     4.168] (EE) open /dev/dri/card0: No such file or directory
     6.182] intel: waited 2020 ms for i915.ko driver to load
     6.183] (II) Loading sub module "fbdevhw"
     6.183] (II) LoadModule: "fbdevhw"
...

full log, up to start of libinput load:


     4.133] (--) Log file renamed from "/var/log/Xorg.pid-1148.log" to "/var/log/Xorg.0.log"
     4.134] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
     4.134] X Protocol Version 11, Revision 0
     4.134] Build Operating System: openSUSE SUSE LINUX
     4.134] Current Operating System: Linux D3L3 4.4.62-1-default #1 SMP Sun Apr 23 05:00:11 UTC 2017 (fb39c9a) x86_64
     4.134] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.62-1-default root=UUID=1e2b86f7-ec5d-4d7c-969f-5fc9def734fd ro resume=/dev/sda5 splash=silent quiet showopts
     4.134] Build Date: 02 May 2017  12:37:58AM
     4.134]  
     4.134] Current version of pixman: 0.34.0
     4.134]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
     4.134] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
     4.134] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May  6 09:22:36 2017
     4.135] (==) Using config directory: "/etc/X11/xorg.conf.d"
     4.135] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
     4.137] (==) No Layout section.  Using the first Screen section.
     4.137] (==) No screen section available. Using defaults.
     4.137] (**) |-->Screen "Default Screen Section" (0)
     4.137] (**) |   |-->Monitor "<default monitor>"
     4.137] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
     4.137] (==) Automatically adding devices
     4.137] (==) Automatically enabling devices
     4.137] (==) Automatically adding GPU devices
     4.137] (==) Max clients allowed: 256, resource mask: 0x1fffff
     4.141] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
     4.141]     Entry deleted from font path.
     4.141] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
     4.141] (==) ModulePath set to "/usr/lib64/xorg/modules"
     4.141] (**) Extension "XFree86-DGA" is disabled
     4.141] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
     4.141] (II) Loader magic: 0x80fce0
     4.141] (II) Module ABI versions:
     4.141]     X.Org ANSI C Emulation: 0.4
     4.141]     X.Org Video Driver: 20.0
     4.141]     X.Org XInput driver : 22.1
     4.141]     X.Org Server Extension : 9.0
     4.141] (++) using VT number 7


     4.141] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
     4.142] (--) PCI:*(0:0:2:0) 8086:591d:1028:07bf rev 4, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x0000f000/64
     4.142] (--) PCI: (0:1:0:0) 10de:13b6:1028:07bf rev 162, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
     4.142] (II) LoadModule: "glx"
     4.144] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
     4.155] (II) Module glx: vendor="X.Org Foundation"
     4.155]     compiled for 1.18.3, module version = 1.0.0
     4.155]     ABI class: X.Org Server Extension, version 9.0
     4.155] (==) AIGLX enabled
     4.155] (II) Scanning /etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the drivers
     4.156] (II) Matched modesetting from file name modesetting.ids
     4.156] (==) Matched modesetting as autoconfigured driver 0
     4.156] (==) Matched intel as autoconfigured driver 1
     4.156] (==) Matched modesetting as autoconfigured driver 2
     4.156] (==) Matched fbdev as autoconfigured driver 3
     4.156] (==) Matched vesa as autoconfigured driver 4
     4.156] (==) Assigned the driver to the xf86ConfigLayout
     4.156] (II) LoadModule: "modesetting"
     4.157] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
     4.158] (II) Module modesetting: vendor="X.Org Foundation"
     4.158]     compiled for 1.18.3, module version = 1.18.3
     4.158]     Module class: X.Org Video Driver
     4.158]     ABI class: X.Org Video Driver, version 20.0
     4.158] (II) LoadModule: "intel"
     4.158] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
     4.162] (II) Module intel: vendor="X.Org Foundation"
     4.162]     compiled for 1.18.3, module version = 2.99.917
     4.162]     Module class: X.Org Video Driver
     4.162]     ABI class: X.Org Video Driver, version 20.0
     4.162] (II) LoadModule: "fbdev"
     4.162] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
     4.164] (II) Module fbdev: vendor="X.Org Foundation"
     4.164]     compiled for 1.18.3, module version = 0.4.4
     4.164]     Module class: X.Org Video Driver
     4.164]     ABI class: X.Org Video Driver, version 20.0
     4.164] (II) LoadModule: "vesa"
     4.165] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
     4.165] (II) Module vesa: vendor="X.Org Foundation"
     4.165]     compiled for 1.18.3, module version = 2.3.4
     4.165]     Module class: X.Org Video Driver
     4.165]     ABI class: X.Org Video Driver, version 20.0
     4.165] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
     4.165] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
     4.165] (II) intel: Driver for Intel(R) HD Graphics
     4.165] (II) intel: Driver for Intel(R) Iris(TM) Graphics
     4.165] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
     4.165] (II) FBDEV: driver for framebuffer: fbdev
     4.165] (II) VESA: driver for VESA chipsets: vesa
     4.168] (EE) open /dev/dri/card0: No such file or directory
     4.168] (EE) open /dev/dri/card0: No such file or directory
     4.168] (WW) Falling back to old probe method for modesetting
     4.168] (EE) open /dev/dri/card0: No such file or directory
     4.168] (EE) open /dev/dri/card0: No such file or directory
     6.182] intel: waited 2020 ms for i915.ko driver to load
     6.183] (II) Loading sub module "fbdevhw"
     6.183] (II) LoadModule: "fbdevhw"
     6.183] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
     6.183] (II) Module fbdevhw: vendor="X.Org Foundation"
     6.183]     compiled for 1.18.3, module version = 0.0.2
     6.183]     ABI class: X.Org Video Driver, version 20.0
     6.183] (**) FBDEV(2): claimed PCI slot 0@0:2:0
     6.183] (II) FBDEV(2): using default device
     6.183] (WW) Falling back to old probe method for vesa
     6.183] (EE) Screen 0 deleted because of no matching config section.
     6.183] (II) UnloadModule: "modesetting"
     6.183] (EE) Screen 0 deleted because of no matching config section.
     6.183] (II) UnloadModule: "modesetting"
     6.183] (II) FBDEV(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
     6.183] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
     6.183] (==) FBDEV(0): RGB weight 888
     6.183] (==) FBDEV(0): Default visual is TrueColor
     6.183] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
     6.183] (II) FBDEV(0): hardware: EFI VGA (video memory: 8100kB)
     6.183] (II) FBDEV(0): checking modes against framebuffer device...
     6.183] (II) FBDEV(0): checking modes against monitor...
     6.183] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
     6.183] (**) FBDEV(0):  Built-in mode "current": 207.4 MHz, 85.3 kHz, 77.2 Hz
     6.183] (II) FBDEV(0): Modeline "current"x0.0  207.38  1920 1952 2192 2432  1080 1084 1088 1104 -hsync -vsync -csync (85.3 kHz b)
     6.183] (==) FBDEV(0): DPI set to (96, 96)
     6.183] (II) Loading sub module "fb"
     6.183] (II) LoadModule: "fb"
     6.183] (II) Loading /usr/lib64/xorg/modules/libfb.so
     6.184] (II) Module fb: vendor="X.Org Foundation"
     6.184]     compiled for 1.18.3, module version = 1.0.0
     6.184]     ABI class: X.Org ANSI C Emulation, version 0.4
     6.184] (**) FBDEV(0): using shadow framebuffer
     6.184] (II) Loading sub module "shadow"
     6.184] (II) LoadModule: "shadow"
     6.184] (II) Loading /usr/lib64/xorg/modules/libshadow.so
     6.184] (II) Module shadow: vendor="X.Org Foundation"
     6.184]     compiled for 1.18.3, module version = 1.1.0
     6.184]     ABI class: X.Org ANSI C Emulation, version 0.4
     6.184] (II) UnloadModule: "vesa"
     6.184] (II) Unloading vesa
     6.184] (==) Depth 24 pixmap format is 32 bpp
     6.184] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
     6.185] (==) FBDEV(0): Backing store enabled
     6.185] (==) FBDEV(0): DPMS enabled
     6.185] (==) RandR enabled
     6.188] (II) AIGLX: Screen 0 is not DRI2 capable
     6.188] (EE) AIGLX: reverting to software rendering
     6.284] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
     6.284] (II) AIGLX: Loaded and initialized swrast
     6.284] (II) GLX: Initialized DRISWRAST GL provider for screen 0
     6.349] (II) config/udev: Adding input device Power Button (/dev/input/event5)
     6.349] (**) Power Button: Applying InputClass "evdev keyboard catchall"
     6.349] (**) Power Button: Applying InputClass "system-keyboard"
     6.349] (**) Power Button: Applying InputClass "evdev keyboard catchall"
     6.349] (**) Power Button: Applying InputClass "libinput keyboard catchall"
     6.349] (II) LoadModule: "libinput"
     6.350] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so

The Laptop is a dual-gpu, intel and nvidia (optimus) with no option to disable nvidia in the BIOS.
When Leap 42.3 was fresh installed it installed both i915 and nouveau with just these external display problems. To find out whether nouveau is the culprit I installed the nvidia 381.09 driver. Same problem.

So I first uninstalled that, but kept the nouveau modprobe blacklist entry from the nvidia install. Same problem.
The log above is from that config.

Later on I tried to reenable nouveau. No progress at all. X will only start when I set the nomodeset kernel parameter then. I have lsmod and dmesg (showing i915 and nouveau is loaded) logs of that test as well but assume pasting these all into this post is too much.


Yes 42.3 is work in progress, but the best option for Kaby Lake so far. With newer kernels on 42.2 or Tumbleweed VMware Workstation can not be installed (well known vmmon and vmnet issues) on 42.3 these problems can at least be easily fixed.
Next step for me for that problem is to open a ticket with VMware


regarding other forums for 42.3 issues - mailing list or suse bugzilla forum as you mentioned.
To avoid double posts are there pros/cons for bugzilla compared to the mailing lists?

Thanks

George

Hank,

thanks for the advise,

yes I also hat the impression that 42.3 is at this time mostly in developers internal use. According to the plans 42.3 should enter beta real soon, so may be I need some more patience.

See my other reply, my problem is all 3 openSUSE variants - Leap 42.2 with newer kernel, Tumbleweed and 42.3 as is are not problem free, 42.3 is the one with most easy to handle issues.

Thanks

George

When you have 42.2 prolbem, start a thread as such. It is now hidden in this thread and most people will not see it, but skip this thread as soon as they reach the word 42.3.

Hank,

my only interest is to make 42.3 work on my Kaby Lake Laptop. The 4.4. kernel of 42.3 is not a general problem which might make it impossible to use 42.3 on such hardware. Ubuntu 16.04.2 LTS runs just fine on the same hardware with a i915bpo module. But I need openSUSE to run on this machine.

So there is no need for me to discuss 42.2 or Tumbleweed issues here. I think it is too exotic to ask questions about 42.2 with a special kernel.

42.3 is the right tag, I hope for more forum members in a few weeks using it.

George

Right, so the kernel module doesn’t work it seems, and therefore KMS (Kernel Mode Setting) neither which is required by the intel Xorg driver.
(otherwise the “modesetting” driver would be used as fallback, or even by default on some intel chips)

The Laptop is a dual-gpu, intel and nvidia (optimus) with no option to disable nvidia in the BIOS.
When Leap 42.3 was fresh installed it installed both i915 and nouveau with just these external display problems. To find out whether nouveau is the culprit I installed the nvidia 381.09 driver. Same problem.

On Optimus systems, the intel chip is normally used (unless you disabled it in the BIOS, but that may not even be possible).

You should not install the nvidia driver because it breaks Mesa, i.e. OpenGL will be broken for the intel chip (regardless whether you use the intel driver or not).
If you want to use the nvidia chip, you need to install Bumblebee.
Another option is suse-prime that allows you to also run the desktop on nvidia.
But I have no experience with either.

regarding other forums for 42.3 issues - mailing list or suse bugzilla forum as you mentioned.
To avoid double posts are there pros/cons for bugzilla compared to the mailing lists?

Well, a bug report should be filed at bugzilla.
The mailinglists are the proper place for asking questions or other discussions, and maybe to confirm that a “problem” is really a bug or e.g. rather a configuration error.

In this case, it seems that support for your GPU is still missing in the 42.3 kernel, or maybe a problem with the firmware.
I think a bug report would be the better course of action here, although it may be fixed already and just not submitted to the standard 42.3 repos yet.
So I would suggest to try the latest 42.3 kernel of the day from here first:
http://download.opensuse.org/repositories/Kernel:/openSUSE-42.3/standard/

I was really glad to see mention of suse-prime here – that pretty much solved all of my problems (my laptop is Skylake rather than Kaby Lake, but I doubt there’s any difference). That pretty much solved all of my problems, at least when running the nVidia driver (I still don’t know how to use external monitors when using the Intel driver). I can use external monitors just fine, and I get much better performance than with Bumblebee or the Intel driver.

The directions in the suse-prime package are not entirely correct, and there are some additional changes that need to be made, that I’m in the process of writing up (most notably, the xorg.conf fragment packaged unnecessarily turns off external monitors, the package is not at all incompatible with bumblebee, and Skylake/Kaby Lake configurations need to use the modesetting driver rather than the intel driver). The big issue right now is that the X server fails to start on boot, but systemctl restart display-manager after boot works. This isn’t a stopper, but it is ugly. It’s still well worth it for the ability to use the GPU to its full extent.

I finally went with Tumbleweed because I needed a current kernel as default. TW comes with nvidia repos nowdays as well. But I do need the nvidia support only for GPU computing like Tensorflow not for any 3D stuff. If unused I want nvidia to be powered down, I use bbswitch for that, but nothing else from the bumblebee packages. Some nvidia modules have to be blacklisted to avoid loading them on boot.
So my setup is i915 for display and nvidia for computing on demand. Second screen works!

The Bumblebee repo on GitHub shows no development for several years now. Maybe it is maintained elsewhere. I don’t know. Fearing no real maintenance lets me avoid Bumblebee. And your remarks about suse-prime make me not to want to experiment with it.