pinebook pro tools
#31
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.
  Reply
#32
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
  Reply
#33
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.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#34
@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?
  Reply
#35
(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.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#36
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.
  Reply
#37
(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 ?
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#38
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.
  Reply
#39
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.
  Reply
#40
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 117 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 401 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,894 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,113 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,222 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,512 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,585 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,700 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 7,423 08-31-2023, 04:20 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 4 Guest(s)