| Summary: | [GTK] mesa fails to create shader cache, xdg cache dir not mounted in flatpak-spawn subsandbox | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeff Fortin <nekohayo> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro, pgriffis |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 218121 | ||
|
Description
Jeff Fortin
2023-01-22 11:09:23 PST
Looks like the shader cache is an ANGLE thing, so *probably* an ANGLE bug, although I'm failing to immediately find the code. But wait, is your username literally "user"? Because the error message says "/home/user". OK surprise, this is actually coming from mesa, not from ANGLE. It's in src/util/disk_cache_os.c. Oh and I can reproduce: Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling. Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling. I think it doesn't exist in the flatpak-spawn subsandbox. We don't want to provide access to the real host dirs because that defeats the point of subsandboxing, but I guess we could create empty ones. |