fathyb / carbonyl

Chromium running inside your terminal
BSD 3-Clause "New" or "Revised" License
14.7k stars 288 forks source link

Blank after showing the web page for 1 second in my docker container #181

Open diyism opened 8 months ago

diyism commented 8 months ago

I'm trying to run carbonyl in my docker container, when I run "./carbonyl -d https://youtube.com", I can see the youtube's top black icons for 1 second and then a blank white page, the debug log:

$ ./carbonyl -d https://youtube.com
Fontconfig error: Cannot load default config file: No such file: (null)
[0328/025501.815706:DEBUG:bridge.rs(191)] resizing renderer, terminal window: Window { dpi: 0.38, scale: Size { width: 5.263158, height: 10.526316 }, cells: Size { width: 160, height: 46 }, browser: Size { width: 843, height: 485 }, cmd: CommandLine { args: ["--disable-threaded-scrolling", "--disable-threaded-animation", "-d", "https://youtube.com"], fps: 60.0, zoom: 1.0, debug: true, bitmap: false, program: Main, shell_mode: true } }
[0328/025501.815885:DEBUG:bridge.rs(299)] terminal size: Size { width: 843, height: 485 }
[0328/025501.831399:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 778: Permission denied (13)
[0328/025501.833260:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 780: Permission denied (13)
[0328/025501.840148:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[0328/025502.067851:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-factor'.", source:  (0)
[0328/025502.695325:INFO:CONSOLE(5138)] "LegacyDataMixin will be applied to all legacy elements.
Set `_legacyUndefinedCheck: true` on element class to enable.", source: https://www.youtube.com/s/desktop/accca349/jsbin/desktop_polymer.vflset/desktop_polymer.js (5138)
[0328/025503.014778:ERROR:computed_style.cc(1818)] Check failed: false. 
[0328/025503.014911:ERROR:computed_style.cc(1818)] Check failed: false. 

Is there any way to work around this? Thanks.