Empty screen after login
globeone opened this issue · 16 comments
Some more info to help debug:
Was attempting to play on a Surface tablet running Ubuntu 20.04, which give a blank screen after login.
On the gaming rig also Ubuntu 20.04 am able to log in and play using geforcenow-electron and everything works fine.
I can confirm this issue on 0.3.2 on Ubuntu 20.04.3. (Snap install)
Same problem
Same thing on pop02 20.04 (which is based on ubuntu 20.04).
One "interesting" thing : on this computer, playing through chrome-based browsers does not work, I have to tweak the user agent string. No idea if it can be related somehow.
And even weirder : using an extension to tweak the user agent does not work either : I have to use developers tools / more tools / network conditions / untick 'use default agent' there and set chrome os user agent from there.
Any other attempt will fail.
(while on another computer, using ubuntu, same chrome version, it works without issues. Yet, in order to get the keyboard selection menu I have to use chrome OS user agent)
using this one
Mozilla/5.0 (X11; CrOS x86_64 10066.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
same thing on archlinux except my default chromum works and the fake useragent does not :-)
I tried it couple of hours back and it didn't work for me, either. I tried it once more right now and it works - I did no changes to the OS, GFN or anything else... so give it another try, maybe it was just some error on Geforce's side and they resolved it?
No change yet. I tried three times.
i'm having this issue too
I've just had a success with electron 14 instead of electron 15
in package.json :
- "electron": "^15.3.0",
+ "electron": "^14",
then npm install && npm start
I am still investigating it and am not really sure what is the true problem, or more to the point what actually should be done to fix this.
As a backup solution I might just downgrade Electron to a version that works.
It's a bit hard though since on the systems that I can test on, it works with the latest version also.
Is anyone else able to confirm whether electron 14 works?
Might also be worth trying to wipe "~/.config/GeForce NOW" and see if that works.
Note: Removing that will wipe your session (you'll have to log in again). Consider just renaming that directory to something else instead, so that you ca rename it back later if the problem persists.
(additional info : I can't seem to access the "change keyboard layout". From my experience, I had to untick "use default useragent" in developer tools and set chrome os to have access to it. Here, change the string in main.js does not help. Just like using an extension in chrome does not help. I wonder if setting the user agent string still works, be it on electron or chrome)
I can confirm: Downgrade to Electron 14 did the trick. Thank you!
I managed to have it work with electron15 with this minimal tweak in main.js
diff --git a/scripts/main.js b/scripts/main.js
index d5c4090..f9d6cf7 100644
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -11,6 +11,7 @@ function createWindow() {
webPreferences: {
preload: path.join(__dirname, "preload.js"),
contextIsolation: false,
+ nativeWindowOpen: false
},
});
nativeWindowOpen: true
is the new default in electron 15.
This needs to be confirmed by others (with wiping cache and logout first and all)