LibGDX TileRenderer Blur/distort/tear (vsync)

Using latest LibGDX to render a tilemap, map is very small and tilesets are tiny.

Tilemap renders ok, I move the camera about and most of the time it is smooth. Sometimes though I get a horizontal line across the map, its like a tear across the screen or the VSync is failing/off.

When I record the screen or print screen it the tear does not appear on the image so I cannot show you how it looks.

Is this likely to be an issue with Java or the Graphics Card?

If you need more information to help me please let me know, the code is very standard TileMap rendering, followed LibGDX example and checked about efficient render/culling.

Similar to this

http://www.pcper.com/files/imagecache/article_max_width/review/2012-03-21/vsync04.jpg

I think my answer lies here:

Double Rendering
CPU Sync
texture.setFilter(Filter.Nearest, Filter.Nearest);

Bad Logic Said:

config.useCPUSynch = false;
config.vSyncEnabled = true;

CPU synch is on by default, which can result in tearing. It’s the default because hardware vsynch is not supported everywhere in windowed mode.

If that doesn’t help, check your texture filters.

Also they replied

See my last sentence: check your texture filters, play around with linear/nearest. If you use a texture atlas, enable border pixel duplication.

Similar Thread:

One last thing:

Packfile

Changed:

filter: Nearest,Nearest

to

filter: Linear, Nearest

http://www.badlogicgames.com/wordpress/?p=1403