Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 46

Thread: openvix dev build instructions

  1. #31
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,858
    Thanks
    239
    Thanked 1,673 Times in 1,318 Posts
    Quote Originally Posted by Huevos View Post
    nodejs and QT both peak over 24GB in my build.
    I've just run a build from scratch (kept sources) of 6.2.002.004.
    On a system with 8 CPUs and 16GB of memory the maximum memory usage, according to sar, was 80% and there is no sign of paging.

    I just let it run with the standard CPU count setting, as since both bitbake and several (many?) of the individual builds all try to use all of the CPUs they are always well overcommitted (my run-q size hovers around 40 and reached >70 at a maximum).

    I believe you increase yours - which may be the cause of paging, as all it will do is leave more processes running but waiting (and hence consuming memory).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  2. #32
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    Luck! If you get only nodejs and qt building at the same time ( that is just 2 streams) you can hit 34 gb (no swapping - I have excess memory on my PC ) and all 16 cpus running
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  3. #33

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,051
    Thanks
    404
    Thanked 669 Times in 548 Posts
    Even with 24GB RAM I've needed to use a swap file on my old i7 920 (8 threads). Currently using an equally old 4th gen i5 machine (4 threads) with 8GB RAM and 16GB swap and its building OK.
    Zgemma H7S running OpenVIX 6.2, Darkmotor, Triax TD110 dish, Inverto Black Ultra dual lnb
    LG 50UM7450 4K TV, Pioneer VSX-534 Atmos AVR , Panasonic UB820 region free 4K Bluray & a PS4.

  4. #34
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,858
    Thanks
    239
    Thanked 1,673 Times in 1,318 Posts
    Quote Originally Posted by twol View Post
    Luck! If you get only nodejs and qt building at the same time ( that is just 2 streams) you can hit 34 gb (no swapping - I have excess memory on my PC ) and all 16 cpus running
    You could add one to the DEPENDS of the other, which will stop them being built at the same time.
    Probably requires that you are building both, as I can't find a way to make that conditional on the other being set to build anyway.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  5. #35
    littlejim
    There are two parameters in your site.conf that influence how many threads you have running at a time.

    I build on a system with only 4 logical CPUs, and they seemed to deafult to:

    Code:
    BB_NUMBER_THREADS = "4"
    PARALLEL_MAKE = "-j 4"
    for me. (both equal to the number of logical CPUs). A strategy that should be a good choice for building as fast as possible.

    The first one controls how many bitbakes run at a time.
    The second controls how many threads some of the various bit of software that bitbake uses can use.

    So, for example, the above values mean up to 4 bitbakes can be running and they can each be using up to 4 threads.
    This means that potentially there can be a lot more threads running than is needed to use all 4 logical CPUs, all using up RAM.

    You can actually reduce the numbers and still be utilizing the full power of all your logical CPUs almost all of the time while greatly reducing the amount of RAM you'll need to ensure your build never crashes due to running out of RAM. It works best on systems with good fast I/O (an SSD).

    If you have a large number of logical CPUs and are having trouble due to running out of RAM try experimenting with the values.
    You're likely to find your builds really don't take much longer if you reduce the values a bit.
    I think reducing the second parameter is likely to be the most useful, but you can try various combinations.

  6. #36
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,858
    Thanks
    239
    Thanked 1,673 Times in 1,318 Posts
    Quote Originally Posted by twol View Post
    Luck! If you get only nodejs and qt building at the same time ( that is just 2 streams) you can hit 34 gb (no swapping - I have excess memory on my PC ) and all 16 cpus running
    Perhaps not so lucky, really.

    Just realized that my systems don't build qt (they do build nodejs).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  7. #37
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,945
    Thanks
    2,062
    Thanked 5,145 Times in 3,395 Posts
    Can you give one good reason you are building nodejs?
    Help keep OpenViX servers online.Please donate!

  8. #38
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,858
    Thanks
    239
    Thanked 1,673 Times in 1,318 Posts
    Quote Originally Posted by Huevos View Post
    Can you give one good reason you are building nodejs?
    Because if I don't need it the standard Vix build shouldn't be building it for me - it should disable it.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  9. #39
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,945
    Thanks
    2,062
    Thanked 5,145 Times in 3,395 Posts
    It is not in the "standard" ViX build, Release or Dev.
    Help keep OpenViX servers online.Please donate!

  10. #40

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    614
    Thanked 418 Times in 270 Posts
    Hi,

    I've decided to give building new openvix ago using this guide.

    However, I'm getting stuck on step 1 (yes step 1 haha).

    It is failing to find gcc-8 package. The error I get is:-
    Code:
    Package gcc-8 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'gcc-8' has no installation candidate
    Removing gcc-8 from the list of packages to install, I can then install the rest of the packages without an issue.

    I've stopped after this point as don't want to proceed further until I get gcc-8 installed.

    I'm using Ubuntu 22.04.1

    Anyone any ideas?

  11. #41
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,945
    Thanks
    2,062
    Thanked 5,145 Times in 3,395 Posts
    Remember those instructions are for 20.04.

    Code:
    $ sudo apt update
    $ sudo apt install build-essential
    That should get you GCC.

    Now check version:

    Code:
    $ gcc --version
    I'm using 21.04 and looks like this:
    Code:
    $ gcc --version
    gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
    Copyright (C) 2020 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Help keep OpenViX servers online.Please donate!

  12. #42
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    Quote Originally Posted by bbbuk View Post
    Hi,

    I've decided to give building new openvix ago using this guide.

    However, I'm getting stuck on step 1 (yes step 1 haha).

    It is failing to find gcc-8 package. The error I get is:-
    Code:
    Package gcc-8 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'gcc-8' has no installation candidate
    Removing gcc-8 from the list of packages to install, I can then install the rest of the packages without an issue.

    I've stopped after this point as don't want to proceed further until I get gcc-8 installed.

    I'm using Ubuntu 22.04.1

    Anyone any ideas?
    I shouldn‘t worry I have 22.04 and gcc is 11.2.0 …. And everything builds just fine
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  13. #43
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,858
    Thanks
    239
    Thanked 1,673 Times in 1,318 Posts
    Quote Originally Posted by bbbuk View Post
    It is failing to find gcc-8 package.
    Just install gcc. This will install the latest (11.2.0), which works fine.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  14. The Following User Says Thank You to birdman For This Useful Post:

    bbbuk (29-12-22)

  15. #44

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    614
    Thanked 418 Times in 270 Posts
    Hi,

    I've successfully followed this guide on building branch 5.1 and had no issues.

    I created new folder and cloning the newer 5.2 branch but when I start the build off, I get the following error:-
    branch52error.jpg

    Could someone point me in correct direction on what/where I need to change to get passed this error?

    PS: Once passed this error, should I expect anymore?

  16. #45
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,945
    Thanks
    2,062
    Thanked 5,145 Times in 3,395 Posts
    Haven't seen that in any of my builds. That is an old variable, how has that got in the new env?

    Try going in the machine folder (some thing like /home/openvix/6.3/builds/openvix/developer/vuultimo4k) and try the following:
    Code:
    . env.source
    unset BB_ENV_EXTRAWHITE
    Help keep OpenViX servers online.Please donate!

  17. The Following User Says Thank You to Huevos For This Useful Post:

    bbbuk (29-12-22)

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.