non-DEB/RPM Linux users, upgrade your install-vivaldi.sh
-
@ruarí said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
@stardust: Also what is the 'Executable Path' listed in vivaldi://about/ on Solus? Because if I know exactly where Vivaldi is installed, I could give you a 'one liner' command that may fix the problem for you.
Executable Path
/usr/share/vivaldi-snapshot/vivaldi-snapshot
--
I am doing the test right now -
@stardust If the test works, triple click the following line (to ensure you select the entire thing) and then copy and paste it into the terminal:
wget -qO- --start-pos=1152 https://launchpadlibrarian.net/555313281/chromium-codecs-ffmpeg-extra_93.0.4577.58-0ubuntu0.18.04.1_amd64.deb | tar JxO ./usr/lib/chromium-browser/libffmpeg.so | sudo tee /usr/share/vivaldi-snapshot/libffmpeg.so.4.2 >/dev/null
(Note: You will be prompted for a password as there is a
sudo
command in there just beforetee
. This is so that the file can be written inside the likely root owned '/usr/share/vivaldi-snapshot' directory.) -
@ruarí said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
If the test works
the test works!
@ruarí said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
triple click the following line (to ensure you select the entire thing) and then copy and paste it into the terminal:
this would modify the existing installation, right? I guess I will wait for the next Solus updates.
I see that
libffmpeg.so.4.2
(in the/usr/share/vivaldi-snapshot/
directory) is the link of/usr/lib64/libffmpeg.so
libffmpeg.so.4.2 -> /usr/lib64/libffmpeg.so
-
Run this command and tell me what number it reports please?
grep -aom1 'N-[0-9]\+-' /usr/lib64/libffmpeg.so | cut -d- -f2
If it is anything other than 103551, then they are doing it wrong and that is the source of your crashes.
Chromium 93 (on which Vivaldi 4.2 is based) should always have 103551. Much less or more and you will get crashes.
-
@ruarí said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
If it is anything other than 103551, then they are doing it wrong and that is the source of your crashes.
it's 100481 for me
-
@stardust That is way, way too old. For a year or so, Chromium has accepted quite a range of files and they all work. That has stopped.
You should report a bug to them. Vivaldi 4.2 must have 103551
-
@ruarí Ok, I will tell to the devs, thanks!
-
-
-
@stardust said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
this would modify the existing installation, right?
Ok, if you do not want to modify Solus files, modify Vivaldi's shell script startup wrapper. This will stop Vivaldi finding the file they provide:
sudo sed -i '/^VIVALDI_VERSION/s/4\.2/9.2/' /usr/share/vivaldi-snapshot/vivaldi-snapshot
Now make a directory where vivaldi-snapshot (4.2.2406.4) expects to find a lib
mkdir -p "$HOME/.local/lib/vivaldi-snapshot/media-codecs-93.0.4577.42"
Now place the lib there:
wget -qO- --start-pos=1152 https://launchpadlibrarian.net/555313281/chromium-codecs-ffmpeg-extra_93.0.4577.58-0ubuntu0.18.04.1_amd64.deb | tar JxO ./usr/lib/chromium-browser/libffmpeg.so > "$HOME/.local/lib/vivaldi-snapshot/media-codecs-93.0.4577.42/libffmpeg.so"
Restart vivaldi-snapshot (4.2.2406.4) and everything should work.
-
@stardust said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
it's 100481 for me
@ruarí said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
If it is anything other than 103551, then they are doing it wrong
That's like... from Chromium 88... https://solus.pkgs.org/rolling/solus-unstable-x86_64/ffmpeg-chromium-88.0.4324.192-10-1-x86_64.eopkg.html
sheesh... rolling distro my a
-
@npro what is you number?
-
@npro Solus is a great distro. The trick they have been doing has worked for a long time. The Solus file is using is from Chromium 88 and it worked all the way up until Chromium 92.
For the curious, here is a cropped (recent list) of Chromium numbers and their corresponding libffmpeg.so versions.
76 = 94581
77 = 95241
78 = 95407
79 = 95407
80 = 96514
81 = 96945
82 = UNKNOWN (release was skipped over)
83 = 97777
84 = 98516
85 = 98516
86 = 99764
87 = 99931
88 = 100481
89 = 101445
90 = 101445
91 = 102522
92 = 102522
93 = 103551
94 = 104195And yes, I have spent too much time investigating these things.
-
@ruarí said that already
@npro said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
That's like... from Chromium 88... https://solus.pkgs.org/rolling/solus-unstable-x86_64/ffmpeg-chromium-88.0.4324.192-10-1-x86_64.eopkg.html
-
@npro It worked up to Chromium 92. Ubuntu do much the same for their snap package as used by Opera, i.e. provide only the oldest one that still works.
-
@npro said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
@ruarí said that already
Yeah but I did not need to look at Solus packaging meta data. I have my own lists of these things.
-
@npro If you are curious, here is a bit more information to show how Canonical/Ubuntu are offering the files in various iterations of the Chromium FFMpeg snap package:
76 = 94581
77 = 95241 (in x64 chromium-ffmpeg snap "17", "19", "20" & "23": works on builds up to 83)
78 = 95407
79 = 95407
80 = 96514
81 = 96945
82 = UNKNOWN (release was skipped over)
83 = 97777
84 = 98516 (in x64 chromium-ffmpeg snap "17", "19", "20" & "23": works on builds up to 92)
85 = 98516 (as above)
86 = 99764
87 = 99931
88 = 100481
89 = 101445
90 = 101445
91 = 102522
92 = 102522
93 = 103551 (in x64 chromium-ffmpeg snap "19", "20" & "23": only works in 93)
94 = 104195 (in x64 chromium-ffmpeg snap "23") -
-
[npro@vivaldi-universe]$ grep -aom1 'N-[0-9]\+-' /opt/vivaldi-snapshot/libffmpeg.so.4.2 | cut -d- -f2 103551
(from https://aur.archlinux.org/packages/vivaldi-snapshot-ffmpeg-codecs/, sourced from https://commondatastorage.googleapis.com/chromium-browser-official/chromium-93.0.4577.58.tar.xz )
-
@stardust said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
@ruarí said in non-DEB/RPM Linux users, upgrade your install-vivaldi.sh:
Solus is a great distro.
Maybe, but not divine like Arch