Brave browser fails to launch after update to Fedora 38

After updating to Fedora 38 Workstation (Gnome), the Brave browser fails to launch.

When attempting to start Brave from the terminal, the command brave-browser outputs:

/usr/bin/brave-browser: line 48: 73965 Illegal instruction     (core dumped) "$HERE/brave" "$@"

Brave was installed in Fedora 37 from Brave’s rpm repository:

https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo

I tried uninstalling Brave, cleaning the packages, removing the repository, and then reinstalling, but that has not fixed the issue. I also updated two other machines (with different hardware) from Fedora 37 to Fedora 38 and Brave works as normal on those machines.

I compared the bash scripts at /usr/bin/brave-browser from the working machine and the broken machine, and found no difference.

Any advice is greatly appreciate.

I confirm the problem, here’s a temporary workaround:

sudo dnf downgrade brave-browser

You can report the issue on their forum:

Thanks. I downgraded to Brave 1.50.119-1, and it is working with f38. I will report the issue at the Brave forum.

Actually, after starting the older version just once, and then upgrading it, the newer version also works for me.

3 Likes

Yes, that worked for me as well. Thanks again.

1 Like

Same here,
Downgrade->Execute->Update->Execute

Any solutions or workarounds for flatpak?

Yes there is @nsevenren
Go to home/.var

open terminal check the released commits

$ flatpak remote-info --log flathub com.brave.Browser
        ID: com.brave.Browser
       Ref: app/com.brave.Browser/x86_64/stable
      Arch: x86_64
    Branch: stable
Collection: org.flathub.Stable
  Download: 155.0 MB
 Installed: 353.4 MB
   Runtime: org.freedesktop.Platform/x86_64/22.08
       Sdk: org.freedesktop.Sdk/x86_64/22.08

    Commit: 478861fbc041d2ff6288628be6cd001834d10078ee4629b15b4110fd298a6bd0
    Parent: 0236563c2758f49b1ab7c2de523605c391fc55c4a36a3d991b4ce8a502eaa6ca
   Subject: Update brave.zip to 1.50.121 (557b99c2)
      Date: 2023-04-19 20:09:34 +0000
   History: 

    Commit: 0236563c2758f49b1ab7c2de523605c391fc55c4a36a3d991b4ce8a502eaa6ca
   Subject: Revert "Remove unnecessary permissions (#321)" (#324) (84fe28da)
      Date: 2023-04-18 15:26:15 +0000

    Commit: a626415f2380830953b5f7ef9af4b25d4c9a6deb6ad0c7cacee1788cb3ec4900
   Subject: Remove unnecessary permissions (#321) (073dc975)
      Date: 2023-04-15 21:14:30 +0000

    Commit: de5e4be7e2df587801696d68f34353f042cf6dbc9152a74b7ce7a959de79c7a2
   Subject: Update brave.zip to 1.50.119 (f2228818)
      Date: 2023-04-15 06:10:38 +0000

    Commit: 3142f88895f153627b7f1478ea753d1406070d142e795060c8365a1684b6e06d
   Subject: Update brave.zip to 1.50.114 (bd475dfb)
      Date: 2023-04-05 21:09:11 +0000

    Commit: afe65435c2a8579e85753981062c91ae7734743b8376ee91b77b04df03240c90
   Subject: Update brave.zip to 1.49.132 (ec031898)
      Date: 2023-03-28 19:41:13 +0000

    Commit: 684990d8b78edbffaebe1cb1a6668567cb64ac9d6af4a419993d1ad1730292a0
   Subject: Update brave.zip to 1.49.128 (7b5a95a8)
      Date: 2023-03-22 22:06:35 +0000

    Commit: b1ec0235d1923470c1ac5be7f62442e1bb77b017241887b12e38bb4583cf4350
   Subject: Update brave.zip to 1.49.120 (49c910b6)
      Date: 2023-03-09 21:09:26 +0000

    Commit: 2fcb6240eef8f9673c320466613e6dc20a4d62dd6c39581b6c274ab99770d8b5
   Subject: Add xdg-desktop file system permission (489150aa)
      Date: 2023-03-03 21:36:07 +0000

    Commit: dd766572898b7c607721a586c29444c5a9e57b5fa0e12a1256fc9e98d95a2109
   Subject: Fix tiny mouse cursor on Ozone+HiDPI (bb282384)
      Date: 2023-03-03 21:26:47 +0000

    Commit: c0baf41b36db01968f816c4a387eb7c956f561fbcff90293c8c9f89efdaf7df1
   Subject: arm64 fix (2d60b31e)
      Date: 2023-03-03 07:53:45 +0000

    Commit: eba772608ef5a17a0744e117e678015f66f80d8cd1f3ba7f1f28584abdfaf295
   Subject: Update brave.zip to 1.48.171 (a70db5b4)
      Date: 2023-03-02 23:29:43 +0000

    Commit: 3cc08ab8f637ef2392a8ff46b96c506515e9eeafab0547d49550ab11dd6689a9
   Subject: Resolve dubious ownership update check (4eca0498)
      Date: 2023-03-02 23:13:02 +0000

    Commit: 63890c2d66883c36f0d2ecc36169f4268c7dedd8d4aa7c22fdac4247bb1a65e4
   Subject: Update update.yaml (5a0bd76c)
      Date: 2023-03-02 21:26:28 +0000

    Commit: c41bd253f6278468b270be0a49151462c606eef07b45457cbbacfd0d6ec03260
   Subject: arm64 => aarch64 (e1079d74)
      Date: 2023-03-02 17:22:44 +0000

    Commit: 09b79245adf09e5e14d22c0c5ed6b5f3f0a9dc7b3be46beec0f903b76e2cc281
   Subject: Add support for reading system proxy settings (cb0a9046)
      Date: 2023-03-01 00:50:23 +0000

    Commit: 4d9683c4fa7ead3062d03fe9f59a94bffb9a35e4b60360461e0fa0a942ddd163
   Subject: Update brave.zip to 1.48.171 (a84465d1)
      Date: 2023-02-23 21:23:51 +0000

    Commit: 43dfbb833f5b725a42e2571481a2c8c3b7dd7859a128aee6d276c4fc5a8ff7e5
   Subject: Update brave.zip to 1.48.164 (74fe7338)
      Date: 2023-02-15 18:14:28 +0000

    Commit: f41f235013e89a6d402003cebbe9b4259f28f81b605585ebc847f41363345778
   Subject: Update brave.zip to 1.48.158 (aa82eaad)
      Date: 2023-02-07 21:36:30 +0000

    Commit: e0ef4600a60ce1bd63c3bcc35581f97061a8ef5e6ed22ece32f3cf57db8be35b
   Subject: Update brave.zip to 1.47.186 (d1d1bf7e)
      Date: 2023-01-25 22:34:55 +0000

    Commit: 403de10587a6aae1d283829b5fdd7f9fa276b35fac42ca0af2477db5ab53eaa8
   Subject: Update brave.zip to 1.47.171 (dfa211fa)
      Date: 2023-01-20 23:17:23 +0000

    Commit: 71284c273d0b46906a2610c66f034dc35cc3a00f1178378c5aa28e5b0f53f60f
   Subject: Update brave.zip to 1.46.153 (0fcddf15)
      Date: 2023-01-06 23:09:52 +0000

    Commit: c9d28aff419758ebf6d1c688543135cc683fe1d4f2acf19603bfc1b50ccfe95a
   Subject: Update brave.zip to 1.46.144 (7b4d61da)
      Date: 2022-12-14 22:08:46 +0000

    Commit: c0a4945e42f2d81e9d0a3ea9aa06c023b60e118ff67d3ba184836a34208849ae
   Subject: Update brave.zip to 1.46.140 (5c325c68)
      Date: 2022-12-08 19:06:23 +0000

    Commit: 968f2186c2fc6fcf74fbe9b5a8c2927ee305876b7fdcf804c3e200d1dde1f525
   Subject: Update brave.zip to 1.46.138 (929eaf83)
      Date: 2022-12-07 22:08:32 +0000

    Commit: aeeb1a93df6cfbe836965d437633c708977850a18b5e362d2c0aa8d2bd01c714
   Subject: Update brave.zip to 1.46.134 (93eba997)
      Date: 2022-12-03 07:07:12 +0000

then choose a version
this one worked for me

sudo flatpak update --commit=0236563c2758f49b1ab7c2de523605c391fc55c4a36a3d991b4ce8a502eaa6ca \com.brave.Browser
Looking for updates…


        ID                    Branch     Op    Remote     Download
 1. [βœ“] com.brave.Browser     stable     u     flathub    131.9 MB / 154.7 MB

Updating… β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 100%  458.1 kB/s  00:00
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
        ID                    Branch     Op    Remote     Download
 1. [βœ“] com.brave.Browser     stable     u     flathub    131.9 MB / 154.7 MB

Updates complete.

Thank you @rahat09 ! Interestingly it works now with the newest version without selecting an earlier commit. Maybe because I installed via dnf in the meantime.

1 Like

I can feel you bro…

This issue is resolved in brave-browser-1.50.125-1.x86_64

1 Like

:slight_smile: and it’s back in β€”> brave-browser-1.51.110-1.x86_64

brave starts but it generates a lot of error messages

I downgrade it back to β€” brave-browser-1.50.125-1.x86_64

(…)

rrors:
link failed but did not provide an info log
[35997:35997:0509/172043.862133:ERROR:shared_context_state.cc(77)] Skia shader compilation error

// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in half4 color;noperspective out half4 vcolor_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vcolor_S0 = color;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
noperspective in half4 vcolor_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0;outputColor_S0 = vcolor_S0;const half4 outputCoverage_S0 = half4(1);{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
in highp vec2 position;
in mediump vec4 color;
noperspective out mediump vec4 vcolor_S0;
void main() {
vcolor_S0 = color;
gl_Position = vec4(position, 0.0, 1.0);
gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
noperspective in mediump vec4 vcolor_S0;
void main() {
mediump vec4 outputColor_S0;
outputColor_S0 = vcolor_S0;
{
sk_FragColor = outputColor_S0;
}
}

Errors:
link failed but did not provide an info log
[35997:35997:0509/172043.865024:ERROR:shared_context_state.cc(77)] Skia shader compilation error

// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;uniform float3x3 umatrix_S1_c0;in float2 position;in half4 color;in float2 localCoord;flat out half4 vcolor_S0;noperspective out float2 vTransformedCoords_3_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vcolor_S0 = color;sk_Position = position.xy01;{
vTransformedCoords_3_S0 = float3x2(umatrix_S1_c0) * localCoord.xy1;
}
}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 uclamp_S1_c0_c0;uniform float3x3 umatrix_S1_c0;uniform sampler2D uTextureSampler_0_S1;
flat in half4 vcolor_S0;noperspective in float2 vTransformedCoords_3_S0;half4 TextureEffect_S1_c0_c0(half4 _input) {
float2 inCoord = vTransformedCoords_3_S0;float2 subsetCoord;subsetCoord.x = inCoord.x;subsetCoord.y = inCoord.y;float2 clampedCoord;clampedCoord = clamp(subsetCoord, uclamp_S1_c0_c0.xy, uclamp_S1_c0_c0.zw);half4 textureColor = sample(uTextureSampler_0_S1, clampedCoord);return textureColor;}

half4 MatrixEffect_S1_c0(half4 _input) {
return TextureEffect_S1_c0_c0(_input);
}

half4 DisableCoverageAsAlpha_S1(half4 _input) {
_input = MatrixEffect_S1_c0(_input);
half4 _tmp_0_inColor = _input;
return half4(_input);
}

void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0;outputColor_S0 = vcolor_S0;const half4 outputCoverage_S0 = half4(1);half4 output_S1;output_S1 = DisableCoverageAsAlpha_S1(outputColor_S0);{ // Xfer Processor: Porter Duff
sk_FragColor = output_S1 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
uniform highp mat3 umatrix_S1_c0;
in highp vec2 position;
in mediump vec4 color;
in highp vec2 localCoord;
flat out mediump vec4 vcolor_S0;
noperspective out highp vec2 vTransformedCoords_3_S0;
void main() {
vcolor_S0 = color;
gl_Position = vec4(position, 0.0, 1.0);
{
vTransformedCoords_3_S0 = mat3x2(umatrix_S1_c0) * vec3(localCoord, 1.0);
}
gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform highp vec4 uclamp_S1_c0_c0;
uniform highp mat3 umatrix_S1_c0;
uniform sampler2D uTextureSampler_0_S1;
flat in mediump vec4 vcolor_S0;
noperspective in highp vec2 vTransformedCoords_3_S0;
void main() {
mediump vec4 outputColor_S0;
outputColor_S0 = vcolor_S0;
mediump vec4 output_S1;
mediump vec4 _8_input = outputColor_S0;
highp vec2 _9_inCoord = vTransformedCoords_3_S0;
highp vec2 _10_subsetCoord;
_10_subsetCoord.x = _9_inCoord.x;
_10_subsetCoord.y = _9_inCoord.y;
highp vec2 _11_clampedCoord;
_11_clampedCoord = clamp(_10_subsetCoord, uclamp_S1_c0_c0.xy, uclamp_S1_c0_c0.zw);
mediump vec4 _12_textureColor = texture(uTextureSampler_0_S1, _11_clampedCoord, -0.5);
_8_input = _12_textureColor;
output_S1 = _8_input;
{
sk_FragColor = output_S1;
}
}

(…)

it is fixed in β€”> brave-browser-1.51.114-1.x86_64 :smile:

2 Likes

and it is back in β€”> brave-browser-1.52.129-1.x86_64

1 Like

AND fixed again in β€”> brave-browser-1.56.9-1.x86_64

1 Like