Last change 2019.08.14 21:27:18 / Time 2019.08.19 05:41:20

[Problems]

How it all started User Groups
Debian Applications Applications (disk) Applications (databases) Applications (games) Applications (office) Applications (webmail)
News & Magazines Comics Distributions FTP Howto Info Java Kernel Mirrors Notebooks PPP VI WindowManagers Xfree86
http://www.sslug.dk/ http://www.icewalkers.com/ http://www.linuxtoday.com/ http://slashdot.org/ http://sourceforge.net/ http://www.tuxtops.com/ http://www.linuxfocus.org/ http://www-03.ibm.com/systems/z/os/linux/ http://forums.justlinux.com/ http://www.linuxformat.com/ http://www.linuxlinks.com/ http://www.linuxplanet.com/ http://en.tldp.org/ http://rootprompt.org/
Bugs:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892939
linux-image-4.14.0-3-amd64 drm/i915 only 1024x768 as max resolution

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903821
xen-hypervisor-4.8-amd64: Kernel Panic after upgrading to stretch 9.5 (linux-image-4.9.0-7-amd64)
-solved by adding pti=off to the kernel boot parameters

Problems

Intel HD Graphics 620

Hardware: On stable kernel 4.9.0-9 max display 1920x1080.
inxi -G
Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel
  Display: x11 server: X.Org 1.20.4  driver: modesetting unloaded: fbdev,vesa
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) v: 4.5 Mesa 18.3.6
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 DP-1 connected
primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
On stable kernel 4.19.0-5 max display 1024x768.
inxi -G
Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
  resolution: 1024x768~60Hz
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) v: 4.5 Mesa 18.3.6 
xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 DP-1 connected
primary 1024x768+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1024x768      60.00* 
   800x600       75.00    60.32  
   720x576       50.00    50.00    50.00  
   720x480       60.00    60.00    59.94    59.94    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94    59.94  
720x400       70.08  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
Using kernel parameter "nomodeset" we again have display 1920x1080, but by vesa driver.
inxi -G
Graphics:
  Device-1: Intel HD Graphics 620 driver: N/A 
  Display: x11 server: X.Org 1.20.4 driver: vesa unloaded: fbdev,modesetting 
  resolution: 1920x1080~N/A 
  OpenGL: renderer: llvmpipe (LLVM 7.0 256 bits) v: 3.3 Mesa 18.3.6 
xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 
   640x480        0.00  
dpkg -L firmware-misc-nonfree|grep i915
/lib/firmware/i915
/lib/firmware/i915/bxt_dmc_ver1_07.bin
/lib/firmware/i915/bxt_guc_ver8_7.bin
/lib/firmware/i915/bxt_guc_ver9_29.bin
/lib/firmware/i915/bxt_huc_ver01_07_1398.bin
/lib/firmware/i915/cnl_dmc_ver1_07.bin
/lib/firmware/i915/glk_dmc_ver1_04.bin
/lib/firmware/i915/kbl_dmc_ver1_01.bin
/lib/firmware/i915/kbl_dmc_ver1_04.bin
/lib/firmware/i915/kbl_guc_ver9_14.bin
/lib/firmware/i915/kbl_guc_ver9_39.bin
/lib/firmware/i915/kbl_huc_ver02_00_1810.bin
/lib/firmware/i915/skl_dmc_ver1_23.bin
/lib/firmware/i915/skl_dmc_ver1_26.bin
/lib/firmware/i915/skl_dmc_ver1_27.bin
/lib/firmware/i915/skl_guc_ver1.bin
/lib/firmware/i915/skl_guc_ver4.bin
/lib/firmware/i915/skl_guc_ver6_1.bin
/lib/firmware/i915/skl_guc_ver9_33.bin
/lib/firmware/i915/skl_huc_ver01_07_1398.bin
/lib/firmware/i915/bxt_dmc_ver1.bin
/lib/firmware/i915/kbl_dmc_ver1.bin
/lib/firmware/i915/skl_dmc_ver1.bin
/lib/firmware/i915/skl_guc_ver6.bin
modinfo i915 | egrep -i "guc|huc|dmc"
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_27.bin
firmware:       i915/kbl_dmc_ver1_04.bin
firmware:       i915/cnl_dmc_ver1_07.bin
firmware:       i915/glk_dmc_ver1_04.bin
firmware:       i915/kbl_guc_ver9_39.bin
firmware:       i915/bxt_guc_ver9_29.bin
firmware:       i915/skl_guc_ver9_33.bin
firmware:       i915/kbl_huc_ver02_00_1810.bin
firmware:       i915/bxt_huc_ver01_07_1398.bin
firmware:       i915/skl_huc_ver01_07_1398.bin
parm:           enable_guc:Enable GuC load for GuC submission and/or HuC load. Required functionality can be selected using bitmask values.
 (-1=auto, 0=disable [default], 1=GuC submission, 2=HuC load) (int)
parm:           guc_log_level:GuC firmware logging level. Requires GuC to be loaded.
 (-1=auto [default], 0=disable, 1..4=enable with verbosity min..max) (int)
parm:           guc_firmware_path:GuC firmware path to use instead of the default one (charp)
parm:           huc_firmware_path:HuC firmware path to use instead of the default one (charp)
parm:           dmc_firmware_path:DMC firmware path to use instead of the default one (charp)

modinfo -p i915

/etc/modprobe.d/i915.conf
options i915 enable_guc=3
options i915 enable_fbc=1

/usr/share/doc/linux-doc-4.19/html/gpu/i915.html
/usr/share/man/man4/modesetting.4.gz
https://gist.github.com/Brainiarc7/aa43570f512906e882ad6cdd835efe57

firmware-misc-nonfree
options i915 enable_guc_loading=1 enable_guc_submission=1

drm.debug=0xe

xserver-xorg-video-intel
intel_drv.so
options i915 modeset=1

https://wiki.archlinux.org/index.php/Intel_graphics

systemctl get-default = graphical.target
systemctl set-default multi-user.target
systemctl get-default = multi-user.target
A solution can be to create xorg.conf and use intel driver instead of modesetting.
(as root)
cd /etc/X11/
Xorg -configure
(copy /root/xorg.conf.new to /etc/X11/xorg.conf)

inxi -G
Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel 
  Display: tty server: X.Org 1.20.4 driver: amdgpu,ati,fbdev,intel,modesetting,nouveau,radeon,vesa,vmware
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) v: 4.5 Mesa 18.3.6
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

lsof +D /usr/lib/xorg/modules/drivers/
COMMAND  PID USER  FD   TYPE DEVICE SIZE/OFF   NODE NAME
Xorg    3391  tsj mem    REG    8,1  1702440 672879 /usr/lib/xorg/modules/drivers/intel_drv.so

lshw -c video

i915.enable_guc=-1
/sys/kernel/debug/dri/0/i915_guc_load_status
=not working, prevent X start with modesetting driver