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

[Bug]: Text corruption with inline image on Linux with Intel GPU #38182

Closed
3 tasks done
cas-- opened this issue May 4, 2023 · 12 comments
Closed
3 tasks done

[Bug]: Text corruption with inline image on Linux with Intel GPU #38182

cas-- opened this issue May 4, 2023 · 12 comments
Labels
24-x-y bug 🪲 has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/linux stale

Comments

@cas--
Copy link

cas-- commented May 4, 2023

Preflight Checklist

Electron Version

24

What operating system are you using?

Ubuntu

Operating System Version

22.04

What arch are you using?

x64

Last Known Working Electron version

17.4.11

Expected Behavior

Text is not corrupted or garbled

image

Actual Behavior

Text is corrupted or garbled

image

Testcase Gist URL

https://gist.github.com/0d6e3524b9b095e1e567a07a7c797e31

Additional Information

This is a common problems in the sidebar of several Electron apps for Linux users with Intel GPUs:

The initial suggested workaround was to disable GPU rendering,then it was found that opacity was somehow related and from my research it seems to be something to do with stacking contexts with inline icon and text elements.

@cas-- cas-- added the bug 🪲 label May 4, 2023
@cas--
Copy link
Author

cas-- commented May 4, 2023

This looks like it originates as a Chromium bug since Electron 18 moved to Chromium 100 and checking old releases I can see the following:

Chromium versions from clickot or linchrome

  • 98.0.4758.80 - Good
  • 99.0.4844.84 - Good
  • 100.0.4896.75 - Bad
  • 112.0.5615.165 - Bad

The latest version installed with Ubuntu 22.04 seems good though

  • 112.0.5615.49 - Good

Is there something else at play with the packaging? 🤔

@stereomato
Copy link

Wew, about time I found a bug report about this, didn't knew how to report it myself. I can also confirm that the good chromium releases don't have text rendering bugs on pleroma instances. I also get the text rendering bug on Element.

@stereomato
Copy link

@cas--
Copy link
Author

cas-- commented May 30, 2023

@pearsche What help do you need? Not sure how much I can add, other than how to replicate using that index.html

However it does look to be fixed in latest Chromium 113, testing with clickot releases:

  • ungoogled-chromium_113.0.5672.63 - Good
  • ungoogled-chromium_113.0.5672.127 - Good

Edit:

Found it is still broken testing with Electro 25 via Electron Fiddle so not sure what is going on here...

I wonder if this libva error could be related:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

@stereomato
Copy link

Libva is for hw video acceleration, so i doubt its related.

@stereomato
Copy link

I've noticed that the text rendering bug i get on pleroma instances is far lesser with that version of chrome. well, that's nice...

@jkleinsc jkleinsc added has-repro-gist Issue can be reproduced with code at https://gist.github.com/ 24-x-y platform/linux labels Jun 6, 2023
@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@cas--
Copy link
Author

cas-- commented Sep 5, 2023

bump

@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@stereomato
Copy link

@cas-- do you still get this bug, even with mesa 23.2 or newer?

@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@electron-issue-triage
Copy link

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

@electron-issue-triage electron-issue-triage bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
24-x-y bug 🪲 has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/linux stale
Projects
No open projects
Status: Unsorted Items
Development

No branches or pull requests

3 participants