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

Shader compilation broken #411

Closed
razzeee opened this issue Oct 30, 2023 · 10 comments
Closed

Shader compilation broken #411

razzeee opened this issue Oct 30, 2023 · 10 comments

Comments

@razzeee
Copy link
Member

razzeee commented Oct 30, 2023

After updating mesa element started and basically did not display anything usable.

See microsoft/vscode#190437 for the similar vscode issue

Can be fixed by running

rm -rf ~/.var/app/im.riot.Riot/config/Element/GPUCache
@yajo
Copy link

yajo commented Oct 30, 2023

Thanks for the workaround! Element works fine after removing that file.

@mejo-
Copy link

mejo- commented Oct 30, 2023

In my case it was ~/.var/app/im.riot.Riot/config/Riot/GPUCache, but indeed removing that fixed latest Element for me 😇

@zestygrass
Copy link

Same issue here, the fix works, Thank you

@razerrazer
Copy link

even if i remove that folder, the issue exist.

@razzeee
Copy link
Member Author

razzeee commented Oct 30, 2023

You need to restart the app

@razzeee
Copy link
Member Author

razzeee commented Nov 2, 2023

Chromium finally fixed this, no idea, when it will show up in electron builds microsoft/vscode#190437 (comment)

@SISheogorath
Copy link
Collaborator

Would it make sense to drip the shader cache on startup of Element for now? It is supposed to be fixed in Chrome by now, but it'll take some time to "trickle down".

@razzeee
Copy link
Member Author

razzeee commented Nov 3, 2023

Not sure, it might cause slowness, sucks either way.

At least this MS person thinks it's no a good idea (but we're acting with a different slice of the userbase)
microsoft/vscode#190437 (comment)

@alatiera
Copy link
Member

alatiera commented Nov 7, 2023

I slower launching app for one instance is better than a non-working application. We could have it remove the cache only if the timestamp is too old or so.

@razzeee
Copy link
Member Author

razzeee commented Nov 13, 2023

As far as I understand, this should be fixed now. At least in the case of element.

Other electron apps might need to update their dependency. Vscode has also been fixed.

@razzeee razzeee closed this as completed Nov 13, 2023
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

7 participants