On Tuesday, April 22nd, 2025 at 1:57 PM, Rob Clark <[email protected]> wrote:
> On Tue, Apr 22, 2025 at 1:45 PM Ben Koenig [email protected] wrote: > > > Hey all, got a really random Linux question. > > > > Does anyone here who uses SDDM to log into their computer have a bunch of > > mesa cache files in /.cache ? > > > > Yes, that's a hidden .cache folder in /, you'll need to use 'ls -a /' to > > find it. I'm specifically interested in systems running sddm versions >=20 > > but if you are on an older distro using 19 and have it that would be > > interesting as well... > > > That would be the mesa shader cache.. probably from > x86-video-modesetting/glamor using gl to accelerate x11.. the path is > chosen here: > > https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/disk_cache_os.c#L881 > > BR, > -R I am well aware of what it is and how it gets selected. The problem is that for the current testing release of Slackware sddm has started putting the mesa cache in /. This does not occur in the stable release of 15.0 and the scripts that set the environment for runlevel 4 do not appear to have changed significantly. What I'm curious to know is if this problem occurs on other distros so that I can look into how they set the environment and report a fix for slackware-current. This probably indicates a change upstream and would also mean that other distros had to contend with it as well. A simple 'ls -la /' to check for this folder would suffice. Who knows, maybe it's not just Slackware... -Ben
