NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.36k stars 14.32k forks source link

Brave browser doesn't launch on with ozone-platform-hint=wayland #359159

Open LechTheMitch opened 3 days ago

LechTheMitch commented 3 days ago

Describe the bug

Brave no longer launches using the wayland backend using nix-unstable on non-nixOS Doesn't happen when using the version on nix-24.05 or when using x11

Additional context

It says there is a QT error I am running KDE on all my systems if this information helps

`qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb.

[1126/013821.037662:ERROR:process_memory_range.cc(75)] read out of range /nix/store/px32bmkz9dbljjib1bv3bdr4jncwbb8z-brave-1.71.123/bin/.brave-wrapped: line 39: 1060065 Aborted (core dumped) "$HERE/brave" "$@"`

PS: I am not on nixOS

Notify maintainers

@uskudnik

VeilSilence commented 2 days ago

Works on my side. What brave version are you using?

LechTheMitch commented 1 day ago

I am using version 1.73.91

LechTheMitch commented 1 day ago

I should mention I am not using nixOS