×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 152
  • Thank you received: 28
Hi Rob, i dont know if this will help, but this is what i did on my build and it seems to work ok
10 months 1 week ago #93556
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
I have tried video dummy as a solution on a number of different systems. It does work well to allow you to get a good resolution on your VNC view. Unfortunately when you bring in a real monitor or hdmi tv, generally it won’t work properly if you are using video dummy.
10 months 1 week ago #93557

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 28
agreed.

You just have to remember to rename that xorg.conf file so it doesn't take effect when you want a monitor or use a mini HDMI dongle instead to trick it
10 months 1 week ago #93558

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
The other solution with the conf file is much more elegant since it is hot pluggable with monitors.
10 months 1 week ago #93559

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
I just wish that would work with all sbcs
10 months 1 week ago #93560

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 28
i do remember doing something similar with my asus tinkerboard and it worked ok. but i no longer have that SBC.

Yes its not easy. Many a night tearing out my hair to figure that one out
10 months 1 week ago #93561

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I attempted to run the raspbian version of the script on the latest Raspberry OS (64bit Bullseye)
It appears several dependencies are broken for just about everything. It also broke networking.:(
10 months 5 days ago #93631

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I'm compiling the KStars nightly on Ubuntu Mate 22.04 64bit.
I had to correct some dependencies, ended up with this set:
sudo apt -y install breeze-icon-theme build-essential cmake extra-cmake-modules gettext git kinit-dev libavcodec-dev libavdevice-dev libboost-dev libboost-regex-dev libcfitsio-dev libcurl4-gnutls-dev
 
sudo apt -y install libdc1394-dev libeigen3-dev libev-dev libfftw3-dev libftdi1-dev libftdi-dev libgphoto2-dev libgps-dev libgsl-dev libindi-dev libjpeg-dev libkf5crash-dev libkf5doctools-dev libkf5iconthemes-dev libkf5kio-dev
 
sudo apt -y install libkf5newstuff-dev libkf5notifications-dev libkf5notifyconfig-dev libkf5plotting-dev libkf5xmlgui-dev liblimesuite-dev libnova-dev libqt5datavisualization5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5websockets5-dev
 
sudo apt -y install libraw-dev librtlsdr-dev libsecret-1-dev libtiff-dev libusb-1.0-0-dev pkg-config qml-module-qtquick-controls qml-module-qtquick-layouts qt5keychain-dev qtdeclarative5-dev wcslib-dev xplanet xplanet-images zlib1g-dev

Near the end, I encounter an error while compiling test_sequencejobstate
[ 99%] Building CXX object Tests/capture/CMakeFiles/test_sequencejobstate.dir/test_sequencejobstate.cpp.o
In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qchar.h:43,
                 from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:49,
                 from /usr/include/aarch64-linux-gnu/qt5/QtCore/QString:1,
                 from /home/pi/AstroRoot/kstars/kstars/indi/indicommon.h:9,
                 from /home/pi/AstroRoot/kstars/kstars/ekos/capture/sequencejobstate.h:9,
                 from /home/pi/AstroRoot/kstars/Tests/capture/test_sequencejobstate.h:11,
                 from /home/pi/AstroRoot/kstars/Tests/capture/test_sequencejobstate.cpp:9:
/usr/include/aarch64-linux-gnu/qt5/QtCore/qobject.h: In instantiation of ‘static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::SequenceJobState::*)(double); Func2 = void (TestAdapter::*)(double*); typename QtPrivate::FunctionPointer<Func>::Object = Ekos::SequenceJobState; typename QtPrivate::FunctionPointer<Func2>::Object = TestAdapter]’:
/home/pi/AstroRoot/kstars/Tests/capture/test_sequencejobstate.cpp:41:12:   required from here
/usr/include/aarch64-linux-gnu/qt5/QtCore/qobject.h:255:9: error: static assertion failed: Signal and slot arguments are not compatible.
  255 |         Q_STATIC_ASSERT_X((QtPrivate::CheckCompatibleArguments<typename SignalType::Arguments, typename SlotType::Arguments>::value),
      |         ^~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/qt5/QtCore/qobject.h:255:9: note: ‘(((int)QtPrivate::CheckCompatibleArguments<QtPrivate::List<double>, QtPrivate::List<double*> >::value) != 0)’ evaluates to false
make[2]: *** [Tests/capture/CMakeFiles/test_sequencejobstate.dir/build.make:90: Tests/capture/CMakeFiles/test_sequencejobstate.dir/test_sequencejobstate.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4328: Tests/capture/CMakeFiles/test_sequencejobstate.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
10 months 4 days ago #93648

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 1

Replied by Jean-Luc on topic AstroPi3 Scripts revised

Hello,
I sometimes fell too stupid reinventing the wheel.
Synchronizing time on the RPI does not need any extra external GPS module. Everyone owns a very accurate clock : one's mobile phone.
Just plug it to the RPI, set access point active to usb mode, wait a few seconds and the RPI clock is synchronized !
Sigh!
10 months 2 days ago #93675

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

An RTC is more convenient.
10 months 2 days ago #93680

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 1

Replied by Jean-Luc on topic AstroPi3 Scripts revised

Sure, but plugging the phone just the time the clock synchronizes is no pain and will make me happy if I am not able to use the external GPS module - or if it does not reach my mailbox.By the way, I still could not solve the offscreen disply problem, and this I find really annoying.
Here you can see what display with HDMI attached, and there with no display attached
1920x1080 vs (I guess) 1024x768, a very huge difference.:evil:
Last edit: 10 months 1 day ago by Jean-Luc.
10 months 1 day ago #93693
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

Comment out the following line to avoid that display issue in the boot config.txt file
dtoverlay=vc4-kms-v3d
to
#dtoverlay=vc4-kms-v3d

If you don't want to disable that, then understand that it is related to VNC itself. Editing a VNC configuration file with -geometry 1920x1080 might also work. I have not tested this myself.
But even at the lower resolution, for some reason the renderer is particularly slow with headless VNC.
The following user(s) said Thank You: Jean-Luc
Last edit: 9 months 4 weeks ago by Andrew.
10 months 1 day ago #93694

Please Log in or Create an account to join the conversation.

Time to create page: 0.769 seconds