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

Detect and warn about OpenGL/VA-API/VDPAU driver errors #280

Closed
jiri-janousek opened this issue Dec 28, 2016 · 19 comments
Closed

Detect and warn about OpenGL/VA-API/VDPAU driver errors #280

jiri-janousek opened this issue Dec 28, 2016 · 19 comments
Labels
type: quality Improves quality of the app or the user experience.
Milestone

Comments

@jiri-janousek
Copy link
Member

jiri-janousek commented Dec 28, 2016

Hello :-) Chances are that you have been redirected to this ticket by Start-Up Check Dialog (picture bellow). In that case, please leave a comment with the name of the missing driver from the dialog (e.g. r600 in the picture bellow) and the name of your graphics card. Thank you.

statup-check-dialog


Developer notes:

#278:

libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1

#224 (comment):

Failed to open VDPAU backend libvdpau_va_gl.so: nem nyitható meg a megosztott objektumfájl: Nincs ilyen fájl vagy könyvtár
Translation:
Failed to open VDPAU backend libvdpau_va_gl.so: can not open shared object file: No such file or directory

https://github.com/tiliado/nuvola-app-spotify/issues/11

Failed to open VDPAU backend libvdpau_va_gl.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

#342

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory

Links

@jiri-janousek jiri-janousek added the type: quality Improves quality of the app or the user experience. label Dec 28, 2016
@jiri-janousek jiri-janousek added this to the 4.x milestone Feb 6, 2017
@jiri-janousek jiri-janousek changed the title Detect and warn about libva errors Detect and warn about libva/gl errors Jun 2, 2017
@jiri-janousek jiri-janousek modified the milestones: June 2017, 5.x Jun 3, 2017
@jiri-janousek jiri-janousek changed the title Detect and warn about libva/gl errors Detect and warn about libva/gl/vaapi errors Jun 23, 2017
jiri-janousek added a commit that referenced this issue Jun 23, 2017
  * Only for debugging for now.
  * New dependencies: libdrm >= 2.2 and libdri2 >= 1.0
  * Issue: #280

Signed-off-by: Jiří Janoušek <[email protected]>
jiri-janousek added a commit that referenced this issue Jun 23, 2017
  * Only for debugging for now.
  * New dependencies: libdrm >= 2.2 and libdri2 >= 1.0
  * Issue: #280

Signed-off-by: Jiří Janoušek <[email protected]>
jiri-janousek added a commit that referenced this issue Jun 25, 2017
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]>
@jiri-janousek jiri-janousek modified the milestones: July 2017, June 2017 Jun 25, 2017
@jiri-janousek jiri-janousek changed the title Detect and warn about libva/gl/vaapi errors Detect and warn about OpenGL/VA-API/VDPAU driver errors Jul 24, 2017
jiri-janousek added a commit that referenced this issue Jul 24, 2017
@jiri-janousek jiri-janousek modified the milestones: August 2017, July 2017 Jul 29, 2017
@steevsachs
Copy link

Getting the warning for VA-API Driver 'radeonsi' not found

@jiri-janousek
Copy link
Member Author

Hello @steevsachs. Thanks for your report. I'll take a look at it at the weekend.

@jiri-janousek
Copy link
Member Author

jiri-janousek commented Aug 3, 2017

urschuca from Patreon: Fedora 26, Wayland session: VA-API driver and VDPAU driver : Failed to get DRI2 driver name. DRI2QueryExtension failed, 0, 0.

@urschuca
Copy link

urschuca commented Aug 3, 2017

dri2query

on a fedora 26

@jiri-janousek
Copy link
Member Author

@urschuca Regarding to the first error "Failed to connect to Nuvola Apps Service" - if it keeps popping, please try to reboot your computer. It it won't help, please create a new ticket for it.

jiri-janousek added a commit that referenced this issue Aug 5, 2017
- Issue: #280
- Issue: #359

Signed-off-by: Jiří Janoušek <[email protected]>
@jiri-janousek
Copy link
Member Author

@steevsachs and @urschuca, could you run flatpak update && flatpak update --user and check whether your issue is still reproducible with Nuvola 4.6.6?

@steevsachs
Copy link

I can no longer reproduce on 4.6.6. Thank you!

jiri-janousek added a commit that referenced this issue Aug 9, 2017
Issue: #280

Signed-off-by: Jiří Janoušek <[email protected]>
jiri-janousek added a commit that referenced this issue Aug 9, 2017
jiri-janousek added a commit that referenced this issue Sep 2, 2017
New Features:

  * New web app:  Jupiter Broadcasting by Andrew Stubbs.
  * The genuine flatpak builds offers free trial and $1/month
    subscription.
  * For sake of transparency, preferences dialog shows placeholders for
    features which were disabled by a distributor.

Bug Fixes:

  * VAAPI/VDPAU checks are not run under Wayland.
    Issue: #280 Issue: #359
  * URL sandbox was not honoured properly.
    Issue: #367

News for Script Maintainers:

  * API 4.6 is required for new scripts.

Under the Hood:

  * Nuvola no longer bundles `*.vapi` files but depends on those of
    Valac 0.36.3. However, glib-2.0.vapi and
    webkit2gtk-web-extension-4.0.vapi must be patched to work properly
    (see `vapi/*.patch`). You may need to modify wscript if you don't
    use Valac 0.36. Issue: #369
  * Valac and GLib dependencies were raised to 0.36.3 and 2.52.
    Issue: #369
  * GIR XML and typelib files are generated. Introduces new dependency
    on g-ir-compiler.
  * There was a lot of refactoring to allow usage of Python-GObject and
    to support multiple web engines in future.
  * Future warning: Nuvola is likely to introduce dependency on
    Python 3.6.

Signed-off-by: Jiří Janoušek <[email protected]>
@jiri-janousek
Copy link
Member Author

No error for a month. I'm closing this issue but anybody can still comment to reopen it when an issue appears.

@regisz
Copy link

regisz commented Oct 10, 2017

image

I got this warning.

@jiri-janousek jiri-janousek reopened this Oct 10, 2017
jiri-janousek added a commit that referenced this issue Oct 11, 2017
Issue: #280

Signed-off-by: Jiří Janoušek <[email protected]>
@jiri-janousek
Copy link
Member Author

jiri-janousek commented Oct 12, 2017

Hello @regisz. Could you check again with Nuvola 4.8.18? If the issue is still present, please provide me with a debugging output to investigate it further. Thanks.

Also, if you see broken fonts, take a look at #388.

@regisz
Copy link

regisz commented Oct 12, 2017

Unfortunately, the problem is still present.

$ flatpak run eu.tiliado.NuvolaAppGooglePlayMusic --version
Google Play Music script 6.0
Maintainer: Jiří Janoušek

--- Powered by ---

Nuvola Apps - Genuine flatpak build
Version 4.8.18
Revision 18-g3e3ee74
Diorite 4.8.6
WebKitGTK 2.18.0
libsoup 2.58.2

Nuvola.log
NuvolaAppGooglePlayMusic.log

@jiri-janousek
Copy link
Member Author

Graphics.vala:149: i965: VDPAU driver paths: /usr/lib/vdpau/libvdpau_i965.so

Nuvola seems to ignore /app/lib directory. What does flatpak run --command=env eu.tiliado.NuvolaAppGooglePlayMusic show? If it contains any sensitive information, you can strip it.

@regisz
Copy link

regisz commented Oct 12, 2017

jiri-janousek added a commit that referenced this issue Oct 12, 2017
The latest flatpak does not set LD_LIBRARY_PATH anymore.

- Issue: #280
- Issue: flatpak/flatpak#1073

Signed-off-by: Jiří Janoušek <[email protected]>
@jiri-janousek
Copy link
Member Author

Indeed, the latest version of Flatpak does not set LD_LIBRARY_PATH (flatpak/flatpak#1073).

@jiri-janousek
Copy link
Member Author

Hello @regisz. Could you check again with Nuvola 4.8.19?

@regisz
Copy link

regisz commented Oct 13, 2017

Ok, it is fixed 👍
Thx :)!

@jiri-janousek
Copy link
Member Author

Great :-)

@jiri-janousek
Copy link
Member Author

From https://www.patreon.com/posts/15088225:

Hello, I'm having this problem in Arch Linux + Gnome 3.26 + Wayland + Nvidia propietary drivers. I want to know if I am missing something. Deezer works fine but I get this warning everytime before launching it.

img

jiri-janousek added a commit that referenced this issue Nov 4, 2017
It happens under Wayland.

Issue: #280

Signed-off-by: Jiří Janoušek <[email protected]>
@jiri-janousek
Copy link
Member Author

Is the issue still reproducible with Nuvola 4.8.27?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: quality Improves quality of the app or the user experience.
Projects
None yet
Development

No branches or pull requests

4 participants