Intel gma AccelMethod

Alexandr shuriku at shurik.kiev.ua
Sun Nov 24 09:08:26 UTC 2013


Hello x11,
On my Lenovo Thinkpad E530 with "Optimus" graphics (disabled in bios) if
I set AccelMethod to "SNA" screen remains black when X starts. Without
this option all works fine.

P.S. 9.2-stable with latest ports, X compiled with WITH_NEW_XORG and
WITH_KMS.
-------------- next part --------------
[   115.395] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[   115.396] X Protocol Version 11, Revision 0
[   115.396] Build Operating System: FreeBSD 9.2-STABLE amd64 
[   115.396] Current Operating System: FreeBSD thinkpad.it-profi.org.ua 9.2-STABLE FreeBSD 9.2-STABLE #12 r258293: Mon Nov 18 17:47:50 EET 2013     shurik at thinkpad.it-profi.org.ua:/usr/obj/usr/src/sys/kern_by_shurik amd64
[   115.396] Build Date: 04 November 2013  05:04:38PM
[   115.396]  
[   115.396] Current version of pixman: 0.30.2
[   115.396] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   115.396] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   115.396] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 24 10:14:32 2013
[   115.399] (==) Using config file: "/etc/X11/xorg.conf"
[   115.399] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   115.399] (==) ServerLayout "X.org Configured"
[   115.399] (**) |-->Screen "Screen0" (0)
[   115.400] (**) |   |-->Monitor "Monitor0"
[   115.400] (**) |   |-->Device "Card0"
[   115.400] (**) Option "AIGLX" "On"
[   115.400] (**) Option "AutoAddDevices" "On"
[   115.400] (**) Option "AutoEnableDevices" "On"
[   115.400] (**) Option "DRI2" "on"
[   115.400] (**) Automatically adding devices
[   115.400] (**) Automatically enabling devices
[   115.583] (**) FontPath set to:
	/usr/local/lib/X11/fonts/webfonts/,
	/usr/local/lib/X11/fonts/Liberation/,
	/usr/local/lib/X11/fonts/cyrillic/,
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/,
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF/,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/
[   115.583] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[   115.583] (**) Extension "Composite" is enabled
[   115.583] (**) Extension "RENDER" is enabled
[   115.583] (WW) Hotplugging requested but the server was compiled without a config backend. No input devices were configured, the server will start without any input devices.
[   115.583] (II) Loader magic: 0x7bcf00
[   115.583] (II) Module ABI versions:
[   115.583] 	X.Org ANSI C Emulation: 0.4
[   115.583] 	X.Org Video Driver: 12.1
[   115.583] 	X.Org XInput driver : 16.0
[   115.583] 	X.Org Server Extension : 6.0
[   115.584] (--) PCI:*(0:0:2:0) 8086:0166:17aa:5001 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/65536
[   115.584] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[   115.584] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[   115.584] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   115.584] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[   115.584] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[   115.584] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[   115.584] (II) LoadModule: "extmod"
[   115.587] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
[   115.589] (II) Module extmod: vendor="X.Org Foundation"
[   115.589] 	compiled for 1.12.4, module version = 1.0.0
[   115.589] 	Module class: X.Org Server Extension
[   115.589] 	ABI class: X.Org Server Extension, version 6.0
[   115.589] (II) Loading extension MIT-SCREEN-SAVER
[   115.589] (II) Loading extension XFree86-VidModeExtension
[   115.589] (II) Loading extension XFree86-DGA
[   115.589] (II) Loading extension DPMS
[   115.589] (II) Loading extension XVideo
[   115.589] (II) Loading extension XVideo-MotionCompensation
[   115.589] (II) Loading extension X-Resource
[   115.589] (II) LoadModule: "dbe"
[   115.589] (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
[   115.589] (II) Module dbe: vendor="X.Org Foundation"
[   115.589] 	compiled for 1.12.4, module version = 1.0.0
[   115.589] 	Module class: X.Org Server Extension
[   115.589] 	ABI class: X.Org Server Extension, version 6.0
[   115.589] (II) Loading extension DOUBLE-BUFFER
[   115.589] (II) LoadModule: "record"
[   115.590] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
[   115.590] (II) Module record: vendor="X.Org Foundation"
[   115.590] 	compiled for 1.12.4, module version = 1.13.0
[   115.590] 	Module class: X.Org Server Extension
[   115.590] 	ABI class: X.Org Server Extension, version 6.0
[   115.590] (II) Loading extension RECORD
[   115.590] (II) LoadModule: "dri"
[   115.590] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
[   115.591] (II) Module dri: vendor="X.Org Foundation"
[   115.591] 	compiled for 1.12.4, module version = 1.0.0
[   115.591] 	ABI class: X.Org Server Extension, version 6.0
[   115.591] (II) Loading extension XFree86-DRI
[   115.591] (II) LoadModule: "dri2"
[   115.591] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[   115.592] (II) Module dri2: vendor="X.Org Foundation"
[   115.592] 	compiled for 1.12.4, module version = 1.2.0
[   115.592] 	ABI class: X.Org Server Extension, version 6.0
[   115.592] (II) Loading extension DRI2
[   115.592] (II) LoadModule: "glx"
[   115.592] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   115.595] (II) Module glx: vendor="X.Org Foundation"
[   115.595] 	compiled for 1.12.4, module version = 1.0.0
[   115.595] 	ABI class: X.Org Server Extension, version 6.0
[   115.596] (**) AIGLX enabled
[   115.596] (II) Loading extension GLX
[   115.596] (II) LoadModule: "intel"
[   115.597] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[   115.603] (II) Module intel: vendor="X.Org Foundation"
[   115.603] 	compiled for 1.12.4, module version = 2.21.15
[   115.603] 	Module class: X.Org Video Driver
[   115.603] 	ABI class: X.Org Video Driver, version 12.1
[   115.603] (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, HD Graphics,
	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[   115.604] (--) Using syscons driver with X support (version 2.0)
[   115.604] (--) using VT number 9

[   116.447] drmOpenDevice: node name is /dev/dri/card0
[   116.447] drmOpenDevice: open result is 8, (OK)
[   116.448] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[   116.448] drmOpenDevice: node name is /dev/dri/card0
[   116.448] drmOpenDevice: open result is 8, (OK)
[   116.448] drmOpenByBusid: drmOpenMinor returns 8
[   116.448] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[   116.448] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[   116.481] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   116.482] (II) intel(0): Creating default Display subsection in Screen section
	"Screen0" for depth/fbbpp 24/32
[   116.482] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   116.482] (==) intel(0): RGB weight 888
[   116.482] (==) intel(0): Default visual is TrueColor
[   116.482] (**) intel(0): Option "AccelMethod" "SNA"
[   116.482] (**) intel(0): Option "DRI" "on"
[   116.482] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[   116.482] (--) intel(0): CPU: x86-64
[   116.482] (**) intel(0): Framebuffer tiled
[   116.482] (**) intel(0): Pixmaps tiled
[   116.482] (**) intel(0): "Tear free" disabled
[   116.482] (**) intel(0): Forcing per-crtc-pixmaps? no
[   116.482] (II) intel(0): Output LVDS1 using monitor section Monitor0
[   116.483] (II) intel(0): Output VGA1 has no monitor section
[   116.483] (II) intel(0): Output HDMI1 has no monitor section
[   116.483] (II) intel(0): Output DP1 has no monitor section
[   116.483] (==) intel(0): DPI set to (96, 96)
[   116.483] (II) Loading sub module "dri2"
[   116.483] (II) LoadModule: "dri2"
[   116.483] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[   116.483] (II) Module dri2: vendor="X.Org Foundation"
[   116.483] 	compiled for 1.12.4, module version = 1.2.0
[   116.483] 	ABI class: X.Org Server Extension, version 6.0
[   116.483] (==) Depth 24 pixmap format is 32 bpp
[   116.500] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[   116.500] (==) intel(0): Backing store disabled
[   116.500] (==) intel(0): Silken mouse enabled
[   116.500] (II) intel(0): HW Cursor enabled
[   116.500] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   116.500] (==) intel(0): DPMS enabled
[   116.506] (II) intel(0): [DRI2] Setup complete
[   116.506] (II) intel(0): [DRI2]   DRI driver: i965
[   116.506] (II) intel(0): direct rendering: DRI2 Enabled
[   116.506] (WW) intel(0): Option "DRI2" is not used
[   116.506] (--) RandR disabled
[   116.506] (II) Initializing built-in extension Generic Event Extension
[   116.506] (II) Initializing built-in extension SHAPE
[   116.506] (II) Initializing built-in extension MIT-SHM
[   116.506] (II) Initializing built-in extension XInputExtension
[   116.506] (II) Initializing built-in extension XTEST
[   116.506] (II) Initializing built-in extension BIG-REQUESTS
[   116.506] (II) Initializing built-in extension SYNC
[   116.506] (II) Initializing built-in extension XKEYBOARD
[   116.506] (II) Initializing built-in extension XC-MISC
[   116.506] (II) Initializing built-in extension XINERAMA
[   116.506] (II) Initializing built-in extension XFIXES
[   116.506] (II) Initializing built-in extension RENDER
[   116.506] (II) Initializing built-in extension RANDR
[   116.506] (II) Initializing built-in extension COMPOSITE
[   116.506] (II) Initializing built-in extension DAMAGE
[   116.545] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   116.545] (II) AIGLX: enabled GLX_INTEL_swap_event
[   116.545] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   116.545] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   116.545] (II) AIGLX: Loaded and initialized i965
[   116.545] (II) GLX: Initialized DRI2 GL provider for screen 0
[   812.434] Server terminated successfully (0). Closing log file.
-------------- next part --------------
section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
        Option       "AIGLX" "On"
        Option       "AutoAddDevices" "On"
        Option       "AutoEnableDevices" "On"
        Option       "DRI2" "on"
EndSection

Section "Files"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/lib/X11/fonts/webfonts/"
	FontPath     "/usr/local/lib/X11/fonts/Liberation/"
	FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
	FontPath     "/usr/local/lib/X11/fonts/misc/"
	FontPath     "/usr/local/lib/X11/fonts/TTF/"
	FontPath     "/usr/local/lib/X11/fonts/OTF"
	FontPath     "/usr/local/lib/X11/fonts/Type1/"
	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dbe"
        Load  "type1"
        Load  "freetype"
	Load  "record"
	Load  "dri"
	Load  "dri2"
	Load  "glx"
EndSection

Section "Extensions"
    Option "Composite" "On"
    Option "RENDER" "On"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "intel"
	#Driver      "vesa"
	VendorName  "Intel Corporation"
	BoardName   "Unknown Board"
	BusID       "PCI:0:2:0"
#        Option      "AccelMethod" "SNA"
	Option     "DRI" "on"
	Option     "DRI2" "on"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
EndSection


Section "DRI"
    Mode 0666
EndSection


More information about the freebsd-x11 mailing list