vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed #5857

Open xenoterracide opened 3 years ago

xenoterracide commented 3 years ago

Issue

I'm not sure if this is even an issue. I just noticed this is in the -v output while trying to figure out another issue.

probably additionally relevant.

wayland 1.19.0
gnome 40
xorg-xwayland 21.1.2
libva 2.12.0

xrander output, so the information is available from the system

Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
XWAYLAND0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
   3840x2160     59.98*+
Plugin hyper-search (0.4.0) loaded.

Disabling Chromium GPU blacklist
running in prod mode

electron will open file:///opt/Hyper/resources/app.asar/index.html

[45641:0811/151113.256399:WARNING:keyboard_util.cc(135)] Invalid accelerator token: del
[45641:0811/151113.256441:WARNING:accelerator_util.cc(63)] ctrl+del doesn't contain a valid key

Setting Hyper as default client for ssh:// protocol

Linking HyperCLI

Hyper CLI installation failed Symlink creation failed: EACCES undefined

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

[45678:0811/151113.318791:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.

[45641:0811/151113.400282:INFO:CONSOLE(13)] "(electron) The remote module is deprecated. Use https://github.com/electron/remote instead.", source: electron/js2c/renderer_init.js (13)

[45641:0811/151113.412425:INFO:CONSOLE(1)] "(re)loading renderer plugins", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[45641:0811/151113.425072:INFO:CONSOLE(1)] "Plugin hyper-search (0.4.0) loaded.", source: file:///opt/Hyper/resources/app.asar/renderer/bundle.js (1)

[45641:0811/151113.527861:INFO:CONSOLE(36)] "total init time 173.10000000149012", source: file:///opt/Hyper/resources/app.asar/index.html (36)

Checking for notification messages

No matching notification messages

[45678:0811/151115.546689:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times!

[45678:0811/151115.549853:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 2 times!

[45678:0811/151120.934267:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 3 times!
LabhanshAgrawal commented 3 years ago

Can't say if this impacts us or not Looks like a bug from chrome https://bugs.chromium.org/p/chromium/issues/detail?id=879929

xenoterracide commented 3 years ago

Yeah, I don't know, I just saw it looking for my problem, I didn't notice anything noticeable. Not sure if it meant acceleration was not working right or not. I leave this one in your capable hands, lol.

axelparatre commented 1 year ago

Hello, just a follow up 'cause I'm experiencing the same issue. Thanks for your help

the-burrito-triangle commented 1 month ago

Bump: This error still happens with Fedora 41 / Gnome 47 using latest FreeTube (0.21.3 Beta):

$ ./freetube_0.21.3_amd64.AppImage [1487612:0902/172119.490523:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

FreeTube seems to work though, so maybe this error isn't a real concern--just adds to startup time when opening.