So I did the changes chewitt recommended and also did a whole lot of testing but unfortunately I have no success yet. I could cause a crash again. Here is the log for the amdgpu drivers: https://paste.libreelec.tv/stirred-mustang.log
What is not completely clear to me is that when Kodi crashes I get errors like:
Jan 30 18:10:20.405573 Wyse kernel: radeon 0000:00:01.0: ring 0 stalled for more than 10164msec
Jan 30 18:10:20.406390 Wyse kernel: radeon 0000:00:01.0: GPU lockup (current fence id 0x0000000000037021 last fence id 0x0000000000037023 on ring 0)
It indicates that the radeon driver is still in use, or isn't it?
Also I have tested different scenarios:
HW decoding (original setup) and Adjust Display Refresh Rate is off: causes a crash. It was the basic issue.
HW decoding and Adjust Display Refresh Rate is set to always: seems okay.
SW decoding and Adjust Display Refresh Rate is off: seems okay too.
HW decoding (amdgpu drivers (?)) and Adjust Display Refresh Rate is off: causes a crash.
So yeah, I don't know what is the cause of the issue. The 2. setting could work, but the problem is that I have a pretty basic television and if Adjust Display Refresh Rate is on, it forces the TV to do some resampling and the image quality becomes horrible. For this reason this must be off.
Or should I just let HW decoding go and use SW instead?