Does not work on wayland
Opened this issue · 4 comments
I tried all samples and i get this error every time:
/home/___/RiderProjects/photino.Blazor/Samples/Photino.Blazor.NativeAOT/bin/Debug/net8.0/Photino.Blazor.NativeAOT
Photino.NET: "Photino".SetTitle(Photino.Blazor App)
Photino.NET: "Photino.Blazor App".SetUseOsDefaultSize(False)
Photino.NET: "Photino.Blazor App".SetUseOsDefaultLocation(False)
Photino.NET: "Photino.Blazor App".SetWidth(1000)
Photino.NET: "Photino.Blazor App".SetHeight(900)
Photino.NET: "Photino.Blazor App".SetLeft(0)
Photino.NET: "Photino.Blazor App".SetTop(100)
Photino.NET: "Photino.Blazor App".SetIconFile(favicon.ico)
Photino.NET: "Photino.Blazor App".SetTitle(Photino Blazor Sample)
Photino.NET: "Photino Blazor Sample".Load(/)
Photino.NET: "Photino Blazor Sample" ** File "/" could not be found.
Photino.NET: "Photino Blazor Sample".Load(app://localhost/)
Gdk-Message: 02:27:30.753: Error 71 (Protocol error) dispatching to Wayland display.
Process finished with exit code 1.
After some more research it looks like its a nvidia issue: Temp workaround is described here:
tauri-apps/tauri#10702
Also having the same issue, using KDE/Wayland, and the latest NVIDIA Driver. The workaround I've been using for now has been to launch the app using the command WEBKIT_DISABLE_DMABUF_RENDERER=1 dotnet watch run
git checkout a95415a6e358085c30c64cd8a7167c43714c076e
on the repository seems like a quick temporary solution for those needing it
WEBKIT_DISABLE_DMABUF_RENDERER=1
was not working for me
I ranWEBKIT_DISABLE_DMABUF_RENDERER=1 dotnet run
on the project which used photino.blazor and I cloned the repository to 404a3ea before doing it
Thank you for reporting this. We pinned the issue, but since this is an upstream bug in the Nvidia driver, we can't do anything about it.