Linux Glitching/tearing problem [GT 610, Arch Linux]
#1
Question 
Hi, I have a problem with glitching/tearing on my XBMC setup.

It is only on the top part of the screen (about an inch from the top), and only when in fullscreen. This issue is a problem when testing Plex Home Theater.

Windowed mode works fine. VLC and MPlayer works fine, even inn fullscreen.

The HTPC is connected via HDMI to an 42" Toshiba LCD TV. It has previously worked fine on another setup.

Software:
OS: Arch Linux (3.13.5-1-ARCH)
WM: Cinnamon
Nvidia Driver: 334.21
XBMC 13.0-ALPHA12

Hardware:
- Corsair VX 450W, PSU
- Gigabyte GA-EG45M-DS2H, motherboard
- Intel Core 2 Duo E8400, CPU
- Kingston HyperX DDR2-800 4 GB (2×2048), RAM
- Asus Geforce GT 610

What I have tried:
- Extensive googling
- Newest beta drivers.
- Tried ticking of vsync etc.
- I did try to setup VLC as an external player, and that works, but I much more prefer the internal XBMC player.

Various outputs:
Code:
vainfo: VA-API version: 0.34 (libva 1.2.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileMPEG4Simple            :    VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD

Code:
xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 708mm x 398mm
   1920x1080      50.0*+   60.0     59.9     30.0     25.0     24.0     60.1     60.0     50.0
   1280x720       59.9     50.0
   720x576        50.0     50.1
   720x480        59.9     60.1
   640x480        59.9     59.9

Code:
xbmc-xrandr
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="16384" maximum_h="16384">
  <output name="DVI-I-0" connected="false">
  </output>
  <output name="VGA-0" connected="false">
  </output>
  <output name="DVI-I-1" connected="false">
  </output>
  <output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="708" hmm="398">
    <mode id="0x280" name="1920x1080" w="1920" h="1080" hz="50.00000" current="true" preferred="true"/>
    <mode id="0x281" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x282" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x283" name="1920x1080" w="1920" h="1080" hz="29.97172" current="false" preferred="false"/>
    <mode id="0x284" name="1920x1080" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>
    <mode id="0x285" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
    <mode id="0x286" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x287" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x288" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x289" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x28a" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x28b" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x28c" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x28d" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x28e" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
    <mode id="0x28f" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
    <mode id="0x290" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
  </output>
</screen>

Anyone have any advice?

If there is anything else I can provide of information, please ask.

Thank you!
Reply
#2
See here http://forum.xbmc.org/showthread.php?tid=183343

Downgrading xserver-xorg and disabling audio sync - drop/dupe got rid of playback irregularities for me.
Reply
#3
Thanks. I will look into that as soon as I have time. I'll report back. Now I need to get to bed. Smile

EDIT:
I had to try. Using the aur package from this post solved it for me. Thanks alot! Smile
Reply
#4
Just a question: Why do you use vaapi? I would highly suggest, that you use vdpau on your nvidia hardware.

As I have now seen that approx 100 times with the broken packaging on arch, does it help to give the X executable another parameter:
Code:
-bs disables backing store support on all screens.

That way no other package should have to be installed.

Edit: If I read the code correctly, it should already be enough to disable composite extension, which is especially for a pure htpc an wideley suggested solution.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Thanks fritsch, that gets rid of the tearing.
Reply
#6
okay, teeedubb: then I have a job for you :-)

Could you watch out on this forum (as you have done before) to tell the Arch and gentoo users the great gospel?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
haha, yeah no prob.
Reply
#8
Thank you guys, I'll give that a go.

I think I am using vdpau, at least thats what the info screen says when I play a videofile.

EDIT:
If i disabel composite via xorg.conf GDM crashes. And I can't for the life of me find out how to pass the -bs flag to xorg. I tried setting it in xorg.conf, but that does not work.
Reply

Logout Mark Read Team Forum Stats Members Help
Glitching/tearing problem [GT 610, Arch Linux]0