OK, so I've restarted all the kstar/ekos/phd2/indi components, and edited the profile so that it's doing: Mode: localhost, and checked the INDI Web Manager checkbox. Ekos is freed up now and seems to be responsive.

Read More...

Kstars is freezing for long periods, and sometimes crashing when issuing using captures from phd2 at the same time as captures from ekos. . I'm going to look at the logs and see what I can find.

Here's how to reproduce the issue. This happens when letting PHD2 sit there and take 2.4s exposures, and I try and do a capture with ekos at the same time. Ekos will sit there locked -- unresponsive while phd2 is doing it's capture. It eventually comes around after a caputure is done. If I stop phd from doing captures, then Ekos behaves normally. This is new behavior. I see this from dmsg:
"[Nov10 18:26] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd"

That does not look very normal, but it seems to be doing OK. I wonder if that reset is the cause of the hang waiting on I/O.

Setup: RPI4 USB3 connections to cameras. Astroberry -- recently updated. powered ZWO 1600 PRO with ZWO 178 plugged into the 1600's hub.

Jamie

Read More...

Ahh, I see, thanks.

Jamie

Read More...

I've been unable to make a correct dark library with my astroberry using 2xbin on my 178MC. I traced it down to the binx2 image not being the right width.

Here's the log:
23:59:36.232 00.003 3015307280 DarkLib check: failed geometry check - fits status = 0, cam dimensions = {1548,1040}, dark dimensions = {1544,1040}

The camera resolution is 3096x2080 so binx2 should be 1548,1040, not 1544,1040. I tried using ekos to directly take bin x 2 images and it also shows up with the wrong width image. Because of this I can't create a dark library using binning x 2.

Jamie

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 months ago

I've got an update if anyone is trying this.

So the WIFI stopped again for not so well known reasons. I'm guessing that it happened after a software/firmware update. I had to tweak it again. This time it's a bit hacky, but it works.

Login as root and add this to your crontab:

crontab -e

@reboot /usr/bin/tvservice -o
@reboot /usr/bin/vcgencmd display_power 0

@reboot sleep 5; /usr/bin/tvservice -o
@reboot sleep 5; /usr/bin/vcgencmd display_power 0

@reboot sleep 60; /usr/bin/tvservice -o
@reboot sleep 60; /usr/bin/vcgencmd display_power 0

Seems that I've got to do that several times after boot. I couldn't just put it in /etc/rc.local

Ugly, but it works!

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

Here's a little more:

ssh -l pi -C -X 192.168.247.108

This adds the "-C" for compression which helps with some things. I also had to use the "pi" account for some reason, probably to do with all my mucking around.

photos.app.goo.gl/ypFvet7RWjpv9KEq5

Jamie

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

I just tried it. The planetarium part of kstars is slow as lots of the pixels are being pushed across the wire, but the UI is actually nice and fairly snappy. Not quite as good as native on the desktop, but much better than VNC even at 1920. The windows come up natively on the desktop and can be resized large and still it's very snappy. I've got a great big monitor too, 4K os something like that. So give it a try! I think that I'll stick with VNC since it can handle a loss of network connectivity with no issues. The 1920 display is a bit annoying, but not that bad.

Jamie

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

I do get your point. Remote X11 is not VNC. It's quite different. It does it's drawing using your desktop hardware. It's not just copying the screen data from the pi to your desktop. I haven't tried kstars much doing it this way, but I expect it to perform way better than VNC. I'd expect it to handle 4k resolution well. I'll try it again tonight. The part that I'm concerned with is the connection. If I loose my wifi for a long period, the X11 remote app will be useless. The VNC app on the other hand will be just fine.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

There absolutely is a way. Just ssh over to it using the X option and run kstars with it opening a window on your desktop. Like this

ssh -l astroberry -X 192.168.247.108

kstars &

This requires that you are running Linux on your desktop though (or something with X11). It also means that you need to keep your desktop running and connected to the pi.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

Another thing that I'm considering is just doing this from my linux desktop:
ssh -l astroberry -X 192.168.247.108

Then I can run kstars / phd2 etc and they will use X11 remoting. I should be able to use my giant monitor fully this way without being restricted to 1920.

Either way I've now got a very good system working and I think that I may switch to astroberry from my own home-brew linux system !

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

OK, so this is all that I had to do to get this to work (other than installing tightvnc)

sudo -u astroberry vncserver -localhost no :1

I can use my regular vnc software on my desktop to connect, but now to :1

USB3 camera is working great!

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

Success!

I'm trying to avoid using a dongle if possible. I was able to get it to work for the first time today. Nothing all that special really, I just had to run the right commands to get the vncserver to start, and the right commands for the client as well. I'm going to make this better, but for now I just run on the astroberry:

1. ssh to the astroberry
2. vncserver 192.168.247.108:3

and on the desktop:

xtigervncviewer -via This email address is being protected from spambots. You need JavaScript enabled to view it. :3

It connects and seems to work. From here I'm going to improve the process and make it start from boot. This is all without any HDMI output so I can turn that off and end the interference with wifi 2.4G / USB3 -- I couldn't get 5G to work, so maybe it's not supported on the RPI4? BTW: I didn't have to uninstall or disable the realvnc server, just ran tightvnc on it's own, and my router is setup to always issue that ip address to the astroberry --

Jamie

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

So I was going to switch from realvnc to tightvnc so that it is not tied to HDMI, and I found that is inside of the package astroberry-server-full I'm not sure how to disable realvnc, or to configure it to not be tied to hdmi. Any ideas?

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 3 months ago

hdmi_ignore_hotplug=1 turns it off. Unfortunately since the astroberry VNC setup is sharing the X11/HDMI desktop, VNC stops working after you do this and just gives a black screen with the message: "can not currently show desktop". On my other setup I ran a VNC separate from the X11 desktop and was able to shut off HDMI output. That's why that setup worked with WIFI and USB3.

OH, and I was mistaken about the distro that I used for my previous setup. It was actually raspbian, not mate.

Jamie

Read More...