Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A Vulkan errors from headless chromium

Headless chromium gives me many errors: $ chromium codidact.com --headless [0914/093555.796025:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: ...

0 answers  ·  posted 2mo ago by matthewsnyder‭

#1: Initial revision by user avatar matthewsnyder‭ · 2024-09-14T15:36:52Z (2 months ago)
Vulkan errors from headless chromium
Headless chromium gives me many errors:
```
$ chromium codidact.com --headless
[0914/093555.796025:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
ERR: Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
[0914/093555.796133:ERROR:gl_display.cc(520)] 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/vk_renderer.cpp, initialize:1784.
[0914/093555.796177:ERROR:gl_display.cc(796)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0914/093555.796225:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[0914/093555.796259:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[0914/093555.796596:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
ERR: Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
[0914/093555.796642:ERROR:gl_display.cc(520)] 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/vk_renderer.cpp, initialize:1784.
[0914/093555.796674:ERROR:gl_display.cc(796)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0914/093555.796705:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[0914/093555.796735:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[0914/093555.796938:INFO:config_dir_policy_loader.cc(118)] Skipping mandatory platform policies because no policy file was found at: /etc/chromium/policies/managed
[0914/093555.796957:INFO:config_dir_policy_loader.cc(118)] Skipping recommended platform policies because no policy file was found at: /etc/chromium/policies/recommended
[0914/093555.798912:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[0914/093555.805128:WARNING:runtime_features.cc(712)] AttributionReportingCrossAppWeb cannot be enabled in this configuration. Use --enable-features=ConversionMeasurement,AttributionReportingCrossAppWeb in addition.
[0914/093555.805397:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
[0914/093555.812296:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
ERR: Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
[0914/093555.812372:ERROR:gl_display.cc(520)] 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/vk_renderer.cpp, initialize:1784.
[0914/093555.812404:ERROR:gl_display.cc(796)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0914/093555.812439:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[0914/093555.812466:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[0914/093555.812724:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
ERR: Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
[0914/093555.812766:ERROR:gl_display.cc(520)] 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/vk_renderer.cpp, initialize:1784.
[0914/093555.812795:ERROR:gl_display.cc(796)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0914/093555.812822:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[0914/093555.812849:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[0914/093555.813917:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[0914/093555.822178:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
ERR: Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
[0914/093555.822251:ERROR:gl_display.cc(520)] 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/vk_renderer.cpp, initialize:1784.
[0914/093555.822283:ERROR:gl_display.cc(796)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0914/093555.822318:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[0914/093555.822346:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[0914/093555.822607:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
ERR: Display.cpp:1086 (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/vk_renderer.cpp, initialize:1784.
[0914/093555.822648:ERROR:gl_display.cc(520)] 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/vk_renderer.cpp, initialize:1784.
[0914/093555.822677:ERROR:gl_display.cc(796)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0914/093555.822703:ERROR:gl_display.cc(830)] Initialization of all EGL display types failed.
[0914/093555.822731:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[0914/093555.823714:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[0914/093555.830231:WARNING:vaapi_wrapper.cc(1542)] Skipping nVidia device named: nvidia-drm
```

I do not get them without `--headless`, but I want to run it in headless mode so I can print webpages. The printing seems to work regardless of the errors, so whatever they are, they're not too important. But they clutter up output and make it hard to see whether the actual task (printing) failed.

GPU acceleration is not important to me. The page I am working with is very simple and would be fast enough regardless.

How can I make the output less noisy? I can't just send everything to `/dev/null` because occasionally there might be important messages.