Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Recently moved to Debian. First real problem. Screen tearing on video playback. Also happened after video playback stopped and on Kodi menu, flickering and tearing about.
Tried something about adding TearFree to the amdgpu xorg file and didn't work out to well.
Installed firmware-linux-nonfree. Also have installed the same package from backports as well as the backports kernel.
The tv and kodi interface is at 4k, the media is all dvd rips with handbrake or downloaded files. Nothing above 720p. All H.264 mkvs, save for the downloaded .mp4 files.
I'm fairly certain it isn't a hardware issue as I had no trouble with the same hardware on Ubuntu using the same configuration. My googling is leading me toward a Kodi issue. i'm hoping it's a setting I can switch or something else if it's a software or hardware issue how or what I can change.
What's interesting is the first video will playback just fine, all the way through. As soon as it moves to the next one though the screen starts jittering all over the place.
jmgibson1981 wrote: What's interesting is the first video will playback just fine, all the way through. As soon as it moves to the next one though the screen starts jittering all over the place.
Maybe some decoder introduced bug on switching these videos. Try switching video decoding methods in Kodi. Kodi and driver supports VDPAU or VA-API or even without using UVD (hardware decoder).
If some works, but some don't at least you should know which method introduced an issue.
If it is broken with all methods maybe try to change driver too... newer mesa is available in backports.
Installed mesa-va-drivers & mesa-vdpau-drivers from backports. Now Kodi throwing a segfault anytime try to play a video file, regarldess of format.
I've since removed the backports of these drivers and rebooted. Back to the original behaviour. It works somewhat. We are able to watch movies. Just seems to be an issue with playlist playback.
$ inxi -G
Graphics: Card: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series]
Display Server: X.org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
tty size: 80x24 Advanced Data: N/A out of X
No DE. Straight Kodi launch on boot via systemd service.
Don't think codecs are the issue. First file plays fine every single time. After that they get jittery. Do I need to install those from backports as well to access the mesa drivers?
*EDIT* Any commands I run to get info are being run over ssh by the way. Don't know if that gives different results.
^Yes, it is a driver problem. I have the same tearing while using X with kernel 4.14.
OP will have to switch to amdgpu driver, but the one in Stretch is very much outdated. Kernel is defaulting to radeon because it's more mature in Stretch.
I followed the Kodi angle for awhile. Found lots of reports about this behavior on 17.1 (Debian's version). No resolutions though. Then I found a page talking about Stretch with 17.6 and the same problem. Led me to believe that it can't be Kodi, 17.6 is the official ppa version and I never had a problem with it on Ubuntu Xenial. So that leaves Debian. Driver, firmware, some setting that I don't know enough about. Not sure. Based on the link above it only shows it's head when you run a video playlist. The 2nd file played back the video glitches and jitters all over. The audio is perfectly fine.
I know the files themselves are fine. They played flawlessly back on Ubuntu with Kodi. Never a hitch. They playback fine on my laptop with VLC. The files are fine.
This problem is a bit of a showstopper. Going back to Ubuntu is my absolute last resort. I'd rather fix this for myself as well as anyone who may be trying the same thing. Based on my research it seems people don't use video playlists very often so the problem is fairly obscure. Hence the lack of solutions I've found. As I posted above the link dealing with the Intel driver was the closest thing I found that describes exactly what is happening for me. But I'm on AMD so that isn't of much use other than a description of the issue.
*EDIT* An update on total things tried.
* Tried adding the tear free option to radeon / amdgpu - Both resulted in no X not loading.
* Have installed kernel and firmware-linux-nonfree from backports.
* Tried mesa-va-drivers & mesa-vdpau-drivers from backports. Result was Kodi segfault when trying to play a video file.
I can't find much on this problem, at least no solutions directly. Just suggestions, none of which have worked. After an attempt and fail I revert the system to how it started. At this point the only difference from a stock Stretch install is the backport kernel & firmware-linux-nonfree.
Last edited by jmgibson1981 on 2018-07-09 01:24, edited 5 times in total.
Depends on the kernel, AMD GPU, and if some mystic commands you add to the kernel boot work. I think you'll find those if you search these forums for "amdgpu".
Found via search. Tried it. No change whatsoever. Still jittery. Inxi -G shows using amdgpu driver. Both drivers have hte issue. Wondering if it's somewhere else.