#17822 assigned Bugs

AMD Ryzen APU Green Screen while playing Video

Reported by: skybird1980 Owned by: afedchin
Priority: 4 - Normal
Component: Video playback (inc. audio in video and codecs) Version: 18.0 "Leia" Alpha1
Severity: Normal Keywords:
Cc: Blocked By:
Blocking: Platform: Windows

Description

if i play serveral videos with activated hardware acceleration the screen shows only green. the audio is played normal. if i switch to software rendering only it works.

Debug log with activated video log: https://paste.ubuntu.com/p/3QjtW5JrQB

Change History (8)

comment:1 Changed at 2018-03-24T12:24:17Z by fritsch

  • Owner changed from FernetMenta to afedchin
  • Status changed from new to assigned

comment:2 Changed at 2018-03-24T12:43:59Z by afedchin

your log doens't contain any hw accelerated video playback I saw only one mpeg4 video which was decoded by sw. Also I saw nothing wrong in your log.

comment:3 Changed at 2018-03-24T13:16:02Z by skybird1980

the problem is the renderer - if i change it to software rendering it works. i'll make a video to make it clear for you. https://youtu.be/D2jaCCDp3-I

Just tell me what you need.

comment:4 Changed at 2018-03-24T19:59:28Z by afedchin

Looks like your GPU drivers don't like planar texture format as shader input. Because I can't reproduce this with my Intel GPU. What result with DXVA renderer?

Last edited at 2018-03-24T19:59:49Z by afedchin (previous) (diff)

comment:5 Changed at 2018-03-24T22:26:55Z by skybird1980

Green Screen if i force DXVA or if i force Pixel Shaders. Only if i enable Software only i got picture.

Auto - in Startpost - not working / green screen

DXVA - https://paste.ubuntu.com/p/rCrx7BrKWT/ - not working / green screen

Pixel Shader - https://paste.ubuntu.com/p/dBvhBg7Y4D/ - not working / green screen

Software - https://paste.ubuntu.com/p/cD57BkMVfF/ - working

comment:6 Changed at 2018-03-25T09:53:33+01:00 by afedchin

What about hw decoded videos (h264/vc1/hevc)?

I'm even more sure that the issue into the AMD GPU driver. Let me explain. kodi uses NV12 texture for video frames in case of DXVA or Pixel Shaders renderer. it uploads data from memory to the texture then convert NV12 to RGB format by executing pixel shader (in case on Pixel Shaders) or D3D11 video processor (in case of DXVA). Green result means that NV12 is empty i.e. data wasn't uploaded. If there is an issue in Kodi then the same result must be on any hardware, but I haven't the issue on my Intel GPU.

Kodi uses another textures (2 or 3 depends on video format) for Software render and then converts them to RGB by CPU.

Last edited at 2018-03-25T09:59:56+01:00 by afedchin (previous) (diff)

comment:7 Changed at 2018-03-25T11:00:25+01:00 by skybird1980

they're working just without problems. i think you're right here. Maybe i should just wait for new drivers from amd.

comment:8 Changed at 2018-06-20T19:05:03+01:00 by skybird1980

i changed now the pixel format to RGB and it also happens. Also the AMD driver was updated. Something we can do about?

Note: See TracTickets for help on using tickets.