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 <vch...@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
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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to