[Intel-gfx] "sna: Do not allow imported buffers to be cached" broke my X11

Tjernlund tjernlund at tjernlund.se
Sat Jun 7 18:23:44 CEST 2014


Lately current git for xf86-video-intel broke for me.
Bisecting led me to "sna: Do not allow imported buffers to be cached"
and then reverting that on top(with one conflict) of current git
restored my X.

The symptom is that drawing starts with lots of random pixels and then
it clears after 1 second. Hard to describe properly.

Here is my Xorg log


[336440.143] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[336440.143] X Protocol Version 11, Revision 0
[336440.143] Build Operating System: Linux 3.10.40 x86_64 Gentoo
[336440.143] Current Operating System: Linux jocke 3.10.40 #3 SMP Tue Jun 3 20:39:59 CEST 2014 x86_64
[336440.143] Kernel command line: root=/dev/sda2 rootflags=discard net.ifnames=0
[336440.143] Build Date: 03 June 2014  10:50:57PM
[336440.143]  
[336440.143] Current version of pixman: 0.32.4
[336440.143] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[336440.143] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[336440.143] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun  7 18:12:05 2014
[336440.143] (==) Using config directory: "/etc/X11/xorg.conf.d"
[336440.143] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[336440.143] (==) No Layout section.  Using the first Screen section.
[336440.143] (==) No screen section available. Using defaults.
[336440.143] (**) |-->Screen "Default Screen Section" (0)
[336440.143] (**) |   |-->Monitor "<default monitor>"
[336440.143] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[336440.143] (**) |   |-->Device "card0"
[336440.144] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[336440.144] (==) Automatically adding devices
[336440.144] (==) Automatically enabling devices
[336440.144] (==) Automatically adding GPU devices
[336440.144] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[336440.144] 	Entry deleted from font path.
[336440.144] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[336440.144] 	Entry deleted from font path.
[336440.144] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[336440.144] 	Entry deleted from font path.
[336440.144] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[336440.144] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/100dpi/
[336440.144] (==) ModulePath set to "/usr/lib64/xorg/modules"
[336440.144] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[336440.144] (II) Loader magic: 0x807c60
[336440.144] (II) Module ABI versions:
[336440.144] 	X.Org ANSI C Emulation: 0.4
[336440.144] 	X.Org Video Driver: 15.0
[336440.144] 	X.Org XInput driver : 20.0
[336440.144] 	X.Org Server Extension : 8.0
[336440.144] (II) xfree86: Adding drm device (/dev/dri/card0)
[336440.144] (--) PCI:*(0:0:2:0) 8086:0162:1043:844d rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[336440.145] Initializing built-in extension Generic Event Extension
[336440.145] Initializing built-in extension SHAPE
[336440.145] Initializing built-in extension MIT-SHM
[336440.145] Initializing built-in extension XInputExtension
[336440.145] Initializing built-in extension XTEST
[336440.145] Initializing built-in extension BIG-REQUESTS
[336440.145] Initializing built-in extension SYNC
[336440.145] Initializing built-in extension XKEYBOARD
[336440.145] Initializing built-in extension XC-MISC
[336440.145] Initializing built-in extension XINERAMA
[336440.145] Initializing built-in extension XFIXES
[336440.145] Initializing built-in extension RENDER
[336440.145] Initializing built-in extension RANDR
[336440.145] Initializing built-in extension COMPOSITE
[336440.145] Initializing built-in extension DAMAGE
[336440.145] Initializing built-in extension MIT-SCREEN-SAVER
[336440.145] Initializing built-in extension DOUBLE-BUFFER
[336440.145] Initializing built-in extension RECORD
[336440.145] Initializing built-in extension DPMS
[336440.145] Initializing built-in extension Present
[336440.145] Initializing built-in extension DRI3
[336440.145] Initializing built-in extension X-Resource
[336440.145] Initializing built-in extension XVideo
[336440.145] Initializing built-in extension XVideo-MotionCompensation
[336440.145] Initializing built-in extension XFree86-VidModeExtension
[336440.145] Initializing built-in extension XFree86-DGA
[336440.145] Initializing built-in extension XFree86-DRI
[336440.145] Initializing built-in extension DRI2
[336440.145] (II) LoadModule: "glx"
[336440.145] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[336440.145] (II) Module glx: vendor="X.Org Foundation"
[336440.145] 	compiled for 1.15.1, module version = 1.0.0
[336440.145] 	ABI class: X.Org Server Extension, version 8.0
[336440.145] (==) AIGLX enabled
[336440.145] Loading extension GLX
[336440.145] (II) LoadModule: "intel"
[336440.145] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[336440.145] (II) Module intel: vendor="X.Org Foundation"
[336440.145] 	compiled for 1.15.1, module version = 2.99.911
[336440.145] 	Module class: X.Org Video Driver
[336440.145] 	ABI class: X.Org Video Driver, version 15.0
[336440.145] (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
[336440.146] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[336440.146] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[336440.146] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[336440.146] (++) using VT number 7

[336440.146] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
[336440.146] (II) intel(0): SNA compiled from 2.99.911-278-g21010ce
[336440.146] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[336440.146] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[336440.146] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[336440.146] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[336440.146] (==) intel(0): RGB weight 888
[336440.146] (==) intel(0): Default visual is TrueColor
[336440.146] (**) intel(0): Option "AccelMethod" "sna"
[336440.146] (**) intel(0): Framebuffer tiled
[336440.146] (**) intel(0): Pixmaps tiled
[336440.146] (**) intel(0): Forcing per-crtc-pixmaps? no
[336440.146] (II) intel(0): Output VGA1 has no monitor section
[336440.146] (II) intel(0): Output HDMI1 has no monitor section
[336440.146] (II) intel(0): Output DP1 has no monitor section
[336440.146] (II) intel(0): Output HDMI2 has no monitor section
[336440.146] (II) intel(0): Output HDMI3 has no monitor section
[336440.146] (II) intel(0): Output DP2 has no monitor section
[336440.146] (II) intel(0): Output DP3 has no monitor section
[336440.146] (--) intel(0): Using a maximum size of 64x64 for hardware cursors
[336440.146] (II) intel(0): Output VIRTUAL1 has no monitor section
[336440.146] (--) intel(0): Output HDMI3 using initial mode 1920x1200 on pipe 0
[336440.146] (**) intel(0): TearFree disabled
[336440.146] (==) intel(0): DPI set to (96, 96)
[336440.146] (II) Loading sub module "dri3"
[336440.146] (II) LoadModule: "dri3"
[336440.146] (II) Module "dri3" already built-in
[336440.146] (II) Loading sub module "dri2"
[336440.146] (II) LoadModule: "dri2"
[336440.146] (II) Module "dri2" already built-in
[336440.146] (II) Loading sub module "present"
[336440.146] (II) LoadModule: "present"
[336440.146] (II) Module "present" already built-in
[336440.146] (==) Depth 24 pixmap format is 32 bpp
[336440.146] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[336440.147] (==) intel(0): Backing store enabled
[336440.147] (==) intel(0): Silken mouse enabled
[336440.147] (II) intel(0): HW Cursor enabled
[336440.147] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[336440.147] (==) intel(0): DPMS enabled
[336440.147] (II) intel(0): [DRI2] Setup complete
[336440.147] (II) intel(0): [DRI2]   DRI driver: i965
[336440.147] (II) intel(0): [DRI2]   VDPAU driver: i965
[336440.147] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[336440.147] (II) intel(0): hardware support for Present enabled
[336440.147] (==) intel(0): hotplug detection: "enabled"
[336440.147] (--) RandR disabled
[336440.151] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[336440.151] (II) AIGLX: enabled GLX_ARB_create_context
[336440.151] (II) AIGLX: enabled GLX_ARB_create_context_profile
[336440.151] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[336440.151] (II) AIGLX: enabled GLX_INTEL_swap_event
[336440.151] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[336440.151] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[336440.151] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[336440.151] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[336440.151] (II) AIGLX: Loaded and initialized i965
[336440.151] (II) GLX: Initialized DRI2 GL provider for screen 0
[336440.153] (II) intel(0): switch to mode 1920x1200 at 60.0 on HDMI3 using pipe 0, position (0, 0), rotation normal, reflection none
[336440.180] (II) intel(0): Setting screen physical size to 508 x 317
[336440.199] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[336440.199] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[336440.199] (**) Power Button: Applying InputClass "keyboard-all"
[336440.199] (II) LoadModule: "evdev"
[336440.199] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[336440.199] (II) Module evdev: vendor="X.Org Foundation"
[336440.199] 	compiled for 1.15.1, module version = 2.8.2
[336440.199] 	Module class: X.Org XInput Driver
[336440.199] 	ABI class: X.Org XInput driver, version 20.0
[336440.199] (II) Using input driver 'evdev' for 'Power Button'
[336440.199] (**) Power Button: always reports core events
[336440.199] (**) evdev: Power Button: Device: "/dev/input/event1"
[336440.200] (--) evdev: Power Button: Vendor 0 Product 0x1
[336440.200] (--) evdev: Power Button: Found keys
[336440.200] (II) evdev: Power Button: Configuring as keyboard
[336440.200] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[336440.200] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[336440.200] (**) Option "xkb_rules" "evdev"
[336440.200] (**) Option "xkb_model" "pc105"
[336440.200] (**) Option "xkb_layout" "se"
[336440.210] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[336440.210] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[336440.210] (**) Video Bus: Applying InputClass "keyboard-all"
[336440.210] (II) Using input driver 'evdev' for 'Video Bus'
[336440.210] (**) Video Bus: always reports core events
[336440.210] (**) evdev: Video Bus: Device: "/dev/input/event2"
[336440.210] (--) evdev: Video Bus: Vendor 0 Product 0x6
[336440.210] (--) evdev: Video Bus: Found keys
[336440.210] (II) evdev: Video Bus: Configuring as keyboard
[336440.210] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input2/event2"
[336440.210] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[336440.210] (**) Option "xkb_rules" "evdev"
[336440.210] (**) Option "xkb_model" "pc105"
[336440.210] (**) Option "xkb_layout" "se"
[336440.210] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[336440.210] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[336440.210] (**) Power Button: Applying InputClass "keyboard-all"
[336440.210] (II) Using input driver 'evdev' for 'Power Button'
[336440.210] (**) Power Button: always reports core events
[336440.210] (**) evdev: Power Button: Device: "/dev/input/event0"
[336440.210] (--) evdev: Power Button: Vendor 0 Product 0x1
[336440.210] (--) evdev: Power Button: Found keys
[336440.210] (II) evdev: Power Button: Configuring as keyboard
[336440.210] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[336440.210] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[336440.210] (**) Option "xkb_rules" "evdev"
[336440.210] (**) Option "xkb_model" "pc105"
[336440.210] (**) Option "xkb_layout" "se"
[336440.210] (II) config/udev: Adding drm device (/dev/dri/card0)
[336440.210] (II) config/udev: Adding input device CHICONY HP Basic USB Keyboard (/dev/input/event5)
[336440.210] (**) CHICONY HP Basic USB Keyboard: Applying InputClass "evdev keyboard catchall"
[336440.210] (**) CHICONY HP Basic USB Keyboard: Applying InputClass "keyboard-all"
[336440.210] (II) Using input driver 'evdev' for 'CHICONY HP Basic USB Keyboard'
[336440.210] (**) CHICONY HP Basic USB Keyboard: always reports core events
[336440.210] (**) evdev: CHICONY HP Basic USB Keyboard: Device: "/dev/input/event5"
[336440.210] (--) evdev: CHICONY HP Basic USB Keyboard: Vendor 0x3f0 Product 0x24
[336440.210] (--) evdev: CHICONY HP Basic USB Keyboard: Found keys
[336440.210] (II) evdev: CHICONY HP Basic USB Keyboard: Configuring as keyboard
[336440.210] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input5/event5"
[336440.210] (II) XINPUT: Adding extended input device "CHICONY HP Basic USB Keyboard" (type: KEYBOARD, id 9)
[336440.210] (**) Option "xkb_rules" "evdev"
[336440.210] (**) Option "xkb_model" "pc105"
[336440.210] (**) Option "xkb_layout" "se"
[336440.211] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event6)
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[336440.211] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[336440.211] (**) evdev: Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event6"
[336440.211] (--) evdev: Logitech USB-PS/2 Optical Mouse: Vendor 0x46d Product 0xc03f
[336440.211] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found 8 mouse buttons
[336440.211] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[336440.211] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found relative axes
[336440.211] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[336440.211] (II) evdev: Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[336440.211] (II) evdev: Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[336440.211] (**) Option "Emulate3Buttons" "True"
[336440.211] (**) evdev: Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[336440.211] (**) evdev: Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[336440.211] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/input/input6/event6"
[336440.211] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE, id 10)
[336440.211] (II) evdev: Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[336440.211] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[336440.211] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse1)
[336440.211] (II) No input driver specified, ignoring this device.
[336440.211] (II) This device may have been added with another device file.
[336440.211] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event3)
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[336440.211] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[336440.211] (**) evdev: ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event3"
[336440.211] (--) evdev: ImExPS/2 Generic Explorer Mouse: Vendor 0x2 Product 0x6
[336440.211] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[336440.211] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[336440.211] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found relative axes
[336440.211] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[336440.211] (II) evdev: ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[336440.211] (II) evdev: ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[336440.211] (**) Option "Emulate3Buttons" "True"
[336440.211] (**) evdev: ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
[336440.211] (**) evdev: ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[336440.211] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input3/event3"
[336440.211] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 11)
[336440.211] (II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[336440.211] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[336440.212] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse0)
[336440.212] (II) No input driver specified, ignoring this device.
[336440.212] (II) This device may have been added with another device file.
[336440.212] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[336440.212] (II) No input driver specified, ignoring this device.
[336440.212] (II) This device may have been added with another device file.
[336443.905] (II) intel(0): EDID vendor "DEL", prod id 41082
[336443.905] (II) intel(0): Using EDID range info for horizontal sync
[336443.905] (II) intel(0): Using EDID range info for vertical refresh
[336443.905] (II) intel(0): Printing DDC gathered Modelines:
[336443.905] (II) intel(0): Modeline "1920x1200"x0.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz eP)
[336443.906] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[336443.906] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[336443.906] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[336443.906] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[336443.906] (II) intel(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[336443.906] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[336443.906] (II) intel(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[336443.906] (II) intel(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[336443.906] (II) intel(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)

 




More information about the Intel-gfx mailing list