brave-browser icon indicating copy to clipboard operation
brave-browser copied to clipboard

RawDraw no longer functioning on X11 after upgrade to 1.64.109

Open sjuxax opened this issue 1 year ago • 1 comments
trafficstars

Description

Using build 1.64.109 Chromium: 123.0.6312.58 (Official Build) (64-bit), when launching with --enable-features=...RawDraw..., only a white window appears and the console spams

[105301:105301:0322/164021.112484:ERROR:shared_image_stub.cc(347)] SharedImageStub: Unable to create shared image
[105301:105341:0322/164021.112553:ERROR:shared_image_manager.cc(342)] SharedImageManager::ProduceRaster: Trying to Produce a Raster representation from a non-existent mailbox.
[105301:105301:0322/164021.112595:ERROR:shared_image_manager.cc(221)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[105301:105301:0322/164021.119217:ERROR:shared_image_factory.cc(988)] Could not find SharedImageBackingFactory with params: usage: DisplayRead|OopRasterization|RawDraw|RasterWrite, format: BGRA_8888, share_between_threads: 1, gmb_type: empty, debug_label: GpuRasterTile_Pid:0
[105301:105301:0322/164021.119249:ERROR:shared_image_stub.cc(347)] SharedImageStub: Unable to create shared image
[105301:105341:0322/164021.119366:ERROR:shared_image_manager.cc(342)] SharedImageManager::ProduceRaster: Trying to Produce a Raster representation from a non-existent mailbox.
[105301:105301:0322/164021.119436:ERROR:shared_image_manager.cc(221)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[105301:105301:0322/164021.126252:ERROR:shared_image_factory.cc(988)] Could not find SharedImageBackingFactory with params: usage: DisplayRead|OopRasterization|RawDraw|RasterWrite, format: BGRA_8888, share_between_threads: 1, gmb_type: empty, debug_label: GpuRasterTile_Pid:0

at a rapid pace. RawDraw worked without issue on the same setup with 1.63.x. Using nvidia 550.67.

Steps to Reproduce

  1. Upgrade to 1.64.109
  2. Try to use RawDraw via the enable-features=RawDraw flag.
  3. Observe failure

Actual result:

An unresponsive window and massive log spam.

Expected result:

Working Brave browser with RawDraw enabled.

Reproduces how often:

Every time.

Desktop Brave version:

1.64.109 Chromium: 123.0.6312.58 (Official Build) (64-bit)

Version/Channel Information:

  • Can you reproduce this issue with the current release?

Yes.

  • Can you reproduce this issue with the beta channel?

~~No, it seems to work on beta.~~ Yes, reproduced white window on beta.

  • Can you reproduce this issue with the nightly channel?

~~No, it seems to work on nightly.~~ Yes, reproduced white window on nightly.

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?
  • Yes, white window reproduced on Chrome 123.0.6312.58 (Official Build) (64-bit)

Miscellaneous Information:

This issue originally misdiagnosed the impacted flag as --enable-features=Vulkan. It's actually --enable-features=RawDraw.

sjuxax avatar Mar 22 '24 22:03 sjuxax

This bug is reported at chromium#341801008 and already has a fix that will be included in chromium v127.

TheWeirdDev avatar May 25 '24 05:05 TheWeirdDev