AstralVixen / GeForce-Infinity

GeForce Infinity is a work-in-progress application designed to enhance the GeForce NOW experience. Originally created to address the lack of native GeForce NOW support on Linux, this app also provides functionality for windows users. My goal is to refine the user interface and offer custom features for an improved experience.
https://geforce-infinity.xyz
MIT License
2 stars 1 forks source link

Loads to blank window... #3

Open fhteagle opened 5 hours ago

fhteagle commented 5 hours ago

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.

AstralVixen commented 3 hours ago

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!

fhteagle commented 2 hours ago

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 commented 2 hours ago

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 commented 1 hour ago

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.