$ ./vanitygen 1test
Difficulty: (null)
Segmentation fault
Reinstalling the package fixed the segfault:
# apt-get remove libssl-dev libpcre3-dev
# apt-get remove git make gcc opencl-headers libssl-dev libpcre3-dev ocl-icd-dev ocl-icd-dbg
# apt-get install libssl-dev libpcre3-dev
# apt-get install git make gcc opencl-headers libssl-dev libpcre3-dev ocl-icd-dev ocl-icd-dbg
vanitygen works again.
But something changed for oclvanitygen. It used to "just work" with my Nvidia, without specifying it. Now it gives these options:
Available OpenCL platforms:
0: [NVIDIA Corporation] NVIDIA CUDA
0: [NVIDIA Corporation] GeForce 840M
And when I select -D 0:0 it can't open it:
./oclvanitygen -D 0:0 1test
Difficulty: 264104224
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Device: GeForce 840M
Vendor: NVIDIA Corporation (10de)
Driver: 352.63
Profile: FULL_PROFILE
Version: OpenCL 1.2 CUDA
Max compute units: 140733193388035
Max workgroup size: 1024
Global memory: 2147352576
Max allocation: 536838144
Could not open device '0:0', ignoring
Available OpenCL platforms:
0: [NVIDIA Corporation] NVIDIA CUDA
0: [NVIDIA Corporation] GeForce 840M
I tried everything I tried
in March again. I'm not sure what did the trick, but it works again

It "suddenly" worked again after I put my laptop back to using the Nvidia driver for its own graphics.