PINE64
pinebook pro tools - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: pinebook pro tools (/showthread.php?tid=10190)

Pages: 1 2 3 4 5 6


RE: pinebook pro tools - xmixahlx - 07-21-2020

i am using 5.8-rc5 without issue. strange.

could be several other scripts that are no longer needed from danielt's installer. i'll look at them again.


RE: pinebook pro tools - xmixahlx - 07-25-2020

5.8-rc6 hwaccel working well.

new scripts:
pbp-install-libinput
pbp-config-danielt-installer-conversion (YOU MUST HAVE A 5.7+ KERNEL INSTALLED BEFORE RUNNING. READ BEFORE USAGE.)
pbp-config-systemd


RE: pinebook pro tools - spikerguy - 07-30-2020

Hello @xmixahlx

Kodi have stopped working and it is coz of the newer libcec, so it was time for me to rebuild it for Manjaro repo.
It fails with errors which must be from newer gcc or some dependent library.

I also tried building an updated version but that failed too.

Is it compiling fine for you ?

Thanks.


RE: pinebook pro tools - xmixahlx - 07-30-2020

@spikerguy

I'll check it out. I've been rebuilding kodi with major changes to kwiboo's linux kernel patch, which hasn't occurred for a while.

the eventual solution for me will be to create a custom signed debian repository. hopeful for august. real life has moved way back all of these projects for me, unfortunately.

have you been able to adapt any of these scripts for manjaro?


RE: pinebook pro tools - spikerguy - 07-30-2020

(07-30-2020, 12:55 PM)xmixahlx Wrote: @spikerguy

I'll check it out. I've been rebuilding kodi with major changes to kwiboo's linux kernel patch, which hasn't occurred for a while.

the eventual solution for me will be to create a custom signed debian repository. hopeful for august. real life has moved way back all of these projects for me, unfortunately.

have you been able to adapt any of these scripts for manjaro?
No I can't move it to manjaro yet as we have to support many devices and this might not work for all so we might have to maintain multiple packages and I am not yet ready to do that.

I tried to build kodi again and it failed with pvr not building correctly which might be some library upgrade issue.

Code:
                                                           
Scanning dependencies of target pvr_addons
[ 36%] Building CXX object build/pvr/addons/CMakeFiles/pvr_addons.dir/PVRClients.cpp.o
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp: In member function ‘void CWebServer::SetupPostDataProcessing(const HTTPRequest&, CWebServer::ConnectionHandler*, std::shared_ptr<IHTTPRequestHandler>, void**) const’:
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:503:106: error: invalid conversion from ‘int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, uint64_t, size_t)’ {aka ‘int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, long unsigned int, long unsigned int)’} to ‘MHD_PostDataIterator’ {aka ‘MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, long unsigned int, long unsigned int)’} [-fpermissive]
  503 |   connectionHandler->postprocessor = MHD_create_post_processor(request.connection, MAX_POST_BUFFER_SIZE, &CWebServer::HandlePostField, static_cast<void*>(connectionHandler));
      |                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                          |
      |                                                                                                          int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, uint64_t, size_t) {aka int (*)(void*, MHD_ValueKind, const char*, const char*, const char*, const char*, const char*, long unsigned int, long unsigned int)}
In file included from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:21,
                 from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.h:14,
                 from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:9:
/usr/include/microhttpd.h:3465:49: note:   initializing argument 3 of ‘MHD_PostProcessor* MHD_create_post_processor(MHD_Connection*, size_t, MHD_PostDataIterator, void*)’
3465 |                            MHD_PostDataIterator iter, void *iter_cls);
      |                            ~~~~~~~~~~~~~~~~~~~~~^~~~
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp: In member function ‘MHD_Daemon* CWebServer::StartMHD(unsigned int, int)’:
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:1127:27: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
1127 |                           &CWebServer::AnswerToConnection,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:21,
                 from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.h:14,
                 from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:9:
/usr/include/microhttpd.h:2428:45: note:   initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
2428 |                   MHD_AccessHandlerCallback dh, void *dh_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:1154:27: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
1154 |                           &CWebServer::AnswerToConnection,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:21,
                 from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.h:14,
                 from /home/spikerguy/Desktop/pkg-buuild/kodi/src/xbmc-18.6-Leia/xbmc/network/WebServer.cpp:9:
/usr/include/microhttpd.h:2428:45: note:   initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
2428 |                   MHD_AccessHandlerCallback dh, void *dh_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[ 36%] Building CXX object build/peripherals/devices/CMakeFiles/peripherals_devices.dir/PeripheralTuner.cpp.o                                                                 
[ 36%] Building CXX object build/peripherals/devices/CMakeFiles/peripherals_devices.dir/PeripheralCecAdapter.cpp.o                                                           
        Scanning dependencies of target pvr_channels
[ 36%] Building CXX object build/pvr/channels/CMakeFiles/pvr_channels.dir/PVRChannel.cpp.o                                                                                   
make[2]: *** [build/network/CMakeFiles/network.dir/build.make:290: build/network/CMakeFiles/network.dir/WebServer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 36%] Building CXX object build/pvr/channels/CMakeFiles/pvr_channels.dir/PVRChannelGroup.cpp.o                                                                               
[ 36%] Linking CXX static library profiles.a
[ 36%] Built target profiles
Scanning dependencies of target pvr_dialogs
[ 36%] Building CXX object build/pvr/dialogs/CMakeFiles/pvr_dialogs.dir/GUIDialogPVRChannelManager.cpp.o                                                                     
Scanning dependencies of target pvr_epg
[ 36%] Building CXX object build/pvr/epg/CMakeFiles/pvr_epg.dir/EpgContainer.cpp.o
[ 36%] Building CXX object build/pvr/CMakeFiles/pvr.dir/PVRGUIInfo.cpp.o
It was microhttpd upgrade and upstream fixed was pushed few days ago so I upgraded the package to 18.8 and I hope that should fix the issue and build fine now.
Kodi team replied to the issue I raised.
Will be back with some update regarding rkvdec once I try it again.
Thanks.


RE: pinebook pro tools - xmixahlx - 07-30-2020

you should be able to include the linux hwaccel patch for general arm use. ffmpeg would probably have separate ffmpeg-v4l2request (rockchip) and ffmpeg-v4l2 (allwinner) packages. kodi could be a separate kodi-gles package. i'm not actually sure how conflicts and provides work in manjaro/arch, but it would be "straightforward" with debian, which is what i planned to do eventually.


RE: pinebook pro tools - spikerguy - 08-19-2020

(07-30-2020, 04:52 PM)xmixahlx Wrote: you should be able to include the linux hwaccel patch for general arm use. ffmpeg would probably have separate ffmpeg-v4l2request (rockchip) and ffmpeg-v4l2 (allwinner) packages. kodi could be a separate kodi-gles package. i'm not actually sure how conflicts and provides work in manjaro/arch, but it would be "straightforward" with debian, which is what i planned to do eventually.
Hello,

Thanks. Now that I am sure everything works as per your test, I will start looking into this and try to build the ffmpeg again for rk along with general ffmpeg config and then might also rebuild kodi as you said will rename it kodi-gles.
I hope it works with the packages. 
Currently we're on 5.8.1
Thank for your response.

Hi @xmixahlx 
I am going through the tools again, Just wanted to know as we're already on the latest kernel and mesa package, I just have to build ffmpeg with the patch provided in the resource right ?

Or do I have to build all the libs needed for ffmepg which you have provided in the pbp-tools git ?


RE: pinebook pro tools - xmixahlx - 08-26-2020

for ffmpeg you NEED the linux kernel hwaccel patch for the kernel headers if using ffmpeg with v4l2request patch (my scripts). ffmpeg is key to anything else working (kodi). when i do a rebuild i do linux (crossbuild) > ffmpeg > kodi as the major components.

update: linux 5.8.2 is working well (5.8.3 compiling now), and kwiboo has updated his libreelec patches -- i'm behind on these, but things are still working fine for me. i'll update hwaccel patches and check out linux 5.9 sometime soon.


RE: pinebook pro tools - tekk - 08-29-2020

I installed the kernel via script on Debian Buster (installed via daniel's installer script, not your fork) and my backlight is always set to the minimum brightness. Any idea what might be up there? I'd rather not have to reinstall using your script since I've gotten pretty comfy on what I have now.


RE: pinebook pro tools - xmixahlx - 08-30-2020

see the danielt installer conversion script. you shouldn't need to reinstall, but it is obviously the nuclear option. YOU SHOULD BE RUNNING A 5.7+ KERNEL TO USE THE SCRIPT.

i've not encountered any issues with 5.8.x so this will be default soon in the linux script.

note that the manjaro folks have/did have an issue with 5.8.4+ that i am not experiencing with the kernel built from pbp-tools. if this is related to uboot, i am using mrfixit v2.0 and pcm's uboot for SPI.