03 4.2.x Stable

This is the Bug Report tracker for the latest OpenCPN - v4.2.x Stable.

PLEASE add Feature Requests to the 'OpenCPN - Feature Requests' project - thanks.

FS#2141 - OpenGL breaks when alternate chart directory is used

Attached to Project: 03 4.2.x Stable
Opened by Rick Sonntag (TakeFive) - Sunday, 21 August 2016, 23:31 GMT
Last edited by Dave (bdbcat) - Friday, 13 January 2017, 18:18 GMT
Task Type Bug Report
Category Backend / Core
Status Solution Pending
Assigned To No-one
Operating System Windows
Severity High
Priority Normal
Reported Version 1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


For details, see description and Dave Register's response here:



I have tested and can reproduce the problem. O4 works fine, and O42 does not. So this is a definite regression.

It will take some time to determine the root cause and post a correction. I'm a bit backed up at the moment.

Meanwhile, there is a workaround which worked for me. Simply edit the config file and change the ChartDir path(s) in there into a full, absolute path. Start O, Rebuild the database, and restart O. For me, this allows GL to work as normal.

Of course, in your world, it may not be so simple. You may need relative paths to accommodate relocated disk images. If so, this workaround might not help you as much.

Despite the workaround, this is a real bug. So please, if you have time, capture this in Flyspray so that it won't be lost. We do need to figure out the OpenGL dependency as the root cause.

Thanks, and let me know how you get on with the workaround.
Dave "
This task depends upon