Announcement

Collapse
No announcement yet.

Intel X.Org Driver Now Handles Better Tear-Free

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

  • #16
    Originally posted by Pallidus View Post
    I'd love for the annoying 'font glitch', where a random letter appears all garbled to go away on the gm 45 since it's pretty much the only i▀sue I came across using SNA, not sure it will happen tho since it's old hardware....


    I ask the intel devs not to forget, or neglect, iron lake, gen4 and gma 950 .... I still use them daily
    HOLY CRAP. THIS IS CAUSE BY SNA?? I've been freaking out over what has been causing this forever! I'm using Manjaro and when I set TearFree to true and enabled sna (like the Arch thingy told me to) I started having these issues. I was certain it was caused by FreeType2 being shit... but it happened with FreeType2-Ifinality and FreeType2-Ubuntu as well Q__Q

    Excuse my ognorance but why, the fuck, TearFree is not enabled by default?! Does someone up there think tear-free image is a luxury in 2013 Linux?

    I may well sound like a radical, but to me work on a module that introduced a regression causing tearing should be halted and all resources assigned to the task until the regression is removed. That would teach those interns. Sorry, but if the word 'tearing' comes up in 2013 this alone indicates a failure. And here we have Linus Torvalds ranting over Fedora not refreshing installation images. Adjust your freaking priorities!
    I use Windows 7 sometimes, and I'd just like you to know that an up-to-date Win7 install has screen tearing... worse than on my Linux install when I don't have TearFree set to true!! And no tearing at all when it's enabled :P

    Comment


    • #17
      Originally posted by Daktyl198 View Post
      HOLY CRAP. THIS IS CAUSE BY SNA?? I've been freaking out over what has been causing this forever! I'm using Manjaro and when I set TearFree to true and enabled sna (like the Arch thingy told me to) I started having these issues. I was certain it was caused by FreeType2 being shit... but it happened with FreeType2-Ifinality and FreeType2-Ubuntu as well Q__Q
      To be fair, it is a GPU bug... Except that they officially do not exist. (UXA triggers the same bugs as well, except there I used a very big hammer and spent the time developing SNA to try to characterise the problem and find a better solution.)

      Originally posted by theghost View Post
      I know it's enerving to get and answer all the questions about bugs but are there any updates regarding: https://bugs.freedesktop.org/show_bug.cgi?id=54226 ?
      I know nothing new. Every suggestion I have made turned out to have no effect and I haven't found anything else in the bspec we could try. We can't turn off semaphores as that just reintroduces a different hardware bug (which again do not exist). We are stuck between a rock and a hard place - I just hope that one day we see a pattern in the hangs which would hopefully lead us to a solution. Until then, I am very sorry.

      Originally posted by Ericg View Post
      1) Any word, that you can speak of, from the higher ups about whether or not Intel is going to adopt Nvidia's new G-Sync tech?
      I haven't heard anything yet, but the technique does look quite familiar - it looks pretty similar to the PSR that is employed to reduce power consumption, except here they are using it to increase performance and eliminate output latency. Very cool idea. Anyway, I have no idea yet how Intel will respond - I just hope it is quickly!

      Originally posted by Ericg View Post
      2) As someone who hasn't worked with OpenGL an awful lot, I know that getting the higher OpenGL versions supported is important for features, but I was curious... Going from 3.0 to 3.3 or 3.3 to 4.0 or any other OpenGL version bump, do they actually yield performance improvements? 2.1 to 3.0 I'm sure had a lot of improvements just because of how much of a break it was. But from 3.0 forward has Khronos ever released an extension that was basically "This is the same as the old one...but we found a better way to do it, so its faster." or a similar situation wherein just by supporting a higher OpenGL spec the performance would increase.
      Since even 3.0, there has been a dramatic change in the nature of the GPU - mostly due to the ever increasing number of specialised programmable stages in the pipeline, as well as increasing their versatility (e.g. OpenCL). The biggest changes in each recent OpenGL version have basically been hardware enablement. Though there is the usual refinement in the shader languages, API and functionality as well, most of the improvement is to make new techniques possible.

      Comment


      • #18
        Sadly it appears that 2.99.905 broke the driver on my System 76 gazp9 laptop with a Haswell Intel 4600. I reverted back to 2.99.904 and the driver works again. I was building new versions directly out of git regularly without issues. My last pre 905 build was done two to three days ago. So some change committed in the meantime totally broke the driver for me ;(

        EDIT: For what it's worth I believe my last build occurred at this particular commit:

        http://cgit.freedesktop.org/xorg/dri...7513e9acf5c98b
        Last edited by jaylittle; 10-23-2013, 07:50 PM.

        Comment


        • #19
          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...
          Last edited by jaylittle; 10-23-2013, 08:01 PM.

          Comment


          • #20
            Here is a comparison of my two XOrg log files. The first one is for 2.99.904 and the second one is 2.99.905:

            Code:
            [  4641.378] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4641.378] (II) intel(0): Printing DDC gathered Modelines:
            [  4641.378] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4641.652] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4641.652] (II) intel(0): Printing DDC gathered Modelines:
            [  4641.652] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4648.653] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4648.653] (II) intel(0): Printing DDC gathered Modelines:
            [  4648.653] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4649.676] (II) intel(0): resizing framebuffer to 1600x900
            [  4649.676] (II) intel(0): switch to mode 1600x900@59.9 on pipe 0 using eDP1, position (0, 0), rotation normal
            [  4650.342] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4650.342] (II) intel(0): Printing DDC gathered Modelines:
            [  4650.342] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4650.556] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4650.556] (II) intel(0): Printing DDC gathered Modelines:
            [  4650.556] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4650.623] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4650.623] (II) intel(0): Printing DDC gathered Modelines:
            [  4650.623] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4651.581] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4651.581] (II) intel(0): Printing DDC gathered Modelines:
            [  4651.582] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4671.307] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4671.307] (II) intel(0): Printing DDC gathered Modelines:
            [  4671.307] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            Code:
            [  4612.109] (II) intel(0): EDID vendor "LGD", prod id 933
            [  4612.109] (II) intel(0): Printing DDC gathered Modelines:
            [  4612.109] (II) intel(0): Modeline "1920x1080"x0.0  144.20  1920 1968 2040 2148  1080 1083 1088 1120 -hsync -vsync (67.1 kHz eP)
            [  4619.123] (II) AIGLX: Suspending AIGLX clients for VT switch
            [  4640.846] (II) UnloadModule: "synaptics"
            [  4640.846] (II) evdev: AT Translated Set 2 keyboard: Close
            [  4640.846] (II) UnloadModule: "evdev"
            [  4640.846] (II) evdev: BisonCam, NB Pro: Close
            [  4640.846] (II) UnloadModule: "evdev"
            [  4640.846] (II) evdev: Sleep Button: Close
            [  4640.846] (II) UnloadModule: "evdev"
            [  4640.846] (II) evdev: Power Button: Close
            [  4640.846] (II) UnloadModule: "evdev"
            [  4640.846] (II) evdev: Video Bus: Close
            [  4640.846] (II) UnloadModule: "evdev"
            [  4640.846] (II) evdev: Power Button: Close
            [  4640.846] (II) UnloadModule: "evdev"
            [  4640.857] (EE) Server terminated successfully (0). Closing log file.
            Before this point, everything is the same.

            Comment


            • #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