Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thorium and Playwright Floss manager not present, cannot set Floss enable/disable #26

Open
bobHealy opened this issue Sep 27, 2022 · 2 comments

Comments

@bobHealy
Copy link

bobHealy commented Sep 27, 2022

Thanks for this awesome work to compile Thorium to so many platforms. I'm trying to use thorium with Playwright in headless mode for testing and receiving an error. I know that Playwright is not your business but maybe you have a hint how to make it work?

I used the ARM build Raspberry Pi Release - M107.0.5270.0

`==================== Browser output: ====================

/usr/bin/thorium-browser --inspector-pipe --headless --no-startup-window
pid=12648
[pid=12648][err] [0927/091039.516571:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[pid=12648][err] [0927/091039.598862:WARNING:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[pid=12648]
[pid=12648] starting temporary directories cleanup`

@Alex313031
Copy link
Owner

@bobHealy This is probably due to the fact that the raspi builds are using the VC4 version of mesa libraries. I added this patch to increase gpu performance and allow hardware video decoding, but it causes the gpu sandbox to behave out of the normal spec, and can cause unforseen consequences like the InitializeSandbox() called with multiple threads in process gpu-process in your error report. I dont use playwright, and have not tested it on any platforms. The only thing I have tested with browser automation for thorium is chromedriver (which is actually included in the install, along with thorium-shell and pak, over the baseline install that other chromium browsers have) on linux. You could maybe help me by installing this old version of thorium for raspi, and see if it works for that release > https://github.com/Alex313031/Thorium-Special/releases/tag/M102.0.4972.0

@gz83
Copy link
Collaborator

gz83 commented Mar 22, 2023

Thanks for this awesome work to compile Thorium to so many platforms. I'm trying to use thorium with Playwright in headless mode for testing and receiving an error. I know that Playwright is not your business but maybe you have a hint how to make it work?

I used the ARM build Raspberry Pi Release - M107.0.5270.0

`==================== Browser output: ====================

/usr/bin/thorium-browser --inspector-pipe --headless --no-startup-window pid=12648 [pid=12648][err] [0927/091039.516571:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable. [pid=12648][err] [0927/091039.598862:WARNING:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. [pid=12648] [pid=12648] starting temporary directories cleanup`

@bobHealy

Please check if the new version solves the problem you encountered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants