Electron does not open on Linux #961

Closed
opened 2026-01-29 16:52:55 +00:00 by claunia · 3 comments
Owner

Originally created by @Isolyth on GitHub (Nov 24, 2024).

  • Version: 23.6.2
NET8.0, unsure how to find the Node.js version.
  • Target: Linux, testing on a wayland+Nvidia machine

Running the program via 'dotnet tool run electronize start' results in no electron window appearing, and the output of the terminal has a few instances of src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

Steps to Reproduce:

  1. Attempt to run the program on Linux, possibly with wayland and Nvidia GPU

Gist of entire terminal output of both init and start

Originally created by @Isolyth on GitHub (Nov 24, 2024). <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Version**: 23.6.2 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> NET8.0, unsure how to find the Node.js version. <!-- What target are you building for? --> * **Target**: Linux, testing on a wayland+Nvidia machine <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> Running the program via 'dotnet tool run electronize start' results in no electron window appearing, and the output of the terminal has a few instances of `src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000` Steps to Reproduce: 1. Attempt to run the program on Linux, possibly with wayland and Nvidia GPU [Gist of entire terminal output of both init and start](https://gist.github.com/Isolyth/885b8f31669220cb5a2eaab8e23ffe9b)
claunia added the bug label 2026-01-29 16:52:55 +00:00
Author
Owner

@Isolyth commented on GitHub (Nov 24, 2024):

This seems to be my fault, I forgot to actually edit program.cs to use electron; I feel like the error should be more descriptive of what the actual issue is though.

@Isolyth commented on GitHub (Nov 24, 2024): This seems to be my fault, I forgot to actually edit program.cs to use electron; I feel like the error should be more descriptive of what the actual issue is though.
Author
Owner

@Isolyth commented on GitHub (Nov 24, 2024):

Actually, since I still see the error repeated in the terminal, I assume I haven't actually fixed the issue, even though electron does appear now.

@Isolyth commented on GitHub (Nov 24, 2024): Actually, since I still see the error repeated in the terminal, I assume I haven't actually fixed the issue, even though electron does appear now.
Author
Owner

@FlorianRappl commented on GitHub (Oct 31, 2025):

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

@FlorianRappl commented on GitHub (Oct 31, 2025): Outdated - use `ElectronNET.Core` and `ElectronNET.Core.AspNet`. See [Wiki / What's New](https://github.com/ElectronNET/Electron.NET/wiki/What's-New).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#961