Hello
I'm running OpenBSD 7.2 on Lenovo V15 G2 82KB,
with i5-1135G7 and Xe Graphics
Scroll tearing is really bad in Firefox and even SinpleTerminal,
so I tried to use Tearfree option in intel(4), and boom!
X crashed
I looked at log, I noticed i915 driver version is in 2020,
and it said "Unknown chipset"
too old for 11-gen...
And also, apm cannot detect my battery.
I upgraded to snapshot, but still.
Any idea?
(full log in attachment)
[ 87.817] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[ 87.817] linear framebuffer access unavailable
[ 87.832] (--) Using wscons driver on /dev/ttyC4
[ 87.852]
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[ 87.852] Current Operating System: OpenBSD laptop.my.domain 7.2
GENERIC.MP#1021 amd64
[ 87.852]
[ 87.852] Current version of pixman: 0.40.0
[ 87.852] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 87.852] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 87.853] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 7 15:36:29
2023
[ 87.853] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 87.853] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"
[ 87.854] (==) No Layout section. Using the first Screen section.
[ 87.854] (==) No screen section available. Using defaults.
[ 87.854] (**) |-->Screen "Default Screen Section" (0)
[ 87.854] (**) | |-->Monitor "<default monitor>"
[ 87.854] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 87.854] (**) | |-->Device "drm"
[ 87.854] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 87.854] (==) Automatically adding devices
[ 87.854] (==) Automatically enabling devices
[ 87.854] (==) Not automatically adding GPU devices
[ 87.854] (==) Automatically binding GPU devices
[ 87.854] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 87.855] (==) 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/
[ 87.855] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 87.855] (II) The server relies on wscons to provide the list of input
devices.
If no devices become available, reconfigure wscons or disable
AutoAddDevices.
[ 87.855] (II) Loader magic: 0x68617f36e60
[ 87.855] (II) Module ABI versions:
[ 87.855] X.Org ANSI C Emulation: 0.4
[ 87.855] X.Org Video Driver: 25.2
[ 87.855] X.Org XInput driver : 24.4
[ 87.855] X.Org Server Extension : 10.0
[ 87.855] (--) PCI:*(0@0:2:0) 8086:9a49:17aa:3f9c rev 1, Mem @
0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64
[ 87.855] (II) LoadModule: "glx"
[ 87.856] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 87.859] (II) Module glx: vendor="X.Org Foundation"
[ 87.859] compiled for 1.21.1.6, module version = 1.0.0
[ 87.859] ABI class: X.Org Server Extension, version 10.0
[ 87.859] (II) LoadModule: "intel"
[ 87.860] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[ 87.862] (II) Module intel: vendor="X.Org Foundation"
[ 87.862] compiled for 1.21.1.6, module version = 2.99.916
[ 87.862] Module class: X.Org Video Driver
[ 87.862] ABI class: X.Org Video Driver, version 25.2
[ 87.862] (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
[ 87.863] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 87.863] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 87.863] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200,
P6300
[ 87.867] (II) intel(0): Using Kernel Mode Setting driver: i915, version
1.6.0 20201103
[ 87.870] (WW) intel(0): Unknown chipset
[ 87.870] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2,
avx, avx2
[ 87.870] (II) intel(0): Creating default Display subsection in Screen
section
"Default Screen Section" for depth/fbbpp 24/32
[ 87.870] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 87.870] (==) intel(0): RGB weight 888
[ 87.870] (==) intel(0): Default visual is TrueColor
[ 87.870] (**) intel(0): Option "TearFree" "true"
[ 87.873] (EE) intel(0): No outputs and no modes.
[ 87.873] (II) UnloadModule: "intel"
[ 87.873] (EE) Screen(s) found, but none have a usable configuration.
[ 87.873] (EE)
Fatal server error:
[ 87.873] (EE) no screens found(EE)
[ 87.873] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 87.873] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[ 87.873] (EE)
[ 87.881] (EE) Server terminated with error (1). Closing log file.