Announcement

Collapse
No announcement yet.

Intel X.Org Driver Now Handles Better Tear-Free

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Alright so I tried this commit:

    http://cgit.freedesktop.org/xorg/dri...3b2b19eaa90e6e

    And I had the same problem. Then I tried this one from a few days prior:

    http://cgit.freedesktop.org/xorg/dri...c9e728a3ff0f3f

    And it worked again. That range of commits happens to include all the EDID changes as well.

    Comment


    • #22
      Originally posted by jaylittle View Post
      Crap it must've been an earlier revision as I just tried it with that one and I still have the issue <sigh>

      EDIT: The issue seems to have something to do with the custom modelines I am using. 2.99.904 detects them whereas 2.99.905 does not. My initial res is set to something less than the native resolution of the LCD (1920x1080 max versus 1600x900 set). I wonder if this is the issue at hand...
      The driver should not be doing detection at all initially, but inheriting the exact mode you were using before. What happens if you then use xrandr? That should report the extra modes you specified in the monitor section. If not, please file a bug on bugs.freedesktop.org (Xorg, Driver/Intel) with your full Xorg.0.log and xorg.conf

      Comment


      • #23
        Okay so the new driver does work - but only if I setup cinnamon to use my LCD's native resolution before switching to it (2.99.905). Once I'm logged in, xrandr shows all of my normal resolutions (i.e. ones added with a custom modeline). As soon as I switch to one though - it bounces me back to a virtual terminal before GDM restarts itself. So the driver is crashing.

        New XOrg output:

        Code:
        [ 18308.068] (II) intel(0): resizing framebuffer to 1600x900
        [ 18308.070] (II) intel(0): switch to mode 1600x900@60.0 on pipe 0 using eDP1, position (0, 0), rotation normal
        [ 18308.696] (EE)
        [ 18308.696] (EE) Backtrace:
        [ 18308.696] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x3d) [0x57f67d]
        [ 18308.696] (EE) 1: /usr/bin/Xorg (0x400000+0x1833e9) [0x5833e9]
        [ 18308.696] (EE) 2: /usr/lib/libpthread.so.0 (0x7f06ce631000+0xf870) [0x7f06ce640870]
        [ 18308.696] (EE) 3: /usr/lib/libc.so.6 (__vsprintf_chk+0x54) [0x7f06cd7863e4]
        [ 18308.696] (EE) 4: /usr/lib/libc.so.6 (__sprintf_chk+0x7d) [0x7f06cd78636d]
        [ 18308.697] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f06cbfb1000+0x5c012) [0x7f06cc00d012]
        [ 18308.697] (EE) 6: /usr/bin/Xorg (xf86ProbeOutputModes+0x1db) [0x4aa37b]
        [ 18308.697] (EE) 7: /usr/bin/Xorg (0x400000+0xb378c) [0x4b378c]
        [ 18308.697] (EE) 8: /usr/bin/Xorg (RRGetInfo+0x88) [0x4f0258]
        [ 18308.697] (EE) 9: /usr/bin/Xorg (0x400000+0xf6f19) [0x4f6f19]
        [ 18308.697] (EE) 10: /usr/bin/Xorg (0x400000+0x373be) [0x4373be]
        [ 18308.697] (EE) 11: /usr/bin/Xorg (0x400000+0x2693a) [0x42693a]
        [ 18308.697] (EE) 12: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7f06cd6b4bc5]
        [ 18308.697] (EE) 13: /usr/bin/Xorg (0x400000+0x26c81) [0x426c81]
        [ 18308.697] (EE)
        [ 18308.697] (EE) Segmentation fault at address 0x0
        [ 18308.697] (EE)
        Fatal server error:
        [ 18308.697] (EE) Caught signal 11 (Segmentation fault). Server aborting
        [ 18308.697] (EE)
        [ 18308.697] (EE)
        Please consult the The X.Org Foundation support
                 at http://wiki.x.org
         for help.
        [ 18308.697] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
        [ 18308.697] (EE)
        [ 18308.697] (II) AIGLX: Suspending AIGLX clients for VT switch

        I'll submit a bug and we'll see where it goes.
        Last edited by jaylittle; 10-24-2013, 06:24 AM.

        Comment


        • #24
          Bug report has been filed: https://bugs.freedesktop.org/show_bug.cgi?id=70835

          Comment


          • #25
            Originally posted by Shirudo View Post
            It's a configuration option to remove screen tearing. From the Arch forums:

            cat /etc/X11/xorg.conf.d/20-intel.conf
            Section "Device"
            Identifier "Intel Graphics"
            Option "SwapbuffersWait" "true"
            Option "AccelMethod" "sna"
            Option "TearFree" "true"
            EndSection

            I've used these options myself and they work perfectly, I think I get better performance from switching to sna too.
            It didn't solve my problem at all. The best workaround remains:
            Code:
            /etc/environment
            CLUTTER_PAINT=disable-clipped-redraws:disable-culling
            CLUTTER_VBLANK=True
            It introduces lag but the animations are smooth. "It makes the desktop strangely laggy. When I drag a window it always takes a moment to catch up with the mouse."

            I've updated the bug report too. The issue is still present in Fedora 20/Gnome 3.10 but no one seems to give a rat's ass about it.
            https://bugzilla.redhat.com/show_bug.cgi?id=977391#c24
            Last edited by Bucic; 10-25-2013, 05:03 PM.

            Comment


            • #26
              Can anyone please tell me why I don't have this package installed on my system?

              Code:
              ~$ sudo yum list *intel*
              Loaded plugins: fastestmirror, langpacks, refresh-packagekit
              Loading mirror speeds from cached hostfile
               * fedora: ftp.icm.edu.pl
               * rpmfusion-free: ftp.icm.edu.pl
               * rpmfusion-free-updates: ftp.icm.edu.pl
               * rpmfusion-nonfree: ftp.icm.edu.pl
               * rpmfusion-nonfree-updates: ftp.icm.edu.pl
               * tlp: repo.linrunner.de
               * tlp-updates: repo.linrunner.de
               * updates: ftp.wsisiz.edu.pl
              Installed Packages
              intel-linux-graphics-installer.x86_64                                               1.0.2-10.1                                         @/intel-linux-graphics-installer-1.0.2-10.1.x86_64
              intellinuxgraphics-repo.noarch                                                      1.0.2-2.1                                          @/intellinuxgraphics-repo.noarch                  
              libva-intel-driver.x86_64                                                           1.2.0-2.3                                          @intellinuxgraphics                               
              xorg-x11-drv-intel.x86_64                                                           2.21.12-2.fc19                                     @updates                                          
              xorg-x11-drv-intel-devel.x86_64                                                     2.21.12-2.fc19                                     @updates                                          
              Available Packages
              eclipse-photran-intel.noarch                                                        8.1.3-1.fc19                                       updates                                           
              fence-agents-intelmodular.x86_64                                                    4.0.4-3.fc19                                       updates                                           
              intel-gen4asm.x86_64                                                                1.3-3.fc19                                         fedora                                            
              intel-gpu-tools.i686                                                                2.21.9-5.3                                         intellinuxgraphics                                
              intel-gpu-tools.x86_64                                                              2.21.12-2.fc19                                     updates                                           
              intel-linux-graphics-installer.i686                                                 1.0.2-10.1                                         intellinuxgraphics                                
              intel-linux-graphics-installer-debuginfo.i686                                       1.0.2-10.1                                         intellinuxgraphics                                
              intel-linux-graphics-installer-debuginfo.x86_64                                     1.0.2-10.1                                         intellinuxgraphics                                
              libva-intel-driver.i686                                                             1.2.0-2.3                                          intellinuxgraphics                                
              xorg-x11-drv-intel.i686                                                             2.21.12-2.fc19                                     updates                                           
              xorg-x11-drv-intel-debuginfo.i686                                                   2.21.9-5.3                                         intellinuxgraphics                                
              xorg-x11-drv-intel-debuginfo.x86_64                                                 2.21.9-5.3                                         intellinuxgraphics                                
              xorg-x11-drv-intel-devel.i686                                                       2.21.12-2.fc19                                     updates
              Code:
              ~$ sudo yum list *xf86*
              Loaded plugins: fastestmirror, langpacks, refresh-packagekit
              Loading mirror speeds from cached hostfile
               * fedora: ftp.icm.edu.pl
               * rpmfusion-free: ftp.icm.edu.pl
               * rpmfusion-free-updates: ftp.icm.edu.pl
               * rpmfusion-nonfree: ftp.icm.edu.pl
               * rpmfusion-nonfree-updates: ftp.icm.edu.pl
               * tlp: repo.linrunner.de
               * tlp-updates: repo.linrunner.de
               * updates: ftp.wsisiz.edu.pl
              Installed Packages
              libXxf86dga.x86_64                                                                            1.1.4-1.fc19                                                                      installed
              libXxf86misc.x86_64                                                                           1.0.3-6.fc19                                                                      installed
              libXxf86vm.i686                                                                               1.1.3-1.fc19                                                                      installed
              libXxf86vm.x86_64                                                                             1.1.3-1.fc19                                                                      installed
              libXxf86vm-devel.x86_64                                                                       1.1.3-1.fc19                                                                      installed
              Available Packages
              libXxf86dga.i686                                                                              1.1.4-1.fc19                                                                      fedora   
              libXxf86dga-devel.i686                                                                        1.1.4-1.fc19                                                                      fedora   
              libXxf86dga-devel.x86_64                                                                      1.1.4-1.fc19                                                                      fedora   
              libXxf86misc.i686                                                                             1.0.3-6.fc19                                                                      fedora   
              libXxf86misc-devel.i686                                                                       1.0.3-6.fc19                                                                      fedora   
              libXxf86misc-devel.x86_64                                                                     1.0.3-6.fc19                                                                      fedora   
              libXxf86vm-devel.i686                                                                   1.1.3-1.fc19                                                                      fedora
              Fedora 19 x86_64, Intel GMA 45
              Last edited by Bucic; 10-25-2013, 11:10 PM.

              Comment


              • #27
                Because non-rolling distributions suck at giving their users updated packages in a timely manner.

                Comment


                • #28
                  Originally posted by jaylittle View Post
                  Because non-rolling distributions suck at giving their users updated packages in a timely manner.
                  I don't think you understood. The package is not installed on my system at all.

                  Comment


                  • #29
                    Yeah ya do:

                    xorg-x11-drv-intel.x86_64

                    ...is listed under Installed Packages. It's just an older version. The version that is being worked on now is 3.0.0. The current development version is 2.99.905. Your system has 2.21.12 installed.
                    Last edited by jaylittle; 10-26-2013, 09:28 AM.

                    Comment


                    • #30
                      Originally posted by jaylittle View Post
                      Yeah ya do:

                      xorg-x11-drv-intel.x86_64

                      ...is listed under Installed Packages. It's just an older version. The version that is being worked on now is 3.0.0. The current development version is 2.99.905. Your system has 2.21.12 installed.
                      Could you, please, explain the naming discrepancy? I mean, xorg-x11-drv-intel hardly suggests it's an equivalent/same as xf86-video-intel

                      On not so timely updates on Fedora - you can hardly blame a distro when the intel-linux-graphics-installer doesn't install the package yet.
                      Last edited by Bucic; 10-26-2013, 02:10 PM.

                      Comment

                      Working...
                      X