Rocket Lake (RKL) discussion
#46
(2021-06-08, 21:34)bkuhls Wrote:
(2021-06-08, 21:11)a1rwulf Wrote: Will you be able to build such code yourself and test?
If you tell me what to do I can help as well, CPU is a i9-11900t.
Here playback of PVR channels encoded in h264 shows only black screen, SD channels work.

As of now I don't know exactly what we'll need to do.
But definitely we will need additional logging in the vaapi module to print surface sizes formats etc.
So when I have time I'll add the logs and post the branchname here - ofc you are free to fiddle around as well.
Reply
#47
Maybe a hint, maybe nosense, since I have no idea about the Kodi internals nor vaapi in general.

Watching PVR channels via pvr.hts works with SD channels, switching to a HD channel produces
a short green flash, then a black screen. In kodi.log these non-working channels produce this log:
Code:
 # grep -i "CVaapi2Texture\|OpenPVRStream" kodi.log
2021-06-09 21:23:01.626 T:15121   DEBUG <general>: CInputStreamPVRChannel - OpenPVRStream - opened channel stream pvr://channels/tv/Alle%20Kan%c3%a4le/pvr.hts_619913905.pvr
2021-06-09 21:23:03.132 T:14923   DEBUG <general>: CVaapi2Texture::Map: DRM-exported layer has 2 planes - only 1 supported
2021-06-09 21:23:05.045 T:14923   DEBUG <general>: CVaapi2Texture::Map: DRM-exported layer has 2 planes - only 1 supported
Kodi 19.5-Matrix/OpenGLES/gbm (+ PR19558 ) - Linux kernel 5.14.21 x86_64 - ffmpeg 4.4-git (+ patch )
Mesa 22.3.7 with iris driver - VA-API version 1.16.0 + Intel iHD driver version 22.6.3 - libdrm 2.4.116 - libcec 6.0.2
Intel i9-11900T - ASRock Z590 Extreme - BIOS version 2.20
Reply
#48
(2021-06-09, 21:51)bkuhls Wrote:
Code:
DRM-exported layer has 2 planes - only 1 supported

This is probably a bug in the Intel media driver. Kodi sets VA_EXPORT_SURFACE_SEPARATE_LAYERS. Per the libva comments in the header, when that is specified, each layer will contain exactly one plane. Kodi checks the number of planes in the layers after that export and throws that message when it finds a layer with two planes.
Reply
#49
(2021-06-09, 23:19)yasij Wrote:
(2021-06-09, 21:51)bkuhls Wrote:
Code:
DRM-exported layer has 2 planes - only 1 supported

This is probably a bug in the Intel media driver. Kodi sets VA_EXPORT_SURFACE_SEPARATE_LAYERS. Per the libva comments in the header, when that is specified, each layer will contain exactly one plane. Kodi checks the number of planes in the layers after that export and throws that message when it finds a layer with two places.

I wonder why this happens for you, but not for me.
I have an 11th gen i3 for my tests.
Reply
#50
but thanks for confirming it from your side.
I'll report the issue to media-drivers github.
fo you know from which commit your media-driver is built?
media-driver is getting fixes rapidly atm, so maybe it's worth to try latest master.
Reply
#51
(2021-06-10, 14:29)a1rwulf Wrote: fo you know from which commit your media-driver is built?
Yes, I updated my signature to contain details of my system:
Quote:Kodi 19.1-Matrix - Linux kernel 5.12.9 x86_64 - X.Org X Server 1.20.11
Mesa 21.1.2 with iris driver - VA-API version 1.11.0 - Intel iHD driver for Intel® Gen Graphics - 21.2.2
Intel i9-11900T - ASRock Z590 Extreme
Kodi 19.5-Matrix/OpenGLES/gbm (+ PR19558 ) - Linux kernel 5.14.21 x86_64 - ffmpeg 4.4-git (+ patch )
Mesa 22.3.7 with iris driver - VA-API version 1.16.0 + Intel iHD driver version 22.6.3 - libdrm 2.4.116 - libcec 6.0.2
Intel i9-11900T - ASRock Z590 Extreme - BIOS version 2.20
Reply
#52
same for me too "CVaapi2Texture::Map: DRM-exported layer has 2 planes - only 1 supported"

just compiled latest from git, libva, intel-gmmlib and intel-media-driver.
Intel Core i5-11500, ASRock B560M-ITX/ac, 240GB SSD + 4TB  Western Digital Blue, Arch Linux, mythtv 31+fixes + TBS 6205 QUAD FREEVIEW DVB-T2
Reply
#53
all the BigBuckBunny demo videos that previously played ok now black screen since updating from git, what unstable drivers lol
Intel Core i5-11500, ASRock B560M-ITX/ac, 240GB SSD + 4TB  Western Digital Blue, Arch Linux, mythtv 31+fixes + TBS 6205 QUAD FREEVIEW DVB-T2
Reply
#54
Building master from git seems to be very unstable indeed, I had an occasion where it wouldn't even compile on one day
but work perfectly 2 days later.
Reply
#55
(2021-06-14, 09:08)a1rwulf Wrote: Building master from git seems to be very unstable indeed, I had an occasion where it wouldn't even compile on one day
but work perfectly 2 days later.
Hi,

on the github issue tracker you wrote that kodi is able to work well on an 11th gen CPU.
Could you please elaborate which CPU did you use for testing and whether special
configure options (OpenGL vs. OPENGLES, X11 vs. gbm vs. drm prime) are needed?
Kodi 19.5-Matrix/OpenGLES/gbm (+ PR19558 ) - Linux kernel 5.14.21 x86_64 - ffmpeg 4.4-git (+ patch )
Mesa 22.3.7 with iris driver - VA-API version 1.16.0 + Intel iHD driver version 22.6.3 - libdrm 2.4.116 - libcec 6.0.2
Intel i9-11900T - ASRock Z590 Extreme - BIOS version 2.20
Reply
#56
(2021-06-14, 09:23)bkuhls Wrote:
(2021-06-14, 09:08)a1rwulf Wrote: Building master from git seems to be very unstable indeed, I had an occasion where it wouldn't even compile on one day
but work perfectly 2 days later.
Hi,

on the github issue tracker you wrote that kodi is able to work well on an 11th gen CPU.
Could you please elaborate which CPU did you use for testing and whether special
configure options (OpenGL vs. OPENGLES, X11 vs. gbm vs. drm prime) are needed?

As mentioned above already, I have a gen 11 i3.
I'm using gbm/GLES or gbm/GL no drmprime.
I haven't seen the `DRM-exported layer has 2 planes - only 1 supported` on my system yet - h.264/hevc/av1(8bit, when I use my PR) hwdec works fine for me so far.
Reply
#57
(2021-06-15, 07:45)a1rwulf Wrote: As mentioned above already, I have a gen 11 i3.
What is the exact name of your CPU?
I wonder whether your CPU and my i9-11900t have different igpu´s, this is lspci here:
Quote:00:02.0 VGA compatible controller: Intel Corporation Device 4c8a (rev 04)
which is an "Intel UHD Graphics 750" igpu.

I did a new kodi build, this time gbm/opengles with x11 completely disabled:
HD video playback now produces a green screen instead of a black one Wink
Kodi 19.5-Matrix/OpenGLES/gbm (+ PR19558 ) - Linux kernel 5.14.21 x86_64 - ffmpeg 4.4-git (+ patch )
Mesa 22.3.7 with iris driver - VA-API version 1.16.0 + Intel iHD driver version 22.6.3 - libdrm 2.4.116 - libcec 6.0.2
Intel i9-11900T - ASRock Z590 Extreme - BIOS version 2.20
Reply
#58
model name    : 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz
VGA compatible controller: Intel Corporation Device 9a78 (rev 01)

Seems to be Intel UHD according to spec sheets I could find.
Reply
#59
(2021-06-17, 09:54)a1rwulf Wrote: model name    : 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz
VGA compatible controller: Intel Corporation Device 9a78 (rev 01)
Hi,

the igpu of your 11th gen i3 cpu is a tigerlake one:

INTEL_TGL_12_GT2_IDS
https://git.kernel.org/pub/scm/linux/ker...ids.h#n611

while the igpu of my 11th gen i9 cpu is a rocketlake one:

INTEL_RKL_IDS
https://git.kernel.org/pub/scm/linux/ker...ids.h#n624

Maybe the support for the rocketlake UHD 750 igpu is still broken/unfinished in media-driver?
Kodi 19.5-Matrix/OpenGLES/gbm (+ PR19558 ) - Linux kernel 5.14.21 x86_64 - ffmpeg 4.4-git (+ patch )
Mesa 22.3.7 with iris driver - VA-API version 1.16.0 + Intel iHD driver version 22.6.3 - libdrm 2.4.116 - libcec 6.0.2
Intel i9-11900T - ASRock Z590 Extreme - BIOS version 2.20
Reply
#60
Oh man I'm in the totally wrong discussion then - sry Smile
Yeah in that case I think it makes sense that you open an issue on the media-driver github and ask about
the state of rocketlake support.
Reply

Logout Mark Read Team Forum Stats Members Help
Rocket Lake (RKL) discussion0