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

Program window launches but is blank on Linux #34

Open
andrewschuler opened this issue Apr 25, 2023 · 0 comments
Open

Program window launches but is blank on Linux #34

andrewschuler opened this issue Apr 25, 2023 · 0 comments

Comments

@andrewschuler
Copy link

Hello I'm trying to get this program to run on Linux. Specifically this is Kubuntu

Here is my dotnet info:
.NET SDK (reflecting any global.json):
Version: 6.0.116
Commit: b605cc131f

Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/dotnet/sdk/6.0.116/

global.json file:
Not found

Host:
Version: 6.0.16
Architecture: x64
Commit: 1e620a42e7

.NET SDKs installed:
6.0.116 [/usr/lib/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.16 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.16 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info

Node version:
v18.12.1

NPM version
8.19.2

CLI version
ElectronNET.CLI Version: 23.6.1.0

Steps:

  1. cloned repository
  2. ran 'electronize start'

The window starts but is blank. Here is the output from the command
ElectronHostHook handling started...
Invoke electron - in dir: /home/andy/Documents/github/electron.net-api-demos/obj/Host/node_modules/.bin
./electron "../../main.js"
Electron Socket IO Port: 8000
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3289:0425/115724.828466:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Electron Socket started on port 8000 at 127.0.0.1
ASP.NET Core Port: 8001
stdout: Use Electron Port: 8000

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3324:0425/115724.987426:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3360:0425/115725.058525:ERROR:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
[3323:0425/115725.061926:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
ASP.NET Core Application connected... global.electronsocket Qy2I1YSWUyLQFfWvAAAC 2023-04-25T18:57:25.183Z
stdout: BridgeConnector connected!

stdout: Called Event BrowserWindowCreated - data 2

stdout: ASP.NET Core host has fully started.
Hosting environment: Production
Content root path: /home/andy/Documents/github/electron.net-api-demos/obj/Host/bin
Now listening on: http://localhost:8001
Application started. Press Ctrl+C to shut down.

(node:3260) electron: Failed to load URL: http://localhost:8001/ with error: ERR_CONNECTION_REFUSED
(Use electron --trace-warnings ... to show where the warning was created)
[3260:0425/115725.378586:ERROR:interface_endpoint_client.cc(695)] Message 3 rejected by interface blink.mojom.Widget
stdout: Application is shutting down...

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

No branches or pull requests

1 participant