Results 1 to 8 of 8

Thread: How Ubuntu makes tear-free desktop?

  1. #1
    Join Date
    Apr 2011
    Beans
    15

    How Ubuntu makes tear-free desktop?

    Hello. I've worked with Ubuntu 12.04 and Ubuntu 10.04 and was admired that there is not any tearing even "from scratch" with default video drivers.

    I very apprectiate Ubuntu developers for this because i hate tearing.

    But now i need to configure one Debian Stable (squeeze) desktop (based on Gnome too), and it has tearing.

    Tell me, which settings in Ubuntu are responsible for tear-free desktop. I want to configure Debian's Gnome to achieve it on opensource drivers like it's done in Ubuntu.

    My videocard is ATI HD 4850.

  2. #2
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    2,070
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: How Ubuntu makes tear-free desktop?

    what is tearing?

  3. #3
    Join Date
    Apr 2006
    Beans
    996
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How Ubuntu makes tear-free desktop?

    He linked to the wikipedia page that explains what is tearing.

    All I can say about this is, are you sure that Ubuntu's default video drivers used in your machine are open source ones? To me, latest ubuntu silently installs nvidia's drivers. But I am not so sure about ATI. Another thing could be that the driver versions in your ubuntu and debian are different. And of course, are you comparing same desktop environments?
    Xye incredibly difficult puzzle game with minimal graphics. Also at playdeb
    Got a blog: Will Stay Free

  4. #4
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: How Ubuntu makes tear-free desktop?

    Quote Originally Posted by Noah_Danwell View Post
    Hello. I've worked with Ubuntu 12.04 and Ubuntu 10.04 and was admired that there is not any tearing even "from scratch" with default video drivers.

    I very apprectiate Ubuntu developers for this because i hate tearing.

    But now i need to configure one Debian Stable (squeeze) desktop (based on Gnome too), and it has tearing.

    Tell me, which settings in Ubuntu are responsible for tear-free desktop. I want to configure Debian's Gnome to achieve it on opensource drivers like it's done in Ubuntu.

    My videocard is ATI HD 4850.
    I think, although I'm not sure, that Ubuntu tears too, but it's hidden behind compiz's 'blur' or 'fade' window plugin. I think Debian uses metacity by default.

    Unless I'm mistaken, in which case vexorian's answer is probably a good option.

    Quote Originally Posted by cmcanulty View Post
    what is tearing?
    The trailing effect you get behind windows and applications where the WM doesn't draw fast enough.

  5. #5
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How Ubuntu makes tear-free desktop?

    Compiz (the window manager used in Unity) has vertical sync enabled by default. So as long as it has detected your screen's refresh rate correctly that will take care of any tearing issues.

    (and tearing is when the data sent to your display changes while the display is in the middle of the process of refreshing what's visible on the screen. If something on the screen is moving at the same time, you can get a visible seam in the image where bottom part of the display is showing where that moving object was on previous frame, and top part is already showing where it's located on the next frame. Vertical sync synchronizes updating the screen contents to the display's refresh rate so what's visible on the screen doesn't change while the display is drawing a frame.)

  6. #6
    Join Date
    Jan 2011
    Location
    XDA-Developers
    Beans
    274
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How Ubuntu makes tear-free desktop?

    Quote Originally Posted by mcduck View Post
    Compiz (the window manager used in Unity) has vertical sync enabled by default. So as long as it has detected your screen's refresh rate correctly that will take care of any tearing issues.

    (and tearing is when the data sent to your display changes while the display is in the middle of the process of refreshing what's visible on the screen. If something on the screen is moving at the same time, you can get a visible seam in the image where bottom part of the display is showing where that moving object was on previous frame, and top part is already showing where it's located on the next frame. Vertical sync synchronizes updating the screen contents to the display's refresh rate so what's visible on the screen doesn't change while the display is drawing a frame.)
    Exactly. Tearing is created by either Vsync being disabled, or out of sync with your monitor's refresh rate, which if I had to guess, windows does NOT have enabled (hence your suprise).
    I am mainly active on XDA-Devs as hanthesolo, but I may come here every so often to contribute. I develop for the Galaxy Player 4.0 with my self-founded team TeamSuperNova.

    I am always trying to learn, as I acknowledge that I am not omniscient.

  7. #7
    Join Date
    Apr 2011
    Beans
    15

    Re: How Ubuntu makes tear-free desktop?

    Quote Originally Posted by vexorian View Post
    All I can say about this is, are you sure that Ubuntu's default video drivers used in your machine are open source ones?
    I'm not sure. But i'm ready to install any drivers to solve the tearing issue.

    Quote Originally Posted by vexorian View Post
    Another thing could be that the driver versions in your ubuntu and debian are different.
    I think i can add any additional repos with fresh drivers.

    Quote Originally Posted by vexorian View Post
    And of course, are you comparing same desktop environments?
    Gnome in Ubuntu 10.04 and Gnome in Debian Squeeze (both created in 2010 +/-).

    Quote Originally Posted by MG&TL View Post
    I think, although I'm not sure, that Ubuntu tears too, but it's hidden behind compiz's 'blur' or 'fade' window plugin. I think Debian uses metacity by default.
    So be it. The main thing that the tearing isn't seen.

    Quote Originally Posted by mcduck View Post
    Compiz (the window manager used in Unity) has vertical sync enabled by default. So as long as it has detected your screen's refresh rate correctly that will take care of any tearing issues.
    So, I need only install Сompiz? A specific version, or any?

  8. #8
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How Ubuntu makes tear-free desktop?

    Quote Originally Posted by Noah_Danwell View Post
    So, I need only install Сompiz? A specific version, or any?
    Yeah, using Compiz should fix that for you. And every version (perhaps apart from the very first ones from years and years ago) have had the settings for refresh rate and vsync.

Tags for this Thread

Bookmarks

Posting Permissions

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