Cruisers Forum
 


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 14-05-2014, 21:16   #76
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean's Optimum Branch Merge

Dave,
great work on the proc loading.. that was an easy fix!

I am basically finished with the commits for the merge at this point. Waiting for pull request.

I will look into making the wheel do smooth zooming, and zoom to cursor work for '+' and '-' keys.
seandepagnier is offline   Reply With Quote
Old 14-05-2014, 21:48   #77
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Sean's Optimum Branch Merge

Dave
just comparing

From your log

Code:
22:57:28 EDT: OpenGL-> Renderer String: Intel GMA 950 OpenGL Engine
22:57:28 EDT: OpenGL-> Detected Intel renderer, disabling stencil buffer
22:57:28 EDT: OpenGL-> Detected Intel renderer, disabling FBO
22:57:28 EDT: OpenGL-> Texture rectangle format: de1
22:57:28 EDT: OpenGL-> Framebuffer Objects unavailable
22:57:28 EDT: OpenGL-> Using Depth buffer clipping

my log

13:40:32 EST: OpenGL-> Renderer String: NVIDIA GeForce 9400M OpenGL Engine
13:40:32 EST: OpenGL-> Texture rectangle format: de1
13:40:32 EST: OpenGL-> Framebuffer Objects unavailable
13:40:32 EST: OpenGL-> Using Stencil buffer clipping

but not sure why

in case this helps

Mo
Icnoships is offline   Reply With Quote
Old 14-05-2014, 23:54   #78
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Sean's Optimum Branch Merge

Mo,
different graphic chips.
Get "OpenGL Extensions Viewer.app" from App Store (free), if interested in OpenGL.
Gerhard
CarCode is offline   Reply With Quote
Old 15-05-2014, 00:39   #79
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Sean's Optimum Branch Merge

Pulled master 30 minutes ago.
Now runs nicely even on WinXP and my dated graphic.
Thanks all
Håkan
Hakan is offline   Reply With Quote
Old 15-05-2014, 05:45   #80
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Sean's Optimum Branch Merge

Mo....

I cannot reproduce this assert. I assume only happens in OpenGL mode? What wxWidgets version? In XCode build, or standard command line build? Which charts? Screenshot? More info?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 15-05-2014, 06:05   #81
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Sean's Optimum Branch Merge

Sean...

After merge of latest Pull Request, I get this:

Code:
Scanning dependencies of target TEXCMP
[ 27%] Building C object CMakeFiles/TEXCMP.dir/src/texcmp/lz4/lz4.c.o
[ 27%] Building C object CMakeFiles/TEXCMP.dir/src/texcmp/lz4/lz4hc.c.o
[ 28%] Building CXX object CMakeFiles/TEXCMP.dir/src/texcmp/squish/alpha.cpp.o
[ 28%] Building CXX object CMakeFiles/TEXCMP.dir/src/texcmp/squish/clusterfit.cpp.o
In file included from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd_sse.h:31:0,
                 from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd.h:34,
                 from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/clusterfit.h:32,
                 from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/clusterfit.cpp:27:
/usr/lib/gcc/i686-linux-gnu/4.6/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
In file included from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd.h:34:0,
                 from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/clusterfit.h:32,
                 from /home/dsr/Desktop_Old/opencpn/src/texcmp/squish/clusterfit.cpp:27:
/home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd_sse.h: In function ‘squish::Vec4 squish::Truncate(squish::Vec4::Arg)’:
/home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd_sse.h:163:57: error: ‘_mm_cvttps_epi32’ was not declared in this scope
/home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd_sse.h:163:59: error: ‘_mm_cvtepi32_ps’ was not declared in this scope
/home/dsr/Desktop_Old/opencpn/src/texcmp/squish/simd_sse.h:165:2: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [CMakeFiles/TEXCMP.dir/src/texcmp/squish/clusterfit.cpp.o] Error 1
make[1]: *** [CMakeFiles/TEXCMP.dir/all] Error 2
make: *** [all] Error 2
d
Seems like a library config issue?
Dave
bdbcat is offline   Reply With Quote
Old 15-05-2014, 06:16   #82
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Sean's Optimum Branch Merge

OpenCPN v3.3.1712 works OK on Mac OS X compiled with Xcode 5.1.1 and daily build (15. May) of wxWidgets 3.1.0 both cm93 and kap charts as well as s63 demo charts.
Upper right corner is the fullscreen gadget also working OK.

Until the dust has settled v3.3.1713 diffs not used here.

Gerhard
Attached Images
 
CarCode is offline   Reply With Quote
Old 15-05-2014, 07:52   #83
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by bdbcat View Post
Sean...

After merge of latest Pull Request, I get this:
n-type]
make[2]: *** [CMakeFiles/TEXCMP.dir/src/texcmp/squish/clusterfit.cpp.o] Error 1
make[1]: *** [CMakeFiles/TEXCMP.dir/all] Error 2
make: *** [all] Error 2
d[/CODE]

Seems like a library config issue?
Dave
Dave,

I believe the solution is to use -msse2 instead of -msse. This was reported by another user in the other thread. I have made this change in git now.
seandepagnier is offline   Reply With Quote
Old 15-05-2014, 07:57   #84
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean's Optimum Branch Merge

I notice that dragging waypoints are not highlighted in opengl mode (I broke this)

In non-opengl mode, dragging route points doesn't correctly calculate the update rectangle. I don't think I broke this because the old master opencpn has the same behavior.

There are probably a few minor issues with the touch interface in opengl mode, I will do some testing.
seandepagnier is offline   Reply With Quote
Old 15-05-2014, 08:21   #85
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by conachair View Post
You are right again

Did a git pull earlier, now on 3.3.1713.

Very close to perfect, but now crashes in konni logbook if you select "add line" or have the timer insert a new line. Seems to be fine with no gps data coming in.
Will insert a new line with no gps, but if you turn on the gps and then back of again and try to add line it will crash with segmentation fault.


gps/ais attached via a ftdi chip usb/serial adaptor.

thnx
Same thing happens with 3.2.2 so apparently nothing to do with this branch.

Sent from my SGP312 using Tapatalk
conachair is offline   Reply With Quote
Old 15-05-2014, 09:57   #86
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by conachair View Post
Same thing happens with 3.2.2 so apparently nothing to do with this branch.
sorry for the background noise guys, but in case of someone with a similar problem gets here via google ..
konni logbook on cubietruck crashing with add line when gps is running might be fixed by adding the line "export LC_ALL=en_US.UTF-8" to the bottom of the /ETC/profile file and rebooting.

I'm so happy
conachair is offline   Reply With Quote
Old 15-05-2014, 10:08   #87
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Sean's Optimum Branch Merge

Sean...

Thanks for the patches. Builds and runs OK now on linux. Mac does not run right with texture compression option enabled. Otherwise OK. Investigating...

This build is called 3.3.1715.

Ready for the next batch, I guess.

Dave
bdbcat is offline   Reply With Quote
Old 15-05-2014, 14:03   #88
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Sean's Optimum Branch Merge

On win32
Pulled 1715, builds and run without problem.
A thought:
Before update to stable version I think there need to be a user warning before catching raster charts. This process is not feasible to perform during navigation since Ocpn can be locked for hours during that process. What about some kind of time estimate and a confirmation before catch start?
But when eventually finalized It's very nice to be able use raster charts and OpenGL thus I can use the radar on these charts as well. Raster charts and OpenGL couldn't be combined on my PCs before Sean's optimization.
Håkan
Hakan is offline   Reply With Quote
Old 15-05-2014, 17:59   #89
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by bdbcat View Post
Sean...

Thanks for the patches. Builds and runs OK now on linux. Mac does not run right with texture compression option enabled. Otherwise OK. Investigating...

This build is called 3.3.1715.

Ready for the next batch, I guess.

Dave
Dave,

What behavior do you get? Wrong colors, corrupted colors? crash.. etc?

Quote:
Originally Posted by Hakan View Post
On win32
Pulled 1715, builds and run without problem.
A thought:
Before update to stable version I think there need to be a user warning before catching raster charts. This process is not feasible to perform during navigation since Ocpn can be locked for hours during that process. What about some kind of time estimate and a confirmation before catch start?
But when eventually finalized It's very nice to be able use raster charts and OpenGL thus I can use the radar on these charts as well. Raster charts and OpenGL couldn't be combined on my PCs before Sean's optimization.
Håkan
I'm not sure we need this. Maybe, by default texture compression caching should be disabled. You get a time estimation (not very accurate) once the operation starts. It is possible to click the skip button to abort. Also, it is possible to make the generation work without blocking the program, although it will slow the whole computer down a lot.
seandepagnier is offline   Reply With Quote
Old 15-05-2014, 18:55   #90
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Sean's Optimum Branch Merge

Sean...

On Mac, with texture compression, we see incomplete patches in quilt mode. No crashes. Pix attached.

On linux, skewed charts, quilt mode, OpenGL: some problem with clip region when zooming in, pix attached.


Dave
Attached Thumbnails
Click image for larger version

Name:	tex.jpg
Views:	122
Size:	88.4 KB
ID:	81370   Click image for larger version

Name:	tex1.jpg
Views:	110
Size:	106.8 KB
ID:	81371  

bdbcat is offline   Reply With Quote
Reply


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
Two-pole branch protection witzgall Electrical: Batteries, Generators & Solar 12 19-11-2013 08:53
Optimum Dagger Board Use solarbri Multihull Sailboats 15 03-03-2013 13:56
Linux link error on master branch teotwawki OpenCPN 4 19-10-2012 06:13
VHF antenna optimum height bobalpep Marine Electronics 13 04-03-2009 09:38
Marine Accident Investigation Branch (UK Govt) David_Old_Jersey Health, Safety & Related Gear 3 05-02-2007 15:30

Advertise Here


All times are GMT -7. The time now is 14:58.


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.