Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 18-07-2015, 09:52   #31
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: OpenCPN: "Chart cache purge" in logs

Yes, of course, a software which kills the keyboard is a feature and not a bug. Wonder what comes next.
Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 20-07-2015, 06:47   #32
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: OpenCPN: "Chart cache purge" in logs

Quote:
Originally Posted by bdbcat View Post
To the point:
1. FWIW, to me, the underzoomed DC mode chart shown above is unacceptable if there is an alternative. I very much prefer the GL rendition of same.
This is a good reason why we should extend glshim to also wrap libGL so that we can choose hardware or software opengl acceleration. Then everyone can have the option to have the nicer image quality even with unusable graphics drivers.
Quote:
2. Not quite sure why one needs to fully rebuild the GL cache, for every chart in the book. Disk space is cheap, however, so no foul, I suppose.
Ideally we would do it your way and rebuild on the fly as needed, but the current implementation has a few issues:

1) It should leave one core free for opencpn itself when rebuilding the cache in the background (not possible with a single core), or make the threads somehow lower priority so they cannot slow the main program.
2) It should push the data as fast as possible into an uncompressed texture without any mipmaps just to get something on the screen (image quality may be as dc-mode for underzoomed) and when the cache is ready swap it out seamlessly for the compressed version. There are a bunch of details I am omitting which are needed to ensure it is really fast and doesn't use much video memory in all possible cases.

Without the above two features, the slowdown and lag on initial caching is great, and we will continue to hear reports of dc-mode being faster than opengl mode.
Quote:
5. Finally, I would like to see some instrumented tests of DC vs texture-cached GL mode on a modern, high performance Mac. It is certainly possible that the hardware on these machines is "unbalanced", so that the CPU and memory frame buffer channel is much, much faster than the attached graphics adapter configuration. Could certainly be true if Intel GPU is used.
Once the cache is fully built, it is not theoretically possible that gl mode is slower. If it is, then somewhere there is a bug (either in opencpn or the graphics drivers)

The only exception is maybe maybe with software opengl, it would decompress the compressed texture in software which could be slower. This case is very unlikely I don't know of any computers that would exhibit this because already the other improvements greatly outweigh the penalty to decompress the texture. I think only occurs with lots of ram but little cpu, so in this case it can just not use compressed textures to get at least the performance of dc-mode.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Reply

Tags
enc, logs, 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
Rebuild Texture Cache causes crash in OpenCPN 4.0 jim326 OpenCPN 12 04-04-2015 05:00
"recent price reduction""owner anxious""bring all offers" sailorboy1 Dollars & Cents 10 22-01-2009 12:25
Cruising Logs GordMay Sailor Logs & Cruising Plans 0 27-08-2006 04:30
Logs from Yacht Watermelon Bob Sailor Logs & Cruising Plans 0 07-09-2005 13:52



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:25.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.