Zapzap e Stremio Flatpak não abrem

O meu ZapZap e o Stremio pararam de abrir aqui :frowning: Os dois da mesma forma.

Estou usando no Pop OS 22.04

Clicando no ícone ele não da sinal de vida.

O que pode ser?

~$ flatpak run com.rtosta.zapzap 
setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
Could not initialize GLX

Com os comandos abaixo, ele abre na bandeja, mas não abre a janela.

~$ export QT_XCB_GL_INTEGRATION=none
~$ flatpak run com.rtosta.zapzap 
setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Qt: Session management error: Could not open network socket
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
WebEngineContext is used before QtWebEngineQuick::initialize() or OpenGL context creation failed.
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
QPropertyAnimation: you're trying to animate the non-writable property width of your QObject
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget: Attempted to render scene with no rhi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi
js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'attribution-reporting'.
js: Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'compute-pressure'.
js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
js: Error with Permissions-Policy header: Unrecognized feature: 'otp-credentials'.
js: Error with Permissions-Policy header: Unrecognized feature: 'payment'.
js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'shared-storage'.
js: Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'shared-storage-select-url'.
js: Error with Permissions-Policy header: Unrecognized feature: 'usb'.
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget: Attempted to render scene with no rhi
QQuickWidget: Attempted to render scene with no rhi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create temporary context
QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport
QQuickWidget: Failed to get a QRhi from the top-level widget's window
QQuickWidget::resizeEvent() no QRhi

Obrigado!

@rafatosta

1 curtida

Ele já faltou comigo e não tenho ideia do que seja!
Uso esses dois apps em Flatpak e estão funcionando bem no Fedora Workstation.

2 curtidas

No Kubuntu 24.04.1 também está funcionando normalmente

2 curtidas

Tenta um “flatpak repair” talvez de um resultado

Primeiro, para de usar isso assim, esse recurso é para casos onde você não tem uma GPU compatível, em geral o Qt gerencia bem essa questão

Segundo, tenta isso:

flatpak override --user com.rtosta.zapzap --socket=wayland
flatpak override --user com.rtosta.zapzap --env=DRI_PRIME=1

Se estiver usando Wayland vai funcionar, se ainda não funcionar teste:

flatpak run --env=LIBGL_ALWAYS_SOFTWARE=1 com.rtosta.zapzap

E se funcionar esse ultimo:

flatpak install org.freedesktop.Platform.GL.default -y
1 curtida

rodei eles, mas não rolou.

~$ flatpak override --user com.rtosta.zapzap --socket=wayland
~$ flatpak override --user com.rtosta.zapzap --env=DRI_PRIME=1
~$ flatpak run --env=LIBGL_ALWAYS_SOFTWARE=1 com.rtosta.zapzap
setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
Could not initialize GLX

Sobre o último comando:

~$ flatpak install org.freedesktop.Platform.GL.default -y
Procurando por correspondências…
Refs similares localizadas para “org.freedesktop.Platform.GL.default” no remoto “flathub” (user):

   1) runtime/org.freedesktop.Platform.GL.default/x86_64/24.08
   2) runtime/org.freedesktop.Platform.GL.default/x86_64/19.08
   3) runtime/org.freedesktop.Platform.GL.default/x86_64/20.08
   4) runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra
   5) runtime/org.freedesktop.Platform.GL.default/x86_64/21.08
   6) runtime/org.freedesktop.Platform.GL.default/x86_64/22.08
   7) runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra
   8) runtime/org.freedesktop.Platform.GL.default/x86_64/24.08extra
   9) runtime/org.freedesktop.Platform.GL.default/x86_64/23.08

Qual você deseja usar (0 para abortar)? [0-9]: 7
Ignorando: org.freedesktop.Platform.GL.default/x86_64/23.08-extra já está instalado

Flatpak repair também não resolveu.

Resolvi com isso aqui:

sudo usermod -a -G video *username*

Achei por acaso no stakoverflow e funcionou. não entendi bem o que rolou

Este tópico foi fechado automaticamente 3 dias depois da última resposta. Novas respostas não são mais permitidas.