Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loads to blank window... #3

Open
fhteagle opened this issue Nov 17, 2024 · 5 comments
Open

Loads to blank window... #3

fhteagle opened this issue Nov 17, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@fhteagle
Copy link

Hi and thanks for this interesting project.

I just tried installing this from AUR package into arch linux x86_64. However, when launching this from within a Hyprland (wayland native DE/compositor) I get a blank white window and nothing further happens even if waiting several minutes. If I launch this from the command line, I get two lines of welcome text (forget exactly what it says), blank window opened, but then silence.

In use at time of bug report:
Hyprland 0.45-2
Kernel 6.6.61-lts

Let me know what other debugging steps you would like for me to try....

Checklist of other stuff I could try, and will cross these off when I have tried them.

  • Compiling from source
  • Gnome or KDE Plasma on wayland
  • Gnome or KDE Plasma on X11
@AstralVixen AstralVixen self-assigned this Nov 17, 2024
@AstralVixen
Copy link
Owner

AstralVixen commented Nov 17, 2024

Hi there!

Thanks for reporting this issue. It seems like you’ve installed a version of the app from an unofficial AUR package created by a third party (maintainer zxp19821005). Unfortunately, I wasn't aware of this package, and it may not be fully compatible with your setup, which could be causing the issue you're experiencing.

I'd recommend trying to compile the app from source instead. This method is more reliable and should work without the issues you're facing with the AUR package.

If you're still interested in using an AUR package, I’m planning to add official AUR support in a future update to ensure better compatibility and proper packaging.

Small update: Upon further review of the PKGBUILD file it seems like some dependencies are not included (more specifically discord-rpc) although I doubt the discord rpc not working could cause a blank screen issue.

Thanks for your understanding, and feel free to reach out if you have further questions!

@AstralVixen AstralVixen added bug Something isn't working third-party Issue is caused from third-party distrobution labels Nov 17, 2024
@fhteagle
Copy link
Author

fhteagle commented Nov 17, 2024

Tried it again after removing the AUR package for geforce-infinity, git clone your repo, fresh install of npm from Arch extra repository. Unfortunately, I did get the same blank window results. However, I did get a bit more debug info. The two pop-up boxes came up after I accidentally closed the launching terminal session, so those might possibly be spurious reports.

ResizedImage_2024-11-17_12-12-45_1
ResizedImage_2024-11-17_12-09-54_1
IMG_20241117_120306

Glad to hear about your plans to add an AUR/pkgbuild for this. Always best when the maintainer maintains that too. Let me know when it's ready to test and I'll give it a shot.

@fhteagle
Copy link
Author

Also, in case it helps, https://aur.archlinux.org/packages/geforcenow-electron-bin works as expected. Happy to help you get yours running in my preferred DE too, though.

@AstralVixen
Copy link
Owner

So truth be told I am not at all familiar with wayland and arch yet but I want to try them sometime. So my help might not be the best yet but here are a few suggestions that might resolve the issue:

1. Ensure libnotify is installed:
This should only affect notifications (like not appearing), but it's worth checking in case there are any issues with the app's notification system. You can try reinstalling or verifying the installation of libnotify.

2. Check if the settings.cfg file exists:
Please look in the ./config/geforce-infinity folder to see if a settings.cfg file is there. When I tested without this file, it did cause a blank screen for around 15 seconds. It should be created automatically, but there may be permission issues or something else blocking it from being generated. You can try manually creating an empty settings.cfg to see if that helps.

3. Debugging with Developer Tools:
Please add the line mainWindow.webContents.openDevTools(); to your local main.js createWIndow function after the mainWindow.setMenuBarVisibility(false); line to see if the issue is just a full blank screen or nvidia not loading. Please if it shows share any errors present in the console.
Also try pressing Crtl+I (if you haven't tried that already) to see if the custom sidebar shows!

4. As a last resort:
If none of these steps fix the problem, I suggest trying to run the app on a different desktop environment (like GNOME or KDE Plasma) using X11 instead of Wayland just like you suggested. This should work more reliably with Electron apps, as Wayland can sometimes cause compatibility issues with them as I've read some issues today.

@AstralVixen AstralVixen removed the third-party Issue is caused from third-party distrobution label Nov 17, 2024
@fhteagle
Copy link
Author

fhteagle commented Nov 18, 2024

Arch is my favorite distro for a ton of reasons. Hyprland is still very much in development, but it is incredibly lightweight, flexible, etc.

  1. libnotify 0.8.3-1 was installed from arch package before my original bug report, and still is now.

  2. ~/.config/geforce-infinity/settings.cfg exists. Dir and file owner and group are my user, permissions are drwx------ for the directory and -rw-r--r-- for the file. Contents of that file are pretty simple:

{
  "autofocus": false,
  "notify": true,
  "rpcEnabled": true,
  "informed": true
}
  1. Added that line, did npm start, and wow actual window contents this time (and of course the debug console on the side). Commented that line back out, and GeForceNow still seems to load without that line. Computers: where the definition of insanity does not apply.....................................

I will keep using it for another day or two, and close this if I cannot get the bug to recur....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants