Thanks Julian for your reply.
I would not expect the CPU to be struggling. It is an Acer Nitro 5 (low end gaming laptop:
Intel® Core™ i5-10300H × 8,  NVIDIA GeForce RTX™ 3060 Laptop GPU ) with 32 GB ram added. Running native Ubuntu 24.04.2 LTS, with nearly daily updates.
I know little about system software, but it seems to me unfortunate that PX4 is so heavily dependent on system details, and that PX4 v1.15.4 resorts to using in ubuntu.sh:
python3 -m pip install --break-system-packages -r ${DIR}/requirements.txt
irrespective of whether or not this is related to my problem.
In my case it is not safe and it doesn’t even give me a working build.
I’m thinking of going back to PX4 v1.15.2 and attempting to use a Python virtual environment as suggested by Error at Installation of PX4 development environment
Is that a reasonable way for me to try?  And if so, in Tools/setup/requirements.txt do I need   matplotlib>=3.0.*
Can I safely delete that line?  Or is there an alternative that would build ok?
Regards,
Don
 
        