opera-stable 82.0.4227.23 on MX19 [workaround]  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Jerry3904
Administrator
Posts: 23043
Joined: Wed Jul 19, 2006 6:13 am

Re: opera-stable 82.0.4227.23 on MX19

#11 Post by Jerry3904 »

Oops, sorry.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: opera-stable 82.0.4227.23 on MX19

#12 Post by SwampRabbit »

It appears then that both of these are providing their own libs, not much we can do package-wise to fix that.

Has the same or similar bug been opened upstream with Opera?
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
fehlix
Developer
Posts: 12577
Joined: Wed Apr 11, 2018 5:09 pm

Re: opera-stable 82.0.4227.23 on MX19

#13 Post by fehlix »

unnameduser wrote: Sat Dec 11, 2021 12:00 pm I have found a workaround. It works for now.

Code: Select all

$ sudo cp /opt/vivaldi/lib/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so
I copied ffmpeg libs from Vivaldi to Opera, and those pages load as expected. I do not know why vivaldi package has newer/better ffmpeg libs. I hope packagers could check this out.
That's probably for now the easiest way. Both latest Vivaldi and Opera are now based on Chromium 96,
and for both ubuntu compiled ffmpeg codecs are utilized. As ubuntu seems to have faded out providing chromium-codecs-ffmpeg-extra as deb-package and do make those now available as snaps "packages" only. Vivaldi might have found a way to get ffmpeg from ubuntu's (from snap-packages(?)).
If we want in future having ffmeg-codecs added to Opera installer, we might look into or adopt something similar like vivaldi is doing it.

User avatar
unnameduser
Posts: 62
Joined: Mon Apr 06, 2020 1:33 pm

Re: opera-stable 82.0.4227.23 on MX19

#14 Post by unnameduser »

@SwampRabbit I don't know. I did not look at upstream yet. I remember that few months ago I had similar situation going. Back then, I was using opera .deb downloaded directly from their website. Yes, back then... there were some similar bugs reported.

But, having searched the MX forum I ended up installing MXpi version (popular apps). That seemed to be the way to go (according to some posts here). From that moment on, I didn't run into "the bug" ...till now.

@fehlix I thought that MX packagers are already doing something similar. As far as technicality goes, I think it is possible to extract ffmpeg lib from snap.... but I don't know about legality and licensing. I will let you guys sort this out. It would be nice to have hustle-free installation/upgrade of Opera (or any package for that matter). :crossfingers:

Thank you for assisting me, guys.

User avatar
fehlix
Developer
Posts: 12577
Joined: Wed Apr 11, 2018 5:09 pm

Re: opera-stable 82.0.4227.23 on MX19

#15 Post by fehlix »

unnameduser wrote: Sat Dec 11, 2021 7:56 pm @SwampRabbit I don't know. I did not look at upstream yet. I remember that few months ago I had similar situation going. Back then, I was using opera .deb downloaded directly from their website. Yes, back then... there were some similar bugs reported.

But, having searched the MX forum I ended up installing MXpi version (popular apps). That seemed to be the way to go (according to some posts here). From that moment on, I didn't run into "the bug" ...till now.

@fehlix I thought that MX packagers are already doing something similar. As far as technicality goes, I think it is possible to extract ffmpeg lib from snap.... but I don't know about legality and licensing. I will let you guys sort this out. It would be nice to have hustle-free installation/upgrade of Opera (or any package for that matter). :crossfingers:

Thank you for assisting me, guys.
Vivaldi same as Opera just get fetched from their repo. We added for opera to add ffmpeg from ubuntu, b/c due to some licence issues, we can't provide ffmpeg compiled with the needed codecs. We can remove the additional ffmpeg stepp, so the Opera install would just install and run fine, which would take away ability to play some videos.

User avatar
unnameduser
Posts: 62
Joined: Mon Apr 06, 2020 1:33 pm

Re: opera-stable 82.0.4227.23 on MX19 [workaround]

#16 Post by unnameduser »

I marked this thread as solved (altho', it's a workaround) to help others. Cheers! :pint:

User avatar
Michael-IDA
Posts: 359
Joined: Sat Jan 12, 2019 8:00 pm

Re: opera-stable 82.0.4227.23 on MX19

#17 Post by Michael-IDA »

unnameduser wrote: Sat Dec 11, 2021 12:00 pm @timkb4cq I did not try to clean cache. I will do that if needed.

I have found a workaround. It works for now.

Code: Select all

$ sudo cp /opt/vivaldi/lib/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so
Make that a symlink instead of a copy? Would slightly future proof it...
NIH Cancer Study: The group supplemented with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.
The day Microsoft makes a product that doesn't suck...
... is the day they make a vacuum cleaner.

User avatar
unnameduser
Posts: 62
Joined: Mon Apr 06, 2020 1:33 pm

Re: opera-stable 82.0.4227.23 on MX19

#18 Post by unnameduser »

Michael-IDA wrote: Sun Dec 12, 2021 9:31 pm Make that a symlink instead of a copy? Would slightly future proof it...
Yeah, I've seen that solution somewhere. But I've been thinking... "wouldn't link have been overwritten by next version of library, when opera rolls it in?" I'm not educated enough to answer that question for myself.

Btw, the same Opera 82.0.4227.23 works like a charm (with it's own libraries) on my Mint 20.x install. That makes me really baffled.

User avatar
fehlix
Developer
Posts: 12577
Joined: Wed Apr 11, 2018 5:09 pm

Re: opera-stable 82.0.4227.23 on MX19

#19 Post by fehlix »

unnameduser wrote: Mon Dec 13, 2021 6:20 pm
Michael-IDA wrote: Sun Dec 12, 2021 9:31 pm Make that a symlink instead of a copy? Would slightly future proof it...
Yeah, I've seen that solution somewhere. But I've been thinking... "wouldn't link have been overwritten by next version of library, when opera rolls it in?" I'm not educated enough to answer that question for myself.
The lib_extra folder will not be overwritten by an upgrade, it's empty within the package, to allow extra stuff to be placed into.
++EDIT++.. but need to check MXPI ->Pop. Apps -> Reinstall Opera, whether the symlink would be followed :eek:
+++EDIT2+++
Nope, MXPI -Pop.Apps-reinstall opera, will replace the ffmpeg.so and not follow symlink to the vivaldi installed one:

Code: Select all

for f in  /opt/vivaldi/lib/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so; do echo "$f: $(strings $f | grep -m1 'FFmpeg version')"; done
/opt/vivaldi/lib/libffmpeg.so:                          FFmpeg version N-104707-g392d8a2d60
/usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so: FFmpeg version N-104195-g628f528751

User avatar
unnameduser
Posts: 62
Joined: Mon Apr 06, 2020 1:33 pm

Re: opera-stable 82.0.4227.23 on MX19

#20 Post by unnameduser »

fehlix wrote: Mon Dec 13, 2021 6:24 pm Nope, MXPI -Pop.Apps-reinstall opera, will replace the ffmpeg.so and not follow symlink to the vivaldi installed one:
So, where does this "extra" lib come from? :confused:
After doing

Code: Select all

$ sudo apt purge opera-stable
$ sudo rm -rf '/usr/lib/x86_64-linux-gnu/opera/'
And then I Install Opera from MXpi / Popular apps ... extra library is there again.

Code: Select all

[unnameduser@mx19]─[/usr/lib/x86_64-linux-gnu/opera/lib_extra]─[13:58]
$ ll
total 3,2M
-rw-r--r-- 1 root root 3,2M lis  29 12:13 libffmpeg.so
Interestingly, after fresh Opera install (on my system)

Code: Select all

$ for f in  /opt/vivaldi/lib/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so; do echo "$f: $(strings $f | grep -m1 'FFmpeg version')"; done
/opt/vivaldi/lib/libffmpeg.so: FFmpeg version N-104707-g392d8a2d60
/usr/lib/x86_64-linux-gnu/opera/libffmpeg.so: FFmpeg version N-104707-g392d8a2d60
/usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so: FFmpeg version N-104195-g628f528751
So, vivaldi library and opera library are the same! But Opera "extra" library is older... Why is there older "extra"? :confused:

On my Mint install there is no "lib_extra" folder at all. And Opera works as intended.

+++EDIT+++
Just checked, deleting "lib_extra" folder also works as a fix for my problem on MX19.

Post Reply

Return to “MX Help”