Chromebook options

360 views
Skip to first unread message

Wouter Storms

unread,
Nov 29, 2024, 7:50:01 AM11/29/24
to Subsurface Divelog
Hi all, 
not sure this is the right place, just joined the group. I really enjoy using the dive plan function, it is one of the better ones out there! I would love to be able to run it on my ARM based Chromebook, but it only seems to work on x86 based CPUs. So my question is if there is any option to run the planner on an arm based cpu? Alternatively, are there any plans to bring the planning functionality to the Android app? 
Again, not sure if this is the right place to ask, but thanks for any help and suggestions!

Dirk Hohndel

unread,
Nov 29, 2024, 12:51:48 PM11/29/24
to Subsurface Divelog
Chromebooks are... weird. They aren't Android. They aren't Linux. They are basically the best way to ensure that everything you ever do or say is owned by Google.

That editorial comment aside, no, I don't think that there's a way to run Subsurface on a Chromebook.
You can run Subsurface on macOS or Linux running on top of an ARM CPU, no problem. But I guess that isn't what you asked for.

/D

Wouter Storms

unread,
Nov 29, 2024, 12:57:08 PM11/29/24
to Subsurface Divelog
Thanks, that actually does help a little bit; Chromebooks (at least mine) do have a build-in Linux environment (vm). Although I am not that familiar with Linux, it is encouraging to read it could run on an ARM CPU. I could only find x86 based builds, but that might have to do with my lack of knowledge.... So I will try to read up on Linux a bit and see if I can get Subsurface to work, fingers crossed. Thanks again for the pointer! 

Michael Keller

unread,
Nov 29, 2024, 3:45:43 PM11/29/24
to subsurfac...@googlegroups.com
Hi Wouter.


On 30/11/24 06:57, Wouter Storms wrote:
> Thanks, that actually does help a little bit; Chromebooks (at least
> mine) do have a build-in Linux environment (vm). Although I am not
> that familiar with Linux, it is encouraging to read it could run on an
> ARM CPU. I could only find x86 based builds, but that might have to do
> with my lack of knowledge.... So I will try to read up on Linux a bit
> and see if I can get Subsurface to work, fingers crossed. Thanks again
> for the pointer!


The problem with this is that the ChromeOS operating system that is
pre-installed on Chromebooks, while based on linux, does not allow the
installation and running of linux executables. It essentially uses linux
as a vehicle to run a browser (Chrome), and only allows running of
browser applications. And there is no way to get Subsurface to be
runnable as a browser application.

For some Chromebook models, users have figured out how the pre-installed
ChromeOS can be replaced with a 'vanilla' linux distribution. If you did
this, then it will probably be possible to build and run Subsurface on
it. But at the same time the device then turns from a Chromebook into a
'laptop running linux' with no access to the Chromebook ecosystem - not
sure if this is what you want, as you bought a Chromebook in the first
place. And it also has to be said that in a lot of cases the hardware
used for Chromebooks is very minimal, and the user experience when using
it to run linux will not be great for this reason - it might be better
to purchase a small laptop that can run linux if you want to go down
that route.

As for making the Subsurface dive planner work on android, I'd still be
keen to give this a go, I think there is a lack of good open source dive
planners on mobile devices.


Ngā mihi

  Michael Keller

Wouter Storms

unread,
Nov 29, 2024, 4:47:26 PM11/29/24
to Subsurface Divelog
Hi Michael, 
Not sure if I understand you correctly; are you saying the linux VM isn't actually a linux VM? 

I did find this: https://support.google.com/chromebook/answer/9145439?hl=en
It implies the VM is a Debian machine, so I did try to install some stuff via apt. It seems to work for really common stuff, but Subsurface wasn't in the preloaded repos yet. 
Following the manual here: https://subsurface-divelog.org/current-release/?lang=en didn't work straight out of the box. I had to do some extra steps:

Install software-common-properties https://github.com/saltstack/salt/issues/5827

Now if I run sudo add-apt-repository ppa:subsurface/subsurface-daily the repo seems to add, but gives a "does not have a release file" error. 
https://askubuntu.com/questions/866901/what-can-i-do-if-a-repository-ppa-does-not-have-a-release-file implies this means there is no package for my release, which seems to make sense as it is not Ubuntu but some obscure distribution.

I managed to piece this together by Google and copy paste from the links above and it seems like some progress, but rebuilding a package from scratch is above my current understanding, will dive into that later.

Meanwhile I did manage to find a workaround by setting up a remote session to my desktop, but obviously that requires my desktop to be powered on so it's not ideal.
I fully agree there aren't enough Android planners, let alone planners that are capable to do more serious trimix dives. I'll keep my fingers crossed :-)

Thanks for your help, much appreciated!
  

Jason Bramwell

unread,
Nov 29, 2024, 5:18:40 PM11/29/24
to subsurfac...@googlegroups.com, Subsurface Divelog
I’ve been using Subsurface on a Chromebook using the built-in Linux command-line for a couple of years, my Chromebooks that I have access to are all x86 though rather than ARM. I use the AppImage

Jason

Sent from my iPhone

On 29 Nov 2024, at 21:47, Wouter Storms <wouter...@gmail.com> wrote:

Hi Michael, 
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/subsurface-divelog/d86437ab-e4ce-4d77-bb31-9edf25004522n%40googlegroups.com.

Michael Keller

unread,
Nov 29, 2024, 5:49:52 PM11/29/24
to subsurfac...@googlegroups.com
Hi Wouter.


On 30/11/24 10:47, Wouter Storms wrote:
> Hi Michael,
> Not sure if I understand you correctly; are you saying the linux VM
> isn't actually a linux VM?


Chromebooks are definitely running a variant of linux as their OS.

As it turns out I was wrong, and Google now allows access to the
underlying linux in their ChromeOS distribution - this was not the case
in the original ChromeOS from way back when I was maintaining a Chrome
Web App targeting ChromeOS.

But since linux/ARM is a relatively niche configuration, with not many
users using it, and not many developers being able to test it, there are
no pre-built Subsurface binaries available for it - you will have to
compile your own.

You can find instructions for this on
https://github.com/subsurface/subsurface/blob/master/INSTALL.mdNgā


Ngā mihi

  Michael Keller

Dirk Hohndel

unread,
Nov 29, 2024, 5:58:41 PM11/29/24
to Subsurface Divelog
On Nov 29, 2024, at 14:49, Michael Keller  wrote:

Hi Wouter.

But since linux/ARM is a relatively niche configuration, with not many users using it, and not many developers being able to test it, there are no pre-built Subsurface binaries available for it - you will have to compile your own.


I wonder if you could try following the instructions here: https://dfx.at/subsurface-debian/

Richard has prebuilt arm binaries as well - so depending on exactly how your debian VM is set up, that might be the easiest way to go.

I don't have access to an Arm Chromebook or I'd try myself - unfortunately the old Chromebooks we bought for my kids when they were in middle school are all x86...

/D


Gmail im Auftrag von Martin Gröger

unread,
Nov 29, 2024, 11:44:16 PM11/29/24
to subsurfac...@googlegroups.com

hm....
that gives me some crazy thoughts...
so it could be possible to run subsurface on a raspberry pi - nice idea. the pi's are cheap, bluetooth and WLAN on board, could be run mobile. maybe I give that a try in the future....

keep on howling

grey


--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

Dirk Hohndel

unread,
Nov 30, 2024, 12:11:27 AM11/30/24
to subsurfac...@googlegroups.com
We have a headless version with a simple web user interface designed for running on the pi as well

But yeah, you can run regular Subsurface of you being a monitor 😁

/D

Claude Hähni

unread,
Nov 30, 2024, 9:48:29 AM11/30/24
to Subsurface Divelog

Is this web UI available somewhere? I'd be interested in this.

Best,
Claude 

Robert Helling

unread,
Nov 30, 2024, 11:48:27 AM11/30/24
to subsurfac...@googlegroups.com
Hi,


On 30. Nov 2024, at 06:11, 'Dirk Hohndel' via Subsurface Divelog <subsurfac...@googlegroups.com> wrote:

We have a headless version with a simple web user interface designed for running on the pi as well

But yeah, you can run regular Subsurface of you being a monitor 😁

you can build and run the normal Subsurface on a RaspberryPi without problems. It works well but of course is a bit slow.

Best
Robert
signature.asc

Jean-Baptiste Martin

unread,
Dec 6, 2024, 5:32:23 AM12/6/24
to Subsurface Divelog
Dear all,

I'm the owner of a Lenovo Chromebook Duet.

I'm absolutely not an expert on Linux.

I tried DFX.AT tutorial. Everything worked until step 3. At Step 4, Terminal tells me : Unable to locate package subsurface.

Can somebody help me ?

Jean-Baptiste.

Dirk Hohndel

unread,
Dec 6, 2024, 11:09:47 AM12/6/24
to Subsurface Divelog
What that means is that whatever version of Debian is running there - the combination of platform and OS level isn't one that dfx.at builds binaries for.

/D

Richard Fuchs

unread,
Dec 6, 2024, 11:17:59 AM12/6/24
to subsurfac...@googlegroups.com
On 06/12/2024 06.32, Jean-Baptiste Martin wrote:
> Dear all,
>
> I'm the owner of a Lenovo Chromebook Duet.
>
> I'm absolutely not an expert on Linux.
>
> I tried DFX.AT tutorial. Everything worked until step 3. At Step 4,
> Terminal tells me : Unable to locate package subsurface.
>
> Can somebody help me ?

Can you post the output of `uname -m` as well as the contents of
`/etc/apt/sources.list.d/dfx.at-subsurface.list` and also the output of
`apt update` please (all within your Debian container).

Thanks

Jean-Baptiste Martin

unread,
Dec 6, 2024, 11:54:48 AM12/6/24
to Subsurface Divelog
Hello Richard.

Heure my findings :

uname -m`
xxx@penguin:~$ uname -m
aarch64

contents of /etc/apt/sources.list.d/dfx.at-subsurface.list

deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian stable main

output of `apt update` 
xxx@penguin:/$ apt update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Dirk Hohndel

unread,
Dec 6, 2024, 12:31:53 PM12/6/24
to subsurfac...@googlegroups.com
Well that is easy to address: You need to run 'apt update' as root, i.e. 

sudo apt update

and the same for the next step:

sudo apt install subsurface

(this may still fail, but we need the output of the versions with the 'sudo' command in order to try and understand what's going wrong.)

/D

Richard Fuchs

unread,
Dec 6, 2024, 12:32:25 PM12/6/24
to subsurfac...@googlegroups.com
On 06/12/2024 12.54, Jean-Baptiste Martin wrote:
> output of `apt update`
> xxx@penguin:/$ apt update
> Reading package lists... Done
> E: Could not open lock file /var/lib/apt/lists/lock - open (13:
> Permission denied)
> E: Unable to lock directory /var/lib/apt/lists/
> W: Problem unlinking the file /var/cache/apt/pkgcache.bin -
> RemoveCaches (13: Permission denied)
> W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin -
> RemoveCaches (13: Permission denied)
>
Sorry, that should have been `sudo apt update`

Also check the contents of `/etc/debian_version` while you're at it.

Cheers

Jean-Baptiste Martin

unread,
Dec 6, 2024, 1:47:01 PM12/6/24
to Subsurface Divelog
Thanks Dirk. It works !!!

I am able to use subsurface desktops on n'y Chromebook !!!!

Was using Mobile version before !!! This is much more comfortable.

Jean-Baptiste Martin

unread,
Dec 6, 2024, 2:11:35 PM12/6/24
to Subsurface Divelog
Another question ! As said, i'm not à Linux expert.

How Can I update Subsurface ?

Installed version IS quite old !!!
Screenshot 2024-12-06 20.09.02.png

Dirk Hohndel

unread,
Dec 6, 2024, 3:37:43 PM12/6/24
to subsurfac...@googlegroups.com
Which version do you have installed?

/D

Jean-Baptiste Martin

unread,
Dec 6, 2024, 3:47:25 PM12/6/24
to Subsurface Divelog
Version 5.0.10 is installed.

Dirk Hohndel

unread,
Dec 6, 2024, 4:57:20 PM12/6/24
to subsurfac...@googlegroups.com, d...@dfx.at
Richard,

Can you check why he's getting that old version and not the latest one from the "current" branch?

Thanks

/D

Richard Fuchs

unread,
Dec 7, 2024, 2:18:23 PM12/7/24
to subsurfac...@googlegroups.com
On 06/12/2024 15.11, Jean-Baptiste Martin wrote:
> Another question ! As said, i'm not à Linux expert.
>
> How Can I update Subsurface ?
>
> Installed version IS quite old !!!

You should install `subsurface-beta` instead of just `subsurface`.

The `subsurface` package is the last tagged release which is indeed
quite old (several years). The `beta` package is always the latest code
from upstream. (There are CI version numbers on
https://subsurface-divelog.org/current-release/ but I'm not able to
replicate these in my own builds in an automated way, so the latest code
as `beta` is the best you can get.)

And then afterwards to update any time: `sudo update` followed by `sudo
upgrade`

Cheers

Dirk Hohndel

unread,
Dec 7, 2024, 2:27:13 PM12/7/24
to Subsurface Divelog
Richard,

I don't recall if we talked about this before... but it might be useful to take "tip of the 'current' branch" and use that to update the 'subsurface' binaries.
'master' corresponds with our 'latest' releases
'current' corresponds with our, umm, 'current' release, is what we now consider out actual stable releases.

Not sure if you can mimic that with your tooling...

/D

Richard Fuchs

unread,
Dec 7, 2024, 3:04:08 PM12/7/24
to subsurfac...@googlegroups.com
On 07/12/2024 15.26, 'Dirk Hohndel' via Subsurface Divelog wrote:
> Richard,
>
> I don't recall if we talked about this before... but it might be useful to take "tip of the 'current' branch" and use that to update the 'subsurface' binaries.
> 'master' corresponds with our 'latest' releases
> 'current' corresponds with our, umm, 'current' release, is what we now consider out actual stable releases.
>
> Not sure if you can mimic that with your tooling...

That is indeed new information to me. I can definitely take that into
account for my build system and use it to create new "stable" packages.
It still won't have matching version numbers from your CI builds, but
it's better than nothing. I'll try to update it in the coming days.

Cheers

Dirk Hohndel

unread,
Dec 7, 2024, 3:46:19 PM12/7/24
to subsurfac...@googlegroups.com
Would you like an API that gives you the build number for a specific SHA or something like that?

/D

Dirk Hohndel

unread,
Dec 7, 2024, 6:01:20 PM12/7/24
to Subsurface Divelog
So it turns out that the old headless downloader web UI had gotten broken at some point and it really wasn't a great experience at the best of times (no offense to the author of that code 😇)

As it happens, another open source project I've maintained for the last couple of years is all about creating headless images for doing fun stuff with Raspberry Pis (and some other SBCs) [https://adsb.im/home - in case you are curious], so I took the code from that project, gutted huge chunks of it (we aren't tracking planes here, we don't need to talk to software defined radios, etc), and created a fairly (ok, VERY) rough first draft of what a slightly more modern interpretation of a headless downloader could look like...


All this is of course open source https://github.com/subsurface/ssrf-downloader-image and comments, suggestions, and contributions are always welcome.

This is written in Python / Flask / mdb-bootstrap and as I mentioned very much derived from the code of the ADS-B Feeder Image. I'm sure some extraneous remnants from that old purpose are still showing up all over the place in the code. And of course this is far from "ready for prime time". Right now it's mostly a funny little experiment to see what would be possible.

It can do what's demoed in the video. You can connect it to your cloud storage account. You can connect it to a wired dive computer (I've tested this with a couple of FTDI based ones, with a Mares Icon HD, and a Suunto Eon Steel). You can download new dives from the dive computer. Those dives are then automatically pushed back to your cloud account. So in theory this is already somewhat (?) useful.

There is obviously a HUGE list of things that it could do and cannot do, yet. Because, frankly, I don't know how many people would really care about it and use it. My guess it the user base would be miniscule. So... if this is something that you'd use, please let me know and especially let me know what exactly you'd do with it.

/D

PS: yes, the temptation to build a Python/JS UI that could replace the mobile app is huge... but that still doesn't solve the problem how "normal" people would run this on their phone...


-- 
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

Richard Fuchs

unread,
Dec 8, 2024, 1:28:10 PM12/8/24
to subsurfac...@googlegroups.com
On 07/12/2024 16.46, 'Dirk Hohndel' via Subsurface Divelog wrote:
> Would you like an API that gives you the build number for a specific SHA or something like that?

I mean, I don't think it's crucial for build numbers to match, and I
don't have a problem tracking my own numbering, but if I had that
information available somewhere, then I would certainly use it. 😁 An
API would work, or perhaps something that it embedded directly into git
(in the chaneglog, or as a tag, or w/e). But don't bother if it's too
much of a hassle.

Cheers

Jean-Baptiste Martin

unread,
Dec 9, 2024, 2:46:23 AM12/9/24
to Subsurface Divelog

Hello Richard,

Thank you, that makes the trick ! My version seems to be more recent (I can see the latest dive computers in the import tool). However, I can't see which version is currently installed.

That's not an issue for me.

If needed, my Chromebook is available for testing.

Thanks a lot to the team.


Wouter Storms

unread,
Dec 9, 2024, 5:49:17 AM12/9/24
to Subsurface Divelog
Hi Dirk,

sorry it took me a while to get back to you, but thanks a lot, this did the trick! 
Got version 5.0.10 running on my ARM based Chromebook based on 'Stable. 
Thanks for the help!

Best,
Wouter

Dirk Hohndel

unread,
Dec 9, 2024, 7:41:53 AM12/9/24
to Subsurface Divelog
Wouter,

As indicated by others on this thread - 5.0.10 is really old. Richard (the maintainer of these specific builds) mentioned that he'd make changes to get this updated to a current version. Given that all of the work on Subsurface is done by volunteers this could take a few days, but you should be getting 6.0.5298 pretty soon. A simple

sudo apt update && sudo apt upgrade -y

will make sure that your VM stays updated.

/D

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

Wouter Storms

unread,
Dec 9, 2024, 8:32:04 AM12/9/24
to subsurfac...@googlegroups.com
Hi Dirk, Richard,

Looking forward to it, much appreciated!

W

Op ma 9 dec 2024 om 13:41 schreef 'Dirk Hohndel' via Subsurface Divelog <subsurfac...@googlegroups.com>:

Jean-Baptiste Martin

unread,
Dec 9, 2024, 11:32:15 AM12/9/24
to Subsurface Divelog
Thanks Richard and Dirk !!! 

If i want to go back from Beta to "Normal", what command i  need to do ? sudo apt install subsurface ? Or i need to remove Beta ?


Richard Fuchs

unread,
Dec 9, 2024, 12:07:49 PM12/9/24
to subsurfac...@googlegroups.com
On 09/12/2024 12.32, Jean-Baptiste Martin wrote:
> Thanks Richard and Dirk !!!
>
> If i want to go back from Beta to "Normal", what command i need to do
> ? sudo apt install subsurface ? Or i need to remove Beta ?

Normally it should be enough to just `sudo apt install subsurface` as
the two packages are marked as conflicting to each other. I'm still
working out the kinks in the packaging, so if there's a problem you can
always `sudo apt remove subsurface-beta` first. Your user data won't be
affected.

Cheers

Dirk Hohndel

unread,
Dec 9, 2024, 9:49:44 PM12/9/24
to subsurfac...@googlegroups.com
Since it was really easy to do:

{"sha": "e0d1a54aefc46a70621b2228d1dd11a24882139d", "success": true}
{"build_nr": "5298", "success": true}


                                  
/D

Michael Keller

unread,
Dec 9, 2024, 10:56:41 PM12/9/24
to Subsurface Divelog
Or, if you have subsurface checked out locally you could also use

➜  subsurface git:(master) scripts/get-changeset-id.sh 5298
e0d1a54aefc46a70621b2228d1dd11a24882139d%

😛

Cheers
  Michael Keller

Richard Fuchs

unread,
Dec 11, 2024, 7:29:41 AM12/11/24
to subsurfac...@googlegroups.com
On 09/12/2024 22.49, 'Dirk Hohndel' via Subsurface Divelog wrote:
Since it was really easy to do:

{"sha": "e0d1a54aefc46a70621b2228d1dd11a24882139d", "success": true}
{"build_nr": "5298", "success": true}

Thanks, although I'm getting an error 500 from this 😆

But thanks to mikeller's hint about where the changeset IDs are stored I was able to figure out a way to extract it from the nightly-builds repo. So it's all good.

So my "stable" builds should now all be updated, including the ARM versions.

Now to figure out how to make subsurface's built-in update check happy...

Cheers

Wouter Storms

unread,
Dec 11, 2024, 7:36:34 AM12/11/24
to subsurfac...@googlegroups.com
Hi Richard,

Thanks, I can confirm the ARM build is now on v6.0.0! 
Awesomeness :-)

Best,
Wouter

Op wo 11 dec 2024 om 13:29 schreef Richard Fuchs <d...@dfx.at>:
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

Dirk Hohndel

unread,
Dec 11, 2024, 10:59:57 AM12/11/24
to Subsurface Divelog

On Dec 11, 2024, at 04:29, Richard Fuchs wrote:

On 09/12/2024 22.49, 'Dirk Hohndel' via Subsurface Divelog wrote:
Since it was really easy to do:

{"sha": "e0d1a54aefc46a70621b2228d1dd11a24882139d", "success": true}
{"build_nr": "5298", "success": true}

Thanks, although I'm getting an error 500 from this 😆


Stupid me. Fixed.

But thanks to mikeller's hint about where the changeset IDs are stored I was able to figure out a way to extract it from the nightly-builds repo. So it's all good.

So my "stable" builds should now all be updated, including the ARM versions.

Now to figure out how to make subsurface's built-in update check happy...


well. what version does the app think it is?

/D

Richard Fuchs

unread,
Dec 11, 2024, 11:15:04 AM12/11/24
to subsurfac...@googlegroups.com
On 11/12/2024 11.59, 'Dirk Hohndel' via Subsurface Divelog wrote:
> well. what version does the app think it is?
rainbow:~$ subsurface --version
Subsurface v,
built with libdivecomputer v0.9.0-devel-Subsurface-NG ()
built with Qt Version 5.15.15, runtime from Qt Version 5.15.15
built with libgit2 1.8.4

😆

I assume that it's `CANONICALVERSION` that should be set during the
build. And now I also see that there's an included
`scripts/get-version.sh` which actually does all the heavy lifting to
print the version number that should go into the package. Doh. More
builds coming up...

Cheers

Dirk Hohndel

unread,
Dec 11, 2024, 11:56:00 AM12/11/24
to subsurfac...@googlegroups.com
Yeah, the GitHub actions for copr and launchpad should hold all the magic you need...

/D

Jean-Baptiste Martin

unread,
Apr 5, 2025, 3:43:24 PM4/5/25
to Subsurface Divelog
Dear,

I change my chromebook for a newer version.

I tried to reinstall subsurface but i failed.

It seems my machine is not able to find installer :


jbmartinphoto@penguin:~$ sudo apt install subsurface
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package subsurface


Did i miss something ?

Michael Keller

unread,
Apr 5, 2025, 6:12:59 PM4/5/25
to subsurfac...@googlegroups.com
Hi Jean-Baptiste.


On 6/04/25 07:43, Jean-Baptiste Martin wrote:
> Dear,
>
> I change my chromebook for a newer version.
>
> I tried to reinstall subsurface but i failed.
>
> It seems my machine is not able to find installer :
>
>
> jbmartinphoto@penguin:~$ sudo apt install subsurface
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> E: Unable to locate package subsurface


What does `apt-cache policy` on the machine tell you?


Ngā mihi

  Michael Keller

Jean-Baptiste Martin

unread,
Apr 6, 2025, 4:33:58 AM4/6/25
to Subsurface Divelog
Hello Michael,

Thanks for helpinh.

It start when i wanted to add PPA :

jbmartinphoto@penguin:~$ sudo add-apt-repository ppa:subsurface/subsurface-daily
sudo: add-apt-repository: command not found

jbmartinphoto@penguin:~$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://deb.debian.org/debian-security bookworm-security/main arm64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=arm64
     origin deb.debian.org
 500 https://deb.debian.org/debian bookworm-updates/main arm64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=arm64
     origin deb.debian.org
 500 https://deb.debian.org/debian bookworm/main arm64 Packages
     release v=12.8,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=arm64
     origin deb.debian.org
Pinned packages:

Richard Fuchs

unread,
Apr 6, 2025, 8:13:12 AM4/6/25
to subsurfac...@googlegroups.com
PPA is for Ubuntu. You're on Debian bookworm. Follow the instructions here: https://dfx.at/subsurface-debian/

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
Message has been deleted

Jean-Baptiste Martin

unread,
Apr 6, 2025, 2:53:10 PM4/6/25
to Subsurface Divelog
Hello Richard.

Thank you.

I tried Oldstable Repo, and this is what i got :

jbmartinphoto@penguin:~$ echo 'deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian oldstable main' | sudo tee /etc/apt/sources.list.d/dfx.at-subsurface.list
deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian oldstable main

jbmartinphoto@penguin:~$ sudo apt update
Ign:1 https://storage.googleapis.com/cros-packages/134 bookworm InRelease
Hit:2 https://storage.googleapis.com/cros-packages/134 bookworm Release
Hit:3 https://deb.debian.org/debian bookworm InRelease                
Hit:4 https://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 https://dfx.at/subsurface-debian oldstable InRelease

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
52 packages can be upgraded. Run 'apt list --upgradable' to see them.

jbmartinphoto@penguin:~$ sudo apt install subsurface
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 subsurface : Depends: libgit2-1.1 (>= 1.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Still not working.

Did i do something wrong ?

Michael Keller

unread,
Apr 6, 2025, 3:16:09 PM4/6/25
to subsurfac...@googlegroups.com
Hi Jean-Baptiste.


On 7/04/25 06:53, Jean-Baptiste Martin wrote:
> Hello Richard.
>
> Thank you.
>
> I tried Oldstable Repo, and this is what i got :


'Bookworm' is what you need.


Ngā mihi

  Michael Keller

Jean-Baptiste Martin

unread,
Apr 7, 2025, 5:49:33 AM4/7/25
to Subsurface Divelog
Hello Michael, 

I'm happy to report that the installation went smoothly and Subsurface is launching without any problems. Thank you very much for your help.  

Unfortunately, I'm now facing a display bug.  Loading my dives from the cloud is functioning correctly, but the display itself isn't refreshing.  I believe this might be due to my screen resolution, which is 1600x1000.  

To get the display to update, I've had to manually change the font and display size settings on my Chromebook.  

Furthermore, the mouse cursor size becomes significantly larger when it's positioned over the Subsurface window.


Screenshot 2025-04-07 11.47.24.png

Jean-Baptiste Martin

unread,
Apr 7, 2025, 5:51:47 AM4/7/25
to Subsurface Divelog
Additional info : 

Everything run smoothly when i use Subsurface on a different monitor connected to my Chromebook... Weird....

JB2Cool

unread,
Apr 7, 2025, 6:11:40 AM4/7/25
to subsurfac...@googlegroups.com
I see similar and I have reverted to using the appimage which seems to work just fine.

Unrelated to Subsurface, i'm just playing with a Chromebook and getting increasingly frustrated with it for various other reasons, my Nextcloud (a bit like Dropbox) isn't working on it so not very impressed with Chromebook currently and I think I'll be abandoning this shortly.

Jason

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

Jean-Baptiste Martin

unread,
Apr 6, 2026, 2:53:45 PM (11 days ago) Apr 6
to Subsurface Divelog
Dear all,

I restart Subsurface install on my Chromebook after a Power Wash.

I use the Debian Tutorial : https://dfx.at/subsurface-debian/

But this time it doesn't work. 

Step 1 works fine. 

xxx@penguin:~$ wget https://dfx.at/subsurface-debian/pool/main/s/subsurface-dfx-repo-keyring/subsurface-dfx-repo-keyring_1.0_all.deb
--2026-04-06 20:43:08--  https://dfx.at/subsurface-debian/pool/main/s/subsurface-dfx-repo-keyring/subsurface-dfx-repo-keyring_1.0_all.deb
Resolving dfx.at (dfx.at)... 2607:f1c0:f047:b900::1, 66.175.235.220
Connecting to dfx.at (dfx.at)|2607:f1c0:f047:b900::1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4016 (3.9K) [application/octet-stream]
Saving to: ‘subsurface-dfx-repo-keyring_1.0_all.deb.1’

subsurface-dfx-repo-keyring_1.0 100%[======================================================>]   3.92K  --.-KB/s    in 0s      

2026-04-06 20:43:09 (63.2 MB/s) - ‘subsurface-dfx-repo-keyring_1.0_all.deb.1’ saved [4016/4016]

xxx@penguin:~$ sudo dpkg -i subsurface-dfx-repo-keyring_1.0_all.deb
(Reading database ... 39777 files and directories currently installed.)
Preparing to unpack subsurface-dfx-repo-keyring_1.0_all.deb ...
Unpacking subsurface-dfx-repo-keyring (1.0) over (1.0) ...
Setting up subsurface-dfx-repo-keyring (1.0) ...

I use Bookworm for Step 2 (no message after typing the command).

xxx@penguin:~$ echo 'deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurf
ace-debian bookworm main' | sudo tee /etc/apt/sources.list.d/dfx.at-subsurface.list
deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian bookworm main

Step 3 works fine : 

xxx@penguin:~$ sudo apt update
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease                                                                
Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease                                                      
Ign:4 https://storage.googleapis.com/cros-packages/146 bookworm InRelease                                                    
Hit:5 https://storage.googleapis.com/cros-packages/146 bookworm Release
Get:6 https://dfx.at/subsurface-debian bookworm InRelease [4,430 B]
Get:8 https://dfx.at/subsurface-debian bookworm/main arm64 Packages [1,414 B]
Fetched 5,844 B in 3s (1,852 B/s)    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Ignoring file 'dfx.at-subsurfa' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

Failed on step 4:

xxx@penguin:~$ sudo apt install subsurface

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
N: Ignoring file 'dfx.at-subsurfa' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

E: Unable to locate package subsurface
Did i do something wrong ? 

Thanks in advance for your help.

Jason Bramwell

unread,
Apr 6, 2026, 3:03:20 PM (11 days ago) Apr 6
to subsurfac...@googlegroups.com, Subsurface Divelog
There is an extra space in this command:

echo 'deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurf
ace-debian bookworm main' | sudo tee /etc/apt/sources.list.d/dfx.at-subsurface.list
deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian bookworm main


It should be:

echo 'deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian bookworm main' | sudo tee /etc/apt/sources.list.d/dfx.at-subsurface.list

deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian bookworm main

Jason
Sent from my iPhone

Jean-Baptiste Martin

unread,
Apr 6, 2026, 5:20:39 PM (11 days ago) Apr 6
to Subsurface Divelog
Hello Jason,

I tried your suggestion, but unfortunately, it didn't resolve the issue.

Michael Keller

unread,
Apr 6, 2026, 5:39:08 PM (11 days ago) Apr 6
to subsurfac...@googlegroups.com

Hi Jean-Baptiste.


On 07/04/2026 09:20, Jean-Baptiste Martin wrote:
Hello Jason,

I tried your suggestion, but unfortunately, it didn't resolve the issue.


Before you try the installation again you are going to have to remove the incorrectly created file `/etc/apt/sources.list.d/dfx.at-subsurface.list`. Also, I think there still is another unwanted line break in the commands you are entering - make sure they are all entered as one line.


Ngā mihi

  Michael Keller

Jean-Baptiste Martin

unread,
Apr 7, 2026, 1:38:45 PM (10 days ago) Apr 7
to Subsurface Divelog
Dear all,

I removed the file, and restart the process, and no changes...

xxx@penguin:~$ cd /etc/apt/sources.list.d

xxx@penguin:/etc/apt/sources.list.d$ ls
cros.list  dfx.at-subsurface.list

xxx@penguin:/etc/apt/sources.list.d$ rm dfx.at-subsurface.list
rm: remove write-protected regular file 'dfx.at-subsurface.list'? y
rm: cannot remove 'dfx.at-subsurface.list': Permission denied

xxx@penguin:/etc/apt/sources.list.d$ sudo rm dfx.at-subsurface.list

xxx@penguin:/etc/apt/sources.list.d$ ls
cros.list

xxx@penguin:/etc/apt/sources.list.d$ echo 'deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian bookworm main' | sudo tee/etc/apt/sources.list.d/dfx.at-subsurface.list

deb [signed-by=/usr/share/keyrings/dfx.at-subsurface-archive-keyring.gpg] https://dfx.at/subsurface-debian bookworm main
xxx@penguin:/etc/apt/sources.list.d$ sudo apt update

Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease                                                        
Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease                                              
Ign:4 https://storage.googleapis.com/cros-packages/146 bookworm InRelease                                              
Hit:5 https://storage.googleapis.com/cros-packages/146 bookworm Release
Hit:6 https://dfx.at/subsurface-debian bookworm InRelease

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.

xxx@penguin:/etc/apt/sources.list.d$ sudo apt install subsurface

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package subsurface


I'm lost !!!

Richard Fuchs

unread,
Apr 7, 2026, 2:30:00 PM (10 days ago) Apr 7
to subsurfac...@googlegroups.com
Hi,,

That's because the arm64 builds aren't ready yet! I'm not sure why the previous version isn't still in the repo, but it will become available in the next few days (arm builds are slow).

If you're in a hurry, you can install `subsurface-beta` in the meantime.

Cheers
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

Jean-Baptiste Martin

unread,
Apr 7, 2026, 3:41:47 PM (10 days ago) Apr 7
to Subsurface Divelog
Thanks for the answer, Richard. No rush on my side! 

It's a relief to know the problem wasn't me or my basic Linux knowledge. 

Anyway, like I said, feel free to use my Chromebook as a guinea pig if it helps.

Please let me know when ARM Builds will be ready !

Regards.



Richard Fuchs

unread,
Apr 12, 2026, 4:49:53 PM (5 days ago) Apr 12
to subsurfac...@googlegroups.com
On 07/04/2026 15.41, Jean-Baptiste Martin wrote:
> Thanks for the answer, Richard. No rush on my side!
>
> It's a relief to know the problem wasn't me or my basic Linux knowledge.
>
> Anyway, like I said, feel free to use my Chromebook as a guinea pig if
> it helps.
>
> Please let me know when ARM Builds will be ready !

ARM builds are finally in, you should be able to install now. Let me
know if there are any problems.

Cheers

Jean-Baptiste Martin

unread,
Apr 13, 2026, 3:01:11 PM (4 days ago) Apr 13
to Subsurface Divelog
Hi Richard,

I successfully install Subsurface on my Arm Based Chrombook.

It works smoothly only on my external screen. On my integrated screen, nothing is refreshed on each acton.

Weird !

Richard Fuchs

unread,
Apr 13, 2026, 3:51:24 PM (4 days ago) Apr 13
to subsurfac...@googlegroups.com
On 13/04/2026 15.01, Jean-Baptiste Martin wrote:
> It works smoothly only on my external screen. On my integrated screen,
> nothing is refreshed on each acton.
>
> Weird !

You have this problem with other Qt based applications as well?

You can try installing the Qt6 build version of it (package
`subsurface-qt6-beta`) and see if that makes a difference. You can
switch between the two versions at any time.

Cheers

Jean-Baptiste Martin

unread,
Apr 14, 2026, 2:48:57 PM (3 days ago) Apr 14
to Subsurface Divelog

Hi Richard,

To be honest, Subsurface is actually the only software I run in my Chromebook's Linux environment. I’ll give the subsurface-qt6-beta package a try and keep you posted on how it goes.

And again, thanks a lot for your work and your help !!!

Jean-Baptiste.

Jean-Baptiste Martin

unread,
Apr 14, 2026, 2:51:44 PM (3 days ago) Apr 14
to Subsurface Divelog
Quick update :

Is QT6 build exists for ARM ?

xxx@penguin:~$ sudo apt install subsurface-qt6-beta

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package subsurface-qt6-beta

Richard Fuchs

unread,
Apr 14, 2026, 2:57:18 PM (3 days ago) Apr 14
to subsurfac...@googlegroups.com
On 14/04/2026 14.51, Jean-Baptiste Martin wrote:
Is QT6 build exists for ARM ?

xxx@penguin:~$ sudo apt install subsurface-qt6-beta
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package subsurface-qt6-beta

It does for arm64 (since yesterday - do an update if you don't see it).

If you're on armhf then I'll have to build another package.

Cheers

Jean-Baptiste Martin

unread,
Apr 14, 2026, 3:02:28 PM (3 days ago) Apr 14
to Subsurface Divelog
It seems i'm ARM64 : 

xxx@penguin:~$ uname -m
aarch64
xxx@penguin:~$ sudo apt update
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease                                
Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease                      
Ign:4 https://storage.googleapis.com/cros-packages/146 bookworm InRelease                    
Hit:5 https://storage.googleapis.com/cros-packages/146 bookworm Release
Hit:6 https://dfx.at/subsurface-debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
xxx@penguin:~$ sudo apt install subsurface-qt6-beta
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package subsurface-qt6-beta

Sorry to bother you !

Richard Fuchs

unread,
Apr 14, 2026, 3:08:15 PM (3 days ago) Apr 14
to subsurfac...@googlegroups.com
On 14/04/2026 15.02, Jean-Baptiste Martin wrote:
> Sorry to bother you !

My apologies, I got confused. I forgot that you're on Bookworm (Debian
12) and the Qt6 builds are only for 13 and up ☹️

IIRC Bookworm doesn't have a usable Qt6 included, but I'll double check
to be sure.

Cheers

Jean-Baptiste Martin

unread,
Apr 14, 2026, 3:23:49 PM (3 days ago) Apr 14
to Subsurface Divelog
I have done some Search with Gemini, and it seems i have QT6 :

apt-cache policy qt6-base-dev
qt6-base-dev:
  Installed: (none)
  Candidate: 6.4.2+dfsg-10
  Version table:
     6.4.2+dfsg-10 500

        500 https://deb.debian.org/debian bookworm/main arm64 Packages

Richard Fuchs

unread,
Apr 14, 2026, 4:04:19 PM (3 days ago) Apr 14
to subsurfac...@googlegroups.com
On 14/04/2026 15.23, Jean-Baptiste Martin wrote:
> I have done some Search with Gemini, and it seems i have QT6 :

Yes, but the required Qt "location" module isn't available as a package
for Qt6, and so Subsurface can't be built for Qt6 on Bookworm ☹️

Any chance you can get your Debian upgraded to Trixie? 😅

Cheers

Dirk Hohndel

unread,
Apr 14, 2026, 4:20:58 PM (3 days ago) Apr 14
to subsurfac...@googlegroups.com
You need Qt 6.8 or newer, IIRC.
That's the oldest our build has been tested with and is known to work with

I know that 6.5 is too old. 6.6 or 6.7 might theoretically work, but they are no longer supported by upstream...

/D

Jean-Baptiste Martin

unread,
Apr 15, 2026, 6:16:35 AM (2 days ago) Apr 15
to Subsurface Divelog
Hello Richard,

As I'm using Linux environment only for Subsurface, I'm open to test anything. It seems it is possible to update to Debian 13 on Chromebook. 


If it doesn't work, i can simply reset Linux Environment.

I will try and come back to you.

Cheers.

Reply all
Reply to author
Forward
0 new messages