Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 02-01-2018, 09:50   #16
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by Andreas29 View Post
Hi,

Bram, the problem is, that I didn´t use the zygrib-plugin since yet (and have no experience with it) .
I only use the build-in grib plugin from OC. This worked fine since the raspian default pre-installed web-browser changed from epiphany to chromium.
So I just changed the web-browser and it works.
The other way is to use the zygrib-plugin like you do. So I´ll give this a try, cause you said it works fine.

@rgleason: I can do this, but give me some time (a week or so)

Regards

Andreas
There are more browsers available like Firefox and now also Vivaldi for the Raspberry Pi.
verkerkbr is offline   Reply With Quote
Old 02-01-2018, 10:59   #17
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by rgleason View Post
Andreas, would you mind writing this up so it is very clear, what happens, with screenshots if you wish, in the Tracker?

Put it under the Task Dropdown " 11- pi-Grib"
https://opencpn.org/flyspray/index.p...index&switch=1

Identify it as a Linux bug please, This "Select" function needs some improvement and could be simplified I think, but it might be limited by wxWidgets too. Thanks.

You'll need to register, then log in.
Sorry trying to do too much at once This is the link.
https://opencpn.org/flyspray/index.p...index&switch=1
rgleason is offline   Reply With Quote
Old 02-01-2018, 11:30   #18
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by nohal View Post
FWIW, with the current code from master, you should not need to patch the code manually anymore. Just set the physical display width correctly in the Toolbox and the grib plugin should honour it and work correctly.

Pavel
Hi Pavel

I have to disagree. I compiled O two days ago from git (Raspberry 3), set the width of the screen in the toolbox, and the problem is still there...
sailorF54 is offline   Reply With Quote
Old 02-01-2018, 13:07   #19
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by sailorF54 View Post
Hi Pavel

I have to disagree. I compiled O two days ago from git (Raspberry 3), set the width of the screen in the toolbox, and the problem is still there...
And the patches mentioned, which in effect do exactly the same, just manually, do help you? Sorry to ask like an idiot, but I do not have the hardware to reproduce this.

EDIT:
And can you confirm the source you built does contain the following two lines (= is up to date)?
https://github.com/OpenCPN/OpenCPN/b...oLine.cpp#L174
https://github.com/OpenCPN/OpenCPN/b...ctory.cpp#L221
nohal is offline   Reply With Quote
Old 02-01-2018, 13:54   #20
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by nohal View Post
...
And can you confirm the source you built does contain the following two lines (= is up to date)?
https://github.com/OpenCPN/OpenCPN/b...oLine.cpp#L174
https://github.com/OpenCPN/OpenCPN/b...ctory.cpp#L221
Yes, both sources seem up to date... (see pics)
A shot in the dark: Is there a way to check that the screen size is reported accurately by the Raspberry ? I noticed that my screen is 1280 x 800, which is not standard (1280 x 720),and I have to use the default setting (= monitor preferred resolution)

EDIT
I have forced my display to 1280 x 720, and tried various values of screen size in O, but to no avail...
Attached Thumbnails
Click image for larger version

Name:	2018-01-02-222812_1280x800_scrot.png
Views:	82
Size:	202.9 KB
ID:	161436   Click image for larger version

Name:	2018-01-02-224027_1280x800_scrot.png
Views:	92
Size:	239.9 KB
ID:	161437  

sailorF54 is offline   Reply With Quote
Old 02-01-2018, 13:59   #21
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by sailorF54 View Post
Is there a way to check that the screen size is reported accurately by the Raspberry ? I noticed that my screen is 1280 x 800, which is not standard (1280 x 720),and I have to use the default setting (= monitor preferred resolution)
Yes, in the logfile, you should see something like
Code:
18:50:56 -03: Metrics:  m_display_size_mm: 286     wxDisplaySize:  1280:800
nohal is offline   Reply With Quote
Old 02-01-2018, 14:07   #22
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by nohal View Post
Yes, in the logfile, you should see something like
Code:
18:50:56 -03: Metrics:  m_display_size_mm: 286     wxDisplaySize:  1280:800
The values in the log file are correct
m_display_size_mm: 220
wxDisplaySize: 1280:800


EDIT
When I change my display size to 1280 x 720 and the width screen to 200 mm, the log reports the new values correctly
sailorF54 is offline   Reply With Quote
Old 02-01-2018, 14:24   #23
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Bad grib display on Raspberry (Openplotter)

Just two things come to mind:
- Restart of OpenCPN is required for the change in display physical size to take effect in the grib plugin. I suppose you did this
- Make sure you really run the version you built yourself, not the one provided by OpenPlotter. (You can see where your plugins are loaded from in the log)
nohal is offline   Reply With Quote
Old 02-01-2018, 14:41   #24
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by nohal View Post
Just two things come to mind:
- Restart of OpenCPN is required for the change in display physical size to take effect in the grib plugin. I suppose you did this
- Make sure you really run the version you built yourself, not the one provided by OpenPlotter. (You can see where your plugins are loaded from in the log)
1 - Yes I did
2 - It must be the compiled version, as I have the 'All GSHHG basemap' you so kindly provided. Also the grib_pi folder is dated from 2 days ago

EDIT: SILLY of ME... I made a launcher to the old CPN version... Using the compiled one, the grib display is correct


SO SORRY to have bothered people !!!
sailorF54 is offline   Reply With Quote
Old 02-01-2018, 14:52   #25
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by sailorF54 View Post
2 - It must be the compiled version, as I have the 'All GSHHG basemap' you so kindly provided. Also the grib_pi folder is dated from 2 days ago
Well, "must be" is definitely not as good as "is" for me What is a "grib_pi" folder? Did you "make install" your build products and do you really run them and only them? If you did no change anything, your installed OpenCPN should be under /usr/local) and the log should confirm that the libgrib_pi.so is loaded from there and the API version it uses is 115, is it so?
nohal is offline   Reply With Quote
Old 02-01-2018, 15:00   #26
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Bad grib display on Raspberry (Openplotter)

Quote:
Originally Posted by nohal View Post
Well, "must be" is definitely not as good as "is" for me What is a "grib_pi" folder? Did you "make install" your build products and do you really run them and only them? If you did no change anything, your installed OpenCPN should be under /usr/local) and the log should confirm that the libgrib_pi.so is loaded from there and the API version it uses is 115, is it so?
I repeat
SILLY of ME... I made a launcher to the old CPN version... Using the compiled one, the grib display is correct

SO SORRY to have bothered people !!!
Attached Thumbnails
Click image for larger version

Name:	2018-01-02-235842_1280x800_scrot.jpg
Views:	77
Size:	425.6 KB
ID:	161438  
sailorF54 is offline   Reply With Quote
Reply

Tags
rib


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenPlotter project Sailoog Marine Electronics 1056 04-12-2019 23:41
OCPN, GRIB, under MAC, Grib tools Gilletarom OpenCPN 0 06-06-2017 08:55
OpenPlotter: SDR-AIS VHF transmit Contessa32 OpenCPN 1 21-05-2016 09:50
Using openplotter & opencpn on a 60 feet SAR boat? Flod Marine Electronics 2 28-04-2016 13:18
Grib Files and Grib Fantasies maxingout General Sailing Forum 4 16-01-2010 14:54

Advertise Here


All times are GMT -7. The time now is 12:47.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.