Last change 2021.07.06 19:53:18 / Time 2024.04.20 02:47:41

[Problems]

How it all started

User Groups

Tips

Links1

 

 

Links2

 

 

 

https://sslug.dk/ https://www.icewalkers.com/ https://www.linuxtoday.com/ https://slashdot.org/ https://sourceforge.net/ https://www.tuxtops.com/ http://www.linuxfocus.org/ https://www.ibm.com/it-infrastructure/z/os/linux https://forums.justlinux.com/ https://www.linuxformat.com/ http://www.linuxlinks.com/ https://tldp.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: Status and tips:

Stable kernel 4.9.0-9 max display 1920x1080

Connected to monitor by HDMI cable over HDMI port.
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)

Stable kernel 4.19.0-6 max display 1024x768

Connected to monitor by HDMI cable over HDMI port.
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)

Stable kernel 4.19.0-6 working solution

Connected to monitor by HDMI cable over DisplayPort with converter.
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 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  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    60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00    50.00    50.00  
   720x576i      50.00    50.00  
   720x480       60.00    60.00    59.94    59.94    59.94  
   720x480i      60.00    60.00    59.94    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94    59.94  
   720x400       70.08  

Kernel nomodeset

Using kernel parameter "nomodeset" we get display 1920x1080, 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  

Driver i915

dpkg -L firmware-misc-nonfree|grep i915
modinfo i915|egrep -i "guc|huc|dmc"
modinfo -p i915

/usr/share/doc/linux-doc-4.19/html/gpu/i915.html
options i915 enable_guc=3
options i915 enable_fbc=1

A solution can be to create xorg.conf and use intel driver instead of modesetting?
cd /etc/X11/
Xorg -configure
(copy /root/xorg.conf.new to /etc/X11/xorg.conf)
lsof +D /usr/lib/xorg/modules/drivers/

Parms:
i915.modeset=1
i915.enable_dc (power saving)
i915.enable_fbc=0 (frame buffer compress)
i915.disable_power_well=1 ???
i915.fastboot=1
i915.enable_guc=1 ???

/sys/kernel/debug/dri/0/i915_guc_load_status

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