electron: [Bug]: GetVSyncParametersIfAvailable() failed for 1 times!
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
17.0.0
What operating system are you using?
Other Linux
Operating System Version
Debian GNU/Linux 11 (bullseye)
What arch are you using?
x64
Last Known Working Electron version
16.0.8
Expected Behavior
The command npm start
runs electron smoothly without any errors.
Actual Behavior
The command logs out this:
> dinobrowse@1.0.0 start
> electron .
[20676:0204/182046.077429:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[20676:0204/182047.144782:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[20676:0204/182047.158435:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Testcase Gist URL
https://gist.github.com/1787a7f55987914d30b12cc0e4956b7b
Additional Information
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 39
- Comments: 43 (4 by maintainers)
I am still having this issue on Ubuntu 22. Gives me this error 3 times but the app can run as normal.
I’m having the same issue on Ubuntu 22.04
just add this code in bellow your main.js file app.commandLine.appendSwitch(‘ignore-gpu-blacklist’); app.commandLine.appendSwitch(‘disable-gpu’); app.commandLine.appendSwitch(‘disable-gpu-compositing’);
I am still having this issue on manjaro. Node 20.4.0 electron 22.3.18
Same issue, different version of Node
Fedora: 39 - Gnome 45 Node: v20.9.0 Chromium 120.0.6099.56 / Electron 28.0.0
I am experiencing the same Issue with: KDE+Wayland on arch linux
Same issue, Arch Linux :
v20.11.0
28.2.3
45.4
- WaylandDisabling
Hardware Acceleration
seem to fix the issue.Safe to ignore the error ?
Same problem with Fedora 39 node v20.9.0 electron 26.6.2 GNOME 45.2 Wayland
Same? issue with Obsidian after upgrading electron from 25.9.8 to 28.1.0 version:
After this electron upgrade, Obsidian renders empty window and is unusable, downgrade fixed the issue. However, after the downgrade these error messages remain, Obsidian is working. Artix Linux, i3 Node: v21.5.0 Obsidian: v1.5.3
I can confirm I am also experiencing this issue.
Fedora 39 - Gnome 45 Node 20.4.0 Electron versions 27.1.3 and 28.0.0
The app appears to function correctly, no white screen appearing as yet, but will update if this happens.
Fedora 38 | Gnome Wayland
VS Code from Snap Store
Version: 1.78.2 Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435 Date: 2023-05-10T14:47:05.613Z Electron: 22.5.2 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Linux x64 6.2.15-300.fc38.x86_64 snap Sandboxed: No
npm run dev
in my appMy app works fine despite the errors.
Happening with me on chrome, chromium and vscode
OS: Arch Linux x86_64
Kernel: 6.2.9-arch1-1
Vscode
Chrome
Same problem on Ubuntu 24.04 beta. gnome-shell 46 and Wayland.
I’m experiencing this issue while running latest version of electron.
I have Fedora 39 workstation , electron version 28.0.0
Yaps, you can disable hardware acceleration to. Put this code app.disableHardwareAcceleration()
Look the documentation in below. I found this problem on ubuntu.
https://www.electronjs.org/docs/latest/tutorial/offscreen-rendering