On Wed, Jun 20, 2018 at 11:36:37AM +0300, ???????????? wrote:
> cat /var/log/Xorg.0.log
> 
> [    17.555] (--) checkDevMem: using aperture driver /dev/xf86
> [    17.603] (--) Using wscons driver on /dev/ttyC4
> [    17.639] 
> X.Org X Server 1.19.6

When I tried different settings with Intel integrated graphics
recently, I got the best performance with modesetting driver *and*
with machdep.allowaperture=0. The latter should result in a warning
(WW) at the beginning of Xorg.0.log like this:

[    36.333] (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
[    36.333]    linear framebuffer access unavailable

which I don't see in your Xorg.0.log. I suspect you set allowaperture
to something else manually. While I don't fully understand the technical
reasons for it, anything greater than 0 led to a performance drop or
other issues when I tested this a few weeks ago.

Therefore, I would recommend you try the modesetting driver (just
remove the intel driver from xorg.conf) with allowaperture set to 0.

Please let me know if that helps - it may also be useful for others to
know.

Here's my Xorg.0.log:

[    36.333] (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
[    36.333]    linear framebuffer access unavailable
[    36.355] (--) Using wscons driver on /dev/ttyC4
[    36.366] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[    36.366] X Protocol Version 11, Revision 0
[    36.366] Build Operating System: OpenBSD 6.3 amd64 
[    36.366] Current Operating System: OpenBSD e5570.domain 6.3 GENERIC.MP#36 
amd64
[    36.366] Build Date: 20 June 2018  12:26:31AM
[    36.366]  
[    36.366] Current version of pixman: 0.34.0
[    36.366]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    36.366] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    36.366] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 20 08:29:43 
2018
[    36.367] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[    36.368] (==) No Layout section.  Using the first Screen section.
[    36.369] (==) No screen section available. Using defaults.
[    36.369] (**) |-->Screen "Default Screen Section" (0)
[    36.369] (**) |   |-->Monitor "<default monitor>"
[    36.369] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    36.369] (==) Automatically adding devices
[    36.369] (==) Automatically enabling devices
[    36.369] (==) Not automatically adding GPU devices
[    36.369] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    36.370] (==) 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/
[    36.370] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    36.370] (II) The server relies on wscons to provide the list of input 
devices.
        If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[    36.370] (II) Loader magic: 0x17a4fa86e000
[    36.370] (II) Module ABI versions:
[    36.370]    X.Org ANSI C Emulation: 0.4
[    36.370]    X.Org Video Driver: 23.0
[    36.370]    X.Org XInput driver : 24.1
[    36.370]    X.Org Server Extension : 10.0
[    36.370] (--) PCI:*(0:0:2:0) 8086:5912:1462:7a74 rev 4, Mem @ 
0xde000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[    36.371] (--) PCI: (0:1:0:0) 1002:67b1:148c:2358 rev 128, Mem @ 
0xc0000000/268435456, 0xd0000000/8388608, 0xdf100000/262144, I/O @ 
0x0000e000/256
[    36.371] (II) LoadModule: "glx"
[    36.372] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    36.382] (II) Module glx: vendor="X.Org Foundation"
[    36.382]    compiled for 1.19.6, module version = 1.0.0
[    36.382]    ABI class: X.Org Server Extension, version 10.0
[    36.383] (==) Matched modesetting as autoconfigured driver 0
[    36.383] (==) Assigned the driver to the xf86ConfigLayout
[    36.383] (II) LoadModule: "modesetting"
[    36.383] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[    36.384] (II) Module modesetting: vendor="X.Org Foundation"
[    36.384]    compiled for 1.19.6, module version = 1.19.6
[    36.384]    Module class: X.Org Video Driver
[    36.384]    ABI class: X.Org Video Driver, version 23.0
[    36.384] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    36.384] (**) modeset(0): claimed PCI slot 0@0:2:0
[    36.384] (II) modeset(0): using default device
[    36.385] (II) modeset(0): Creating default Display subsection in Screen 
section
        "Default Screen Section" for depth/fbbpp 24/32
[    36.385] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    36.385] (==) modeset(0): RGB weight 888
[    36.385] (==) modeset(0): Default visual is TrueColor
[    36.385] (II) Loading sub module "glamoregl"
[    36.385] (II) LoadModule: "glamoregl"
[    36.386] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[    36.398] (II) Module glamoregl: vendor="X.Org Foundation"
[    36.398]    compiled for 1.19.6, module version = 1.0.0
[    36.398]    ABI class: X.Org ANSI C Emulation, version 0.4
[    36.398] (II) glamor: OpenGL accelerated X.org driver based.
[    36.504] (II) glamor: EGL version 1.4 (DRI2):
[    36.521] (II) modeset(0): glamor initialized
[    36.522] (II) modeset(0): Output HDMI-1 has no monitor section
[    36.535] (II) modeset(0): Output HDMI-2 has no monitor section
[    36.535] (II) modeset(0): Output DP-1 has no monitor section
[    36.536] (II) modeset(0): Output HDMI-3 has no monitor section
[    36.537] (II) modeset(0): EDID for output HDMI-1
[    36.551] (II) modeset(0): EDID for output HDMI-2
[    36.551] (II) modeset(0): Manufacturer: ACR  Model: 1aa  Serial#: 541082751
[    36.551] (II) modeset(0): Year: 2012  Week: 4
[    36.551] (II) modeset(0): EDID Version: 1.3
[    36.551] (II) modeset(0): Digital Display Input
[    36.551] (II) modeset(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[    36.551] (II) modeset(0): Gamma: 2.20
[    36.551] (II) modeset(0): DPMS capabilities: StandBy Suspend
[    36.551] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    36.551] (II) modeset(0): First detailed timing is preferred mode
[    36.551] (II) modeset(0): redX: 0.648 redY: 0.339   greenX: 0.282 greenY: 
0.603
[    36.551] (II) modeset(0): blueX: 0.143 blueY: 0.070   whiteX: 0.313 whiteY: 
0.329
[    36.551] (II) modeset(0): Supported established timings:
[    36.551] (II) modeset(0): 720x400@70Hz
[    36.551] (II) modeset(0): 640x480@60Hz
[    36.551] (II) modeset(0): 640x480@67Hz
[    36.551] (II) modeset(0): 800x600@56Hz
[    36.551] (II) modeset(0): 800x600@60Hz
[    36.551] (II) modeset(0): 1024x768@60Hz
[    36.551] (II) modeset(0): 1024x768@70Hz
[    36.551] (II) modeset(0): 1280x1024@75Hz
[    36.551] (II) modeset(0): Manufacturer's mask: 0
[    36.551] (II) modeset(0): Supported standard timings:
[    36.551] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 
20337
[    36.551] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 
32897
[    36.551] (II) modeset(0): #2: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    36.551] (II) modeset(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    36.551] (II) modeset(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 
49361
[    36.551] (II) modeset(0): Supported detailed timing:
[    36.551] (II) modeset(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[    36.551] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 
h_blank_end 2200 h_border: 0
[    36.551] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 
v_blanking: 1125 v_border: 0
[    36.551] (II) modeset(0): Ranges: V min: 56 V max: 76 Hz, H min: 31 H max: 
83 kHz, PixClock max 175 MHz
[    36.551] (II) modeset(0): Monitor name: S211HL
[    36.551] (II) modeset(0): Serial No: LP30D0028514
[    36.551] (II) modeset(0): EDID (in hex):
[    36.551] (II) modeset(0):   00ffffffffffff000472aa017f444020
[    36.551] (II) modeset(0):   0416010380301b78ca3585a656489a24
[    36.551] (II) modeset(0):   125054b30d00714f818081009500d1c0
[    36.551] (II) modeset(0):   010101010101023a801871382d40582c
[    36.551] (II) modeset(0):   4500dd0c1100001e000000fd00384c1f
[    36.551] (II) modeset(0):   5311000a202020202020000000fc0053
[    36.551] (II) modeset(0):   323131484c0a202020202020000000ff
[    36.551] (II) modeset(0):   004c50333044303032383531340a006d
[    36.551] (II) modeset(0): Printing probed modes for output HDMI-2
[    36.551] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 
2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    36.551] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 
1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    36.551] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 
1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    36.551] (II) modeset(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 
1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    36.551] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 
1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    36.551] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 
1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    36.551] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 
1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    36.551] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 
1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    36.551] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056 
 600 601 605 628 +hsync +vsync (37.9 kHz e)
[    36.551] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024 
 600 601 603 625 +hsync +vsync (35.2 kHz e)
[    36.551] (II) modeset(0): Modeline "640x480"x66.7   30.24  640 704 768 864  
480 483 486 525 -hsync -vsync (35.0 kHz e)
[    36.551] (II) modeset(0): Modeline "640x480"x60.0   25.20  640 656 752 800  
480 490 492 525 -hsync -vsync (31.5 kHz e)
[    36.551] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  
400 412 414 449 -hsync +vsync (31.5 kHz e)
[    36.551] (II) modeset(0): EDID for output DP-1
[    36.552] (II) modeset(0): EDID for output HDMI-3
[    36.552] (II) modeset(0): Output HDMI-1 disconnected
[    36.552] (II) modeset(0): Output HDMI-2 connected
[    36.552] (II) modeset(0): Output DP-1 disconnected
[    36.552] (II) modeset(0): Output HDMI-3 disconnected
[    36.552] (II) modeset(0): Using exact sizes for initial modes
[    36.552] (II) modeset(0): Output HDMI-2 using initial mode 1920x1080 +0+0
[    36.552] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    36.552] (==) modeset(0): DPI set to (96, 96)
[    36.552] (II) Loading sub module "fb"
[    36.552] (II) LoadModule: "fb"
[    36.553] (II) Loading /usr/X11R6/lib/modules/libfb.so
[    36.554] (II) Module fb: vendor="X.Org Foundation"
[    36.554]    compiled for 1.19.6, module version = 1.0.0
[    36.554]    ABI class: X.Org ANSI C Emulation, version 0.4
[    36.554] (==) Depth 24 pixmap format is 32 bpp
[    36.701] (==) modeset(0): Backing store enabled
[    36.701] (==) modeset(0): Silken mouse enabled
[    36.701] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR 
disabled message.
[    36.722] (II) modeset(0): Initializing kms color map
[    36.723] (==) modeset(0): DPMS enabled
[    36.723] (WW) modeset(0): DRI2: glamor lacks support for pixmap 
import/export
[    36.723] (II) modeset(0): [DRI2] Setup complete
[    36.723] (II) modeset(0): [DRI2]   DRI driver: i965
[    36.723] (II) modeset(0): [DRI2]   VDPAU driver: i965
[    36.723] (--) RandR disabled
[    36.739] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    36.739] (II) AIGLX: enabled GLX_ARB_create_context
[    36.739] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    36.739] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    36.739] (II) AIGLX: enabled GLX_INTEL_swap_event
[    36.739] (II) AIGLX: enabled GLX_SGI_swap_control
[    36.739] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    36.739] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    36.739] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    36.739] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    36.739] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    36.739] (II) AIGLX: Loaded and initialized i965
[    36.739] (II) GLX: Initialized DRI2 GL provider for screen 0
[    36.745] (II) modeset(0): Damage tracking initialized
[    36.745] (II) modeset(0): Setting screen physical size to 508 x 285
[    36.854] (II) config/wscons: checking input device /dev/wskbd
[    36.854] (II) wskbd: using layout us
[    36.854] (II) wskbd: using variant dvorak
[    36.854] (II) LoadModule: "kbd"
[    36.856] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    36.856] (II) Module kbd: vendor="X.Org Foundation"
[    36.856]    compiled for 1.19.6, module version = 1.9.0
[    36.856]    Module class: X.Org XInput Driver
[    36.856]    ABI class: X.Org XInput driver, version 24.1
[    36.856] (II) Using input driver 'kbd' for '/dev/wskbd'
[    36.856] (**) /dev/wskbd: always reports core events
[    36.856] (**) /dev/wskbd: always reports core events
[    36.856] (**) Option "Protocol" "standard"
[    36.856] (**) Option "XkbRules" "base"
[    36.856] (**) Option "XkbModel" "pc105"
[    36.856] (**) Option "XkbLayout" "us"
[    36.856] (**) Option "XkbVariant" "dvorak"
[    36.856] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: 
KEYBOARD, id 6)
[    38.373] (II) config/wscons: checking input device /dev/wsmouse
[    38.373] (II) LoadModule: "ws"
[    38.374] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    38.375] (II) Module ws: vendor="X.Org Foundation"
[    38.375]    compiled for 1.19.6, module version = 1.3.0
[    38.375]    Module class: X.Org XInput Driver
[    38.375]    ABI class: X.Org XInput driver, version 24.1
[    38.375] (II) Using input driver 'ws' for '/dev/wsmouse'
[    38.375] (**) /dev/wsmouse: always reports core events
[    38.375] (II) ws: /dev/wsmouse: debuglevel 0
[    38.375] (**) Option "Device" "/dev/wsmouse"
[    38.375] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    38.375] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    38.375] (**) ws: /dev/wsmouse: associated screen: 0
[    38.376] (II) ws: /dev/wsmouse: minimum x position: 0
[    38.376] (II) ws: /dev/wsmouse: maximum x position: 1919
[    38.376] (II) ws: /dev/wsmouse: minimum y position: 0
[    38.376] (II) ws: /dev/wsmouse: maximum y position: 1079
[    38.376] (==) ws: /dev/wsmouse: Buttons: 7
[    38.376] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    38.376] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: 
MOUSE, id 7)
[    38.377] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    38.377] (**) /dev/wsmouse: (accel) acceleration profile 0
[    38.377] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    38.377] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[    51.281] (II) modeset(0): EDID vendor "ACR", prod id 426
[    51.282] (II) modeset(0): Using EDID range info for horizontal sync
[    51.282] (II) modeset(0): Using EDID range info for vertical refresh
[    51.282] (II) modeset(0): Printing DDC gathered Modelines:
[    51.282] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 
2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    51.282] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  
600 601 605 628 +hsync +vsync (37.9 kHz e)
[    51.282] (II) modeset(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  
600 601 603 625 +hsync +vsync (35.2 kHz e)
[    51.282] (II) modeset(0): Modeline "640x480"x0.0   30.24  640 704 768 864  
480 483 486 525 -hsync -vsync (35.0 kHz e)
[    51.282] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  
480 490 492 525 -hsync -vsync (31.5 kHz e)
[    51.282] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  
400 412 414 449 -hsync +vsync (31.5 kHz e)
[    51.282] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 
1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    51.282] (II) modeset(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 
1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    51.282] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 
1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    51.282] (II) modeset(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 
1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    51.282] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 
1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    51.282] (II) modeset(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 
1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    51.282] (II) modeset(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 
1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    51.282] (II) modeset(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 
2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)

Reply via email to