Vivaldi 2.3 - Hardware acceleration disabled in the Sandbox

If it's not about a problem in the program
Post Reply
Gravion
Posts: 4
Joined: Sat Mar 02, 2019 10:32 pm

Vivaldi 2.3 - Hardware acceleration disabled in the Sandbox

Post by Gravion » Sat Mar 02, 2019 10:50 pm

Some more input on the subject :

I'm a Vivaldi browser user, running Vivaldi v2.3, which bundles Chromium v72. Using Windows 10 x64 1809 and Sandboxie 5.28.
Since Vivaldi started using Chromium in version 72, the GPU can no longer be used by the browser when hardware acceleration is enabled. To reproduce the issue :

- Create a new sandbox
- Install Vivaldi v2.3 (standalone installation) outside sandbox
- Run it outside sandbox
- Type chrome://gpu in the address bar, you'll see that features are marked as "Hardware accelerated" (first few lines shown)
- Close Vivaldi
- Run it again, but inside sandbox this time
- Type chrome://gpu in the address bar, you'll see that features are marked as "Software only, hardware acceleration unavailable" (first few lines shown)

If you install Vivaldi v2.2 (which still uses Chromium v71 and not v72) and repeat the steps above, you'll see that hardware acceleration still works even when running inside the sandbox.

From this, we can conclude that since Chromium v72, the GPU can no longer be used by Chromium-based browsers while the latter are running inside Sandboxie. Some lines in chrome://gpu seem to imply that the GPU process failed to start and crashed. This is pretty bad, since some web content (esp. videos) will lag pretty hard when relying solely on the CPU (I've had some websites nearly freeze my browser tab when displaying a video).

I hope this issue can be addressed, and that this analysis helps a bit.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2981
Joined: Mon Nov 07, 2016 3:10 pm

Re: Chrome 72 SBIE2101 - [Workaround turn off hardware acceleration]

Post by Barb@Invincea » Mon Mar 04, 2019 10:16 am

Hi Gravion ,

I have not received any errors running Vivaldi 2.3.1440.60 - Stable 32 bit + Sbie 5.28 + Win 10 x64 v1809

These are the gpu settings outside Sandboxie:
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated

As soon as I run the app inside Sandboxie, the settings automatically change to this : (and no issues)
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Flash: Software only. Hardware acceleration disabled
Flash Stage3D: Software only. Hardware acceleration disabled
Flash Stage3D Baseline profile: Software only. Hardware acceleration disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Disabled
Rasterization: Software only. Hardware acceleration disabled
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Software only. Hardware acceleration disabled
Viz Service Display Compositor: Disabled
WebGL: Software only, hardware acceleration unavailable
WebGL2: Software only, hardware acceleration unavailable

I tested both with the nvidia card and the Intel card. Same results, yet no errors.
I hope we can compare the outside settings to see if there are any clues within them. Please, post yours.

Also, If you can provide all the information I requested in my previous posts, I will be happy to take a look.

Thanks!

Gravion
Posts: 4
Joined: Sat Mar 02, 2019 10:32 pm

Re: Chrome 72 SBIE2101 - [Workaround turn off hardware acceleration]

Post by Gravion » Mon Mar 04, 2019 3:47 pm

Woops, big sorry Barb, I kinda forgot one important detail, in that I do not actually have the SBIE2101 errors that OP is having. Vivaldi works fine, it's just that the GPU can no longer be used while running inside Sandboxie since Chromium v72.

Since OP's problem is about "\BaseNamedObjects\IGFXKMDNotifyBatchBuffersComplete", and that the workaround is to turn off hardware acceleration, it does look like it's linked to graphic card initialization when the browser is starting inside sandboxie since chromium 72. I believe if we solve that, we'll solve OP's problem, which imo indicates a larger issue linked to GPU initialization.

=========================================================================================
For Vivaldi 2.2 (Chromium v71) - running inside sandboxie :

Code: Select all

[b]Graphics Feature Status[/b]
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
[b]Driver Bug Workarounds[/b]
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_delayed_copy_nv12
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
[b]Problems Detected[/b]
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Delayed copy NV12 displays incorrect colors on NVIDIA drivers.: 728670
Applied Workarounds: disable_delayed_copy_nv12
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
[b]Log Messages[/b]
[19484:21948:0304/212056.045:WARNING:angle_platform_impl.cc(52)] : compileToBinary(232): C:\fakepath(73,10-42): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them C:\fakepath(95,10-42): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
GpuProcessHostUIShim:
GpuProcessHostUIShim:
For Vivaldi 2.2 (Chromium v71) running outside sandboxie :

Code: Select all

[b]Graphics Feature Status[/b]
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
[b]Driver Bug Workarounds[/b]
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_delayed_copy_nv12
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
[b]Problems Detected[/b]
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Delayed copy NV12 displays incorrect colors on NVIDIA drivers.: 728670
Applied Workarounds: disable_delayed_copy_nv12
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
[b]Log Messages[/b]
GpuProcessHostUIShim:
GpuProcessHostUIShim:
For Vivaldi 2.3 (Chromium v72) - running inside sandboxie :

Code: Select all

[b]Graphics Feature Status[/b]
Canvas: Software only, hardware acceleration unavailable
Flash: Software only. Hardware acceleration disabled
Flash Stage3D: Software only. Hardware acceleration disabled
Flash Stage3D Baseline profile: Software only. Hardware acceleration disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Disabled
Rasterization: Software only. Hardware acceleration disabled
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Software only. Hardware acceleration disabled
Viz Service Display Compositor: Disabled
WebGL: Software only, hardware acceleration unavailable
WebGL2: Software only, hardware acceleration unavailable
[b]Problems Detected[/b]
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
[b]Log Messages[/b]
GpuProcessHostUIShim: The GPU process crashed!
GpuProcessHostUIShim: The GPU process crashed!
GpuProcessHostUIShim: The GPU process crashed!
GpuProcessHostUIShim:
GpuProcessHostUIShim:
For Vivaldi 2.3 (Chromium v72) - running outside sandboxie :

Code: Select all

[b]Graphics Feature Status[/b]
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
[b]Driver Bug Workarounds[/b]
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_delayed_copy_nv12
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
[b]Problems Detected[/b]
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Delayed copy NV12 displays incorrect colors on NVIDIA drivers.: 728670
Applied Workarounds: disable_delayed_copy_nv12
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
[b]Log Messages[/b]
[22876:30692:0304/213432.074:WARNING:angle_platform_impl.cc(52)] : compileToBinary(230): C:\fakepath(77,10-42): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them C:\fakepath(99,10-42): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
GpuProcessHostUIShim:
GpuProcessHostUIShim:
=========================================================================================

The log messages indicate that the GPU process crashed when running chromium 72 inside sandboxie. This has to be a change introduced in Chromium v72, but I have no idea what. Pretty sure that solving this will make OP's error disappear as well, since it's clearly linked to graphics. The fact that we don't reproduce the SBIE2101 might be linked to a combination of graphic card vendor and GPU drivers.

At least it seems you are reproducing the bug that makes the GPU process unable to start in sandboxie, Barb.
Last edited by Barb@Invincea on Tue Mar 05, 2019 9:45 am, edited 1 time in total.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2981
Joined: Mon Nov 07, 2016 3:10 pm

Re: Chrome 72 SBIE2101 - [Workaround turn off hardware acceleration]

Post by Barb@Invincea » Tue Mar 05, 2019 9:43 am

Hi Gravion ,

I am splitting your responses from the original thread and moving them to Quick Questions for now.
Vivaldi is not a supported browser.

Regards,
Barb.-

PS: Moving this answer as well (original thread: viewtopic.php?f=11&t=26399 )

Gravion
Posts: 4
Joined: Sat Mar 02, 2019 10:32 pm

Re: Vivaldi 2.3 - Hardware acceleration disabled in the Sandbox

Post by Gravion » Thu Mar 07, 2019 4:22 pm

Thanks Barb.

Finally found a solution.
I solved it by enabling the #use-angle flag in vivaldi://flags and setting it to OpenGL.
Chromium team might have changed the default value in Chromium 72, which caused a GPU crash at start.

I also replied to the other topic, in case this solves the problem.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests