Suddenly screen tearing
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2018
    Location
    Netherland
    Posts
    3
    Linux Firefox 60.0

    Suddenly screen tearing

    Hi, since some recent system updates my Fedora got some bad screen tearing (mesa got updated if I remember correctly).
    I'm on laptop, Fedora 29, KDE spin.

    uname -r
    Code:
    4.19.8-300.fc29.x86_64

    lspci -k | grep -EA3 'VGA|3D|Display'
    Code:
    00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
            Subsystem: ASUSTeK Computer Inc. Device 1432
            Kernel driver in use: i915
            Kernel modules: i915
    --
    01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)
            Subsystem: ASUSTeK Computer Inc. Device 1432
            Kernel driver in use: nouveau
            Kernel modules: nouveau

    I don't think the Nvidia card is used, I never configured it and If I read correctly around it's not used automatically for normal browsing. Correct me if I'm wrong.


    cat /var/log/Xorg.0.log|grep glamor
    Code:
    [   106.658] (II) Loading sub module "glamoregl"
    [   106.658] (II) LoadModule: "glamoregl"
    [   106.658] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
    [   106.777] (II) Module glamoregl: vendor="X.Org Foundation"
    [   107.835] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) Ironlake Mobile 
    [   107.835] (II) modeset(0): glamor initialized
    [   107.870] (II) Loading sub module "glamoregl"
    [   107.871] (II) LoadModule: "glamoregl"
    [   107.871] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
    [   107.871] (II) Module glamoregl: vendor="X.Org Foundation"
    [   109.925] (II) modeset(G0): glamor X acceleration enabled on NVA8
    [   109.925] (II) modeset(G0): glamor initialized
    With another command that I don't remember, I read that DRI3 is enabled by default.

    I already tried adding the file 20-intel.conf with accelmethod "sna" and "TearFree" enabled, but it doesn't solve.

    Any tips? Thanks

  2. #2
    Join Date
    Dec 2018
    Location
    FL, USA
    Posts
    11
    Linux Mozilla 52.0

    Re: Suddenly screen tearing

    Those modeset( lines are telling you the X driver in use is modesetting. I don't think the sna or TearFree options apply to it. The modesetting driver is provided by the X server and is applicable to AMD, Intel and NVidia GPUs. The intel X driver that you aren't using has been informally deprecated, last officially updated over 3.5 years ago.

    A way to see both kernel and X drivers is inxi:
    Code:
    # inxi -SGxx
    System:    Host: p5bse Kernel: 4.19.10-300.fc29.x86_64 x86_64 bits: 64 compiler: gcc v: 8.2.1
               Desktop: Trinity R14.0.5 tk: Qt 3.5.0 wm: Twin dm: TDM Distro: Fedora release 29 (Twenty Nine)
    Graphics:  Device-1: NVIDIA GT218 [GeForce 210] vendor: eVga.com. driver: nouveau v: kernel bus ID: 01:00.0
               chip ID: 10de:0a65
               Display: server: Fedora Project X.org 1.20.3 driver: modesetting unloaded: fbdev,vesa
               resolution: 1920x1200~60Hz
               OpenGL: renderer: NVA8 v: 3.3 Mesa 18.2.6 compat-v: 3.1 direct render: Yes
    Which X server have you been using, Wayland, or Xorg? What happens if you open your session in the other?

  3. #3
    Join Date
    Dec 2018
    Location
    FL, USA
    Posts
    11
    Linux Mozilla 52.0

    Re: Suddenly screen tearing

    One way to know which GPUs are present, as well as which kernel and X drivers are in use, is inxi:
    Code:
    # inxi -SGxx
    System:    Host: p5bse Kernel: 4.19.10-300.fc29.x86_64 x86_64 bits: 64 compiler: gcc v: 8.2.1
               Desktop: Trinity R14.0.5 tk: Qt 3.5.0 wm: Twin dm: TDM Distro: Fedora release 29 (Twenty Nine)
    Graphics:  Device-1: NVIDIA GT218 [GeForce 210] vendor: eVga.com. driver: nouveau v: kernel bus ID: 01:00.0
               chip ID: 10de:0a65
               Display: server: Fedora Project X.org 1.20.3 driver: modesetting unloaded: fbdev,vesa
               resolution: 1920x1200~60Hz
               OpenGL: renderer: NVA8 v: 3.3 Mesa 18.2.6 compat-v: 3.1 direct render: Yes
    Those modeset( lines are telling you X is using the modesetting driver provided by the server rather than a separate driver package. It's become the goto FOSS driver since quite some time, with the intel driver informally deprecated. I'm not sure whether or not the sna and/or TearFree options apply to it, but I don't think they are.

  4. #4
    Join Date
    Dec 2018
    Location
    Netherland
    Posts
    3
    Linux Firefox 60.0

    Re: Suddenly screen tearing

    @mrmazda Here it is:

    Code:
    # inxi -SGxx
    System:
      Host: fedora Kernel: 4.19.9-300.fc29.x86_64 x86_64 bits: 64 compiler: gcc 
      v: 8.2.1 Desktop: KDE Plasma 5.14.4 tk: Qt 5.11.1 wm: kwin_x11 dm: SDDM 
      Distro: Fedora release 29 (Twenty Nine) 
    Graphics:
      Device-1: Intel Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 
      v: kernel bus ID: 00:02.0 chip ID: 8086:0046 
      Device-2: NVIDIA GT218M [GeForce 310M] vendor: ASUSTeK driver: nouveau v: kernel 
      bus ID: 01:00.0 chip ID: 10de:0a70 
      Display: x11 server: Fedora Project X.org 1.20.3 driver: modesetting 
      unloaded: fbdev,vesa compositor: kwin_x11 resolution: 1366x768~60Hz 
      OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 18.2.6 
      direct render: Yes
    As you can see I'm using X11, I never switched to Wayland because KDE is not ready yet.

  5. #5
    Join Date
    Dec 2018
    Location
    FL, USA
    Posts
    11
    Linux Mozilla 52.0

    Re: Suddenly screen tearing

    I don't think Anaconda configures Optimus automatically, so it might be that something's going haywire because X isn't perfectly aware that two GPUs exist. IOW, it might be worth setting up Bumblebee or Prime even though you have no desire of the NVidia GPU.

  6. #6
    Join Date
    Dec 2018
    Location
    Netherland
    Posts
    3
    Linux Firefox 60.0

    Re: Suddenly screen tearing

    I already went into the Bumblebee project some time ago with a previous system, but I remember some issues. With Fedora, I already read here that it isn't supported with nouveau because not needed. So I would need to switch to proprietary Prime, I'm not so happy.
    Damn Nvidia is always a pain in the a** , never gonna buy another laptop with nvidia chip.

    (Also with a previous pc BIOS I could disable the Nvidia card, once updated the BIOS they removed the feature. So yeah, when they want your life to be difficult...)

    EDIT:
    checking this page, I launched the two commands in the DRI3 section without ever doing anything else and I get the same two outputs... already configured by default?
    Last edited by glass; 22nd December 2018 at 01:00 PM.

Similar Threads

  1. Screen tearing in Firefox
    By AntsInMyEyes in forum Hardware & Laptops
    Replies: 3
    Last Post: 10th March 2018, 09:15 AM
  2. Screen tearing and flickering on and off
    By ShatterBatter in forum Using Fedora
    Replies: 1
    Last Post: 9th August 2017, 01:52 AM
  3. F24: Screen Tearing After Xrandr Scale
    By mattwcole in forum Hardware & Laptops
    Replies: 1
    Last Post: 21st June 2017, 09:25 PM
  4. Gnome Shell Screen Tearing
    By PythonNut in forum Using Fedora
    Replies: 0
    Last Post: 20th January 2013, 02:45 AM
  5. Fedora 16 screen tearing
    By rsoul9090 in forum Installation, Upgrades and Live Media
    Replies: 6
    Last Post: 14th November 2011, 10:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •