[Intel-gfx] machine lockup if startup xrandr and cmdline video= and display connection is DisplayPort

Felix Miata mrmazda at earthlink.net
Thu Sep 10 16:26:32 PDT 2015


If on one multiboot machine:
video=1440x900 at 60 on kernel cmdline
and in startup script
xrandr --dpi 108 --output DP1 --mode 1680x1050 # intel digital
and
default/init level = multi-user.target
and
connection between PC and display is standard DisplayPort cable
and
openSUSE 13.2 i586
then startx blips the screen, then blips it again leaving a text cursor at 0,0,
keyboard fails to respond to anything, and no mouse pointer appears. Hard reset
or power cycle is required for anything more to happen.

openSUSE 13.2 booted without 1440x900 at 60 on kernel cmdline, before upgrading from
standard repos to openSUSE buildservice X11:XOrg repos:
# openSUSE 13.2 host gx780
intel-gpu-tools-1.7-2.1.3.i586
libdrm_intel1-2.4.58-1.1.i586
vaapi-intel-driver-1.2.0-4.1.3.i586
xf86-video-intel-2.99.916-12.1.i586
$ grep 'using VT' /var/log/Xorg.0.log
[   142.269] (--) using VT number 7
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
$ grep chipsets /var/log/Xorg.0.log | egrep -v 'VESA|FBDEV'
$ grep PRETTY /etc/os-release
PRETTY_NAME="openSUSE 13.2 (Harlequin) (i586)"
$ grep 'X.Org X Server' /var/log/Xorg.0.log
X.Org X Server 1.16.1
$ grep 'Current Operating System' /var/log/Xorg.0.log
[   142.029] Current Operating System: Linux gx780 3.16.7-24-desktop #1 SMP PREEMPT Mon Aug 3 14:37:06 UTC 2015 (ec183cc) i686
$ grep 'Kernel Command Line' /var/log/Xorg.0.log
[   142.029] Kernel command line: root=LABEL=13os132 ipv6.disable=1 net.ifnames=0 noresume splash=0 3
$ grep Output /var/log/Xorg.0.log | egrep -v 'disconnec|no monit' | grep -v 'nitor sect'
[   142.301] (--) intel(0): Output DP1 using initial mode 1680x1050 on pipe 0
$ egrep -i "physical size|cm]" /var/log/Xorg.0.log
[   142.475] (II) intel(0): Setting screen physical size to 444 x 277
$ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep DisplaySize
$ grep -v ^\# /etc/X11/xorg.conf | grep DisplaySize
$ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep PreferredMode
$ grep -v ^\# /etc/X11/xorg.conf | grep PreferredMode
$ grep -v ^\# /etc/X11/xinit/xinitrd.d/setup | grep xrandr
xrandr --dpi 108 --output DP1 --mode 1680x1050 # intel digital
$ xrdb -query | grep dpi
$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x 32767
DP1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.97*+  74.89  
$ xdpyinfo | egrep 'dimen|ution'
  dimensions:    1680x1050 pixels (395x246 millimeters)
  resolution:    108x108 dots per inch

openSUSE 13.2 booted without 1440x900 at 60 on kernel cmdline, before upgrading from
standard repos to openSUSE buildservice X11:XOrg repos:
# openSUSE 13.2 host gx780 after update to BS Xorg
Mesa-10.6.6-495.1.i586
Mesa-libEGL1-10.6.6-495.1.i586
Mesa-libGL1-10.6.6-495.1.i586
Mesa-libglapi0-10.6.6-495.1.i586
intel-gpu-tools-1.7-2.1.3.i586
libdrm_intel1-2.4.64-180.1.i586
libxcb-dri2-0-1.11.1-49.1.i586
libxcb-dri3-0-1.11.1-49.1.i586
vaapi-intel-driver-1.6.0-34.1.i586
xf86-video-intel-2.99.917-151.2.i586
xorg-x11-driver-video-7.6_1-220.1.i586
$ grep 'using VT' /var/log/Xorg.0.log
[   172.980] (++) using VT number 3
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
$ grep chipsets /var/log/Xorg.0.log | egrep -v 'VESA|FBDEV'
$ grep PRETTY /etc/os-release
PRETTY_NAME="openSUSE 13.2 (Harlequin) (i586)"
$ grep 'X.Org X Server' /var/log/Xorg.0.log
X.Org X Server 1.17.2
$ grep 'Current Operating System' /var/log/Xorg.0.log
[   172.865] Current Operating System: Linux gx780 3.16.7-24-desktop #1 SMP PREEMPT Mon Aug 3 14:37:06 UTC 2015 (ec183cc) i686
$ grep 'Kernel Command Line' /var/log/Xorg.0.log
[   172.865] Kernel command line: root=LABEL=13os132 ipv6.disable=1 net.ifnames=0 noresume splash=0 3
$ grep Output /var/log/Xorg.0.log | egrep -v 'disconnec|no monit' | grep -v 'nitor sect'
[   173.142] (--) intel(0): Output DP1 using initial mode 1680x1050 on pipe 0
$ egrep -i "physical size|cm]" /var/log/Xorg.0.log
[   173.302] (II) intel(0): Setting screen physical size to 444 x 277
$ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep DisplaySize
$ grep -v ^\# /etc/X11/xorg.conf | grep DisplaySize
$ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep PreferredMode
$ grep -v ^\# /etc/X11/xorg.conf | grep PreferredMode
$ grep -v ^\# /etc/X11/xinit/xinitrd.d/setup | grep xrandr
xrandr --dpi 108 --output DP1 --mode 1680x1050 # intel digital
$ xrdb -query | grep dpi
$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x 32767
DP1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.97*+  74.89  
$ xdpyinfo | egrep 'dimen|ution'
  dimensions:    1680x1050 pixels (395x246 millimeters)
  resolution:    108x108 dots per inch

Note the lockup in above case occurs after startx exits and writes various exit messages
on a normal looking vtty screen.

Lockup does not occur doing same in x86_64 openSUSE Tumbleweed:
# openSUSE Tumbleweed host gx780
Mesa-10.6.5-120.1.x86_64
Mesa-32bit-10.6.5-120.1.x86_64
Mesa-demo-x-8.2.0-5.1.x86_64
Mesa-libEGL1-10.6.5-120.1.x86_64
Mesa-libEGL1-32bit-10.6.5-120.1.x86_64
Mesa-libGL1-10.6.5-120.1.x86_64
Mesa-libGL1-32bit-10.6.5-120.1.x86_64
Mesa-libGLESv2-2-10.6.5-120.1.x86_64
Mesa-libglapi0-10.6.5-120.1.x86_64
Mesa-libglapi0-32bit-10.6.5-120.1.x86_64
intel-gpu-tools-1.11-1.1.x86_64
libdrm_intel1-2.4.64-1.1.x86_64
libdrm_intel1-32bit-2.4.64-1.1.x86_64
libxcb-dri2-0-1.11-3.3.x86_64
libxcb-dri2-0-32bit-1.11-3.3.x86_64
libxcb-dri3-0-1.11-3.3.x86_64
libxcb-dri3-0-32bit-1.11-3.3.x86_64
vaapi-intel-driver-1.6.0-1.1.x86_64
xf86-video-intel-2.99.917-3.1.x86_64
xorg-x11-driver-video-7.6_1-15.1.x86_64
$ grep 'using VT' /var/log/Xorg.0.log
[  3934.915] (++) using VT number 3
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
$ grep chipsets /var/log/Xorg.0.log | egrep -v 'VESA|FBDEV'
$ grep PRETTY /etc/os-release
PRETTY_NAME="openSUSE 20150908 (Tumbleweed) (x86_64)"
$ grep 'X.Org X Server' /var/log/Xorg.0.log
X.Org X Server 1.17.2
$ grep 'Current Operating System' /var/log/Xorg.0.log
[  3934.878] Current Operating System: Linux gx780 4.1.6-1-desktop #1 SMP PREEMPT Mon Aug 17 14:43:25 UTC 2015 (9dbe563) x86_64
$ grep 'Kernel Command Line' /var/log/Xorg.0.log
[  3934.878] Kernel command line: root=LABEL=09ostw64 audit=0 ipv6.disable=1 net.ifnames=0 noresume splash=0 video=1440x900 at 60 3
$ grep Output /var/log/Xorg.0.log | egrep -v 'disconnec|no monit' | grep -v 'nitor sect'
[  3935.008] (--) intel(0): Output DP1 using initial mode 1440x900 on pipe 0
$ egrep -i "physical size|cm]" /var/log/Xorg.0.log
[  3935.068] (II) intel(0): Setting screen physical size to 381 x 238
$ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep DisplaySize
$ grep -v ^\# /etc/X11/xorg.conf | grep DisplaySize
$ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep PreferredMode
$ grep -v ^\# /etc/X11/xorg.conf | grep PreferredMode
$ grep -v ^\# /etc/X11/xinit/xinitrd.d/setup | grep xrandr
xrandr --dpi 108 --output DP1 --mode 1680x1050 # intel digital
$ xrdb -query | grep dpi
$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x 32767
DP1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.97*+  74.89  
$ xdpyinfo | egrep 'dimen|ution'
  dimensions:    1680x1050 pixels (395x246 millimeters)
  resolution:    108x108 dots per inch

Neither does the lockup occur in the 13.2 installation if the xrandr script has
	
	s/DP1/VGA1/

and the machine booted after the cable is changed from DisplayPort to standard
15 pin VGA.

In amd64 Debian Jessie (kernel 3.16, server 1.16.4), lockup on exit does not occur,
but there is a startx exit oops/Call Trace preceding the line "(EE) Server terminated
successfully (0). Closing Log file." that does not show up in .xsession-errors or
in Xorg.0.log, starting with a WARNING about check_crtc_state pipe state doesn't match.

Is lockup using DisplayPort cable a known problem? Kernel? Driver? Xorg? Other?
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


More information about the Intel-gfx mailing list