Sorry, you need to enable JavaScript to visit this website.

Feedback

Your feedback is important to keep improving our website and offer you a more reliable experience.

Cannot rotate screen while using the Tearfree option

2 posts / 0 new
Gabriel Eles's picture
Starter
Gabriel Eles

Mar 22, 2016 - 02:26am

  • To get best output of video I have enabled the Intel "Tearfree" option in my Xorg configuration:

    Section "Device"
       Identifier  "Intel Graphics"
       Driver      "intel"
       Option      "AccelMethod" "sna"
       Option      "TearFree"    "true"
    EndSection
    

    This leads to a good result. The problem is that with Tearfree=true I cannot rotate my screen left or right:

    $ xrandr --output HDMI2 --rotate left
    xrandr: Configure crtc 0 failed
    

    Xorg.0.log outputs:

    [     4.747] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
    [     4.747] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
    [     4.747] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
    [     4.747] (++) using VT number 7
    [     4.748] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
    [     4.748] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4 (Robert Ancell <robert.ancell@canonical.com>)
    [     4.748] (II) intel(0): SNA compiled for use with valgrind
    [     4.749] (--) intel(0): gen9 engineering sample
    [     4.749] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
    [     4.749] (II) intel(0): Creating default Display subsection in Screen section
            "Default Screen Section" for depth/fbbpp 24/32
    [     4.749] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [     4.749] (==) intel(0): RGB weight 888
    [     4.749] (==) intel(0): Default visual is TrueColor
    [     4.749] (**) intel(0): Option "AccelMethod" "sna"
    [     4.749] (**) intel(0): Option "TearFree" "true"
    [     4.750] (II) intel(0): Output DP1 has no monitor section
    [     4.750] (II) intel(0): Enabled output DP1
    [     4.750] (II) intel(0): Output HDMI1 has no monitor section
    [     4.750] (II) intel(0): Enabled output HDMI1
    [     4.750] (II) intel(0): Output HDMI2 has no monitor section
    [     4.750] (II) intel(0): Enabled output HDMI2
    [     4.750] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
    [     4.750] (II) intel(0): Output VIRTUAL1 has no monitor section
    [     4.750] (II) intel(0): Enabled output VIRTUAL1
    [     4.750] (--) intel(0): Output HDMI2 using initial mode 1920x1080 on pipe 0
    [     4.750] (**) intel(0): TearFree enabled
    [     4.750] (==) intel(0): DPI set to (96, 96)
    [     4.750] (II) Loading sub module "dri2"
    [     4.750] (II) Module "dri2" already built-in
    [     4.750] (II) Loading sub module "present"
    [     4.750] (II) LoadModule: "present"
    [     4.750] (II) Module "present" already built-in
    [     4.750] (==) Depth 24 pixmap format is 32 bpp
    [     4.752] (II) intel(0): SNA initialized with generic backend
    [     4.752] (==) intel(0): Backing store enabled
    [     4.752] (==) intel(0): Silken mouse enabled
    [     4.752] (II) intel(0): HW Cursor enabled
    [     4.752] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [     4.753] (==) intel(0): DPMS enabled
    [     4.753] (==) intel(0): Display hotplug detection enabled
    [     4.753] (II) intel(0): Textured video not supported on this hardware or backend
    [     4.753] (II) intel(0): [DRI2] Setup complete
    [     4.753] (II) intel(0): [DRI2]   DRI driver: i965
    [     4.753] (II) intel(0): [DRI2]   VDPAU driver: va_gl
    [     4.753] (II) intel(0): direct rendering: DRI2 enabled
    [     4.753] (II) intel(0): hardware support for Present enabled
    ...
    [   568.791] (II) intel(0): resizing framebuffer to 1080x1920
    [   568.792] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI2 using pipe 0, position (0, 0), rotation left, reflection none
    [   568.799] (EE) intel(0): failed to set mode: Invalid argument [22]
    [   568.800] (II) intel(0): resizing framebuffer to 1920x1080
    [   568.801] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI2 using pipe 0, position (0, 0), rotation normal, reflection none
    

    Using: Ubuntu 15.10 Linux kernel 4.4.0-040400-generic xserver-xorg-video-intel 2:2.99.917

    Anyone knows what's wrong or a workaround for this issue?

    Mar 22, 2016 - 02:26am