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

Linux AppImage: Error creating WebGL context. #339

Open
pseiler opened this issue Oct 21, 2024 · 1 comment
Open

Linux AppImage: Error creating WebGL context. #339

pseiler opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pseiler
Copy link

pseiler commented Oct 21, 2024

Describe the bug
When I start the Linux appimage version the window wants to render but keeps gray all the time. This was introduced in version 5.x+. The last version 4.12.1 works as expected.
On the command line output I get the following errors

Cannot get default EGL display: EGL_BAD_PARAMETER
[2024-10-21][05:23:18][mC@tauri://localhost/assets/index-CktJdJtA.js:45:2624][ERROR] Error: Error creating WebGL context.

I'm using latest Archlinux at the time of writing

To Reproduce
Steps to reproduce the behaviour:

  1. Use Archlinux
  2. Download and run the AppImage
  3. Check the console output for the specific error and see that the window won't get rendered

Expected behaviour
The GUI should render as expected.

Logs

user@curie ~/Apps [0] $ ./Pocket.Sync_5.2.0_amd64.AppImage 
[2024-10-21][05:23:17][pocket_sync::install_zip][INFO] Zip Task Started
[2024-10-21][05:23:17][pocket_sync::install_zip][INFO] Zip Task listening for file drop
[2024-10-21][05:23:17][pocket_sync::install_zip][INFO] Zip Task listening for install-core
[2024-10-21][05:23:17][pocket_sync][DEBUG] Command: get_news_feed
[2024-10-21][05:23:17][pocket_sync][DEBUG] Command: get_firmware_versions_list
[2024-10-21][05:23:17][reqwest::connect][DEBUG] starting new connection: https://www.analogue.co/
[2024-10-21][05:23:17][reqwest::connect][DEBUG] starting new connection: https://openfpga-cores-inventory.github.io/
[2024-10-21][05:23:18][mC@tauri://localhost/assets/index-CktJdJtA.js:45:2624][INFO] Checking for update...
[2024-10-21][05:23:18][reqwest::connect][DEBUG] starting new connection: https://github.com/
Cannot get default EGL display: EGL_BAD_PARAMETER
[2024-10-21][05:23:18][mC@tauri://localhost/assets/index-CktJdJtA.js:45:2624][ERROR] Error: Error creating WebGL context.
[2024-10-21][05:23:18][reqwest::async_impl::client][DEBUG] redirecting 'https://github.com/neil-morrison44/pocket-sync/releases/latest/download/latest.json' to 'https://github.com/neil-morrison44/pocket-sync/releases/download/v5.2.0/latest.json'
[2024-10-21][05:23:18][reqwest::async_impl::client][DEBUG] redirecting 'https://github.com/neil-morrison44/pocket-sync/releases/download/v5.2.0/latest.json' to 'https://objects.githubusercontent.com/github-production-release-asset-2e65be/556993170/db5b090f-7428-42f8-a0f7-a7b7afdf27bc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241021%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241021T052402Z&X-Amz-Expires=300&X-Amz-Signature=747ec1eb0da92ff86ecf20ce4dbb56e76f83d41443b26983417b6bb929bb2b21&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlatest.json&response-content-type=application%2Foctet-stream'
[2024-10-21][05:23:18][reqwest::connect][DEBUG] starting new connection: https://objects.githubusercontent.com/

Desktop (please complete the following information):

  • OS: Archlinux x86_64
  • Version current rolling release
  • AMD Rembrandt Radeon 680M
  • Mesa Graphics 24.2.5

Additional context
This issue started to occur on version 5.x++

@pseiler pseiler added the bug Something isn't working label Oct 21, 2024
@neil-morrison44
Copy link
Owner

Can’t find anyone else having that issue with a Tauri 2 app & I know it works on some Linux distros, so I’m not sure what to advise.

The biggest change between v4 & v5 is the update to Tauri 2, which means webkit2gtk-4.1 - if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants