-
Notifications
You must be signed in to change notification settings - Fork 28
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
WebKitWebProcess crashes because BadValue X11 Error, with NVidia drivers #342
Comments
Hello @Cybolic. Thanks for taking the time to report your issue. I need more information to investigate it further:
|
Sorry about that. |
Thanks for the logs. The following snippet might be the cause of the issue.
Is this a clean Nuvola flatpak installation or have you upgraded a previous flatpak build? |
This is an upgraded installation (flatpak update --system). |
Purging the flatpak installation and reinstalling didn't change anything. |
I'm always having the same or similar issue. I get: `)]}' [["er",null,null,null,null,405,null,null,null,9] when I enter the app. |
Hello @jamiehutber. That seems to be a stale sign-up page (a funny Google's bug). Pressing home button should help. If not, please create a new ticket for your issue. |
Ah yes, thanks. I do still get an error when I get through to the login page, once entering a password it just goes black. Could I ask where the log files are stored? Then i will create a new ticket. |
|
Yes, my NVIDIA driver was upgraded to the latest version (381.22) in the process of updating the system. |
Hello @Cybolic. I've updated WebKitGTK+ to 2.16.2. Could your ru If yes, is it reproducible in WebKitGTK+ MiniBrowser?
|
FYI: I was having this issue when installing with the GNOME Software button on Fedora but apparently it doesn't bring in some dependencies, such as GNOME platform and video driver libs. Installing with the command line works fine. |
Thanks @excieve. That's interesting. Could compare the output of following command in case of installation with GNOME software and commandline?
|
Yup! After updating the player works again. Feel free to close this :) |
@fenryxo Sure, that's possible. I'll experiment with these two types of installation a bit later and will report if there's something unusual. |
I have the same issue. Clean flatpack installation, Elementary OS. I've updated NVidia drivers recently. Same logs. I see there's a new version of WebKitGTK+ available, so updating it may fix the issue. |
None of the music services work, white screen after clicking any button (i.e. login). |
log.txt |
And no, the issue is not reproducible in WebKitGtk MiniBrowser. |
Also, you should probably change the title to "WebKitWebProcess crashes because of BadValue X11 Error". Because this issue affects all music services, not just Google Music (Tested GM, Deezer, and Yandex Music myself). |
Actually, yes, they seem to appear in the same order even on same lines. |
I must admit that I have no experience with nvidia graphic cards. So I'm going to ask a lot of questions to understand the situation.
|
I've updated my driver's using apt update, as usual. As a package. |
It's okay to ask questions, the thing is to resolve the issue as a result. I'll be able to give more details later, as I'm not at home rn. |
|
grep output
|
I looked up and found out that I have proprietary NVidia drivers installed |
Upstream issue: flatpak/flatpak#138 |
Could you find out the version of nvidia driver? Maybe from the version of the driver package. It should be 375-something. Flatpak seems to support following versions:
|
Driver Version: 375.66 |
In my case this is nvidia driver 381.22. There's a corresponding flatpak platform package pulled in automatically:
|
I'm on the same NVIDIA driver on Arch with the latest flatpak packages and I'm not seeing the issue anymore.
|
I updated my drivers to 381.22. I can confirm the issue is resolved. It seems that flatpak doesn't support 375.66, so it's not a bug of this app. |
🎉 Great! Are both error messages 1 and two from #342 (comment) gone? I leave this issue open as I think Nuvola should somehow detect that there is no matching nvidia driver and show a message to user instead of crashing web process. Could anyone provide me with output of the following command?
Btw @excieve, you have duplicate flatpaks in system and user destinations. Is there any reason for that? |
Not sure, but I suspect this might be due to first trying to install using the GNOME Software and then manually. Maybe Software tries to install in system destination. I'll try to purge everything and then reinstall using one of the methods to see what it does. |
So I just purged everything both system or user in flatpak and tried installing Nuvola Apps and Google Play app using GNOME Software. It actually installed everything in user destination unlike manual method (which in the instructions suggests using sudo) installing system-wide. However, this Software installation didn't pull in nvidia driver platform. So I executed So there appear to be two issues:
|
What does
I think both ways are ok. The issue is whether GNOME Software can update both locations.
That's this bug: Flatpak backend doesn't seem to install related refs Anyway, since there are so many flatpak-related bugs in GNOME Software, I'm going to update instructions not to use GNOME Software at all. In addition, I'll remove |
Checks that /sys/module/nvidia/version has corresponding /usr/lib/GL/nvidia-X-Y directory. Issue: #342 Signed-off-by: Jiří Janoušek <[email protected]>
Could anyone test master branch of Nuvola flatpak with these steps? Thanks.
|
Changes have been pushed to the stable flatpak branch. Not sure whether it works as I haven't received any feedback. We'll see. |
New Features: * Nuvola Apps Runtime supports the integration of a progress bar and volume management. Web app scripts which use this feature can not only provide track length & position and current volume but also allow user to change that remotely, e.g. from Media Player GNOME Shell extension. At the present, only Deezer and Google Play Music scripts use these features but others will follow. Issue: #22 Issue: #155 * If Nuvola Apps Runtime detect a Nvidia graphics card, it checks whether the flatpak extension with corresponding graphics driver is installed. If it isn't, e.g. because of a bug in GNOME Software, an error message is shown to provide the user with installation instructions. Issue: #342 * After a lot of effort, a workaround for the instability of Flash plugin was found out and is used until WebKitGTK developers find a proper fix. However, it is applied only in flatpak builds because it may have negative impact on other WebKitGTK applications otherwise. Issue: #354 Bug fixes: * Wrong command in desktop launcher was fixed. Issue: #348 * Fix wscript for non-git builds. Issue: tiliado/diorite#16 News for Script Maintainers: * `Nuvola.VERSION_MICRO` contains micro version of Nuvola Runtime. * `Nuvola.API_VERSION_MAJOR` and `Nuvola.API_VERSION_MINOR` are now deprecated aliases of `Nuvola.VERSION_MAJOR` and `Nuvola.VERSION_MINOR`. * Tutorial was updated to use Nuvola ADK 4.4. * Added documentation of web app requirement flags. * Added documentation of user agent quirks. * New API for progress bar integration. * New API for volume management integration. * New utility functions `Nuvola.encodeVersion` and `Nuvola.checkVersion`. * `Nuvola.triggerMouseEvent` and `clickOnElement` support relative x & y coordinates. Under the Hood: * New dependencies: libdrm >= 2.2 and libdri2 >= 1.0 * Nuvola checks whether VDPAU and VA-API drivers are installed and prints debugging information to console. It will show error dialog in the future though, so make sure the drivers are installed. Issue: #280 * Internal icon loading code was refactored. Legacy icon.png and nuvolaplayer3_XXX icons are no longer supported. eu.tiliado.NuvolaAppXxx is used everywhere. Issue: #353 Signed-off-by: Jiří Janoušek <[email protected]>
Fix released in Nuvola 4.5. |
I get an error message stating "Integration error Failed to inject JavaScript API. Main object not found.' The application might not function properly." I'm running the latest flatpak version installed with --system.
The text was updated successfully, but these errors were encountered: