Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Vivaldi browser HTML5 Proprietary Media on Linux
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chris_harvey
n00b
n00b


Joined: 12 Mar 2010
Posts: 42
Location: Ottawa, Canada

PostPosted: Fri Oct 15, 2021 6:48 pm    Post subject: [SOLVED] Vivaldi browser HTML5 Proprietary Media on Linux Reply with quote

There are a couple of threads about this already, but they are pretty old and none of them have helped me. I installed the latest www-client/vivaldi-4.3.2439.44 browser. It looks really nice so I'm motivated to use it. On boot I get an error dialog that says
Quote:
Vivaldi lacks a suitable component to play HTML proprietary media (H.264/AAC).

It and links me to the following page: https://help.vivaldi.com/desktop/media/html5-proprietary-media-on-linux/
I installed media-video/ffmpeg-chromium
Code:
 * Found these USE flags for media-video/ffmpeg-chromium-94:
 U I
 - - cpu_flags_x86_3dnow    : Use the 3DNow! instruction set
 - - cpu_flags_x86_3dnowext : Use the Enhanced 3DNow! instruction set
 - - cpu_flags_x86_aes      : Enable support for Intel's AES instruction set (AES-NI)
 - - cpu_flags_x86_avx      : Adds support for Advanced Vector Extensions instructions
 - - cpu_flags_x86_avx2     : Adds support for Advanced Vector Extensions 2 instructions
 - - cpu_flags_x86_fma3     : Use the Fused Multiply Add 3 instruction set ([fma] in cpuinfo)
 - - cpu_flags_x86_fma4     : Use the Fused Multiply Add 4 instruction set
 + + cpu_flags_x86_mmx      : Use the MMX instruction set
 + + cpu_flags_x86_mmxext   : Use the Extended MMX instruction set (a subset of SSE) ([mmxext] or [sse] in cpuinfo)
 + + cpu_flags_x86_sse      : Use the SSE instruction set
 + + cpu_flags_x86_sse2     : Use the SSE2 instruction set
 + + cpu_flags_x86_sse3     : Use the SSE3 instruction set ([pni] in cpuinfo, NOT ssse3)
 + + cpu_flags_x86_sse4_1   : Enable SSE4.1 instruction support
 + + cpu_flags_x86_sse4_2   : Enable SSE4.2 instruction support
 + + cpu_flags_x86_ssse3    : Use the SSSE3 instruction set (NOT sse3/pni)
 - - cpu_flags_x86_xop      : Enable the XOP instruction set
 - - cpudetection           : Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)
 - - debug                  : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                              https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + gpl                    : Build GPL code. Should be enabled unless you require LGPL binaries.
 + + opus                   : Enable Opus audio codec support
 + + threads                : Add threads support for various packages. Usually pthreads
 - - vaapi                  : Enable Video Acceleration API for hardware decoding
 - - vdpau                  : Enable the Video Decode and Presentation API for Unix acceleration interface
 + + video_cards_nvidia     : VIDEO_CARDS setting to build driver for nvidia video cards
 - - vulkan                 : Enables support for the vulkan API for GPU offload.


but no luck. I'm not sure what else to try. Any other vivaldi users out there? How has your experience been on gentoo?

Thanks


Last edited by chris_harvey on Fri Oct 15, 2021 9:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
chris_harvey
n00b
n00b


Joined: 12 Mar 2010
Posts: 42
Location: Ottawa, Canada

PostPosted: Fri Oct 15, 2021 7:03 pm    Post subject: Reply with quote

Oh, and I did an strace on vivaldi on bootup to see where it was looking:

Code:
stat("/var/opt/vivaldi/media-codecs-a812e2cfcc048a3cf96ab5b310bf522767dc454aea567af4b1d9b6c2737d1840/libffmpeg.so", 0x7fff731f2c30) = -1 ENOENT (No such file or directory)
stat("/var/opt/vivaldi/media-codecs-6fb7f1da8c410352e8bb1b45395908b53b8e8dcbc6e9126d8435529eb3963b40/libffmpeg.so", 0x7fff731f29b0) = -1 ENOENT (No such file or directory)
stat("/opt/vivaldi/libffmpeg.so.4.3", 0x7fff731f2a10) = -1 ENOENT (No such file or directory)
stat("/home/chris/.local/lib/vivaldi/media-codecs-a812e2cfcc048a3cf96ab5b310bf522767dc454aea567af4b1d9b6c2737d1840/libffmpeg.so", 0x7fff731f2900) = -1 ENOENT (No such file or directory)
stat("/home/chris/.local/lib/vivaldi/media-codecs-6fb7f1da8c410352e8bb1b45395908b53b8e8dcbc6e9126d8435529eb3963b40/libffmpeg.so", 0x7fff731f2680) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/glibc-hwcaps/x86-64-v3/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/glibc-hwcaps/x86-64-v2/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/tls/haswell/x86_64/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/tls/haswell/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/tls/x86_64/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/tls/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/haswell/x86_64/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/haswell/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/x86_64/libffmpeg.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/vivaldi/lib/libffmpeg.so", O_RDONLY|O_CLOEXEC) = 3  <--------------------- found


So it seems vivaldi ships with a version of ffmpeg. not sure why it couldn't use that one. It mmap'ed the ffmpeg.so and that's all I know.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1213
Location: Massachusetts USA

PostPosted: Fri Oct 15, 2021 9:41 pm    Post subject: Reply with quote

Did you emerge vivaldi with the proprietary-codecs USE flag?
Back to top
View user's profile Send private message
chris_harvey
n00b
n00b


Joined: 12 Mar 2010
Posts: 42
Location: Ottawa, Canada

PostPosted: Fri Oct 15, 2021 9:46 pm    Post subject: Reply with quote

nope :oops:

Marking as solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum