Recent development: blocky / judder video playback
#1
I have Kodi 14.2 Git:7cc53a9 on fully updated Ubuntu 14.04, with a recent Intel i5 chip on ASUS z97 motherboard.

Recent development: All my video looks blocky/choppy/juddery. I've tried 50-100 videos and this occurs 100% of the time. Not sure if it was some changes I shouldn't have made in preferences, or an update of a driver or software, or what. Used to look fine.

Videos all look perfect in VLC, so I think this must be specific to Kodi.

Log is at http://xbmclogs.com/pfilesmdi

I turned on logging and selected a video. I wound up skipping around to different times quite a lot; don't want that to cause confusing in analyzing.

Thanks for any help!
Reply
#2
I went ahead and did the things recommended here: http://forum.kodi.tv/showthread.php?tid=...pid1999445 and now it seems to look worse. I'm currently playing all my video files with VLC, it looks so bad.
Reply
#3
xbmclogs.com seems down again -> post your Debug Log in another pastebin, please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
I could load it.

Garbage in, garbage out. You are running a fully outdated kernel, that still has the GPU hang issue. Trusty won't fix that - as they don't care to backport.
Second - you use files produced with a broken encoder - that release team is informed ... it should have been fixed already.

You are running kodi on Unity, which highly interfers with vsync.

Start kodi via lightdm directly and only play this sample: https://dl.dropboxusercontent.com/u/5572...-5.0-8.mkv or that one: http://solidrun.maltegrosse.de/~fritsch/720p50_h264.mp4 after that post a Debug Log, dmesg | pastebinit, vainfo | pastebinit
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Thank you. Thinking back on it, I should have realized I picked a bad source with that clip. It is always poor quality.

I forgot how endearing "Clannad" was. Smile Is that clip supposed to have sound? If so, I may have screwed up my audio playback using the instructions I followed above. But I can see the visual bugs occurring with your clip, regardless.

kodi.log:

http://paste.ubuntu.com/11069315/

vainfo... I wasn't sure what this was, typed it into terminal, said it wasn't installed, so I installed it *after* the above log was captured. Then I pastebinit as requested:

http://paste.ubuntu.com/11069385/

dmesg:

http://paste.ubuntu.com/11069397/

Please let me know everything I should do in order to have a nice, working version of kodi, and any advice you have for optimizing my system, and thanks to you and everyone for all your efforts. Smile
Reply
#6
Sorry, just checking in. I hope it is not rude.
Reply
#7
Clannad is meant to have no sound.

Logwise - nothing is broken :-) You play 23.976 content @ 60hz. VDPAU is still enabled which you don't use.

Can you reproduce with OpenELEC from an usb stick?

Edit: Can you further describe your visual bugs? What do you see on screen?
Edit2: Here is the original clannad file https://dl.dropboxusercontent.com/u/5572...lannad.mkv (this one is in spec Level 4.1 - the other one was for testing limits on cubox).
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Hi

I apologize for the long delay. I have made discoveries and have updates.

Turns out the video effect I was seeing is called "video tearing" and I guess a lot of people are having this with Intel and Ubuntu, which sucks, seeing as how Intel costs a lot more than others.

Initially I thought the problem was only on kodi, but then I saw the effect on VLC, only much less pronounced. So I approached the problem as universal, not kodi specific, especially since the logs weren't showing you anything. Here's the fix I applied. Not sure if there's a better way, but I seem to have fixed it. I will report back if that is not the case.

Code:
!!!First install mesa utilitis if u dont have it!!
--------------Terminal------------------*-----------
sudo apt-get install mesa-utils
----------------------------------------*-------------

To see what mesa and opengl version u have
--------------Terminal------------------*---------
glxinfo | grep OpenGL
----------------------------------------*----------

Now to solve the video tearing

-------------Terminal----------------
sudo mkdir /etc/X11/xorg.conf.d/


echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf

sudo reboot




----------------------------------------*----------------
*"sudo reboot" will restart the pc!!!!


To revert back to the default acceleration method , just delete the file you created.
----------------------------Terminal----*----------------------------------
sudo rm /etc/X11/xorg.conf.d/20-intel.conf

sudo reboot
----------------------------------------*---------------------------------------
*"sudo reboot" will restart the pc!!!!
Reply
#9
Oh, and thanks for your tireless help!
Reply
#10
TearFree is not a solution as it introduces Triple Buffering. A real solution in the regard of kodi is to disable the compositor of the desktop manager.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#11
I am extremely grateful for this response. I will google and try to find a solution, unless you can point the way!
Reply
#12
Oh, do away with desktop entirely? Is it possible to have desktop on second monitor? I think I will have a learning curve ahead!
Reply
#13
On Unity, it's hard - as you cannot disable compiz. You can try to change the setting: Undirected Fullscreen Windows in compizconfig and see if that makes it better.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#14
Ah, no good. I used

gconftool-2 --set /apps/compizconfig-1/profiles/Default/plugins/composite/screen0/options/unredirect_fullscreen_windows --type bool 0

And deleted my conf file and rebooted.

Video tearing as plain as day!

I have put everything back how it was for now. Have you more suggestions, Sir?
Reply
#15
Is the tearing caused by having two monitors, perchance?
Reply

Logout Mark Read Team Forum Stats Members Help
Recent development: blocky / judder video playback0