12 12
JMCC

[Development] RK3399 media script

Recommended Posts

After installation of the media script, I experience very slow window dragging, i. e. moving a window is laggy and delayed - the mouse is faster and the window follows only very slowly. Do you experience the same?

 

"Enable display compositing" in Window Manager Tweaks is disabled as advised. Enabling "Hide the content of the window while moving" in Window Manager Advance settings at least speeds up moving windows a little bit, but not much.

 

Is this normal behavior or is there anything I can do to improve display performance?

Share this post


Link to post
Share on other sites

@mar0ni - yes this is normal behaviour i think as there is some inefficient memory copying happening between the gpu and the x server and there is no proper 2d acceleration (used for such window moves) around ... but i guess @JMCC can explain it in more detail ...

 

best wishes - hexdump

Share this post


Link to post
Share on other sites

Yes, it is a known issue with glamor, that instead of "accelerating" it slows down certain 2D operations. In the case of Rockchip's modified glamor to work with OpenGL-ES, It is even worse. It is the trade-off for having the possibility of an accelerated canvas for 3D, video playing, browser, etc.

 

However, in the mainline kernel and current X server, they are tweaking glamor to be much more efficient. Hopefully we can see a stable version soon.

Share this post


Link to post
Share on other sites

Thanks for clarification :thumbup:. I have read this in your first post's documentation and therefor chose "amsoc" during installation. It seems that armsoc is also not that snappy, but good to know that glamor is even worse. Let's hope mainline with a current X server arrives soon :)

Share this post


Link to post
Share on other sites

The script is not compatible with Armbian 20.02.0-rc1, as the Kodi uses `nodm`, but Armbian 20.02.0-rc1 uses lightdm. 

 

I have to modify the kodi-gbm-wrapper script to get it work. However, to `service lightdm stop` requiring *authentication*.  so it wont smoothly go to kodi. 

 

Last thing is the version - kodi  18rc4 - it doesn't have PVR addons, and it seems to be a known issue:

https://forum.kodi.tv/showthread.php?tid=336841

 

Update: Feb 7

After further search, I find the PVR addons for Ubuntu platform requires special installation

https://kodi.wiki/view/Ubuntu_PVR_add-ons

 

I tried `apt install kodi-pvr-iptvsimple`, but failed with dependency error: 

kodi-api-pvr (= 5.2.1)

 

I am looking for an update for the Kodi installation script :) 

Share this post


Link to post
Share on other sites
On 2/6/2020 at 10:48 AM, Lesca said:

The script is not compatible with Armbian 20.02.0-rc1, as the Kodi uses `nodm`, but Armbian 20.02.0-rc1 uses lightdm. 

 

I am looking for an update for the Kodi installation script :) 

Ditto. Friendly seem to have permanently broken the video acceleration even though Chromium reports it as there. They have also added lots of junk.

 

Armbian with this script is my preference.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
12 12