destroyedlolo 0 Posted October 18, 2020 Share Posted October 18, 2020 Hello, I'm porting one of my application to Armbian. But where can I found libkms ? I did a apt-cache search but it didn't found anything ? Thanks Laurent 0 Quote Link to post Share on other sites More sharing options...
Werner 409 Posted October 18, 2020 Share Posted October 18, 2020 If it is not provided by upstream (Debian or Ubuntu to say) you may need to build it on your own. 0 Quote Link to post Share on other sites More sharing options...
destroyedlolo 0 Posted October 18, 2020 Author Share Posted October 18, 2020 Well, it is supposed to be part of libdrm but has been disabled as per a ticket I found. The only examples I found to directly use Linux' frame buffer using DRM use it to retrieve display geometry and bitmap 0 Quote Link to post Share on other sites More sharing options...
xwiggen 6 Posted October 18, 2020 Share Posted October 18, 2020 you can use https://github.com/Caesar-github/libdrm-rockchip/tree/rockchip-2.4.101-2-ubuntu18.04 as an example; copy the libkms entry from debian/control over to the libdrm sources, set libkms=true in debian/rules, add dh_makeshlibs -plibkms1 -V'libkms1 (>= 2.4.89)' -- -c4 to rules after override_dh_makeshlibs. 0 Quote Link to post Share on other sites More sharing options...
destroyedlolo 0 Posted October 18, 2020 Author Share Posted October 18, 2020 ok, thanks : I'll try. As I would avoid to force users to recompile system's packages, I patched my framework as well to fall back to framebuffer as well. 0 Quote Link to post Share on other sites More sharing options...
xwiggen 6 Posted October 19, 2020 Share Posted October 19, 2020 Retropie has a fork (https://github.com/RetroPie/mesa-drm) which builds libkms for this purpose. 0 Quote Link to post Share on other sites More sharing options...
Recommended Posts
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.