Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

ungoogled-chromium-bin and apulse

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

ungoogled-chromium-bin and apulse

  • Quote

Post by figueroa » Tue Oct 31, 2023 3:57 am

My desktop amd64 system is -pulseaudio +alsa working well according to my tastes. media-sound/apulse is installed, and firefox is my usual web browser.

I occasionally use ungoogled-chromium-bin from the pf4public respository. However, it will not run as installed in the /opt/chromium-browser/ directory.

/usr/bin/chromium and /usr/bin/chromium-browser are symbolic links to the script /opt/chromium-browser/chromium-launcher.sh where the last line (line 59) reads:

Code: Select all

exec -a "chromium-browser" apulse "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib64/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
resulting in :

Code: Select all

$ chromium
/usr/bin/chromium: line 59: exec: apulse: not found
Changing that last line removing the "apulse" as follows:

Code: Select all

exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib64/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
Results in ungoogled-chromium-bin running just fine, sound working as expected.

Other ungoogled-chromium binaries such as the AppImage from https://ungoogled-software.github.io/un ... -binaries/ such as ungoogled-chromium_118.0.5993.88-1.1.AppImage also work just fine as is.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
PF4Public
Tux's lil' helper
Tux's lil' helper
Posts: 104
Joined: Mon Jan 28, 2019 8:04 pm

  • Quote

Post by PF4Public » Sat Jan 27, 2024 11:07 am

apulse support was added long time ago upon a request: https://github.com/PF4Public/gentoo-overlay/pull/46. It might've stopped functioning since then :) Does "apulse" package no longer provide "apulse" binary? What would "equery f apulse" print out?
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Jan 27, 2024 5:56 pm

PF4Public -- thanks for responding. Here is the requested output:

Code: Select all

$ equery f apulse
 * Searching for apulse ...
 * Contents of media-sound/apulse-0.1.13-r2:
/usr
/usr/include
/usr/include/pulse
/usr/include/pulse/cdecl.h
/usr/include/pulse/channelmap.h
/usr/include/pulse/context.h
/usr/include/pulse/def.h
/usr/include/pulse/error.h
/usr/include/pulse/ext-device-manager.h
/usr/include/pulse/ext-device-restore.h
/usr/include/pulse/ext-stream-restore.h
/usr/include/pulse/format.h
/usr/include/pulse/gccmacro.h
/usr/include/pulse/glib-mainloop.h
/usr/include/pulse/introspect.h
/usr/include/pulse/mainloop-api.h
/usr/include/pulse/mainloop-signal.h
/usr/include/pulse/mainloop.h
/usr/include/pulse/operation.h
/usr/include/pulse/proplist.h
/usr/include/pulse/pulseaudio.h
/usr/include/pulse/rtclock.h
/usr/include/pulse/sample.h
/usr/include/pulse/scache.h
/usr/include/pulse/simple.h
/usr/include/pulse/stream.h
/usr/include/pulse/subscribe.h
/usr/include/pulse/thread-mainloop.h
/usr/include/pulse/timeval.h
/usr/include/pulse/utf8.h
/usr/include/pulse/util.h
/usr/include/pulse/version.h
/usr/include/pulse/volume.h
/usr/include/pulse/xmalloc.h
/usr/lib64
/usr/lib64/libpulse-mainloop-glib.so -> libpulse-mainloop-glib.so.0
/usr/lib64/libpulse-mainloop-glib.so.0
/usr/lib64/libpulse-simple.so -> libpulse-simple.so.0
/usr/lib64/libpulse-simple.so.0
/usr/lib64/libpulse.so -> libpulse.so.0
/usr/lib64/libpulse.so.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libpulse-mainloop-glib.pc
/usr/lib64/pkgconfig/libpulse-simple.pc
/usr/lib64/pkgconfig/libpulse.pc
/usr/share
/usr/share/doc
/usr/share/doc/apulse-0.1.13-r2
/usr/share/doc/apulse-0.1.13-r2/README.md.bz2
There appears to be no apulse binary.

The /usr/bin/firefox that is installed with firefox-bin contains ONLY the following reference to apulse:

Code: Select all

APULSELIB_DIR="/usr/lib64/apulse"
Media and streaming work fine with both the ungoogled-chromium-bin and firefox-bin.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
PF4Public
Tux's lil' helper
Tux's lil' helper
Posts: 104
Joined: Mon Jan 28, 2019 8:04 pm

  • Quote

Post by PF4Public » Sat Jan 27, 2024 6:36 pm

I see, so they decided to substitute the library with their own. Which means there is no longer need to prepend the command with apulse. FYI fixed in https://github.com/PF4Public/gentoo-ove ... 834bb4575c
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Jan 27, 2024 7:12 pm

I re-synced pf4public and re-emerged ungoogled-chromium-bin. I don't observe any change though it still works with my hack. Should I wait longer to sync? Will there be a version bump?
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
PF4Public
Tux's lil' helper
Tux's lil' helper
Posts: 104
Joined: Mon Jan 28, 2019 8:04 pm

  • Quote

Post by PF4Public » Sat Jan 27, 2024 8:24 pm

Check, which version you are installing. I fixed only ungoogled-chromium-bin-119.0.6045.199.ebuild.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Jan 27, 2024 8:40 pm

Just now re-synced and re-emerged ungoogled-chromium-bin-119.0.6045.199 (the version I had been using). I can now see the change in chromium-launcher.sh and it works without needing any modification and sound continues to work normally. Thank you and well done.

FYI, I'm not sure it matters, but these are the outputs I see when launching from a terminal shell:

Code: Select all

$ chromium
[1284:1284:0127/153407.528199:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[1318:1318:0127/153407.619620:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.619770:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.619829:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.619885:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.619939:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.619994:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620047:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620100:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620158:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620214:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620268:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620321:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620372:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620429:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620483:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620536:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620589:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620648:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620701:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620754:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620806:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620858:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620911:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.620966:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621019:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621073:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621126:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621235:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621337:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621446:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621550:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621649:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621750:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621857:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.621956:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.622057:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.622156:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.622255:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.622355:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[1318:1318:0127/153407.622462:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
Warning: Couldn't load Vulkan. Searched /opt/chromium-browser/libvulkan.so.1, /opt/chromium-browser/libvulkan.so.1, libvulkan.so.1.
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:299)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:304)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
PF4Public
Tux's lil' helper
Tux's lil' helper
Posts: 104
Joined: Mon Jan 28, 2019 8:04 pm

  • Quote

Post by PF4Public » Sat Jan 27, 2024 9:08 pm

If it ain't broken, don't fix it :) It is searching for Vulkan, which you probably don't have. Should be harmless.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Jan 27, 2024 9:33 pm

Absolutely. I'm still Vulkan-free. Thanks for the feedback.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
Post Reply

9 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy