Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Bad Video Playback horizontal lines.

  1. #1
    Join Date
    Sep 2009
    Location
    Lamia, Greece
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Bad Video Playback horizontal lines.

    hi,

    to begin with, my pc setup is: 4core at 2,66GHz, nVidia GeForce 9800GT, Ubuntu 9.04 x64-bit. I have 2 screens connected as TwinView. main screen is 19" 1280x1024 75Hz and secondary screen is 32" 1360x768 60Hz.

    The problem is that when i play a video (all media players have this problem) i get 1 or 2 horizontal lines flickering across the screen. this happens when there is a lot and fast motion. It is very disturbing:/
    I also read some other posts about this, and tried some of the solutions but nothing works for me..
    video output on vlc is Xv, i tried disabling compiz (compiz-switch) still nothing.. sync VBlank enabled still nothing..(although i read that for the sync VBlank to work good i have to set the refresh rate above 60HZ, but my secondary screen only goes up to 60.. so i don't know if that has anything to do with.. any ideas?

    thanks in advance..!!!!

  2. #2
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Bad Video Playback horizontal lines.

    I had this issue on Hardy Heron and like you, I have tried lots of workarounds without success. When I installed Jaunty (I'm on 32bit), the problem went away.

    Yesterday I have tried Karmic alpha, but decided to go back to Jaunty. For my surprise, the video tearing was back, even after re-installing all previous installed applications and libraries. Additionally, I didn't change any settings, since I have a separate home and I have restored any changes to configuration files outside home, like xorg.conf for example.

    Anyway, I figured out the problem. There is a bug in the nVidia driver related to permissions, that removes the direct rendering settings from xorg anytime I start nVidia settings.

    If I run the code below, it tells direct rendering is off, unless I run it with sudo:

    Code:
    glxinfo | grep -i direct
    So after some research, I found this bug report, which also provides a fix.

    Basically, I had to edit /etc/rc.local

    Code:
    gksudo gedit /etc/rc.local
    and add the following before "exit 0":

    Code:
    chmod 666 /dev/nvidia* &
    Works like a charm now. No tearing at all. I hope this helps.
    Last edited by lovinglinux; January 26th, 2010 at 12:05 AM.

  3. #3
    Join Date
    Sep 2009
    Location
    Lamia, Greece
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Bad Video Playback horizontal lines.

    hi again and thanks for your fast reply!
    i tried your solution but still no good. i'll reinstall ubuntu to give it's partition more space, coz when i installed it i didn't have a lot of free space.. anyway, i'll see after the new installation the problem still occurs and i'll post back later! thanks again!

  4. #4
    Join Date
    Sep 2009
    Location
    Lamia, Greece
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Bad Video Playback horizontal lines.

    So, i reinstalled ubuntu x64, made the changes in the xorg.conf and the rc.local as you said, i still get the tearing effect. i haven't install anything but the suggested updates, and vlc. so, no compiz no nothing.. what could cause this problem in a clean install?:/

  5. #5
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Bad Video Playback horizontal lines.

    Quote Originally Posted by dsevastakis View Post
    So, i reinstalled ubuntu x64, made the changes in the xorg.conf and the rc.local as you said, i still get the tearing effect. i haven't install anything but the suggested updates, and vlc. so, no compiz no nothing.. what could cause this problem in a clean install?:/
    Check the bug report link on my previous post and try the other workaround suggested there.

    What do you get from running the command below?

    Code:
    glxinfo | grep -i direct
    Last edited by lovinglinux; September 15th, 2009 at 05:40 PM.

  6. #6
    Join Date
    Sep 2009
    Location
    Lamia, Greece
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Bad Video Playback horizontal lines.

    direct rendering: Yes
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,

  7. #7
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Bad Video Playback horizontal lines.

    Quote Originally Posted by dsevastakis View Post
    direct rendering: Yes
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    Forget it, you already have direct rendering.

  8. #8
    Join Date
    Oct 2008
    Location
    UK
    Beans
    67
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: Bad Video Playback horizontal lines.

    are desktop effects enabled?

  9. #9
    Join Date
    Sep 2009
    Location
    Lamia, Greece
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Bad Video Playback horizontal lines.

    nope.. only things i installed after ubuntu installations is: updates, vlc, amarok, etc.. but even before those where installed i could see the lines.. any thoughts?

  10. #10
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Bad Video Playback horizontal lines.


Page 1 of 2 12 LastLast

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
  •