brave-browser: Brave doesn't work on Fedora 38

Description

UI does not render correctly (no text, flickering, ect.) Logs have a lot of shader compilation errors:

[16275:16275:0506/135751.025985:ERROR:shared_context_state.cc(77)] Skia shader compilation error

Errors:
link failed but did not provide an info log

Steps to Reproduce

  1. Upgraded from Fedora 37 to Fedora 38
  2. brave-browser-1.51.110-1.x86_64
  3. Running on i3/X11

Actual result:

Screenshot from 2023-05-06 14-00-49

Brave version (brave://version info)

brave-browser-1.51.110-1.x86_64

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 2
  • Comments: 24

Most upvoted comments

It hasn’t re-occurred for me. Does the suggestion of rm -rf ~/.config/BraveSoftware/*/*ShaderCache make a difference?

Okay so for me I had to delete another folder… deleting GrShaderCache and ShaderCache inside of ~/.config/BraveSoftware/BraveBrowser didn’t help. I had to do this:

rm -rf ~/.config/BraveSoftware/Brave-Browser/Default/GPUCache

That’s the one that resolved my issue. Credit where credit is due though, as I stole this from an Arch Forum Post.

Downgraded to brave-browser-1.50.125-1.x86_64 and it worked

You may not need to delete your entire profile or start from scratch, I think it’s enough to just remove the shader caches.

I updated to 1.51.118, disabled Vulkan (which is still causing black bars on video), and deleted two folders: ShaderCache and GrShaderCache inside the profile folder (~/.config/BraveSoftware/Brave-Browser/). Now everything works just fine.

Thanks to @rillian for the hint.

I confirm @rillian proposal. By deleting the profile in /home/$USER/.config/BraveSoftware/ Brave works with version 1.51.110

Manually enabling Vulkan from brave://flags fixes 99% of issues on my setup (Fedora 37, Mesa 23.0.3, GNOME on Wayland). Only issue so far is a black bar on the YouTube UI, otherwise usable.

I think that is a problem in Chromium 113 because in chrome with this version I’m the same mistake, with Version 112 and 114 it missing