carbonyl icon indicating copy to clipboard operation
carbonyl copied to clipboard

Getting blank white page when trying to build through docker

Open fanbyprinciple opened this issue 2 years ago • 20 comments

image

ran the command given in documentation

sudo docker run -ti fathyb/carbonyl https://youtube.com

fanbyprinciple avatar Jan 30 '23 11:01 fanbyprinciple

Looks like you're on Windows, try running it on WSL and see if the issue persists.

lostdusty avatar Jan 30 '23 15:01 lostdusty

also here. macOS 13.1 image

ur92 avatar Jan 30 '23 19:01 ur92

Looks like you're on Windows, try running it on WSL and see if the issue persists.

I am running it on linux!

fanbyprinciple avatar Jan 31 '23 03:01 fanbyprinciple

I have same problem white blank page everytime I click the next page😔can you help?

Octocat5B avatar Jan 31 '23 05:01 Octocat5B

I have same problem white blank page everytime I click the next page😔can you help?

Theres a PR fixing this soon

lostdusty avatar Jan 31 '23 14:01 lostdusty

I am running it on linux!

Oh, the icon made me confused

lostdusty avatar Jan 31 '23 14:01 lostdusty

I have a feeling Carbonyl cannot detect your terminal window size, so it defaults to an empty one.

I've just pushed a new release which:

  • Adds a --debug argument to print logs on exit
  • Defaults to 80x24 if it cannot read the terminal size (instead of 0x0)
  • Lets you manually set the terminal window using the COLUMNS and LINES standard environment variables

Could you try to:

  1. Pull the latest image: docker pull fathyb/carbonyl
  2. Run with --debug: docker run -ti fathyb/carbonyl https://youtube.com --debug
  3. Press CTRL-C and share the logs here
  4. If you got a blank page: docker run -ti -e COLUMNS -e LINES fathyb/carbonyl https://youtube.com --debug
  5. Press CTRL-C and share the logs here

fathyb avatar Feb 01 '23 09:02 fathyb

System: MBP 2019, 16" 2.3 GHz 8-Core Intel Core i9 AMD Radeon Pro 5500M 4 GB | Intel UHD Graphics 630 1536 MB 32 GB 2667 MHz DDR4 macOS Ventura 13.1

docker run -ti fathyb/carbonyl https://youtube.com --debug
[0201/103735.623555:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/103735.624067:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/103735.624358:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0201/103735.624636:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[0201/103735.624580:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed.
[0201/103735.638820:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0201/103735.650426:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/103735.650668:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/103735.651430:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0201/103735.651637:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed.
[0201/103735.655175:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0201/103735.663243:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is 
[0201/103736.042566:ERROR:nss_util.cc(55)] Failed to create /home/carbonyl/.pki/nssdb directory.
[0201/103736.052488:ERROR:cert_verify_proc_builtin.cc(676)] CertVerifyProcBuiltin for youtube.com failed:
----- Certificate i=2 ([email protected],CN=Zscaler Intermediate Root CA (zscaler.net),OU=Zscaler Inc.,O=Zscaler Inc.,ST=California,C=US) -----
ERROR: No matching issuer found
docker run -ti -e COLUMNS -e LINES fathyb/carbonyl https://youtube.com --debug
[0201/105538.849912:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/105538.850482:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/105538.851210:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0201/105538.851477:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed.
[0201/105538.853806:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[0201/105538.855282:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0201/105538.872348:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/105538.874773:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0201/105538.875227:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0201/105538.875504:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed.
[0201/105538.886394:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0201/105538.894494:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is 
[0201/105539.290073:ERROR:nss_util.cc(55)] Failed to create /home/carbonyl/.pki/nssdb directory.
[0201/105539.292820:ERROR:cert_verify_proc_builtin.cc(676)] CertVerifyProcBuiltin for youtube.com failed:
----- Certificate i=2 ([email protected],CN=Zscaler Intermediate Root CA (zscaler.net),OU=Zscaler Inc.,O=Zscaler Inc.,ST=California,C=US) -----
ERROR: No matching issuer found


[0201/105539.293548:ERROR:ssl_client_socket_impl.cc(985)] handshake failed; returned -1, SSL error code 1, net_error -202
[0201/105539.318132:ERROR:interface_endpoint_client.cc(695)] Message 0 rejected by interface blink.mojom.WidgetHost

ur92 avatar Feb 01 '23 10:02 ur92

Hello. Same error here:

docker run -ti fathyb/carbonyl https://github.com/fathyb/carbonyl --debug [0202/083415.049660:DEBUG:ffi.rs(202)] Terminal size: Size { width: 207, height: 62 } [0202/083415.056610:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581. ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581. [0202[0202/083415.056963:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581. /083415.057101:DEBUG:ffi.rs(129[0202/083415.057170:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable. )] [0202/083415.057136:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED Terminal size: Size { width: 207, height: 62 } [0202/083415.057215:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed. [0202/083415.063468:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [0202/083415.073536:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581. ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581. [0202/083415.073833:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581. [0202/083415.073906:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [0202/083415.073963:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed. [0202/083415.077747:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [0202/083415.086705:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

Andromelus avatar Feb 02 '23 08:02 Andromelus

I'm also affected. macOS, terminal is kitty.

$ docker run -ti fathyb/carbonyl --debug youtube.com
[0203/164118.566514:DEBUG:ffi.rs(202)] Terminal size: Size { width: 174, height: 49 }
[0203/164118.568392:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0203/164118.568459:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed forimplementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0203/164118.568474:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0203/164118.568489:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed.
[0203/164118.568691:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[0203/164118.572042:DEBUG:ffi.rs(129)] Terminal size: Size { width: 174, height: 49 }
[0203/164118.572169:DEBUG:ffi.rs(250)] Terminal name: xterm-kitty
[0203/164118.578725:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0203/164118.583145:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0203/164118.583197:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed forimplementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1581.
[0203/164118.583211:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0203/164118.583225:ERROR:gl_ozone_egl.cc(24)] GLDisplayEGL::Initialize failed.
[0203/164118.584172:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0203/164118.585817:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
$

rpdelaney avatar Feb 03 '23 16:02 rpdelaney

Same problem on macOS (iTerm2):

   ~/Downloads/carbonyl.macos-amd64  COLUMNS=160 ROWS=70 ./carbonyl --debug  ✔   6s [0205/210714.798332:ERROR:iopm_power_source_sampling_event_source.cc(31)] IOPMPowerSource service not found [0205/200714.833551:DEBUG:ffi.rs(195)] Terminal size: Size { width: 160, height: 70 } [0205/200714.865531:DEBUG:ffi.rs(125)] Terminal size: Size { width: 160, height: 70 } [0205/200714.865963:DEBUG:ffi.rs(240)] Terminal name: iTerm2 [0205/210714.993157:WARNING:vt_video_decode_accelerator_mac.cc(337)] VTDecompressionSessionCreate(): Error Domain=NSOSStatusErrorDomain Code=-12906 "(null)" (-12906) objc[2147]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffa5c87e3f0) and /Users/jos/Downloads/carbonyl.macos-amd64/libGLESv2.dylib (0x11d37bf68). One of the two will be used. Which one is undefined. [0205/210715.005494:WARNING:angle_platform_impl.cc(48)] vk_utils.cpp:364 (GetAvailableValidationLayers): Vulkan validation layers are missing. [0205/210715.005757:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:149 (VerifyExtensionsPresent): Extension not supported: VK_EXT_metal_surface [0205/210715.005783:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:149 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface [0205/210715.005801:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1772. [0205/210715.005819:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1772. [0205/210715.005825:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [0205/210715.005833:ERROR:gl_initializer_mac.cc(181)] GLDisplayEGL::Initialize failed. [0205/210715.008673:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [0205/210715.184223:WARNING:vt_video_decode_accelerator_mac.cc(337)] VTDecompressionSessionCreate(): Error Domain=NSOSStatusErrorDomain Code=-12906 "(null)" (-12906) objc[2154]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffa5c87e3f0) and /Users/jos/Downloads/carbonyl.macos-amd64/libGLESv2.dylib (0x117e57f68). One of the two will be used. Which one is undefined. [0205/210715.196208:WARNING:angle_platform_impl.cc(48)] vk_utils.cpp:364 (GetAvailableValidationLayers): Vulkan validation layers are missing. [0205/210715.196405:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:149 (VerifyExtensionsPresent): Extension not supported: VK_EXT_metal_surface [0205/210715.196413:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:149 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface [0205/210715.196443:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1772. [0205/210715.196456:ERROR:gl_display.cc(503)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1772. [0205/210715.196462:ERROR:gl_display.cc(916)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [0205/210715.196467:ERROR:gl_initializer_mac.cc(181)] GLDisplayEGL::Initialize failed. [0205/210715.198341:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [0205/210715.375054:WARNING:vt_video_decode_accelerator_mac.cc(337)] VTDecompressionSessionCreate(): Error Domain=NSOSStatusErrorDomain Code=-12906 "(null)" (-12906) [0205/210715.375176:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is [0205/210717.078083:ERROR:process_posix.cc(343)] Unable to terminate process 2149: No such process (3)

joske avatar Feb 05 '23 20:02 joske

My first try (non-docker) I also got the white void. Fooling around though if I added the whole URL https://doughmain it loaded. If I just type the doughmain I get the white void. Not sure if this is helpful or if I've made someone want a doughnut now ;p.

nPHYN1T3 avatar Feb 05 '23 20:02 nPHYN1T3

@nPHYN1T3 oh indeed, when you put www.google.be it doesn't work, but if you put https://www.google.be it does!

joske avatar Feb 05 '23 20:02 joske

@nPHYN1T3 oh indeed, when you put www.google.be it doesn't work, but if you put https://www.google.be it does!

and it is not related to docker at all, when is not full URI provided, it renders just white screen

janantos avatar Feb 08 '23 12:02 janantos

@nPHYN1T3 oh indeed, when you put www.google.be it doesn't work, but if you put https://www.google.be it does!

and it is not related to docker at all, when is not full URI provided, it renders just white screen

I have a blank screen in both cases.

Andromelus avatar Feb 10 '23 08:02 Andromelus

For me the docker way works fine, but local bin shows just white screen, with the URL in top left corner. Running on Ubuntu 20.04 server

$ carbonyl/carbonyl https://www.google.com

carbonyl_whitevoid

m-kratochvil avatar Feb 10 '23 13:02 m-kratochvil

For me the docker way works fine, but local bin shows just white screen, with the URL in top left corner. Running on Ubuntu 20.04 server

$ carbonyl/carbonyl https://www.google.com

I solved this by installing xdg-utils. Now the pages display correctly. Hope it helps someone..

m-kratochvil avatar Feb 10 '23 14:02 m-kratochvil

I solved this by installing alsa-lib, xdg-utils (not sure if required), & fontconfig, but it might not work for the logs posted above, but might help anyone install it on a headless server

DuckDuckWhale avatar May 22 '23 23:05 DuckDuckWhale

I've installed alsa-lib, xdg-utils and fontconfig but still blank.

lilydjwg avatar Jul 04 '23 15:07 lilydjwg

I also had two white-screen issues where the address bar and URL appeared at the top, but everything else is just white. I fixed my issues in the following ways:

  • The one issue was caused by docker networking not properly following my host machine's DNS configuration. This can be fixed by adding --network host to the docker command, e.g. docker run --network host --rm -ti fathyb/carbonyl https://youtube.com
  • The other was caused by invalid/self-signed certificates for services running on my local network. The --debug output will report this and it can be fixed by passing the Chromium command --ignore-certificate-errors, e.g. docker run --rm -ti fathyb/carbonyl --ignore-certificate-errors https://youtube.com (NOT recommended for general browsing!)

samuller avatar Aug 05 '23 17:08 samuller