Re: chrome crash on latest snapshot with intel driver

2022-03-02 Thread Stuart Henderson
On 2022/03/02 13:01, Mikhail wrote:
> On latest snapshot I see Xorg crash when trying to launch chrome browser
> (firefox works fine), I can reproduce it with 'intel' driver,
> 'modesetting' crashed for me too, but it took about two weeks of uptime
> and wasn't related to chrome launch (no logs for 'modesetting' crash
> unfortunately, but it was something about not being able to access
> address 0x0, this 'modesettnig' crash lead me to changing the driver to
> 'intel', that's how original crash was found, no idea how long it is
> there).

I don't think there's very much in this report that will help tracking
it down, see "How to get a core file out of the X server?" in
https://github.com/openbsd/xenocara/blob/master/README

Though I think there will be little interest in a problem which is
affecting the 'intel' driver on hardware that defaults to using
modsetting.

> vm.malloc_conf=CFGS

imho these flags should only be set if you're willing to experience more
crashes and be able/willing to do the legwork to provide backtraces etc.

> hw.smt=1

this is really not recommended.

> kern.allowkmem=1

also this unless you're actively debugging something which needs it



chrome crash on latest snapshot with intel driver

2022-03-02 Thread Mikhail
On latest snapshot I see Xorg crash when trying to launch chrome browser
(firefox works fine), I can reproduce it with 'intel' driver,
'modesetting' crashed for me too, but it took about two weeks of uptime
and wasn't related to chrome launch (no logs for 'modesetting' crash
unfortunately, but it was something about not being able to access
address 0x0, this 'modesettnig' crash lead me to changing the driver to
'intel', that's how original crash was found, no idea how long it is
there).

sysctl.conf:

vm.malloc_conf=CFGS
hw.smt=1
kern.allowdt=1
kern.video.record=1
kern.audio.record=1
kern.allowkmem=1
machdep.allowaperture=1

Xorg.0.log.old:

[  2267.648] (--) checkDevMem: using aperture driver /dev/xf86
[  2267.670] (--) Using wscons driver on /dev/ttyC4
[  2267.689] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[  2267.689] Current Operating System: OpenBSD edge.lab.local 7.1 
GENERIC.MP#395 amd64
[  2267.689]  
[  2267.689] Current version of pixman: 0.40.0
[  2267.689]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  2267.689] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2267.690] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  2 12:52:12 
2022
[  2267.690] (==) Using config file: "/etc/xorg.conf"
[  2267.690] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[  2267.691] (==) No Layout section.  Using the first Screen section.
[  2267.691] (==) No screen section available. Using defaults.
[  2267.691] (**) |-->Screen "Default Screen Section" (0)
[  2267.691] (**) |   |-->Monitor ""
[  2267.691] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[  2267.691] (**) |   |-->Device "Intel Graphics"
[  2267.691] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  2267.692] (==) Automatically adding devices
[  2267.692] (==) Automatically enabling devices
[  2267.692] (==) Not automatically adding GPU devices
[  2267.692] (==) Automatically binding GPU devices
[  2267.692] (==) Max clients allowed: 256, resource mask: 0x1f
[  2267.692] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[  2267.692] (==) ModulePath set to "/usr/X11R6/lib/modules"
[  2267.692] (II) The server relies on wscons to provide the list of input 
devices.
If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[  2267.692] (II) Loader magic: 0x7dc25daf7c0
[  2267.692] (II) Module ABI versions:
[  2267.692]X.Org ANSI C Emulation: 0.4
[  2267.692]X.Org Video Driver: 25.2
[  2267.692]X.Org XInput driver : 24.4
[  2267.692]X.Org Server Extension : 10.0
[  2267.692] (--) PCI:*(0@0:2:0) 8086:0166:17aa:5001 rev 9, Mem @ 
0xf000/4194304, 0xe000/268435456, I/O @ 0x5000/64
[  2267.692] (II) LoadModule: "glx"
[  2267.693] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[  2267.696] (II) Module glx: vendor="X.Org Foundation"
[  2267.696]compiled for 1.21.1.3, module version = 1.0.0
[  2267.696]ABI class: X.Org Server Extension, version 10.0
[  2267.696] (II) LoadModule: "intel"
[  2267.697] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[  2267.698] (II) Module intel: vendor="X.Org Foundation"
[  2267.698]compiled for 1.21.1.3, module version = 2.99.916
[  2267.698]Module class: X.Org Video Driver
[  2267.698]ABI class: X.Org Video Driver, version 25.2
[  2267.698] (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
[  2267.698] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[  2267.698] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[  2267.698] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, 
P6300
[  2267.703] (II) intel(0): Using Kernel Mode Setting driver: i915, version 
1.6.0 20201103
[  2267.704] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 
4000
[  2267.704] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[  2267.704] (II) intel(0): Creating default Display subsection in Screen 
section
"Default Screen Section" for depth/fbbpp 24/32
[  2267.705] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  2267.705] (==) intel(0): RGB weight 888
[  2267.705] (==) intel(0): Default visual is TrueColor
[