Xfce XFCE Artifacts on screen

Good day.

I have artifacts on screen when moving windows, for example:

Screenshot - 111714 - 00:55:36.png

Code:
[cmd=%]pciconf -lv[/cmd]
hostb0@pci0:0:0:0:    class=0x060000 card=0x06511028 chip=0x0a048086 rev=0x0b hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:    class=0x030000 card=0x06511028 chip=0x0a168086 rev=0x0b hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT Integrated Graphics Controller'
    class      = display
    subclass   = VGA
    vendor     = 'Intel Corporation'
    class      = multimedia
    subclass   = HDA
Code:
[cmd=%]sudo dmidecode -t processor | grep Version[/cmd]
    Version: Intel(R) Core(TM) i3-4030U CPU @ 1.90GHz
Code:
[cmd=%] uname -orip[/cmd]
FreeBSD 10.1-RELEASE amd64 GENERIC
Thank you for any suggestions.
 
Code:
% cat /etc/X11/xorg.conf | xclip -selection clipboard

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option    "DontZap"    "off"
EndSection

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/lib/X11/fonts/misc/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
    FontPath     "/usr/local/lib/X11/fonts/OTF/"
    FontPath     "/usr/local/lib/X11/fonts/Type1/"
    FontPath     "/usr/local/lib/X11/fonts/100dpi/"
    FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "record"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option       "Protocol" "auto"
    Option       "Device" "/dev/sysmouse"
    Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "Backlight"             # <str>
        #Option     "DRI"                   # <str>
        #Option     "ColorKey"               # <i>
        #Option     "VideoKey"               # <i>
        #Option     "Tiling"                 # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"           # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "ReprobeOutputs"         # [<bool>]
        #Option     "XvMC"                   # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "TearFree"               # [<bool>]
        #Option     "PerCrtcPixmaps"         # [<bool>]
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "DebugFlushBatches"     # [<bool>]
        #Option     "DebugFlushCaches"       # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "BufferCache"           # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"               # [<bool>]
        #Option     "DefaultRefresh"         # [<bool>]
        #Option     "ModeSetClearScreen"     # [<bool>]
    Identifier  "Card1"
    Driver      "vesa"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Xorg.0.log

Thank you very much!
 
Ah, it looks like it is using the vesa driver anyway. This is a notebook computer, right? Is an external monitor attached?
 
Yes, this is a laptop from Dell. There is no external monitor. Actually, I didn't look through xorg.conf, and now I also wonder why there are two Monitor regions, and why there is so much vesa. Hmm. Maybe I should redo # Xorg -configure? I will paste results a little bit further.
 
Code:
# Xorg -configure

X.Org X Server 1.12.4                                                                                                                                                   

Release Date: 2012-08-27                                                                                                                                                 

X Protocol Version 11, Revision 0                                                                                                                                       

Build Operating System: FreeBSD 10.0-RELEASE-p9 amd64                                                                                                                   

Current Operating System: FreeBSD dell15 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/

GENERIC amd64                                                                                                                                                           

Build Date: 12 November 2014  06:17:55PM                                                                                                                                 

                                                                                                                                                                        

Current version of pixman: 0.32.6                                                                                                                                       

        Before reporting problems, check http://wiki.x.org                                                                                                               

        to make sure that you have the latest version.                                                                                                                   

Markers: (--) probed, (**) from config file, (==) default setting,                                                                                                       

        (++) from command line, (!!) notice, (II) informational,                                                                                                         

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.                                                                                                   

(==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 17 04:43:24 2014                                                                                                     

List of video drivers:                                                                                                                                                   

        radeon                                                                                                                                                           

        r128                                                                                                                                                             

        openchrome                                                                                                                                                       

        nv                                                                                                                                                               

        mach64                                                                                                                                                           

        intel                                                                                                                                                           

        ati                                                                                                                                                             

        vesa                                                                                                                                                             

(++) Using config file: "/root/xorg.conf.new"                                                                                                                           

Number of created screens does not match number of detected devices.                                                                                                     

  Configuration failed.

I'm going to re-read the Handbook about troubleshooting X.Org. :confused:
 
After some manual setting up I got:
Code:
[cmd=%]cat /etc/X11/xorg.conf | xclip -selection clipboard[/cmd]

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option    "DontZap"    "off"
EndSection

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/lib/X11/fonts/misc/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
    FontPath     "/usr/local/lib/X11/fonts/OTF/"
    FontPath     "/usr/local/lib/X11/fonts/Type1/"
    FontPath     "/usr/local/lib/X11/fonts/100dpi/"
    FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "record"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option       "Protocol" "auto"
    Option       "Device" "/dev/sysmouse"
    Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1368x768"
    EndSubSection
EndSection
Code:
[cmd=#]Xorg -config /etc/X11/xorg.conf -retro[/cmd]                                                                                                                                                               
X.Org X Server 1.12.4                                                                                                                                           

Release Date: 2012-08-27                                                                                                                                         

X Protocol Version 11, Revision 0                                                                                                                               

Build Operating System: FreeBSD 10.0-RELEASE-p9 amd64                                                                                                           

Current Operating System: FreeBSD dell15 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/

GENERIC amd64                                                                                                                                                   

Build Date: 12 November 2014  06:17:55PM                                                                                                                         

                                                                                                                                                                

Current version of pixman: 0.32.6                                                                                                                               

        Before reporting problems, check http://wiki.x.org                                                                                                       

        to make sure that you have the latest version.                                                                                                           

Markers: (--) probed, (**) from config file, (==) default setting,                                                                                               

        (++) from command line, (!!) notice, (II) informational,                                                                                                 

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.                                                                                           

(==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 17 05:12:56 2014                                                                                             

(++) Using config file: "/etc/X11/xorg.conf"                                                                                                                     

failed to set mtrr: Invalid argument                                                                                                                             

failed to unset mtrr: No such file or directory                                                                                                                 

Server terminated successfully (0). Closing log file.                                                                                                           

root@dell15:~ # date                                                                                                                                             

Mon Nov 17 05:13:22 IRKT 2014

Xorg.0.log (new) still looks very bad.

I'm trying to figure out what mtrr is.

Found:
Intel i[357]-4xxx processors (Haswell) Not supported
See Update i915 GPU driver to Linux 3.8

Still nothing. :(
 
The answer is not to run Xorg -configure. Please stop doing that. It creates terrible configuration files. In your case, it created duplicate entries for the intel and vesa drivers.

Delete xorg.conf, and create one that has only a single Device entry.

This might be enough for the whole file:
Code:
Section "Device"
    Identifier "Card0"
    Driver "vesa"
EndSection

I would also strongly suggest updating to 10.1.
 
The answer is not to run Xorg -configure. Please stop doing that. It creates terrible configuration files. In your case, it created duplicate entries for the intel and vesa drivers.

Delete xorg.conf, and create one that has only a single Device entry.

This might be enough for the whole file:
Code:
Section "Device"
    Identifier "Card0"
    Driver "vesa"
EndSection

I would also strongly suggest updating to 10.1.
wblock@, In my previous post, I already deleted the old xorg.conf and created a new one (without double entries). And I'm on 10.1 (output from the first post). Okay, I'll try to leave only one device for a whole file.

startx wouldn't run with only one Device section.
 
In that case, leave both Devices, but the intel device should not be used or referenced by any of the Monitor or Screen sections.
 
Back
Top