All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc_xorg@merlins.org>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: Very bad performance from intel chipset on Thinkpad T540p (2880x1620)
Date: Sat, 25 Apr 2015 11:31:57 -0700	[thread overview]
Message-ID: <20150425183157.GA19878@merlins.org> (raw)
In-Reply-To: <20150424155353.GJ599@nuc-i3427.alporthouse.com>

[-- Attachment #1: Type: text/plain, Size: 4071 bytes --]

On Fri, Apr 24, 2015 at 04:53:53PM +0100, Chris Wilson wrote:
> Whether of not it tears depends upon your window manager. On bare X,
> using mplayer -vo xv or -vo gl, should not tear. Under a compositing
> window manager, it depends upon how it decides to update the screen. To
> force everything to update without tearing, use
> 
> echo > /etc/X11/xorg.conf.d/90-intel.conf <<EOF
> Section "Device"
> 	Identifier "igfx"
> 	Option "TearFree"
> EndSection
> EOF

So, I added this at the end of my xorg.conf, but Xorg.0.log says:
'intel(0): TearFree disabled'

Any idea why?

[   272.438] (II) xfree86: Adding drm device (/dev/dri/card0)
[   272.852] (--) PCI:*(0:0:2:0) 8086:0416:17aa:2210 rev 6, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[   272.852] (II) "glx" will be loaded by default.
[   272.852] (II) LoadModule: "glx"
[   272.852] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   272.853] (II) Module glx: vendor="X.Org Foundation"
[   272.853] 	compiled for 1.16.4, module version = 1.0.0
[   272.853] 	ABI class: X.Org Server Extension, version 8.0
[   272.853] (**) AIGLX enabled
[   272.853] (II) LoadModule: "intel"
[   272.853] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   272.853] (II) Module intel: vendor="X.Org Foundation"
[   272.853] 	compiled for 1.16.2.901, module version = 2.99.917
[   272.853] 	Module class: X.Org Video Driver
[   272.853] 	ABI class: X.Org Video Driver, version 18.0
[   272.853] (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
[   272.854] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   272.854] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   272.854] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   272.854] (++) using VT number 8

[   272.866] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20141121
[   272.866] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917-1~exp1 (Vincent Cheng <vcheng@debian.org>)
[   272.867] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[   272.867] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[   272.867] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   272.867] (==) intel(0): RGB weight 888
[   272.867] (==) intel(0): Default visual is TrueColor
[   272.867] (II) intel(0): Output eDP1 using monitor section Monitor0
[   272.867] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[   272.867] (II) intel(0): Enabled output eDP1
[   272.867] (II) intel(0): Output VGA1 has no monitor section
[   272.867] (II) intel(0): Enabled output VGA1
[   272.867] (II) intel(0): Output DP1 has no monitor section
[   272.867] (II) intel(0): Enabled output DP1
[   272.867] (II) intel(0): Output HDMI1 has no monitor section
[   272.867] (II) intel(0): Enabled output HDMI1
[   272.867] (II) intel(0): Output DP2 has no monitor section
[   272.867] (II) intel(0): Enabled output DP2
[   272.867] (II) intel(0): Output HDMI2 has no monitor section
[   272.867] (II) intel(0): Enabled output HDMI2
[   272.867] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   272.867] (II) intel(0): Output VIRTUAL1 has no monitor section
[   272.867] (II) intel(0): Enabled output VIRTUAL1
[   272.867] (--) intel(0): Output eDP1 using initial mode 2880x1620 on pipe 0
[   272.867] (==) intel(0): TearFree disabled
[   272.867] (==) intel(0): DPI set to (96, 96)
[   272.867] (II) Loading sub module "dri2"
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

[-- Attachment #2: xorg.conf --]
[-- Type: text/plain, Size: 3410 bytes --]

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

#Section "Files"
#	ModulePath   "/usr/lib/xorg/modules"
#	FontPath     "/usr/share/fonts/X11/misc"
#	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
#	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
#	FontPath     "/usr/share/fonts/X11/Type1"
#	FontPath     "/usr/share/fonts/X11/100dpi"
#	FontPath     "/usr/share/fonts/X11/75dpi"
#	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
#	FontPath     "built-ins"
#EndSection

Section "Module"
	#Load  "vnc"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
        Option          "XkbRules"      "xorg"
	Option          "XkbModel"      "pc105"
	Option          "XkbLayout"     "us"
	Option  "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

# This is needed by the new dbus keyboard driver.
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard	"yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection


Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

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


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Intel GM45"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
EndSection



Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

# Custom

Section "DRI"
	Mode	0666
EndSection

# http://www.x.org/wiki/IntelGraphicsDriver
# http://intellinuxgraphics.org/
Section "ServerFlags"
	Option  "AIGLX" "on"
	# this would disable hotplugging that creates this:
	# (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
	# (WW) Disabling Mouse0
	# (WW) Disabling Keyboard0
	# More info here: https://wiki.archlinux.org/index.php/Xorg#Disabling_Input_Hot-plugging
	#Option "AutoAddDevices" "False"
	# https://wiki.ubuntu.com/X/Backtracing
	Option "NoTrapSignals" "true"
	#For instance, to start Xorg from within gdb (over a ssh connection), start gdb:
	#sudo gdb /usr/bin/Xorg 2>&1 | tee gdb-Xorg.txt
	#inside gdm, start up Xorg:
	#(gdb) run -keeptty -dumbSched
EndSection

Section "Extensions"
	Option		"Composite"	"Enable"
EndSection

Section "Device"
      Identifier "igfx"
      Option "TearFree"
EndSection

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2015-04-25 18:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-23 22:22 Very bad performance from intel chipset on Thinkpad T540p (2880x1620) Marc MERLIN
2015-04-23 22:49 ` Chris Wilson
2015-04-24  0:31   ` Marc MERLIN
2015-04-24  6:53     ` Chris Wilson
2015-04-24 15:35       ` Marc MERLIN
2015-04-24 15:53         ` Chris Wilson
2015-04-24 16:18           ` Marc MERLIN
2015-04-28  7:35             ` Dave Gordon
2015-04-25 18:31           ` Marc MERLIN [this message]
2015-04-25 20:02             ` Chris Wilson
2015-04-25 20:20               ` Marc MERLIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150425183157.GA19878@merlins.org \
    --to=marc_xorg@merlins.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.