Screen Tearing – Intel Laptop

Forum › Forums › General › Hardware › Screen Tearing – Intel Laptop

  • This topic has 15 replies, 5 voices, and was last updated Dec 21-5:46 pm by Anonymous.
Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #73214
    Anonymous

      Good Day Folks,

      I am used to running compositors and this is the first time I am having issues, especially with Intel, which is always a breeze with picom/compton. Not sure why?

      Below is the specs of my hardware.

      sudo inxi -GSxxx
      
      System:    Host: E7570 Kernel: 4.9.0-279-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: i3 4.19.1-non-git 
                 info: i3bar dm: N/A Distro: antiX-21_x64-base Grup Yorum 31 October 2021 base: Debian GNU/Linux 11 (bullseye) 
      Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
                 chip-ID: 8086:1916 class-ID: 0300 
                 Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-2:2 chip-ID: 0bda:5686 class-ID: 0e02 
                 serial: 0001 
                 Display: server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz s-dpi: 96 
                 OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5 compat-v: 3.1 direct render: Yes

      I have tested xcompmgr and picom, and both give screen tearing. I don’t have a config file, but I prefer running a simple command at startup. Something like
      xcompmgr -F -C or
      picom -cCGf

      With picom I have tried all three backends, i.e.
      xrender, glx, xr_glx_hybrid,
      I also tested these backends with the
      --no-use-damage flag with no success. Is the correct gfx driver installed? Should I try a newer kernel?

      Thank You

      • This topic was modified 4 years, 9 months ago by anticapitalista. Reason: removed solved
      #73235
      rokytnji
      Forum Admin

        Not sure what is going on but you have the correct driver
        http://www.intel.com/content/www/us/en/support/articles/000005520/graphics.html

        Have you looked through dmesg for any missing firmware related to graphics is all I can figure.
        Maybe dmesg may tell you about what is causing the screen tearing also.

        Good luck

        Sometimes I drive a crooked road to get my mind straight.
        I don't suffer from insanity. I enjoy every minute of it.
        Motorcycle racing is rocket science.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #73238
        caprea
        Moderator

          OpenGL: renderer: llvmpipe

          The gpu is not used here for gl rendering.This is software rendering using the cpu.
          Normally the Mesa DRI should be used for rendering.
          We have to look why this is the case. Did you before installation or do you use nomodeset or any other boot parameter?

          Also, it is definitely appropriate to try a newer kernel and it might worth a try to use the intel driver instead of modesetting.
          http://mxlinux.org/wiki/hardware/intel-video-driver/

          • This reply was modified 4 years, 9 months ago by caprea.
          #73288
          Anonymous

            Hi Caprea,

            I didn’t do anything, I literally just did the install and went ahead for “normal” tweaking.

            I’ll add the intel xorg config and reboot to see how things are. After that I’ll try a newer kernel.

            #73289
            Anonymous

              Seems that after loading the Intel driver that all is well 😀

              Here is my current setup:

              sudo inxi -GSxxx
              
              System:    Host: E7570 Kernel: 4.9.0-279-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: i3 4.19.1-non-git 
                         info: i3bar dm: N/A Distro: antiX-21_x64-base Grup Yorum 31 October 2021 base: Debian GNU/Linux 11 (bullseye) 
              Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
                         chip-ID: 8086:1916 class-ID: 0300 
                         Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-2:3 chip-ID: 0bda:5686 class-ID: 0e02 
                         serial: 0001 
                         Display: server: X.Org 1.20.11 driver: loaded: intel resolution: 1366x768~60Hz s-dpi: 96 
                         OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5 compat-v: 3.1 direct render: Yes

              It might be a placebo effect, but the performance feel better. so I am very happy haha. And I don’t even have a compositor enabled, yet, I have no screen tearing.

              #73306
              caprea
              Moderator

                The screen tearing may well be over but unfortunately the 3d rendering still doesn’t work as intended.
                Is firmware-misc-nonfree installed?

                #73312
                Anonymous

                  Hi Caprea,

                  Yes, it is installed. See attached photo. Is there a way to check that everything works as intended?

                  #73341
                  caprea
                  Moderator

                    As long as the llvmpipe is used for opengl rendering it does not work like it should. You will notice it at the latest when playing games or installing something like kodi.Overall the performance would be much better if we find the cause and you can manage to use the Mesa DRI.

                    Might a good idea to remove the solved in the title, so more people will look at this again.

                    We have to look for hints. Could you post the /var/log/Xorg.0.log
                    and output from
                    dmesg | grep i915

                    Did you already try another kernel? It’s easily done with the package-installer, you can always go back to your old kernel if the new one doesn’t work for you.

                    #73342
                    Anonymous

                      Hi Caprea,

                      Not sure why, but I can’t edit the original post?

                      Here is the output to
                      dmesg | grep i915

                      dmesg | grep i915
                      [   12.015929] [drm] Initialized i915 1.6.0 20160919 for 0000:00:02.0 on minor 0
                      [   12.026282] [drm] Finished loading i915/skl_dmc_ver1_26.bin (v1.26)
                      [   13.378271] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
                      [   13.415686] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

                      I haven’t tried a new kernel. I was wondering about that. What kernel should I go for?
                      linux-image-5.10.57.antix.1-amd64-smp?

                      #73352
                      caprea
                      Moderator

                        Worth a try, if it will not boot with this kernel you can choose in the advanced options on the boot screen your old kernel.But it should boot fine with 5.10.57.antix.1-amd64-smp.

                        #73366
                        sybok
                        Member

                          Hi,
                          this seems to be a topic that sometimes comes back.
                          Does the post http://www.antixforum.com/forums/topic/intel-screen-tear/ (and links therein) provide some advice that is applicable here as well?

                          #73367
                          Anonymous

                            Hi Caprea,

                            [EDIT] So I installed the 5.10 kernel, booted and all is well, it seems? What do I check next for complete 3D rendering?

                            #73368
                            Anonymous

                              Hi sybok,

                              This definitely helps and was suggested as a solution here. I have already implemented this fix and made a difference.
                              We are now looking at 3D rendering.

                              #73380
                              Anonymous

                                So Kernel 5.10 is not an option for me. I get a screen freeze when I run
                                gksu synaptic

                                This happens every time, then I have to force shutdown. When I boot into 4.9 I can run
                                gksu synaptic
                                without any issues

                                #73387
                                ModdIt
                                Member

                                  Intention is generaly to use sudo, do you still get a lock up if you use that command.

                                Viewing 15 posts - 1 through 15 (of 16 total)
                                • You must be logged in to reply to this topic.