tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Xorg i915 crashes



Hi,

for a while, the X server (pkgsrc) has been dying quickly on a netbsd-9 HP Elitebook 2170p with i915 graphics - typically after typing two or three letters into the xdm username field, although just starting Xorg fails in the same way. This used to work...

The kernel has some related complaints during boot:

Dec 5 09:25:55 hp2170p /netbsd: [ 9.5031191] kern info: [drm] Memory usable by graphics device = 2048M Dec 5 09:25:55 hp2170p /netbsd: [ 9.5312968] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). Dec 5 09:25:55 hp2170p /netbsd: [ 9.5565789] kern info: [drm] Driver supports precise vblank timestamp query. Dec 5 09:25:55 hp2170p /netbsd: [ 9.5810748] kern info: [drm] failed to find VBIOS tables Dec 5 09:25:55 hp2170p /netbsd: [ 9.6052938] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
Dec  5 09:25:55 hp2170p /netbsd: [   9.6578218] intelfb0 at i915drmkms0
Dec 5 09:25:55 hp2170p /netbsd: [ 9.6855279] intelfb0: framebuffer at 0xffff9180ae525000, size 1366x768, depth 32, stride 5504 Dec 5 09:25:55 hp2170p /netbsd: [ 9.7178498] kern error: [drm:(/local/source/netbsd-9/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:230)cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A Dec 5 09:25:55 hp2170p /netbsd: [ 9.7744950] kern error: [drm:(/local/source/netbsd-9/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:381)intel_pch_fifo_underrun_irq_handler] *ERROR* PCH transcoder A FIFO underrun

I have attached the Xorg.log.

The stack trace appears to point to the intel driver:

# gdb /usr/pkg/bin/Xorg /Xorg.core
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/bin/Xorg...
(No debugging symbols found in /usr/pkg/bin/Xorg)
[New process 1]
[New process 2]
Core was generated by `Xorg'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007eba8b58353a in _lwp_kill () from /usr/lib/libc.so.12
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x00007eba8b58353a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007eba8b5831e9 in abort () from /usr/lib/libc.so.12
#2  0x000000000056a04b in OsAbort ()
#3  0x000000000056e7fa in AbortServer ()
#4  0x000000000056f525 in FatalError ()
#5  0x00000000005673f3 in OsSigHandler ()
#6  <signal handler called>
#7  0x0000000000000000 in ?? ()
#8 0x00007eba8621cab1 in kgem_retire () from /usr/pkg/lib/xorg/modules/drivers/intel_drv.so #9 0x00007eba8621e26c in kgem_cleanup_cache () from /usr/pkg/lib/xorg/modules/drivers/intel_drv.so #10 0x00007eba8621e3c4 in __kgem_bo_map__cpu () from /usr/pkg/lib/xorg/modules/drivers/intel_drv.so #11 0x00007eba86221f40 in kgem_new_batch () from /usr/pkg/lib/xorg/modules/drivers/intel_drv.so #12 0x00007eba8622282f in kgem_init () from /usr/pkg/lib/xorg/modules/drivers/intel_drv.so #13 0x00007eba86267e8a in sna_pre_init () from /usr/pkg/lib/xorg/modules/drivers/intel_drv.so
#14 0x000000000046ac30 in InitOutput ()
#15 0x0000000000432ecb in dix_main ()
#16 0x000000000041ed0d in ___start ()
#17 0x00007f7ec220ea18 in ?? () from /usr/libexec/ld.elf_so
#18 0x0000000000000008 in ?? ()
#19 0x00007f7fffdaf960 in ?? ()
#20 0x00007f7fffdaf972 in ?? ()
#21 0x00007f7fffdaf975 in ?? ()
#22 0x00007f7fffdaf97a in ?? ()
#23 0x00007f7fffdaf981 in ?? ()
#24 0x00007f7fffdaf989 in ?? ()
#25 0x00007f7fffdaf9a0 in ?? ()
#26 0x00007f7fffdaf9a6 in ?? ()
#27 0x0000000000000000 in ?? ()
(gdb)

Does this speak to anybody?

Cheerio,
hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344
[ 17130.533] 
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[ 17130.533] Build Operating System: NetBSD-9.0_BETA-x86_64 The NetBSD Foundation
[ 17130.533] Current Operating System: NetBSD Anscharte.nt.e-technik.tu-darmstadt.de 9.0_BETA NetBSD 9.0_BETA (HP2170P) #0: Sat Nov 23 11:48:25 CET 2019  hauke@localhost:/var/obj/netbsd-builds/9/amd64/sys/arch/amd64/compile/HP2170P amd64
[ 17130.534] Build Date: 27 November 2019  06:29:04PM
[ 17130.534]  
[ 17130.534] Current version of pixman: 0.38.4
[ 17130.534] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 17130.534] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 17130.534] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  5 14:11:13 2019
[ 17130.534] (++) Using config file: "/etc/pkg/X11/xorg.conf"
[ 17130.535] (==) ServerLayout "X.org Configured"
[ 17130.535] (**) |-->Screen "Screen0" (0)
[ 17130.535] (**) |   |-->Monitor "LVDS1"
[ 17130.536] (**) |   |-->Device "Card0"
[ 17130.536] (**) |-->Screen "Screen1" (1)
[ 17130.536] (**) |   |-->Monitor "VGA1"
[ 17130.537] (**) |   |-->Device "Card1"
[ 17130.537] (**) |-->Input Device "Touchpad"
[ 17130.537] (**) |-->Input Device "Keyboard0"
[ 17130.537] (==) Not automatically adding devices
[ 17130.537] (==) Not automatically enabling devices
[ 17130.537] (==) Not automatically adding GPU devices
[ 17130.537] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 17130.537] (WW) The directory "/usr/pkg/share/fonts/X11/OTF" does not exist.
[ 17130.537] 	Entry deleted from font path.
[ 17130.537] (WW) `fonts.dir' not found (or not valid) in "/usr/pkg/share/fonts/X11/cyrillic".
[ 17130.537] 	Entry deleted from font path.
[ 17130.537] 	(Run 'mkfontdir' on "/usr/pkg/share/fonts/X11/cyrillic").
[ 17130.537] (WW) The directory "/usr/pkg/share/fonts/X11/OTF" does not exist.
[ 17130.537] 	Entry deleted from font path.
[ 17130.537] (WW) `fonts.dir' not found (or not valid) in "/usr/pkg/share/fonts/X11/cyrillic".
[ 17130.537] 	Entry deleted from font path.
[ 17130.537] 	(Run 'mkfontdir' on "/usr/pkg/share/fonts/X11/cyrillic").
[ 17130.537] (WW) The directory "/usr/pkg/lib/X11/fonts/misc" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (WW) The directory "/usr/pkg/lib/X11/fonts/TTF" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (WW) The directory "/usr/pkg/lib/X11/fonts/OTF" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (WW) The directory "/usr/pkg/lib/X11/fonts/Type1" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (WW) The directory "/usr/pkg/lib/X11/fonts/100dpi" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (WW) The directory "/usr/pkg/lib/X11/fonts/75dpi" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (WW) The directory "/usr/pkg/lib/X11/fonts/cyrillic" does not exist.
[ 17130.538] 	Entry deleted from font path.
[ 17130.538] (**) FontPath set to:
	/usr/pkg/share/fonts/X11/misc,
	/usr/pkg/share/fonts/X11/TTF,
	/usr/pkg/share/fonts/X11/Type1,
	/usr/pkg/share/fonts/X11/100dpi,
	/usr/pkg/share/fonts/X11/75dpi,
	/usr/pkg/share/fonts/X11/misc,
	/usr/pkg/share/fonts/X11/TTF,
	/usr/pkg/share/fonts/X11/Type1,
	/usr/pkg/share/fonts/X11/100dpi,
	/usr/pkg/share/fonts/X11/75dpi
[ 17130.538] (**) ModulePath set to "/usr/pkg/lib/xorg/modules"
[ 17130.538] (II) Loader magic: 0x7f54e0
[ 17130.538] (II) Module ABI versions:
[ 17130.538] 	X.Org ANSI C Emulation: 0.4
[ 17130.538] 	X.Org Video Driver: 24.0
[ 17130.538] 	X.Org XInput driver : 24.1
[ 17130.538] 	X.Org Server Extension : 10.0
[ 17130.545] (--) PCI:*(0@0:2:0) 8086:0166:103c:1815 rev 9, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00002000/64
[ 17130.545] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 17130.545] (II) LoadModule: "glx"
[ 17130.546] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libglx.so
[ 17130.549] (II) Module glx: vendor="X.Org Foundation"
[ 17130.549] 	compiled for 1.20.6, module version = 1.0.0
[ 17130.549] 	ABI class: X.Org Server Extension, version 10.0
[ 17130.549] (II) LoadModule: "shadow"
[ 17130.550] (II) Loading /usr/pkg/lib/xorg/modules/libshadow.so
[ 17130.550] (II) Module shadow: vendor="X.Org Foundation"
[ 17130.550] 	compiled for 1.20.6, module version = 1.1.0
[ 17130.550] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 17130.550] (II) LoadModule: "intel"
[ 17130.550] (II) Loading /usr/pkg/lib/xorg/modules/drivers/intel_drv.so
[ 17130.551] (II) Module intel: vendor="X.Org Foundation"
[ 17130.551] 	compiled for 1.20.6, module version = 2.99.917
[ 17130.551] 	Module class: X.Org Video Driver
[ 17130.551] 	ABI class: X.Org Video Driver, version 24.0
[ 17130.551] (II) LoadModule: "mouse"
[ 17130.551] (II) Loading /usr/pkg/lib/xorg/modules/input/mouse_drv.so
[ 17130.552] (II) Module mouse: vendor="X.Org Foundation"
[ 17130.552] 	compiled for 1.20.6, module version = 1.9.3
[ 17130.552] 	Module class: X.Org XInput Driver
[ 17130.552] 	ABI class: X.Org XInput driver, version 24.1
[ 17130.552] (II) LoadModule: "kbd"
[ 17130.552] (II) Loading /usr/pkg/lib/xorg/modules/input/kbd_drv.so
[ 17130.552] (II) Module kbd: vendor="X.Org Foundation"
[ 17130.552] 	compiled for 1.20.6, module version = 1.9.0
[ 17130.552] 	Module class: X.Org XInput Driver
[ 17130.552] 	ABI class: X.Org XInput driver, version 24.1
[ 17130.552] (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
[ 17130.553] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 17130.553] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 17130.553] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 17130.553] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[ 17130.559] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[ 17130.559] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 17130.560] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[ 17130.560] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[ 17130.560] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 17130.560] (==) intel(0): RGB weight 888
[ 17130.560] (==) intel(0): Default visual is TrueColor
[ 17130.560] (**) intel(0): Option "AccelMethod" "SNA"
[ 17130.560] (**) intel(0): Option "Backlight" "intel_backlight"
[ 17130.560] (EE) Segmentation fault at address 0x0
[ 17130.560] (EE) 
Fatal server error:
[ 17130.560] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 17130.560] (EE) 
[ 17130.561] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 17130.561] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 17130.561] (EE) 
[ 17130.565] (EE) Server terminated with error (1). Closing log file.


Home | Main Index | Thread Index | Old Index