• Screen Tearing


    I did a fresh install of Xfce, and to fix screen tearing with my integrated Intel graphics, I’ve always created the file /etc/X11/xorg.conf.d/20-intel.conf and added the following with success in Antergos.

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

    But this time I cannot boot into Antergos. I can get to Grub and select Antergos, but it then hangs with a blinking cursor with a few lines:
    starting version 235
    AntergosRoot: recovering journal
    AntergosRoot: clean, files, blocks

    I have a dual boot set up with MX Linux on another SSD with the same X11 configuration, and I can only boot back into Antergos after I delete the above file.

  • @triode13

    As to go debugging

    inxi -G

    ?

  • $ inxi -G
    Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
    Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
               Display Server: N/A drivers: modesetting (unloaded: fbdev,vesa)
               tty size: 80x24
    
    

    and

    $ inxi --recommends
    inxi will now begin checking for the programs it needs to operate. First a
    check of the main languages and tools inxi uses. Python is only for debugging
    data uploads unless Perl is missing.
    ---------------------------------------------------------------------------
    Bash version: 4.4.12(1)-release
    Gawk version: 4.2.0,
    Sed version: 4.4
    Sudo version: 1.8.21p2
    Python version: 3.6.3 (legacy, no longer used)
    Perl version: v5.26.1
    ---------------------------------------------------------------------------
    Test One: Required System Directories (Linux Only).
    If one of these system directories is missing, inxi cannot operate:
    
    /proc.................................................... Present
    /sys..................................................... Present
    
    All the  directories are present.
    ---------------------------------------------------------------------------
    Test Two: Required Core Applications.
    If one of these applications is missing, inxi cannot operate:
    
    df (info: partition data)................................ /usr/bin/df
    gawk (info: core tool)................................... /usr/bin/gawk
    grep (info: string search)............................... /usr/bin/grep
    perl (info: debugger uploader; debugger /sys traverse)... /usr/bin/perl
    lspci (info: hardware data).............................. /usr/bin/lspci
    ps (info: process data).................................. /usr/bin/ps
    readlink................................................. /usr/bin/readlink
    sed (info: string replace)............................... /usr/bin/sed
    tr (info: character replace)............................. /usr/bin/tr
    uname (info: kernel data)................................ /usr/bin/uname
    wc (info: word character count).......................... /usr/bin/wc
    
    All the  applications are present.
    ---------------------------------------------------------------------------
    Test Three: Script Recommends for Graphics Features.
    NOTE: If you do not use X these do not matter (like a headless server).
    Otherwise, if one of these applications is missing, inxi will have incomplete
    output: 
    
    glxinfo (info: -G glx info).............................. Missing
    xdpyinfo (info: -G multi screen resolution).............. /usr/bin/xdpyinfo
    xprop (info: -S desktop data)............................ /usr/bin/xprop
    xrandr (info: -G single screen resolution)............... /usr/bin/xrandr
    
    The following applications are missing from your system:
    
    Application: glxinfo
    To add to your system, install the proper distribution package for your
    system: 
    Debian/Ubuntu: mesa-utils :: Arch Linux: mesa-demos ::
    Redhat/Fedora/Suse: glx-utils_(openSUSE_12.3_and_later_Mesa-demo-x) 
    ---------------------------------------------------------------------------
    Test Four: Script Recommends for Remaining Features.
    If one of these applications is missing, inxi will have incomplete output:
    
    dig (info: -i wlan IP (Default))......................... /usr/bin/dig
    dmidecode (info: -M if no sys machine data; -m memory)... Missing
    file (info: -o unmounted file system).................... /usr/bin/file
    hciconfig (info: -n -i bluetooth data-dev only-not used). Missing
    hddtemp (info: -Dx show hdd temp)........................ Missing
    ifconfig (info: -i ip lan-deprecated).................... /usr/bin/ifconfig
    ip (info: -i ip lan)..................................... /usr/bin/ip
    sensors (info: -s sensors output)........................ /usr/bin/sensors
    strings (info: -I sysvinit version)...................... /usr/bin/strings
    lsusb (info: -A usb audio;-N usb networking)............. /usr/bin/lsusb
    modinfo (info: -Ax,-Nx module version)................... /usr/bin/modinfo
    runlevel (info: -I runlevel)............................. /usr/bin/runlevel
    sudo (info: -Dx hddtemp-user;-o file-user)............... /usr/bin/sudo
    tree (info: [email protected][1-5] debugger sys tree).................. Missing
    uptime (info: -I uptime (check which package owns Debian)) /usr/bin/uptime
    
    The following applications are missing from your system:
    
    Application: dmidecode
    To add to your system, install the proper distribution package for your
    system: 
    Debian/Ubuntu: dmidecode :: Arch Linux: dmidecode ::
    Redhat/Fedora/Suse: dmidecode 
    
    Application: hciconfig
    To add to your system, install the proper distribution package for your
    system: 
    Debian/Ubuntu: bluez :: Arch Linux: bluez-utils ::
    Redhat/Fedora/Suse: bluez-utils 
    
    Application: hddtemp
    To add to your system, install the proper distribution package for your
    system: 
    Debian/Ubuntu: hddtemp :: Arch Linux: hddtemp :: Redhat/Fedora/Suse: hddtemp
    
    Application: tree
    To add to your system, install the proper distribution package for your
    system: 
    Debian/Ubuntu: tree :: Arch Linux: tree :: Redhat/Fedora/Suse: tree
    ---------------------------------------------------------------------------
    Test Five: Script Recommends for Remaining Features.
    One of these downloaders needed for options -i/-w/-W (-U/-! [11-15], if
    supported): 
    
    curl (info: -i wan ip;-w/-W;-U/-! [11-15] [Default|OR]).. /usr/bin/curl
    wget (info: -i wan ip;-w/-W;-U/-! [11-15] [OR]).......... /usr/bin/wget
    perl (info: -i wan ip;-w/-W;-U/-! [11-15] [Module HTTP::Tiny]) /usr/bin/perl
    
    All the  applications are present.
    ---------------------------------------------------------------------------
    Test Six: System Directories for Various Information.
    (Unless otherwise noted, these are for GNU/Linux systems)
    If one of these directories is missing, inxi may have incomplete output:
    
    /sys/class/dmi/id (info: -M system, motherboard, bios)... Present
    /dev (info: -l,-u,-o,-p,-P,-D disk partition data)....... Present
    /dev/disk/by-label (info: -l,-o,-p,-P partition labels).. Present
    /dev/disk/by-uuid (info: -u,-o,-p,-P partition uuid)..... Present
    
    All the  directories are present.
    ---------------------------------------------------------------------------
    Test Seven: System Files for Various Information.
    (Unless otherwise noted, these are for GNU/Linux systems)
    If one of these files is missing, inxi may have incomplete output:
    
    /proc/asound/cards (info: -A sound card data)............ Present
    /proc/asound/version (info: -A ALSA data)................ Present
    /proc/cpuinfo (info: -C cpu data)........................ Present
    /etc/lsb-release (info: -S distro version data [deprecated]) Missing
    /proc/mdstat (info: -R mdraid data)...................... Missing
    /proc/meminfo (info: -I memory data)..................... Present
    /etc/os-release (info: -S distro version data)........... Present
    /proc/partitions (info: -p,-P partitions data)........... Present
    /proc/modules (info: -G module data)..................... Present
    /proc/mounts (info: -P,-p partition advanced data)....... Present
    /var/run/dmesg.boot (info: -D,-d disk data [BSD only])... Missing
    /proc/scsi/scsi (info: -D Advanced hard disk data [used rarely]) Present
    /var/log/Xorg.0.log (info: -G graphics driver load status) Present
    
    The following files are missing from your system:
    File: /etc/lsb-release
    File: /proc/mdstat
    File: /var/run/dmesg.boot
    ---------------------------------------------------------------------------
    All tests completed.
    
    

    And running the inixi -G command in MX Linux gives

    Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
               Display Server: X.Org 1.16.4 driver: intel Resolution: [email protected]
               OpenGL: renderer: Mesa DRI Intel Haswell Desktop version: 3.3 Mesa 12.0.3
    
  • /etc/X11/xorg.conf.d/20-intel.conf

    Section "Device"
      Identifier  "Intel Graphics"
      Driver      "intel"
    EndSection
    

    https://wiki.archlinux.org/index.php/intel_graphics

  • @judd That’s the config file I had already created. Removing the Option line has no effect. Xorg is broken with either files.

  • My configuration

    Display Server: X.Org 1.19.5
               drivers: ati,radeon,intel (unloaded: modesetting,fbdev,vesa)
    

    You configuration:

     Display Server: N/A drivers: modesetting (unloaded: fbdev,vesa)
    

    Directly it’s like you do not have Xorg …

  • @judd Thanks Judd!!! I didn’t have xf86-video-intel and lib32-mesa installed. Since I need multilib for my scanner, I assumed I needed the latter as well. All is working well!
    https://wiki.archlinux.org/index.php/Xorg

    @developers I’m a little puzzled that xf86-video-intel wasn’t automatically installed. The only difference with this install is that I didn’t install the printer set-up tools in Cnchi, and instead installed system-config-printer after install.

  • @triode13 said in Screen Tearing:

    @judd Gracias Judd !!! No tenía instalados xf86-video-intel y lib32-mesa . Como necesito multilib para mi escáner, supuse que también necesitaba este último. ¡Todo está funcionando bien!
    https://wiki.archlinux.org/index.php/Xorg

    You’re welcome !

  • @triode13 said in Screen Tearing:

    I’m a little puzzled that xf86-video-intel wasn’t automatically installed.

    “Note: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver, and instead falling back on the modesetting driver for fourth generation and newer GPUs. See [1], [2], Xorg#Installation, and modesetting(4).”

  • @karasu said in Screen Tearing:

    @triode13 said in Screen Tearing:

    I’m a little puzzled that xf86-video-intel wasn’t automatically installed.

    “Note: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver, and instead falling back on the modesetting driver for fourth generation and newer GPUs. See [1], [2], Xorg#Installation, and modesetting(4).”

    [1] https://www.phoronix.com/scan.php?page=article&item=intel-modesetting-2017&num=1
    [2] https://www.reddit.com/r/archlinux/comments/4cojj9/it_is_probably_time_to_ditch_xf86videointel/
    (4) http://jlk.fjfi.cvut.cz/arch/manpages/man/modesetting.4

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • A quick internet search, I found that the default modesetting driver for 4th generation and newer doesn’t work for everyone, including myself, and depends on the WM and compositor - I have 4th generation on both of my computers, running OB or Xfce. It appears many people have issues using the Intel Xorg driver though, and if it was installed, removing it and using modesetting fixes their issues. I guess using modesetting + Compton could work for me as well. Right now performance seems to be fine with Xfwm4 and Intel driver though.

Posts 12Views 293
Log in to reply