Rocket Lake (RKL) discussion
#1
Hi everybody,

I recently bought a Core i5-11500 aka Rocket Lake CPU with a Z590 Mainboard (to be mor specific: ASUS ROG STRIX Z590-I GAMING WIFI).
My current setup is listed in my signature. My plan was to take my nvme ssd and put it into the new mainboard........

First problem I stumbled upon, with an integrated graphics card, the Z590 chipset doesn't allow you to run legacy mode, csm as ASUS calls it.
So I grabbed gparted and freed some space for an EFI partition and installed what was necessary (took me a little while).
After that was successful I fired up the new setup and the result was "default" display with a resolution of 1024x768....

With the help of some google-fu I found out that the drivers are net active from the scratch
You have to enable the graphics card with it's ID via modprobe (I also saw an ID of 4c8b):
Code:
options i915 force_probe=4c8a

Also in GRUB_CMDLINE_LINUX
Code:
i915.force_probe=4c8a

With that I had my 4k@60
BUT, no hardware acceleration enabled. Also one weird thing, my mceIR didn't work properly anymore.

Maybe it was too early to hope it would work Big Grin

So I put my ssd into my current system back and everything was back to normal and kickin.
I will try a fresh install of Ubuntu 20 or maybe 21 (not sure for now).

Did anybody else tried out firing up a RocketLake on Ubuntu?
I thought it would be nice to have a thread to discuss findings and ideas Angel
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#2
Not exactly sure when RKL support was added to intel-media but it appears to be in intel-media-20.3 as the first mention so might need Hirsute.
Reply
#3
So I had time to install a fresh system.
@bluzee after what you mentioned, I installed an Ubuntu 21 (Hirsute) but sadly that didn't turned out to be enough.
Also worth mentioning, I installed drivers from oibafs repo with Kodi 19
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#4
Just this weekend i put together an Core i5-11500 system but using Arch linux, sadly i can't get vaapi decoding working in kodi(black screen) or mythfrontend(picture but green/distorted).
but it does work via mpv --hwdec=vaapi

spent to much time setting up services and getting this far i will post debug logs this weekend.
vainfo https://paste.kodi.tv/acejojotac
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
#5
I will try mesa 21.2 on the weekend, there seems to be some changes in that reagard, hopefully it will enable hardware decoding
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#6
(2021-04-20, 11:01)3dfx Wrote: I will try mesa 21.2 on the weekend, there seems to be some changes in that reagard, hopefully it will enable hardware decoding

Mesa doesn't provide hardware decoding on Intel at all. You need to install a recent version of intel-media-va-driver-non-free (Ubuntu package name).
Reply
#7
logs as promised, any idea why i get a black screen in kodi?

inxi -Fxz
https://paste.kodi.tv/anepataqaq

dmesg
https://paste.kodi.tv/anonelewan

vainfo
https://paste.kodi.tv/oqoyexiwat

kodi.log
https://paste.kodi.tv/eridubigaz.kodi

playing via mpv displays the image correctly
https://paste.kodi.tv/qoribaledi

currently having to watch with hardware decoding off.
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
#8
Wonder if perhaps Kodi will need to be compiled with newer version of ffmpeg?
Reply
#9
I am also still not able to play hardware accelrated video files, only software decoding.
I saw that the Kodi repo isn't doesn't include the package for 21.04 Hirsute, I got a Kodi version which is compiled by Debian. As I can recall, that is not recommended to install that package as the Debian team does some different thing when compiling.
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#10
so turning on Expert mode then disabling "Prefer VAAPI Render Method" shows a picture.
https://imgur.com/a/s5zn3MG

vaapi decoding looks(?) like its working.

edit: using 5.12.0-1-mainline
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
#11
I'd say it looks like it's working Smile
(2021-04-26, 07:37)deadite66 Wrote: vaapi decoding looks(?) like its working.


That didn't work for me sadly :/
Here are my logs.

inxi -Fxz
https://paste.ubuntu.com/p/q3s2dfBKhc/

dmesg
https://paste.ubuntu.com/p/6TjctWgBgT/

vainfo
https://paste.ubuntu.com/p/XX4qkrMKGQ/

kodi.log
https://paste.ubuntu.com/p/vS8mSKXQQk/

Had to cut off some repeating lines in kodi.log as it was too big for pastebinit.
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#12
I remembered that I've read to set the BIOS setting iGPU to auto and not to integrated. After doing so, hardware accelration worked.

But playing 4k Videos or a video with an Atmos stream breaks playback and I just get a blank screen.
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#13
glad you got it sorted, from what i gather from another post there is a cpu usage increase bypassing the preferred method, by how much i wonder.

using a nofan cr-80eh so low cpu preferred Smile

edit: tried to play a 4k file and got a black screen on it too, so not a complete fix.
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
#14
https://github.com/xbmc/xbmc/issues/19820

looks like were on our own for a while.
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
#15
@deadite66 - You mentioned being on Arch.  Does decoding work if you try playing the video from ffmpeg downloaded from the official repos?

If you do not see errors from the following which just decodes using vaapi (codec benchmark), then perhaps the version of ffmpeg shipped with 19.1 (4.3.2) doesn't support it?  Currently, 4.4 is in the official repos.
Code:
VID=/path/to/your/video.mp4
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i $VID -f null -

Alternatively, you could build ffmpeg 4.3.2 on Arch and repeat to confirm support and that it's not something in Kodi causing the issue.

reference for ffmpeg command: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
Need help programming a Streamzap remote?
Reply

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