"https://messages.google.com/web" results in ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed
Homework
- I took the time to write a good, descriptive issue title
- I read
nativefier --helpand API.md. - I checked CATALOG.md for community suggestions & workarounds.
- I searched existing issues, open & closed. Yes, my bug is new.
- I'm running the latest version.
Nativefier command
nativefier "https://messages.google.com/web" "$target" --icon "$HOME/Pictures/Icons/android-messages-logo.png" --name "Android Messages" --platform "linux" --tray --portable --honest --single-instance --disable-dev-tools
Steps to reproduce
For years, I have been generating a google messages app, using the following command...
nativefier \
"https://messages.google.com/web" \
"$target" \
--icon "$HOME/Pictures/Icons/android-messages-logo.png" \
--name "Android Messages" \
--platform "linux" \
--tray \
--portable \
--honest \
--single-instance \
--disable-dev-toolsWhich now results, in a white-page, and errors:
[340658:0831/162758.368168:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [340658:0831/162758.374503:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [340658:0831/162802.299317:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
If I run it with just "https://messages.google.com", it works, but clicking the "Messages for web" link, it results in a whitepage again, and the errors above.
Expected behavior
The website is presented.
Actual behavior
Whitepage, with the error: ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed
Debug info
Running in verbose mode! This will produce a mountain of logs and is recommended only for troubleshooting or if you like Shakespeare.
Hi! Nativefier is minimally maintained these days, and needs more hands.
If you have the time & motivation, help with bugfixes and maintenance is VERY welcome.
Please go to https://github.com/nativefier/nativefier and help how you can. Thanks.Processing options... rawOptions { icon: '$HOME/Pictures/Icons/android-messages-logo.png', i: '$HOME/Pictures/Icons/android-messages-logo.png', _: [ 'https://messages.google.com/web', '' ], name: 'Android Messages', n: 'Android Messages', platform: 'linux', p: 'linux', tray: 'true', portable: true, honest: true, 'user-agent-honest': true, userAgentHonest: true, 'single-instance': true, singleInstance: true, 'disable-dev-tools': true, disableDevTools: true, verbose: true, c: false, conceal: false, 'no-overwrite': false, noOverwrite: false, overwrite: true, widevine: false, 'always-on-top': false, alwaysOnTop: false, 'disable-context-menu': false, disableContextMenu: false, 'full-screen': false, fullScreen: false, 'hide-window-frame': false, hideWindowFrame: false, m: false, 'show-menu-bar': false, showMenuBar: false, maximize: false, zoom: 1, 'clear-cache': false, clearCache: false, 'block-external-urls': false, blockExternalUrls: false, 'strict-internal-urls': false, strictInternalUrls: false, 'disable-gpu': false, disableGpu: false, 'enable-es3-apis': false, enableEs3Apis: false, 'ignore-gpu-blacklist': false, ignoreGpuBlacklist: false, 'disable-old-build-warning-yesiknowitisinsecure': false, disableOldBuildWarningYesiknowitisinsecure: false, 'ignore-certificate': false, ignoreCertificate: false, insecure: false, flash: false, bounce: false, counter: false, 'darwin-dark-mode-support': false, darwinDarkModeSupport: false, f: false, 'fast-quit': false, fastQuit: false, quiet: false, '$0': 'nativefier', targetUrl: 'https://messages.google.com/web', out: '' } Inferred arch x64 Normalized URL https://messages.google.com/web to: https://messages.google.com/web Running in verbose mode! This will produce a mountain of logs and is recommended only for troubleshooting or if you like Shakespeare. Building app as portable. SECURITY WARNING: all data accumulated in the app folder after running it (including login information, cache, cookies) will be saved in the app folder. If this app is then shared with others, THEY WILL HAVE THAT ACCUMULATED DATA, POTENTIALLY INCLUDING ACCESS TO ANY ACCOUNTS YOU LOGGED INTO.
Performing async options post-processing. Got icon from options. Using it, no inferring needed Sanitized filename for Android Messages : AndroidMessages options { packager: { appCopyright: undefined, appVersion: undefined, arch: 'x64', asar: false, buildVersion: undefined, darwinDarkModeSupport: false, dir: '/usr/local/lib/node_modules/nativefier/app', electronVersion: '25.7.0', icon: '$HOME/Pictures/Icons/android-messages-logo.png', name: 'AndroidMessages', out: '', overwrite: true, quiet: false, platform: 'linux', portable: true, targetUrl: 'https://messages.google.com/web', tmpdir: false, upgrade: false, upgradeFrom: undefined, win32metadata: { ProductName: 'Android Messages', InternalName: 'Android Messages', FileDescription: 'Android Messages' } }, nativefier: { accessibilityPrompt: true, alwaysOnTop: false, backgroundColor: undefined, basicAuthPassword: undefined, basicAuthUsername: undefined, blockExternalUrls: false, bookmarksMenu: undefined, bounce: false, browserwindowOptions: undefined, clearCache: false, counter: false, crashReporter: undefined, disableContextMenu: false, disableDevTools: true, disableGpu: false, diskCacheSize: undefined, disableOldBuildWarning: false, enableEs3Apis: false, fastQuit: false, fileDownloadOptions: undefined, flashPluginDir: undefined, fullScreen: false, globalShortcuts: undefined, hideWindowFrame: false, ignoreCertificate: false, ignoreGpuBlacklist: false, inject: [], insecure: false, internalUrls: undefined, lang: undefined, maximize: false, nativefierVersion: '52.0.0', quiet: false, processEnvs: undefined, proxyRules: undefined, showMenuBar: false, singleInstance: true, strictInternalUrls: false, titleBarStyle: undefined, tray: 'true', userAgent: undefined, userAgentHonest: true, verbose: true, versionString: undefined, width: 1280, height: 800, minWidth: undefined, minHeight: undefined, maxWidth: undefined, maxHeight: undefined, widevine: false, x: undefined, y: undefined, zoom: 1 } }
Preparing Electron app... Copying electron app from /usr/local/lib/node_modules/nativefier/app to /tmp/nativefier-19-25-7-app--345717-aeC08QVPuN07 Writing app config to /tmp/nativefier-19-25-7-app--345717-aeC08QVPuN07/nativefier.json { accessibilityPrompt: true, alwaysOnTop: false, appBundleId: undefined, appCategoryType: undefined, appCopyright: undefined, appVersion: undefined, arch: 'x64', asar: false, backgroundColor: undefined, basicAuthPassword: undefined, basicAuthUsername: undefined, blockExternalUrls: false, bounce: false, browserwindowOptions: undefined, buildDate: 1693502707262, buildVersion: undefined, clearCache: false, counter: false, crashReporter: undefined, darwinDarkModeSupport: false, derefSymlinks: undefined, disableContextMenu: false, disableDevTools: true, disableGpu: false, disableOldBuildWarning: false, diskCacheSize: undefined, download: undefined, electronVersionUsed: '25.7.0', enableEs3Apis: false, executableName: undefined, fastQuit: false, fileDownloadOptions: undefined, flashPluginDir: undefined, fullScreen: false, globalShortcuts: undefined, height: 800, helperBundleId: undefined, hideWindowFrame: false, ignoreCertificate: false, ignoreGpuBlacklist: false, insecure: false, internalUrls: undefined, isUpgrade: false, junk: undefined, lang: undefined, maximize: false, maxHeight: undefined, maxWidth: undefined, minHeight: undefined, minWidth: undefined, name: 'AndroidMessages', nativefierVersion: '52.0.0', osxNotarize: undefined, osxSign: undefined, portable: true, processEnvs: undefined, protocols: undefined, proxyRules: undefined, prune: undefined, quiet: false, showMenuBar: false, singleInstance: true, strictInternalUrls: false, targetUrl: 'https://messages.google.com/web', titleBarStyle: undefined, tray: 'true', usageDescription: undefined, userAgent: undefined, userAgentHonest: true, versionString: undefined, width: 1280, widevine: false, win32metadata: { ProductName: 'Android Messages', InternalName: 'Android Messages', FileDescription: 'Android Messages' }, x: undefined, y: undefined, zoom: 1, oldBuildWarningText: '' } No files to inject, skipping copy. Updating /tmp/nativefier-19-25-7-app--345717-aeC08QVPuN07/package.json 'name' field to androidmessages-nativefier-11f104
Converting icons... Building for Linux and icon is already a .png, no conversion needed Copying icons if necessary Copying icon $HOME/Pictures/Icons/android-messages-logo.png to /tmp/nativefier-19-25-7-app--345717-aeC08QVPuN07/icon.png
Packaging... This will take a few seconds, maybe minutes if the requested Electron isn't cached yet... electron-packager Electron Packager 17.1.2 electron-packager Node v18.17.1 electron-packager Host Operating system: linux 6.4.12-200.fc38.x86_64 (x64) +0ms electron-packager Packager Options: {"arch":"x64","asar":false,"darwinDarkModeSupport":false,"dir":"/tmp/nativefier-19-25-7-app--345717-aeC08QVPuN07","electronVersion":"25.7.0","icon":"$HOME/Pictures/Icons/android-messages-logo.png","name":"AndroidMessages","out":"","overwrite":true,"quiet":false,"platform":"linux","portable":true,"targetUrl":"https://messages.google.com/web","tmpdir":false,"upgrade":false,"win32metadata":{"ProductName":"Android Messages","InternalName":"Android Messages","FileDescription":"Android Messages"},"appBundleId":"com.electron.nativefier.androidmessages-nativefier-11f104"} +0ms electron-packager Target Platforms: linux +0ms electron-packager Target Architectures: x64 +0ms electron-packager Inferring appVersion from version in /tmp/nativefier-19-25-7-app--345717-aeC08QVPuN07/package.json +0ms electron-packager Application name: AndroidMessages +4ms electron-packager Target Electron version: 25.7.0 +0ms electron-packager Ignored path regular expressions: [ '/package-lock\.json$', '/yarn\.lock$', '/\.git($|/)', '/node_modules/\.bin($|/)', '\.o(bj)?$', '/node_gyp_bins($|/)', '/tmp/electron-packager' ] +0ms electron-packager Downloading Electron with options {"platform":"linux","arch":"x64","version":"25.7.0","artifactName":"electron"} +0ms Packaging app for platform linux x64 using electron v25.7.0 electron-packager Creating $HOME/Applications/android-messages/linux-x64-template-67ZFXF +3ms electron-packager Extracting $HOME/.cache/electron/7909d151958d0c601851544a64140b26c71b8b5a2e8e44b8e6c1f1fe3a0f5b95/electron-v25.7.0-linux-x64.zip to $HOME/Applications/android-messages/linux-x64-template-67ZFXF +0ms electron-packager Initializing app in $HOME/Applications/android-messages/AndroidMessages-linux-x64 from $HOME/Applications/android-messages/linux-x64-template-67ZFXF template +0ms electron-packager Ignored paths based on the out param: [ '$HOME/Applications/android-messages/AndroidMessages-darwin-x64', '$HOME/Applications/android-messages/AndroidMessages-darwin-arm64', '$HOME/Applications/android-messages/AndroidMessages-darwin-universal', '$HOME/Applications/android-messages/AndroidMessages-linux-ia32', '$HOME/Applications/android-messages/AndroidMessages-linux-x64', '$HOME/Applications/android-messages/AndroidMessages-linux-armv7l', '$HOME/Applications/android-messages/AndroidMessages-linux-arm64', '$HOME/Applications/android-messages/AndroidMessages-linux-mips64el', '$HOME/Applications/android-messages/AndroidMessages-mas-x64', '$HOME/Applications/android-messages/AndroidMessages-mas-arm64', '$HOME/Applications/android-messages/AndroidMessages-mas-universal', '$HOME/Applications/android-messages/AndroidMessages-win32-ia32', '$HOME/Applications/android-messages/AndroidMessages-win32-x64', '$HOME/Applications/android-messages/AndroidMessages-win32-arm64' ] +2s electron-packager Validating bundled Electron app +0ms electron-packager Checking for a package.json file +0ms electron-packager Checking for the main entry point file +0ms electron-packager Validation complete +1ms electron-packager Renaming electron to AndroidMessages in $HOME/Applications/android-messages/AndroidMessages-linux-x64 +13ms
Finalizing build... App built to $HOME/Applications/android-messages/AndroidMessages-linux-x64, move to wherever it makes sense for you and run the contained executable file (prefixing with ./ if necessary) Menu/desktop shortcuts are up to you, because Nativefier cannot know where you're going to move the app. Search for "linux .desktop file" for help, or see https://wiki.archlinux.org/index.php/Desktop_entries
Nativefier version
52.0.0
Node.js version
v18.17.1
npm version
9.6.7
OS
Linux 6.4.12-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 23 17:46:49 UTC 2023 x86_64 GNU/Linux
Source: nativefier/nativefier