Bug#888028: nvidia-driver: applications running with discrete NVIDIA graphics tries to create /home/user.nv/ directory

Andreas Beckmann anbe at debian.org
Mon Jan 22 20:31:29 UTC 2018


Control: tag -1 upstream moreinfo

On 2018-01-22 20:39, Vincas Dargis wrote:
> It looks like some shared code actually wanted to create $HOME + / + .nv
> directory, though accidentally skipped a slash.

Some nvidia driver components use ~/.nv/ as temporary storage, sounds
like something expects $HOME to contain a trailing slash ... probably
harmless without apparmor ...

Do you have XDG_CACHE_HOME set in the environment? (That's an
alternative location where to place the .nv directory.) Does it have a
trailing slash?

I checked the source with

for lib in NVIDIA-Linux-amd64/*.so* NVIDIA-Linux-i386/*.so* ; \
  do echo $lib; strings $lib | grep -E '\.nv(/|$)' ; done

but that didn't bring anything immediately obvious - there is always a
slash before the .nv


Is the problem reproducible with something like glxinfo/glxgears? That
would simplify debugging.


Anyway, please consider reporting this directly to NVIDIA, since we
cannot fix bugs in the binary components at all ...
See README.Debian in the driver for details.


Andreas



More information about the pkg-nvidia-devel mailing list