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 27-11-2024, 13:40   #1
Registered User

Join Date: Apr 2012
Posts: 85
OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

So after switching to X11 instead of Wayland I notice that OpenCPN takes about 60 seconds to load. It is about 4-5 seconds when using Wayland. This is on a fresh install of Bookworm. No charts installed, just a fresh setup.
This only happens after a reboot. If I close OpenCPN and restart it is very quick.
Any ideas?
jimseng is offline   Reply With Quote
Old 27-11-2024, 14:12   #2
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 565
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

Just tried a reboot, after openplotter does it's boot & systems check thing & signalk starts opencpn took about 6 seconds. Pi4.

Openplotter just works
barcoMeCasa is offline   Reply With Quote
Old 27-11-2024, 15:05   #3
Registered User

Join Date: Apr 2012
Posts: 85
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

Which version of OpenCPN is it on Openplotter?
jimseng is offline   Reply With Quote
Old 27-11-2024, 15:30   #4
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 565
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

Quote:
Originally Posted by jimseng View Post
Which version of OpenCPN is it on Openplotter?
OpenCPN 1:5.10.2+dfsg-1ubuntu1~bpo22.04+1

These are the options, I go for Ubuntu PPA

barcoMeCasa is offline   Reply With Quote
Old 28-11-2024, 00:36   #5
Registered User

Join Date: Apr 2012
Posts: 85
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

Hmmmn.
Downgrading the flatpak version to 5.8.4-2 and everything is fine.
jimseng is offline   Reply With Quote
Old 28-11-2024, 01:29   #6
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 565
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

This help? Out of openplotter.

pi@openplotter:~ $ cat /etc/apt/sources.list.d/opencpn-ppa.list
deb https://ppa.launchpadcontent.net/opencpn/opencpn/ubuntu jammy main
barcoMeCasa is offline   Reply With Quote
Old 06-12-2024, 15:21   #7
Registered User

Join Date: Apr 2012
Posts: 85
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

So I have resolved this issue, in case it helps someone else.
I spotted this in journalctl:
xdg-desktop-portal-wlr.service - Portal service (wlroots implementation) was skipped because of an unmet condition check (ConditionEnvironment=WAYLAND_DISPLAY)

And a quick search and this has stopped the timeout when under X11:
systemctl --user mask xdg-desktop-portal-wlr

About 4 seconds to load now.
jimseng is offline   Reply With Quote
Old 06-12-2024, 16:23   #8
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 565
Re: OpenCPN take 1 minute to load after reboot running X11 instead of Wayland

Quote:
Originally Posted by jimseng View Post
So I have resolved this issue, in case it helps someone else.
I spotted this in journalctl:
xdg-desktop-portal-wlr.service - Portal service (wlroots implementation) was skipped because of an unmet condition check (ConditionEnvironment=WAYLAND_DISPLAY)

And a quick search and this has stopped the timeout when under X11:
systemctl --user mask xdg-desktop-portal-wlr

About 4 seconds to load now.
Good hunting!

And good to take a moment to share
barcoMeCasa is offline   Reply With Quote
Reply

Tags
enc, loa, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Window size changes after a reboot on Pi 5 jimseng OpenCPN 0 30-01-2024 23:01
OpenCPN and Wayland mgrouch OpenCPN 2 13-04-2022 09:28
OpenCPN under Wayland on Raspberry pi 4 mgrouch OpenCPN 3 20-09-2020 13:45
POC: OpenCPN under Wayland (w.EGLX) Tarnyko OpenCPN 3 11-01-2015 03:26

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.