Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-09-2016, 20:11   #166
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,026
Re: OpenCPN on Raspberry PI2

Quote:
Originally Posted by boat_alexandra View Post
the software could be improved to handle any chart size with any amount of memory, but I am discouraged after having the memory corrupted so many times on the sd card.


I tried with gles to attempt to gain etc1 compression and it seems a total failure.

If compressed textures worked, then it can handle 6x more data, so your 50mb chart is no longer a problem. Unfortunately it is not working, it does work with the original closed broadcom drivers.
Remember it is an "Experimental" driver.

The developer is actively working on improving it.
How could we help him ?

Do we need to ask if compressed textures can be implemented ?

How could we debug the SD card corruption ?
__________________

__________________
NahanniV is online now   Reply With Quote
Old 04-09-2016, 01:44   #167
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 263
Re: OpenCPN on Raspberry PI2

The problem seems only to happen with OpenCPN.

If I use other programs I can zoom in and out without problems.

Is it a problem caused by the VC4 driver or is it more related to OpenCPN ? Does it work better with the beta OC 4.5 ?

I have read somewhere that in kernel version 4.5 OpenGL will be present in the kernel.
Now the latest kernel version is 4.4.19.

If OpenGL works flawlessly, it is a big improvement for all the "Raspi O users". But if you don't zoomout too much it allready works very good. By trying higher zoomouts it sometimes has the effect that the OpenCPN settings are gone. But no SD card corruption. File system here is Ext4.

This small system with a micro SD card seems an ideal computer system to have on board.

Worried about faillure of the SD card or computer ? Take a copy of the SD and/or a spare Pi board. About the same cost as a single NMEA2000 cable.

Is the Radar plugin working well with the Raspi OpenGL ?
__________________

__________________
verkerkbr is offline   Reply With Quote
Old 04-09-2016, 04:46   #168
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 474
Re: OpenCPN on Raspberry PI2

Quote:
Originally Posted by verkerkbr View Post
The problem seems only to happen with OpenCPN.

If I use other programs I can zoom in and out without problems.

Is it a problem caused by the VC4 driver or is it more related to OpenCPN ? Does it work better with the beta OC 4.5 ?

I have read somewhere that in kernel version 4.5 OpenGL will be present in the kernel.
Now the latest kernel version is 4.4.19.

If OpenGL works flawlessly, it is a big improvement for all the "Raspi O users". But if you don't zoomout too much it allready works very good. By trying higher zoomouts it sometimes has the effect that the OpenCPN settings are gone. But no SD card corruption. File system here is Ext4.

This small system with a micro SD card seems an ideal computer system to have on board.

Worried about faillure of the SD card or computer ? Take a copy of the SD and/or a spare Pi board. About the same cost as a single NMEA2000 cable.

Is the Radar plugin working well with the Raspi OpenGL ?
Anyone who has tried to run the PI from a USB flash drive, it might solve the problem with corrupted SD card,,, https://www.stewright.me/2013/05/ins...b-flash-drive/
__________________
petter5 is offline   Reply With Quote
Old 04-09-2016, 05:31   #169
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,623
Re: OpenCPN on Raspberry PI2

Adrian Studer (dAISy) is working on a new 2-channel AIS reciever with GPS input which works in conjunction with RPI. Some of you may wish to contact him about it.
__________________
rgleason is offline   Reply With Quote
Old 04-09-2016, 15:24   #170
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 474
Re: OpenCPN on Raspberry PI2

Quote:
Originally Posted by verkerkbr View Post
The problem seems only to happen with OpenCPN.

If I use other programs I can zoom in and out without problems.

Is it a problem caused by the VC4 driver or is it more related to OpenCPN ? Does it work better with the beta OC 4.5 ?

I have read somewhere that in kernel version 4.5 OpenGL will be present in the kernel.
Now the latest kernel version is 4.4.19.

If OpenGL works flawlessly, it is a big improvement for all the "Raspi O users". But if you don't zoomout too much it allready works very good. By trying higher zoomouts it sometimes has the effect that the OpenCPN settings are gone. But no SD card corruption. File system here is Ext4.

This small system with a micro SD card seems an ideal computer system to have on board.

Worried about faillure of the SD card or computer ? Take a copy of the SD and/or a spare Pi board. About the same cost as a single NMEA2000 cable.

Is the Radar plugin working well with the Raspi OpenGL ?
It seems that RPI3 has experimental support for booting from USB mass storage - this will mostly eliminate the SD card corruption problem: https://www.raspberrypi.org/document...otmodes/msd.md
__________________
petter5 is offline   Reply With Quote
Old 04-09-2016, 17:49   #171
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,508
Re: OpenCPN on Raspberry PI2

maybe the mass storage gets corrupted instead?


I want to know why the new graphics driver causes the sd card to become corrupted.
__________________
boat_alexandra is online now   Reply With Quote
Old 05-09-2016, 02:25   #172
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 474
Re: OpenCPN on Raspberry PI2

Quote:
Originally Posted by boat_alexandra View Post
maybe the mass storage gets corrupted instead?


I want to know why the new graphics driver causes the sd card to become corrupted.
Yes, I agree with you about the reason for corruption of the sd card. On the other hand, Mass storage is known to be more stable and the possibility to boot from mass storage opens up new possibilities regarding dependability and performance.
__________________
petter5 is offline   Reply With Quote
Old 06-09-2016, 01:21   #173
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 263
Re: OpenCPN on Raspberry PI2

In the past I also had some SD corruption and had to reflash the SD card. But with latest kernel versions it works OK.

File system Ext4. Using microSDHC UHS-1 Speed up to 80 mb/sec with 32 and 16 Gig.

But remember to enlarge the partition after flashing the image.

The only problems now are zooming-out too far and the screen redraw.

Bram
__________________
verkerkbr is offline   Reply With Quote
Old 06-09-2016, 06:05   #174
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,508
Re: OpenCPN on Raspberry PI2

both times my card was corrupted very quickly after trying to use gles with the vc4 driver, not gl. I want gles because the hardware in theory supports etc1 compression which would help large raster charts...
__________________
boat_alexandra is online now   Reply With Quote
Old 08-09-2016, 14:33   #175
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 263
Re: OpenCPN on Raspberry PI2

Dear B_A,

Does this solve the problem ?

https://github.com/anholt/mesa/wiki/...spbian-upgrade.
__________________
verkerkbr is offline   Reply With Quote
Old 09-09-2016, 06:33   #176
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,508
Re: OpenCPN on Raspberry PI2

I didn't try it can you?
__________________
boat_alexandra is online now   Reply With Quote
Old 12-09-2016, 01:03   #177
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 263
Re: OpenCPN on Raspberry PI2

Dear B_A,
I have no experience with kernel compilation. But did some tries. PI3 cloning did not work, delta index errors.

Then tried the Pi2, first reduced the video memory setting to 64. Cloning and deltas seems to work without errors.

Latest kernel version appeared to be 4.8.0-rc5

Changed the config.txt settings. Restart: result, rainbow splash screen.

Removed the config.txt settings, then the system bootet in the original 4.4.20 kernel version.

Perhaps better for me to wait for the original 4.5 version.
__________________
verkerkbr is offline   Reply With Quote
Old 12-09-2016, 09:32   #178
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,508
Re: OpenCPN on Raspberry PI2

I understand... for now we patiently wait.


Once opengl is fully stable on the raspberry, there is another problem as it creates a new target which is "arm" but also "opengl" not "opengles"

I this means we don't need glshim, but how to distribute binaries? Other boards need opengles and share the same binaries as armv7.

Could extend glshim to fit on top of opengl as a simple wrapper to allow selecting opengl vs opengles at runtime?
__________________
boat_alexandra is online now   Reply With Quote
Old 12-09-2016, 15:47   #179
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 263
Re: OpenCPN on Raspberry PI2

Kernel 4.8.0-rc5 is working now. And without the activation of the VC4 driver GLXgears is running at 59.955 fps.

And OpenCPN works with OpenGL setting to on and with very fast screen movements. And this on a PI2 ! Not yet tried it on my Pi3

Screen fragmentation by zooming-out is however not gone.

But I have not tried the other driver options.

But anyhow it works with OpenGL in the kernel. But it seems still experimental.

Bram
__________________
verkerkbr is offline   Reply With Quote
Old 13-09-2016, 00:00   #180
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,508
Re: OpenCPN on Raspberry PI2

so the driver isn't crashing anymore when zooming out?
__________________

__________________
boat_alexandra is online now   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
OpenCPN on Raspberry PI Raspbian Captain_Steve OpenCPN 12 08-02-2015 11:45
Comproblem on Raspberry Pi and OpenCPN vagspel OpenCPN 4 26-12-2012 06:01
Raspberry Pi and OpenCPN 3.1.915 spillemw OpenCPN 20 24-09-2012 03:30
Raspberry PI compiles OpenCPN monstads OpenCPN 7 15-03-2012 13:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 20:09


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:26.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.