brave-browser: Brave not showing up when booting with ozone
Description
Brave browser on linux, in the latest update, doesn’t show anything when booting with ozone-platform-hint set to wayland. But the program is running in the background.
Steps to Reproduce
- Update to 1.61.101
- Log in using Wayland
- Run
brave --ozone-platform-hint=wayland
Actual result:
Brave runs, but no window appears on screen
Expected result:
A window should appear on screen
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Version 1.61.101 Chromium: 120.0.6099.71
Version/Channel Information:
- Can you reproduce this issue with the current release? Yes
- Can you reproduce this issue with the beta channel? idk
- Can you reproduce this issue with the nightly channel? idk
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? idk
- Does the issue resolve itself when disabling Brave Rewards? idk
- Is the issue reproducible on the latest version of Chrome? idk
Miscellaneous Information:
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 15 (1 by maintainers)
Hello, While troubleshooting a tearing issue with Chrome, I enabled the Vulkan flags in the chrome://flags (chrome://flags/#enable-vulkan), and then the same symptoms in Brave appeared in Chrome
I had to create a chrome-flags.conf under the ~/.config folder with the following content:
once I made this change, chrome back to work.
As I realized Vulkan support is broken on Chrome on Wayland, I tried to have the same fix in Brave by having brave-flags.conf with the same content as the chrome-flags.conf
And then brave back to work for me!
That led me to the conclusion that Vulkan’s support with Nvidia and Wayland is broken for some reason.
Googling the issue, gave me few interesting results, looks like Electron-based apps are also suffering the same issue, https://forums.developer.nvidia.com/t/chromium-electron-applications-hang-on-launch-on-gnome-wayland/276978/8
Looking on this ArchLinux’s BBS thread: https://bbs.archlinux.org/viewtopic.php?id=291229 Looks like Edge and Chromium are suffering with the same bug.
From chromium bugs tracker perspective, i’ve found the following issues: https://bugs.chromium.org/p/chromium/issues/detail?id=1134001 https://bugs.chromium.org/p/chromium/issues/detail?id=848385 https://bugs.chromium.org/p/chromium/issues/detail?id=578890
By this issues, it looks like the Vulkan support is WIP and not ready to be used, maybe i’m wrong…
Nvidia, but it uses an Intel Graphics when using Ozone on Wayland