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 21-03-2023, 05:37   #1
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Risc-V Debian OS

Risc-V board. Just did some test with the Starfive 2 Risc-V board.

Installed the Gnome version. Most of the applications work.

Installed the flatpak enviroment. This works. Tried to install the Flatpak OpenCPN version. No OpenCPN Risc-v version available.

Then installed the OpenCPN version from the repo of Debian.

O installed well without errors. But there was a problem with starting of O. From the terminal:

O. symbol lookup error:
/usr/lib/riscv-linux-gnu/libwebkit2gtk-4.0.so.37

undefined symbol: gst_codec_utils_caps_get_mime_codec


Bram
verkerkbr is offline   Reply With Quote
Old 21-03-2023, 16:15   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

Quote:
Originally Posted by verkerkbr View Post
Risc-V board. Just did some test with the Starfive 2 Risc-V board.

Installed the Gnome version. Most of the applications work.

Installed the flatpak enviroment. This works. Tried to install the Flatpak OpenCPN version. No OpenCPN Risc-v version available.

Then installed the OpenCPN version from the repo of Debian.

O installed well without errors. But there was a problem with starting of O. From the terminal:

O. symbol lookup error:
/usr/lib/riscv-linux-gnu/libwebkit2gtk-4.0.so.37

undefined symbol: gst_codec_utils_caps_get_mime_codec


Bram

Hier nog een schermafdruk van het RiscFive boardje.
Attached Thumbnails
Click image for larger version

Name:	risv.png
Views:	52
Size:	63.1 KB
ID:	273035  
verkerkbr is offline   Reply With Quote
Old 22-03-2023, 07:15   #3
Registered User

Join Date: Sep 2018
Location: North Central Florida
Boat: AFC 16 / Looking for keelboat
Posts: 14
Re: Risc-V Debian OS

Quote:
Originally Posted by verkerkbr View Post
undefined symbol: gst_codec_utils_caps_get_mime_codec
This symbol is from one of the gstreamer libraries, but I'm not sure which one.
Bill_B is offline   Reply With Quote
Old 27-03-2023, 01:19   #4
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

I have not solved the OpenCPN start problem. Most of the applications work on this new computer trend. The XYgrib app works without problems. Internet browser, Libre office etc all work in the Ubuntu version for Risc-V Starfive board. Not yet tried the NMVe HD .

Any idea what to try next to get OpenCPN running ? Installation of OpenCPN generates no error. It is only the start error.

Interesting to note that the ARM processor on other RPI boards becomes very hot and the Riscv processor stays rather cool.

Bram
verkerkbr is offline   Reply With Quote
Old 27-03-2023, 04:02   #5
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,183
Re: Risc-V Debian OS

Quote:
Originally Posted by verkerkbr View Post
Interesting to note that the ARM processor on other RPI boards becomes very hot and the Riscv processor stays rather cool.
I'm not arguing just inform about an observation:
On my RPi400 the CPU temp never exceeds 45 °C whatever I let it do. How they did it with this closely fitted CPU without a fan I don't know.
Hakan is offline   Reply With Quote
Old 27-03-2023, 04:13   #6
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

Quote:
Originally Posted by Hakan View Post
I'm not arguing just inform about an observation:
On my RPi400 the CPU temp never exceeds 45 °C whatever I let it do. How they did it with this closely fitted CPU without a fan I don't know.

Hi Hakan,

I did a simple finger-test with a CM4 board RPI4 with 16 GB EMMC on board. No SD.

In comparison with the Risc-V Starfive 2 board running from an SD.

NMVe slot on this board not yet fitted with an SSD.

Regards,

Bram
verkerkbr is offline   Reply With Quote
Old 27-03-2023, 04:33   #7
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,183
Re: Risc-V Debian OS

Bram..
Yes the RPi4 is really hot and need a fan when in a close case.
I was though referring to a RPi400. I huge difference.
Hakan is offline   Reply With Quote
Old 29-03-2023, 04:00   #8
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

O. symbol lookup error:
/usr/lib/riscv-linux-gnu/libwebkit2gtk-4.0.so.37

undefined symbol: gst_codec_utils_caps_get_mime_codec


Looked at /usr/lib/riscv-linux-gnu. This folder is not available.


Avalable is /usr/lib/riscv64-linux-gnu.
verkerkbr is offline   Reply With Quote
Old 29-03-2023, 05:49   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,221
Re: Risc-V Debian OS

Try
Code:
sudo ln -s /usr/lib/riscv64-linux-gnu /usr/lib/riscv-linux-gnu
to work it around
nohal is offline   Reply With Quote
Old 28-04-2023, 01:44   #10
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

Still no OpenCPN on my Riscv system. However the SignalK server can be installed and works well.

Is it of any use to do a compilation on the RiscV board to get a working version of OpenCPN?

The basic Debian OpenCPN version installs without errors but does not start.

Not yet found a solution.


Bram
verkerkbr is offline   Reply With Quote
Old 28-04-2023, 02:17   #11
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,221
Re: Risc-V Debian OS

If you want to pursue this, you need to start debugging where the problem actually is. At some point you will probably need to build from source, but before that:
Start opencpn from commandline, any interesting output?
Look into the logfile if any is created, any interesting info?
If the program actually crashes, run
Code:
gdb -ex=r opencpn
and look at the backtrace, any interesting info?
nohal is offline   Reply With Quote
Old 28-04-2023, 05:03   #12
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

Hi Nohal,


thanks for your reply. Took this action and the reply was the same as before. Searching on the internet gave the impression it has what to do with Gstreamer apps.


Removed most of the Gstreamer entries and now OpenCPN 5.6.2 starts !


The SignalK server was allready working on my RiscV Starfive 2 board.


Must do some further tries. And I have to switch off the OpenGL setting.


The RiscV is an interesting development.


Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 28-04-2023, 13:29   #13
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

Here screenprint of the Risc-V running with OpenCPN 5.6.2. Os is Debian SiID.


Risc-V will certainly a new standard for computing.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2023-04-28_19-58-16.png
Views:	35
Size:	257.9 KB
ID:	274740  
verkerkbr is offline   Reply With Quote
Old 30-04-2023, 02:23   #14
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,107
Re: Risc-V Debian OS

Any idea how to get the Oesenc plugin working ? Also version OpenCPN 5.8 is missing some dependensies. Although there is a version available from Debian.


Bram
verkerkbr 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
Failed to compile 3.0.2 on Debian Squeeze rahra OpenCPN 13 15-05-2014 11:14
OpenGL issue / Samsung N110 / Debian AlainT OpenCPN 4 20-02-2013 01:32
Opencpn Depedancies issues on Debian AlainT OpenCPN 6 22-01-2013 03:52
OpenCPN Build on Debian antonm OpenCPN 176 21-08-2012 08:40
Some More Copyright Things (based on Debian Inclusion Reject) antonm OpenCPN 15 10-06-2012 21:52

Advertise Here


All times are GMT -7. The time now is 22:02.


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.