You are not logged in.
It has taken a looong time, but I have finally got some semblance of functionality with BL (stretch) and nvidia optimus. However, to get a useable desktop I have had to do.....
Boot to cli. If graphical.target is used then the kernel parameter "acpi=off" is needed, or lightdm doesn't start the X server (but then bbswitch fails)
sudo systemctl start lightdm.service
sudo systemctl start bumblebeed.service
The screen resolution is now OK, and optirun can be used
But try to restart the compositor and the screen and keyboard become frozen. Even Ctrl-Alt-Fn and SysReq doesn't work - a power button hard reset is needed. I have now disabled compositing.
EDIT: SysReq can be enabled in /etc/sysctl.conf
***************************************
Debian stretch netinstall and BL helium-dev netinstall script. I installed "xserver-xorg-video-intel", as recommended for Skylake hardware.
damo@stretch:~$ inxi -SMG
System: Host: stretch Kernel: 4.9.0-2-amd64 x86_64 (64 bit) Desktop: Openbox 3.6.1
Distro: BunsenLabs GNU/Linux 8.7 (Hydrogen)
Machine: Device: laptop System: Novatech product: P65_P67RGRERA
Mobo: Novatech model: P65_P67RGRERA UEFI [Legacy]: American Megatrends v: 1.05.13 date: 01/27/2016
Battery BAT0: charge: 44.1 Wh 100.0% condition: 44.1/40.0 Wh (110%)
Graphics: Card-1: Intel HD Graphics 530
Card-2: NVIDIA GM204M [GeForce GTX 970M]
Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.02hz
GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) GLX Version: 3.0 Mesa 13.0.5
Xorg.0.log
[ 386.952]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 386.952] X Protocol Version 11, Revision 0
[ 386.952] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 386.952] Current Operating System: Linux stretch 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64
[ 386.952] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 root=UUID=a948943c-a138-43b8-837f-0e0ff4ba0f16 ro systemd.unit=multi-user.target
[ 386.952] Build Date: 03 March 2017 03:14:41PM
[ 386.952] xorg-server 2:1.19.2-1 (https://www.debian.org/support)
[ 386.952] Current version of pixman: 0.34.0
[ 386.952] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 386.952] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 386.952] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 13 02:37:31 2017
[ 386.953] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 386.953] (==) No Layout section. Using the first Screen section.
[ 386.953] (==) No screen section available. Using defaults.
[ 386.953] (**) |-->Screen "Default Screen Section" (0)
[ 386.953] (**) | |-->Monitor "<default monitor>"
[ 386.954] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 386.954] (==) Automatically adding devices
[ 386.954] (==) Automatically enabling devices
[ 386.954] (==) Automatically adding GPU devices
[ 386.954] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 386.955] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 386.955] Entry deleted from font path.
[ 386.956] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 386.956] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 386.956] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 386.956] (II) Loader magic: 0x55f61625ae00
[ 386.956] (II) Module ABI versions:
[ 386.956] X.Org ANSI C Emulation: 0.4
[ 386.956] X.Org Video Driver: 23.0
[ 386.956] X.Org XInput driver : 24.1
[ 386.956] X.Org Server Extension : 10.0
[ 386.957] (++) using VT number 7
[ 386.957] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 386.957] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 386.963] (--) PCI:*(0:0:2:0) 8086:191b:1558:6540 rev 6, Mem @ 0xdd000000/16777216, 0xa0000000/536870912, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 386.963] (--) PCI: (0:1:0:0) 10de:1618:1558:6543 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 386.964] (II) LoadModule: "glx"
[ 386.965] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 386.970] (II) Module glx: vendor="X.Org Foundation"
[ 386.970] compiled for 1.19.2, module version = 1.0.0
[ 386.970] ABI class: X.Org Server Extension, version 10.0
[ 386.970] (==) Matched modesetting as autoconfigured driver 0
[ 386.970] (==) Matched fbdev as autoconfigured driver 1
[ 386.970] (==) Matched vesa as autoconfigured driver 2
[ 386.970] (==) Assigned the driver to the xf86ConfigLayout
[ 386.970] (II) LoadModule: "modesetting"
[ 386.970] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 386.971] (II) Module modesetting: vendor="X.Org Foundation"
[ 386.971] compiled for 1.19.2, module version = 1.19.2
[ 386.971] Module class: X.Org Video Driver
[ 386.971] ABI class: X.Org Video Driver, version 23.0
[ 386.971] (II) LoadModule: "fbdev"
[ 386.971] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 386.971] (II) Module fbdev: vendor="X.Org Foundation"
[ 386.971] compiled for 1.19.0, module version = 0.4.4
[ 386.971] Module class: X.Org Video Driver
[ 386.971] ABI class: X.Org Video Driver, version 23.0
[ 386.971] (II) LoadModule: "vesa"
[ 386.971] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 386.972] (II) Module vesa: vendor="X.Org Foundation"
[ 386.972] compiled for 1.19.0, module version = 2.3.4
[ 386.972] Module class: X.Org Video Driver
[ 386.972] ABI class: X.Org Video Driver, version 23.0
[ 386.972] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 386.972] (II) FBDEV: driver for framebuffer: fbdev
[ 386.972] (II) VESA: driver for VESA chipsets: vesa
[ 386.996] (II) modeset(0): using drv /dev/dri/card0
[ 386.996] (WW) Falling back to old probe method for fbdev
[ 386.996] (II) Loading sub module "fbdevhw"
[ 386.996] (II) LoadModule: "fbdevhw"
[ 386.996] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 386.996] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 386.996] compiled for 1.19.2, module version = 0.0.2
[ 386.996] ABI class: X.Org Video Driver, version 23.0
[ 386.996] (WW) Falling back to old probe method for vesa
[ 386.996] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 386.996] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 386.996] (==) modeset(0): RGB weight 888
[ 386.996] (==) modeset(0): Default visual is TrueColor
[ 386.996] (II) Loading sub module "glamoregl"
[ 386.996] (II) LoadModule: "glamoregl"
[ 386.997] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 387.002] (II) Module glamoregl: vendor="X.Org Foundation"
[ 387.002] compiled for 1.19.2, module version = 1.0.0
[ 387.002] ABI class: X.Org ANSI C Emulation, version 0.4
[ 387.002] (II) glamor: OpenGL accelerated X.org driver based.
[ 387.026] (II) glamor: EGL version 1.4 (DRI2):
[ 387.033] (II) modeset(0): glamor initialized
[ 387.034] (II) modeset(0): Output eDP-1 has no monitor section
[ 387.035] (II) modeset(0): EDID for output eDP-1
[ 387.035] (II) modeset(0): Manufacturer: LGD Model: 46f Serial#: 0
[ 387.035] (II) modeset(0): Year: 2014 Week: 0
[ 387.035] (II) modeset(0): EDID Version: 1.4
[ 387.035] (II) modeset(0): Digital Display Input
[ 387.035] (II) modeset(0): 6 bits per channel
[ 387.035] (II) modeset(0): Digital interface is DisplayPort
[ 387.035] (II) modeset(0): Max Image Size [cm]: horiz.: 34 vert.: 19
[ 387.035] (II) modeset(0): Gamma: 2.20
[ 387.035] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[ 387.035] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 387.035] (II) modeset(0): First detailed timing is preferred mode
[ 387.035] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[ 387.035] (II) modeset(0): redX: 0.640 redY: 0.345 greenX: 0.335 greenY: 0.625
[ 387.035] (II) modeset(0): blueX: 0.150 blueY: 0.052 whiteX: 0.313 whiteY: 0.329
[ 387.035] (II) modeset(0): Manufacturer's mask: 0
[ 387.035] (II) modeset(0): Supported detailed timing:
[ 387.035] (II) modeset(0): clock: 138.7 MHz Image Size: 344 x 194 mm
[ 387.035] (II) modeset(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 387.035] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 0
[ 387.035] (II) modeset(0): Supported detailed timing:
[ 387.035] (II) modeset(0): clock: 110.9 MHz Image Size: 344 x 194 mm
[ 387.035] (II) modeset(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 387.035] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 0
[ 387.035] (II) modeset(0): 3874Y156WF6
[ 387.035] (II) modeset(0): Unknown vendor-specific block 0
[ 387.035] (II) modeset(0): EDID (in hex):
[ 387.035] (II) modeset(0): 00ffffffffffff0030e46f0400000000
[ 387.035] (II) modeset(0): 0018010495221378eadc95a35855a026
[ 387.035] (II) modeset(0): 0d505400000001010101010101010101
[ 387.035] (II) modeset(0): 0101010101012e3680a070381f403020
[ 387.035] (II) modeset(0): 350058c21000001a522b80a070381f40
[ 387.035] (II) modeset(0): 3020350058c21000001a000000fe0033
[ 387.035] (II) modeset(0): 38373459803135365746360a00000000
[ 387.035] (II) modeset(0): 000041319e001000000a010a20200092
[ 387.035] (II) modeset(0): Printing probed modes for output eDP-1
[ 387.035] (II) modeset(0): Modeline "1920x1080"x60.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
[ 387.035] (II) modeset(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[ 387.035] (II) modeset(0): Modeline "1920x1080"x48.0 110.90 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (53.3 kHz e)
[ 387.035] (II) modeset(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[ 387.035] (II) modeset(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[ 387.035] (II) modeset(0): Modeline "1600x1024"x60.2 103.12 1600 1600 1656 1664 1024 1024 1029 1030 +hsync +vsync (62.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[ 387.036] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz d)
[ 387.036] (II) modeset(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "1360x768"x59.8 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync (47.7 kHz d)
[ 387.036] (II) modeset(0): Modeline "1360x768"x60.0 72.00 1360 1408 1440 1520 768 771 781 790 +hsync -vsync (47.4 kHz d)
[ 387.036] (II) modeset(0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 1520 864 865 868 895 -hsync +vsync (53.7 kHz d)
[ 387.036] (II) modeset(0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 387.036] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 387.036] (II) modeset(0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 387.036] (II) modeset(0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 387.036] (II) modeset(0): Modeline "960x600"x120.0 77.00 960 984 1000 1040 600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "960x540"x120.0 69.25 960 984 1000 1040 540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[ 387.036] (II) modeset(0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 387.036] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 387.036] (II) modeset(0): Modeline "840x525"x120.0 73.12 840 892 980 1120 525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[ 387.036] (II) modeset(0): Modeline "840x525"x119.8 59.50 840 864 880 920 525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[ 387.036] (II) modeset(0): Modeline "800x512"x120.3 51.56 800 800 828 832 512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 387.036] (II) modeset(0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "720x450"x119.8 53.25 720 760 836 952 450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[ 387.036] (II) modeset(0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 387.036] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 387.036] (II) modeset(0): Modeline "680x384"x119.6 42.38 680 716 784 888 384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[ 387.036] (II) modeset(0): Modeline "680x384"x119.9 36.00 680 704 720 760 384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[ 387.036] (II) modeset(0): Modeline "576x432"x120.1 40.81 576 608 668 760 432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[ 387.036] (II) modeset(0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 387.036] (II) modeset(0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 387.036] (II) modeset(0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 387.036] (II) modeset(0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 387.036] (II) modeset(0): Output eDP-1 connected
[ 387.036] (II) modeset(0): Using exact sizes for initial modes
[ 387.036] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[ 387.036] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 387.036] (==) modeset(0): DPI set to (96, 96)
[ 387.036] (II) Loading sub module "fb"
[ 387.036] (II) LoadModule: "fb"
[ 387.036] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 387.037] (II) Module fb: vendor="X.Org Foundation"
[ 387.037] compiled for 1.19.2, module version = 1.0.0
[ 387.037] ABI class: X.Org ANSI C Emulation, version 0.4
[ 387.037] (II) UnloadModule: "fbdev"
[ 387.037] (II) Unloading fbdev
[ 387.037] (II) UnloadSubModule: "fbdevhw"
[ 387.037] (II) Unloading fbdevhw
[ 387.037] (II) UnloadModule: "vesa"
[ 387.037] (II) Unloading vesa
[ 387.037] (==) Depth 24 pixmap format is 32 bpp
[ 387.109] (==) modeset(0): Backing store enabled
[ 387.109] (==) modeset(0): Silken mouse enabled
[ 387.110] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 387.110] (==) modeset(0): DPMS enabled
[ 387.110] (II) modeset(0): [DRI2] Setup complete
[ 387.110] (II) modeset(0): [DRI2] DRI driver: i965
[ 387.110] (II) modeset(0): [DRI2] VDPAU driver: i965
[ 387.110] (--) RandR disabled
[ 387.112] (II) SELinux: Disabled on system
[ 387.115] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 387.115] (II) AIGLX: enabled GLX_ARB_create_context
[ 387.115] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 387.115] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[ 387.115] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 387.115] (II) AIGLX: enabled GLX_SGI_swap_control
[ 387.115] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 387.115] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 387.115] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[ 387.115] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 387.115] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[ 387.115] (II) AIGLX: Loaded and initialized i965
[ 387.115] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 387.118] (II) modeset(0): Damage tracking initialized
[ 387.118] (II) modeset(0): Setting screen physical size to 508 x 285
[ 387.148] (II) config/udev: Adding input device Power Button (/dev/input/event6)
[ 387.148] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 387.148] (II) LoadModule: "libinput"
[ 387.148] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 387.151] (II) Module libinput: vendor="X.Org Foundation"
[ 387.151] compiled for 1.19.0, module version = 0.23.0
[ 387.151] Module class: X.Org XInput Driver
[ 387.151] ABI class: X.Org XInput driver, version 24.1
[ 387.151] (II) Using input driver 'libinput' for 'Power Button'
[ 387.151] (**) Power Button: always reports core events
[ 387.151] (**) Option "Device" "/dev/input/event6"
[ 387.151] (**) Option "_source" "server/udev"
[ 387.151] (II) input device 'Power Button', /dev/input/event6 is tagged by udev as: Keyboard
[ 387.151] (II) input device 'Power Button', /dev/input/event6 is a keyboard
[ 387.180] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input13/event6"
[ 387.180] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 387.180] (**) Option "xkb_model" "pc105"
[ 387.180] (**) Option "xkb_layout" "gb"
[ 387.192] (II) input device 'Power Button', /dev/input/event6 is tagged by udev as: Keyboard
[ 387.192] (II) input device 'Power Button', /dev/input/event6 is a keyboard
[ 387.192] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[ 387.192] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 387.192] (II) Using input driver 'libinput' for 'Video Bus'
[ 387.192] (**) Video Bus: always reports core events
[ 387.192] (**) Option "Device" "/dev/input/event9"
[ 387.192] (**) Option "_source" "server/udev"
[ 387.192] (II) input device 'Video Bus', /dev/input/event9 is tagged by udev as: Keyboard
[ 387.192] (II) input device 'Video Bus', /dev/input/event9 is a keyboard
[ 387.208] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input16/event9"
[ 387.208] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 387.208] (**) Option "xkb_model" "pc105"
[ 387.208] (**) Option "xkb_layout" "gb"
[ 387.208] (II) input device 'Video Bus', /dev/input/event9 is tagged by udev as: Keyboard
[ 387.208] (II) input device 'Video Bus', /dev/input/event9 is a keyboard
[ 387.208] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[ 387.208] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 387.208] (II) Using input driver 'libinput' for 'Video Bus'
[ 387.208] (**) Video Bus: always reports core events
[ 387.208] (**) Option "Device" "/dev/input/event10"
[ 387.208] (**) Option "_source" "server/udev"
[ 387.209] (II) input device 'Video Bus', /dev/input/event10 is tagged by udev as: Keyboard
[ 387.209] (II) input device 'Video Bus', /dev/input/event10 is a keyboard
[ 387.228] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input17/event10"
[ 387.228] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 387.228] (**) Option "xkb_model" "pc105"
[ 387.228] (**) Option "xkb_layout" "gb"
[ 387.228] (II) input device 'Video Bus', /dev/input/event10 is tagged by udev as: Keyboard
[ 387.228] (II) input device 'Video Bus', /dev/input/event10 is a keyboard
[ 387.229] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 387.229] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 387.229] (II) Using input driver 'libinput' for 'Power Button'
[ 387.229] (**) Power Button: always reports core events
[ 387.229] (**) Option "Device" "/dev/input/event3"
[ 387.229] (**) Option "_source" "server/udev"
[ 387.229] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[ 387.229] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[ 387.244] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input10/event3"
[ 387.244] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[ 387.244] (**) Option "xkb_model" "pc105"
[ 387.244] (**) Option "xkb_layout" "gb"
[ 387.244] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[ 387.244] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[ 387.245] (II) config/udev: Adding input device Lid Switch (/dev/input/event5)
[ 387.245] (II) No input driver specified, ignoring this device.
[ 387.245] (II) This device may have been added with another device file.
[ 387.245] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[ 387.245] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 387.245] (II) Using input driver 'libinput' for 'Sleep Button'
[ 387.245] (**) Sleep Button: always reports core events
[ 387.246] (**) Option "Device" "/dev/input/event4"
[ 387.246] (**) Option "_source" "server/udev"
[ 387.246] (II) input device 'Sleep Button', /dev/input/event4 is tagged by udev as: Keyboard
[ 387.246] (II) input device 'Sleep Button', /dev/input/event4 is a keyboard
[ 387.260] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input11/event4"
[ 387.260] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[ 387.260] (**) Option "xkb_model" "pc105"
[ 387.260] (**) Option "xkb_layout" "gb"
[ 387.261] (II) input device 'Sleep Button', /dev/input/event4 is tagged by udev as: Keyboard
[ 387.261] (II) input device 'Sleep Button', /dev/input/event4 is a keyboard
[ 387.262] (II) config/udev: Adding input device Logitech M325 (/dev/input/event1)
[ 387.262] (**) Logitech M325: Applying InputClass "libinput pointer catchall"
[ 387.262] (II) Using input driver 'libinput' for 'Logitech M325'
[ 387.262] (**) Logitech M325: always reports core events
[ 387.262] (**) Option "Device" "/dev/input/event1"
[ 387.262] (**) Option "_source" "server/udev"
[ 387.262] (II) input device 'Logitech M325', /dev/input/event1 is tagged by udev as: Mouse
[ 387.262] (II) Device 'Logitech M325' set to 600 DPI
[ 387.262] (II) input device 'Logitech M325', /dev/input/event1 is a pointer caps
[ 387.292] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/input/input7/event1"
[ 387.292] (II) XINPUT: Adding extended input device "Logitech M325" (type: MOUSE, id 11)
[ 387.292] (**) Option "AccelerationScheme" "none"
[ 387.292] (**) Logitech M325: (accel) selected scheme none/0
[ 387.292] (**) Logitech M325: (accel) acceleration factor: 2.000
[ 387.292] (**) Logitech M325: (accel) acceleration threshold: 4
[ 387.293] (II) input device 'Logitech M325', /dev/input/event1 is tagged by udev as: Mouse
[ 387.293] (II) Device 'Logitech M325' set to 600 DPI
[ 387.293] (II) input device 'Logitech M325', /dev/input/event1 is a pointer caps
[ 387.294] (II) config/udev: Adding input device Logitech M325 (/dev/input/mouse0)
[ 387.294] (II) No input driver specified, ignoring this device.
[ 387.294] (II) This device may have been added with another device file.
[ 387.294] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event8)
[ 387.294] (**) BisonCam, NB Pro: Applying InputClass "libinput keyboard catchall"
[ 387.294] (II) Using input driver 'libinput' for 'BisonCam, NB Pro'
[ 387.294] (**) BisonCam, NB Pro: always reports core events
[ 387.294] (**) Option "Device" "/dev/input/event8"
[ 387.294] (**) Option "_source" "server/udev"
[ 387.295] (II) input device 'BisonCam, NB Pro', /dev/input/event8 is tagged by udev as: Keyboard
[ 387.295] (II) input device 'BisonCam, NB Pro', /dev/input/event8 is a keyboard
[ 387.324] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/input/input15/event8"
[ 387.324] (II) XINPUT: Adding extended input device "BisonCam, NB Pro" (type: KEYBOARD, id 12)
[ 387.324] (**) Option "xkb_model" "pc105"
[ 387.324] (**) Option "xkb_layout" "gb"
[ 387.325] (II) input device 'BisonCam, NB Pro', /dev/input/event8 is tagged by udev as: Keyboard
[ 387.325] (II) input device 'BisonCam, NB Pro', /dev/input/event8 is a keyboard
[ 387.325] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event11)
[ 387.325] (II) No input driver specified, ignoring this device.
[ 387.325] (II) This device may have been added with another device file.
[ 387.326] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event12)
[ 387.326] (II) No input driver specified, ignoring this device.
[ 387.326] (II) This device may have been added with another device file.
[ 387.326] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event13)
[ 387.326] (II) No input driver specified, ignoring this device.
[ 387.326] (II) This device may have been added with another device file.
[ 387.327] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
[ 387.327] (II) No input driver specified, ignoring this device.
[ 387.327] (II) This device may have been added with another device file.
[ 387.327] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[ 387.327] (II) No input driver specified, ignoring this device.
[ 387.327] (II) This device may have been added with another device file.
[ 387.327] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event16)
[ 387.327] (II) No input driver specified, ignoring this device.
[ 387.327] (II) This device may have been added with another device file.
[ 387.328] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event17)
[ 387.328] (II) No input driver specified, ignoring this device.
[ 387.328] (II) This device may have been added with another device file.
[ 387.328] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 387.328] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 387.328] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 387.328] (**) AT Translated Set 2 keyboard: always reports core events
[ 387.328] (**) Option "Device" "/dev/input/event0"
[ 387.328] (**) Option "_source" "server/udev"
[ 387.329] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[ 387.329] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[ 387.364] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 387.364] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[ 387.364] (**) Option "xkb_model" "pc105"
[ 387.364] (**) Option "xkb_layout" "gb"
[ 387.365] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[ 387.365] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event0 is a keyboard
[ 387.365] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event2)
[ 387.365] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[ 387.365] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[ 387.365] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 387.365] (**) Option "Device" "/dev/input/event2"
[ 387.365] (**) Option "_source" "server/udev"
[ 387.366] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event2 is tagged by udev as: Touchpad
[ 387.366] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event2 is a touchpad
[ 387.396] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input6/event2"
[ 387.396] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 14)
[ 387.396] (**) Option "AccelerationScheme" "none"
[ 387.396] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[ 387.396] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 387.396] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 387.397] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event2 is tagged by udev as: Touchpad
[ 387.397] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event2 is a touchpad
[ 387.397] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 387.397] (II) No input driver specified, ignoring this device.
[ 387.397] (II) This device may have been added with another device file.
[ 387.398] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[ 387.398] (II) No input driver specified, ignoring this device.
[ 387.398] (II) This device may have been added with another device file.
[ 413.468] (II) modeset(0): EDID vendor "LGD", prod id 1135
[ 413.468] (II) modeset(0): Printing DDC gathered Modelines:
[ 413.468] (II) modeset(0): Modeline "1920x1080"x0.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
[ 413.468] (II) modeset(0): Modeline "1920x1080"x0.0 110.90 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (53.3 kHz e)
So is there a problem with lightdm? Someone else found that a different display manager worked IIRC.
Should I be experimenting with compton rendering options? It gets very tedious to do a hard reset every time something doesn't work!
Is there other info which might help eg dmesg, journald? (NB FYI, Debian stretch requires "sudo dmesg" )
Last edited by damo (2017-03-13 21:42:13)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
If graphical.target is used then the kernel parameter "acpi=off" is needed, or lightdm doesn't start the X server (but then bbswitch fails)
I think we need to see the journal contents during a failed LightDM start and also for the bbswitch failure.
try to restart the compositor and the screen and keyboard become frozen
Again, the .xsession-errors, Xorg.0.log & journal from that event may prove illuminating.
I installed "xserver-xorg-video-intel", as recommended for Skylake hardware
Actually, Debian recommend *removing* xserver-xorg-video-intel for Skylake hardware:
The use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use it's builtin modesetting driver instead.
https://packages.debian.org/stretch/xse … ideo-intel
However, the posted logs appear to show that the modesetting driver is actually being used so I think you're OK.
damo@stretch:~$ inxi -SMG
I'm sorry but I'm not familiar with the output of that program
Are you using the NVIDIA blobs?
sudo update-pciids && lspci -knn | grep -iA2 'vga\|3d'
If so, have you tried nouveau?
Those drivers are much more stable and the performance is respectable these days, apparently.
So is there a problem with lightdm?
That's easy enough to test from your console login:
startx
Offline
As hint, in arch-linux, the problem seems to be solved.
Offline
I installed "xserver-xorg-video-intel", as recommended for Skylake hardware
Actually, Debian recommend *removing* xserver-xorg-video-intel for Skylake hardware:
packages.debian.org wrote:The use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use it's builtin modesetting driver instead.
https://packages.debian.org/stretch/xse … ideo-intel
However, the posted logs appear to show that the modesetting driver is actually being used so I think you're OK.
Installed as described in Broadwell and beyond in BunsenLabs
damo@stretch:~$ inxi -SMG
I'm sorry but I'm not familiar with the output of that program
Are you using the NVIDIA blobs?
sudo update-pciids && lspci -knn | grep -iA2 'vga\|3d'
If so, have you tried nouveau?
Those drivers are much more stable and the performance is respectable these days, apparently.
$ apt-cache show inxi
...
Description-en: full featured system information script
Inxi is a system information script that can display various things about
your hardware and software
...
I'm using the driver installed by bumblebee-nvidia. Anyway, nouveau works if using "nomodeset", but only has one choice of screen resolution, and the dpi is unsuitable for a HiDPI screen Also I've never managed to get CUDA gpu rendering working with nouveau, and that is essential for my use case.
I'll check out your other suggestions when I reboot to BL
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
As hint, in arch-linux, the problem seems to be solved.
Thank you, I will try and translate! But maybe that solution won't work with optirun?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Installed as described in Broadwell and beyond in BunsenLabs
You are using the graphics stack from jessie-backports in your stretch system?
That guide doesn't apply to stretch because the Xorg version is much newer (and is not available from jessie-backports) and provides the modesetting DDX driver you need.
Offline
damo wrote:Installed as described in Broadwell and beyond in BunsenLabs
You are using the graphics stack from jessie-backports in your stretch system?
...
No, I just made sure those packages were installed (although I have now removed xserver-xorg-video-intel)
The culprit seems to be bumblebeed.service - if it is running before trying startx or lightdm the screen and keyboard freeze, and I need to do a hard reset. journalctl has...
org.a11y.atspi.Registry[1034]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
On the desktop machine I can run Blender from the extracted zipfile, which includes all the nvidia and CUDA libs needed for gpu rendering. That method didn't work on this laptop, but apt-getting blender and nvidia-cuda-toolkit solved that issue, and I can do 'optirun blender'
It is sort of [SOLVED], by disabling bumblebeed.service at boot, but I haven't yet found a way to automatically start it after X starts. Any systemd gurus in the house?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
journalctl has...
I'm sure that the journal has more than that
Try:
journalctl -u bumblebeed.service
Offline
$ journalctl -u bumblebeed.service
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
-- No entries --
$ sudo journalctl -u bumblebeed.service
-- Logs begin at Mon 2017-03-13 23:11:25 GMT, end at Mon 2017-03-13 23:57:29 GMT. --
Mar 13 23:11:27 stretch systemd[1]: Started Bumblebee C Daemon.
Mar 13 23:11:27 stretch bumblebeed[545]: [ 8.858391] [INFO]/usr/sbin/bumblebeed 3
-- Reboot --
Mar 13 23:17:39 stretch systemd[1]: Started Bumblebee C Daemon.
Mar 13 23:17:39 stretch bumblebeed[572]: [ 9.171452] [INFO]/usr/sbin/bumblebeed 3
Mar 13 23:28:11 stretch bumblebeed[572]: [ 641.067115] [WARN]Received Terminated si
Mar 13 23:28:11 stretch systemd[1]: Stopping Bumblebee C Daemon...
Mar 13 23:28:11 stretch systemd[1]: Stopped Bumblebee C Daemon.
Mar 13 23:28:48 stretch systemd[1]: Started Bumblebee C Daemon.
Mar 13 23:28:48 stretch bumblebeed[1932]: [ 677.941819] [INFO]/usr/sbin/bumblebeed
-- Reboot --
Mar 13 23:35:26 stretch systemd[1]: Started Bumblebee C Daemon.
Mar 13 23:35:26 stretch bumblebeed[438]: [ 5.469113] [INFO]/usr/sbin/bumblebeed 3
Mar 13 23:42:19 stretch systemd[1]: Stopping Bumblebee C Daemon...
Mar 13 23:42:19 stretch bumblebeed[438]: [ 418.977936] [WARN]Received Terminated si
Mar 13 23:42:20 stretch systemd[1]: Stopped Bumblebee C Daemon.
Then, if bumblebeed is running, and I try startx, the Xorg.0.log isn't written, but these are the lines which appear in the tty before it freezes...
[ 421.673]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 421.677] X Protocol Version 11, Revision 0
[ 421.677] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 421.678] Current Operating System: Linux stretch 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64
[ 421.678] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 root=UUID=a948943c-a138-43b8-837f-0e0ff4ba0f16 ro systemd.unit=multi-user.target
[ 421.679] Build Date: 03 March 2017 03:14:41PM
[ 421.680] xorg-server 2:1.19.2-1 (https://www.debian.org/support)
[ 421.681] Current version of pixman: 0.34.0
[ 421.682] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 421.682] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 421.686] (==) Log file: "/home/damo/.local/share/xorg/Xorg.0.log", Time: Mon Mar 13 23:42:22 2017
[ 421.688] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 421.689] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
****************** This is where it freezes *******************************
The next section should be
[ 421.689] (==) No Layout section. Using the first Screen section.
[ 421.689] (==) No screen section available. Using defaults.
[ 421.689] (**) |-->Screen "Default Screen Section" (0)
[ 421.689] (**) | |-->Monitor "<default monitor>"
[ 421.690] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 421.690] (==) Automatically adding devices
[ 421.690] (==) Automatically enabling devices
[ 421.690] (==) Automatically adding GPU devices
...
...
...
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Try this before using `startx` (with bumblebeed.service enabled & running):
sudo tee /proc/acpi/bbswitch <<<ON
https://github.com/Bumblebee-Project/Bu … issues/764
Also from that thread, the glx backend can be changed with:
sudo update-alternatives --config glx
https://packages.debian.org/jessie/glx- … ive-nvidia
The Debian wiki NVIDIA page recommends trying the Bumblebee IRC channel for any problems:
Offline
Try this before using `startx` (with bumblebeed.service enabled & running):
sudo tee /proc/acpi/bbswitch <<<ON
How come I didn't find that thread? 8o
The bbswitch command worked! Desktop loads without freezing X! One of the workarounds seems to have fixed the entire problem - booting with...
GRUB_CMDLINE_LINUX_DEFAULT='acpi_osi="!Windows 2015"'
Now things seem to be as expected:
damo@stretch:~$ glxgears -info
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
GL_VERSION = 3.0 Mesa 13.0.5
GL_VENDOR = Intel Open Source Technology Center
....
....
damo@stretch:~$ optirun glxgears -info
GL_RENDERER = GeForce GTX 970M/PCIe/SSE2
GL_VERSION = 4.5.0 NVIDIA 375.39
GL_VENDOR = NVIDIA Corporation
....
....
(Thanks for the hand-holding {) )
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline