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 19-05-2017, 12:55   #1
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Hi,

My Dell XPS has a HIDPI screen (3200x1800, 294mm x 165mm). I'm under Ubuntu 17.04, latest OpenCPN / oesenc plugin from git compiled locally, and using the French Atlantic OSSENC charts.

OpenCPN wrongly detect my physical screen size as 846mm. However, the chart display is correct, albeit a little cluttered (which I suppose it's normal, it wouldn't be cluttered on a real 846 mm screen).

If I put my real screen width, 294 mm, in the preferences / display / advanced dialog, most of the objects scale correctly, except for the positive soundings (I think this is the only issue, but maybe I missed something else too).

As you can see from the attached screenshot, the line below the soundings seems both scaled incorrectly and at the wrong coordinates.

Any idea ?

stelian is offline   Reply With Quote
Old 20-05-2017, 06:07   #2
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 511
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

I can confirm the misplacement of the underscore for drying depths.
My suggestion would be, leave the width setting (wrongly) on automatic,
Play a little with the setting Options->Display->Advanced->"Chart zoom/scale weighing" for vector charts, and use the shortcut keys to reduce clutter. Where:
"S" hide soundings,
"L" hide lights
"A" hide botom and cable info
"T" hide Text
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 20-05-2017, 08:45   #3
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Quote:
Originally Posted by rooiedirk View Post
My suggestion would be, leave the width setting (wrongly) on automatic,
Play a little with the setting Options->Display->Advanced->"Chart zoom/scale weighing" for vector charts, and use the shortcut keys to reduce clutter.
Your suggestion is good, but fixing the bug would be better...
stelian is offline   Reply With Quote
Old 20-05-2017, 09:41   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Can please place an entry in the bug tracker? In order to have the bug controlled...

Hubert
bcn is online now   Reply With Quote
Old 20-05-2017, 09:55   #5
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Quote:
Originally Posted by stelian View Post
Hi,

My Dell XPS has a HIDPI screen (3200x1800, 294mm x 165mm). I'm under Ubuntu 17.04, latest OpenCPN / oesenc plugin from git compiled locally, and using the French Atlantic OSSENC charts.
That's the same zone (source material in S-57 version) on our XPS 13 HiDPI under Windows 8.1
What happens with OpenGL off?

And btw.: are you happy with Ubuntu 1704 for this particular machine?
Support for the docking adapters?

Hubert
Attached Thumbnails
Click image for larger version

Name:	2017-05-20 18_47_51-OpenCPN 4.6.1.png
Views:	124
Size:	111.5 KB
ID:	148090  
bcn is online now   Reply With Quote
Old 20-05-2017, 11:02   #6
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Quote:
Originally Posted by bcn View Post
Can please place an entry in the bug tracker? In order to have the bug controlled...

Hubert
Done: FS#2230 - Wrong scaling of OESENC drying depths on Linux w/ HIDPI screen
stelian is offline   Reply With Quote
Old 20-05-2017, 11:10   #7
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Quote:
Originally Posted by bcn View Post
That's the same zone (source material in S-57 version) on our XPS 13 HiDPI under Windows 8.1
So the bug is present under Windows too.

Quote:
Originally Posted by bcn View Post
What happens with OpenGL off?
Still present with OpenGL off.

Quote:
Originally Posted by bcn View Post
And btw.: are you happy with Ubuntu 1704 for this particular machine?
This is an XPS 13 9360, and I'm quite satisfied with the hardware. As for the software, I had previously the 1610 version, and it worked flawlessly ! No issue at all with anything. Since the upgrade, I have intermittent problems with suspend, wifi, usb, sound... I expect all those to slowly fix themselves with later upgrades, but right now it's not the best Ubuntu version I had (and I had plenty...)

Quote:
Originally Posted by bcn View Post
Support for the docking adapters?
Sorry, but I don't have any.
stelian is offline   Reply With Quote
Old 20-05-2017, 12:12   #8
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

bcn/stelian...

Neither picture is very nice. I'll add the bug to my list.

Thanks for the catch
Dave
bdbcat is online now   Reply With Quote
Old 09-06-2017, 01:56   #9
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Quote:
Originally Posted by bdbcat View Post
bcn/stelian...

Neither picture is very nice. I'll add the bug to my list.

Thanks for the catch
Dave
FYI, I probably found the cause and proposed a patch in FS: https://opencpn.org/flyspray/index.p...s&task_id=2230

Stelian.
stelian is offline   Reply With Quote
Old 09-06-2017, 10:48   #10
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Stelian,

there have been a problem with drying heights in all versions of S-57 based vector charts - not just for hiRes screens. This is getting addressed by new plug-ins for oeSENC and S-63 and the next version of OpenCPN.

Tested already and will get released soon.

Thank you for your efforts as well!

Hubert
bcn is online now   Reply With Quote
Old 09-06-2017, 12:13   #11
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

This is great news !

Too bad I didn't knew the problem was already fixed, this could have saved me a few hours of debugging time... Well, at least I learned a few things about vector charts objects

Stelian.
stelian is offline   Reply With Quote
Old 09-06-2017, 20:57   #12
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

stellian...

Yes, you did. And the more people know about the internals of OCPN, the happier I am.

The has been a lot of work behind the scenes, and un-committed to github, that tries to improve graphics pixel density independence of all aspects of OCPN. We see more and more high density displays, so the old-fashioned (XP generation) practice of using "pixels" as measurement units is becoming less and less relevant. We are trying to knock them down one-by-one, getting better at each release.

Thanks
Dave
bdbcat is online now   Reply With Quote
Old 10-06-2017, 03:57   #13
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen

Thank YOU !

Stelian.
stelian is offline   Reply With Quote
Reply

Tags
cal, enc, linux, screen


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
Up-to-date vector charts for OpenCPN - oeSENC bcn OpenCPN 133 11-09-2023 09:32
oeSENC vector charts for OCPN - new plug-in version 1.2 bcn OpenCPN 12 18-06-2017 10:53
To screen or not to screen? nknowland Construction, Maintenance & Refit 16 26-06-2015 19:39
Scaling / Drawing Charts Netsurfer OpenCPN 1 05-02-2010 11:03
Scaling w/ Various Intake Hoses thinwater Plumbing Systems and Fixtures 3 22-05-2009 08:11

Advertise Here


All times are GMT -7. The time now is 13:52.


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.