Description of the issue:
Ever since I updated to the latest version of brave browser on the dnf repo, it stopped launching. To get it to launch, I had to delete ~/.config/BraveSoftware.
Steps to Reproduce (add as many as necessary): 1. 2. 3.
Visit brave://flags and set Preferred Ozone Platform to Wayland or Auto on a Wayland session (Fedora KDE Wayland). Relaunch to apply, as the notification prompts you to do.
Actual Result (gifs and screenshots are welcome!):
Nothing shows up except an empty window.
Expected result:
Being able to see the browser window.
Reproduces how often:
Every. Single. Time. I. Try.
Operating System and Brave Version(See the About Brave page in the main menu):
Fedora KDE Spin, Plasma Wayland Session
Version 1.65.114 Chromium: 124.0.6367.60 (Official Build) (64-bit)
Additional Information:
Please fix this quickly, since if I donât set the ozone platform to Wayland, I canât use touchpad gestures. Thanks!
@real_username,
This appears to be an upstream issue related to the Ozone platform flag. While waiting for the fix, you can work around this in one of two ways:
You can launch Brave from the Terminal using the --disable-experiments flag which should launch the browser successfully, then you can go to brave://flags and disable the Ozone platform flag from there (then Brave will launch normally).
Alternatively, if you want to continue using the experimental wayland, can you please try launching Brave from the terminal and appending the --ozone-platform=wayland flag?
Thank you, I am having this same issue and launching from the terminal with --ozone-platform=wayland is a great workaround. Meanwhile, I also set the config at brave://flags to âDefaultâ so that when I launch Brave from the shortcut instead of the terminal that it launches okay.
Of course, if you set your config directory aside in order to get back to the default OzonePlatform setting, you do get brave back, but you lose all of your other settings, tabs, etc. as well. For a non-destructive targeted fix, log out of your wayland session and log in to the same user with some non-wayland environment (I used i3wm), launch brave with your userâs settings under xorg, and set the OzonePlatform flag back to âdefault.â Lag back in to your wayland environment and youâre good to go.