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

Error starting frog on Fedora 36 - No provider of glGetShaderiv found. #56

Closed
brpaz opened this issue Jun 5, 2022 · 3 comments
Closed

Comments

@brpaz
Copy link

brpaz commented Jun 5, 2022

Hello. I installed From from Flatpak in a recently updated Fedora 36 install, but when I start the application, it crashes with the following error:

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
libGL error: MESA-LOADER: failed to retrieve device information
Cache downloaded codes: ['eng']
No provider of glGetShaderiv found.  Requires one of:
    Desktop OpenGL 2.0
    OpenGL ES 2.0

I found out some Reddit thread of a similar problem regarding GTK4 apps and they said to run with GSK_RENDERER=cairo environment variable and it works.

This error only apps in Frog and not other GTK4 apps.

I seem to have OpenGL installed:

❯ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
``
@amka
Copy link
Contributor

amka commented Jun 5, 2022

I'm on Fedora 36 from beta and still have no issues like these. Do you use an Intel card? Please look at #53.

@brpaz
Copy link
Author

brpaz commented Jun 5, 2022

Yes, I have an Intel card.
I found a user with exactly the same problem on Reddit - https://www.reddit.com/r/archlinux/comments/v2qrjf/mesaloader_problem_to_run_flatpak_app/ and the solution worked.

I needed to give dri permission to the Flatpak for it to work.

Maybe this should be documented somewhere.

@brpaz brpaz closed this as completed Jun 5, 2022
@amka
Copy link
Contributor

amka commented Jun 5, 2022

I'll add it to the next release. But for now, I'm glad you found a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants