Tearing in Gnome 3 with Sandy Bridge laptop
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Tearing in Gnome 3 with Sandy Bridge laptop

    Hello

    I recently bought a Lenovo x121e which works quite well with Fedora 15, I only have one real issue and that is tearing in Gnome 3 when dragging windows or watching a movie with mplayer.

    The tearing isn't much, almost not noticeable in normal desktop usage but irritating while watching movies. Mplayer stops tearing if I switch to fallback mode without the gnome shell.

    Anyone have any similar issues with the integrated intel graphics in sandy bridge? I've upgraded to kernel 3.0 but the issue remains.

    Thanks

  2. #2
    Join Date
    Jul 2009
    Posts
    1,234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    I followed a guide that no longer exists, but the solution as best I recall was: install libva, boot to run level 3, run Xorg -configure, copy xorg.conf.new to /etc/X11/xorg.conf and reboot.
    Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)

  3. #3
    Join Date
    Jun 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Thanks, I'll try that as soon as I get home.

    ---------- Post added at 06:55 PM ---------- Previous post was at 03:00 PM ----------

    I tried to use Xorg -configure, but I get the following message:
    number of created screens does not match number of detected devices
    But it generated a xorg.conf, but it contained 3 screens which I cleaned up, but I still have the tearing.

    Could you post your xorg.conf as an example?

    Thanks

  4. #4
    Join Date
    Jul 2009
    Posts
    1,234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Code:
    # Xorg configuration created by livna-config-display
    
    Section "ServerLayout"
    	Identifier     "X.org Configured"
    	Screen      0  "Screen0" 0 0
    	Screen      1  "Screen1" RightOf "Screen0"
    	Screen      2  "Screen2" RightOf "Screen1"
    	InputDevice    "Mouse0" "CorePointer"
    	InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	ModulePath   "/usr/lib64/xorg/modules"
    	FontPath     "catalogue:/etc/X11/fontpath.d"
    	FontPath     "built-ins"
    EndSection
    
    Section "Module"
    	Load  "dbe"
    	Load  "dri2"
    	Load  "record"
    	Load  "glx"
    	Load  "dri"
    	Load  "extmod"
    EndSection
    
    Section "ServerFlags"
    	Option	    "AIGLX" "on"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Keyboard0"
    	Driver      "kbd"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse0"
    	Driver      "mouse"
    	Option	    "Protocol" "auto"
    	Option	    "Device" "/dev/input/mice"
    	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 "Monitor"
    	Identifier   "Monitor2"
    	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     "AccelMethod"        	# [<str>]
            #Option     "DRI"                	# [<bool>]
            #Option     "ColorKey"           	# <i>
            #Option     "VideoKey"           	# <i>
            #Option     "FallbackDebug"      	# [<bool>]
            #Option     "Tiling"             	# [<bool>]
            #Option     "LinearFramebuffer"  	# [<bool>]
            #Option     "Shadow"             	# [<bool>]
            #Option     "SwapbuffersWait"    	# [<bool>]
            #Option     "XvMC"               	# [<bool>]
            #Option     "XvPreferOverlay"    	# [<bool>]
            #Option     "DebugFlushBatches"  	# [<bool>]
            #Option     "DebugFlushCaches"   	# [<bool>]
            #Option     "DebugWait"          	# [<bool>]
            #Option     "HotPlug"            	# [<bool>]
            #Option     "RelaxedFencing"     	# [<bool>]
    	Identifier  "Videocard0"
    	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     "Rotate"             	# <str>
            #Option     "fbdev"              	# <str>
            #Option     "debug"              	# [<bool>]
    	Identifier  "Card1"
    	Driver      "fbdev"
    	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  "Card2"
    	Driver      "vesa"
    	BusID       "PCI:0:2:0"
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Videocard0"
    	Monitor    "Monitor0"
    	DefaultDepth     24
    	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
    
    Section "Screen"
    	Identifier "Screen2"
    	Device     "Card2"
    	Monitor    "Monitor2"
    	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 "Extensions"
    	Option	    "Composite" "Enable"
    EndSection
    Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)

  5. #5
    Join Date
    Jun 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Thanks, but it doesn't seem to work, I still have slight tearing while dragging windows and watching videos. This doesn't occur on my main machine which also runs Fedora 15 but with a nVidia card.

  6. #6
    Join Date
    Jul 2009
    Posts
    1,234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Don't know if this helps. Are you using the Intel driver?

    [root@localhost ~]# rpm -qa | grep libva
    libva-freeworld-1.0.13-2.fc15.x86_64
    libva-1.0.14-1.fc15.x86_64
    libva-devel-1.0.14-1.fc15.x86_64
    libva-utils-1.0.14-1.fc15.x86_64

    [root@localhost ~]# rpm -qa | grep intel
    xorg-x11-drv-intel-2.15.0-5.fc15.x86_64
    [root@localhost ~]#

    Do you have the following installed (from libva)?
    /usr/lib64/dri/i965_drv_video.so
    OR
    /usr/lib/dri/i965_drv_video.so

    BTW, I will be out of internet range soon for a few days. Going on a trip.
    Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)

  7. #7
    Join Date
    Jun 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    I have all the packages installed and the i965_drv_video.so exits in /usr/lib64/dri, and I have set intel as the video driver in my xorg.conf.

    Too bad your going off the grid for a while, thanks for all the help and have a nice trip.

  8. #8
    Join Date
    Oct 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Have you solved it? I have the same problem. The weird thing is, I don't get tearing in Ubuntu or Linux Mint (using Compiz). Only in Fedora 15/16.

  9. #9
    Join Date
    Oct 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Hi, I have a solution for the problem now. I put this in the "/etc/environment" file (which did not exist before):

    CLUTTER_PAINT=disable-clipped-redraws:disable-culling
    CLUTTER_VBLANK=True

    Now there is no tearing, not even in flash videos.

  10. #10
    Join Date
    Jul 2009
    Posts
    1,234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tearing in Gnome 3 with Sandy Bridge laptop

    Quote Originally Posted by MarcusW
    Hi, I have a solution for the problem now. I put this in the "/etc/environment" file (which did not exist before):

    CLUTTER_PAINT=disable-clipped-redraws:disable-culling
    CLUTTER_VBLANK=True

    Now there is no tearing, not even in flash videos.
    Yeah, I found that solution myself about a month ago (works for me too!), although the second line seemed to have no effect on my system. An alternative is to use Gnome Classic with Compiz.

    https://bugzilla.gnome.org/show_bug.cgi?id=657071#c2
    Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)

Similar Threads

  1. F15 + Radeon HD 6850 + Sandy Bridge issues
    By JonathonReinhar in forum Hardware
    Replies: 1
    Last Post: 11th January 2012, 06:42 AM
  2. Replies: 6
    Last Post: 22nd August 2011, 05:19 PM
  3. Sandy Bridge graphic drivers ?
    By titimoi in forum F15 Development
    Replies: 8
    Last Post: 2nd May 2011, 10:45 PM
  4. [SOLVED]
    Sandy Bridge video
    By Eddd in forum Hardware
    Replies: 4
    Last Post: 4th April 2011, 09:26 PM
  5. Sandy Bridge video.
    By sanets in forum Hardware
    Replies: 6
    Last Post: 3rd February 2011, 07:59 PM

Tags for this Thread

Posting Permissions

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