Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on wayland #138

Open
M0n7y5 opened this issue Sep 30, 2024 · 4 comments
Open

Does not work on wayland #138

M0n7y5 opened this issue Sep 30, 2024 · 4 comments

Comments

@M0n7y5
Copy link

M0n7y5 commented Sep 30, 2024

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.
@M0n7y5
Copy link
Author

M0n7y5 commented Sep 30, 2024

After some more research it looks like its a nvidia issue: Temp workaround is described here:
tauri-apps/tauri#10702

@CalvinPVIII
Copy link

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

@Xyncgas
Copy link

Xyncgas commented Oct 2, 2024

git checkout a95415a6e358085c30c64cd8a7167c43714c076e on the repository seems like a quick temporary solution for those needing it

a95415a

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

@philippjbauer
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants