COMPUTE vs. DISPLAY
#1
Is it just me or did AMD drop the COMPUTE environment variable overriding DISPLAY in 13.12? I found it very handy for ssh -X sessions but it doesn't work anymore.

Fwiw it could be worked around within oclHashcat, eg. like this:
Code:
char *env;

// Prefer COMPUTE over DISPLAY and lacking both, assume :0
env = getenv("COMPUTE");
if (env && *env)
    setenv("DISPLAY", env, 1);
else {
    env = getenv("DISPLAY");
    if (!env || !*env)
        setenv("DISPLAY", ":0", 1);
}

I was going to add a request on trac but I thought I'd ask for others opinions/insights first.


Messages In This Thread
COMPUTE vs. DISPLAY - by magnum - 01-21-2014, 09:46 PM
RE: COMPUTE vs. DISPLAY - by unix-ninja - 01-21-2014, 10:02 PM
RE: COMPUTE vs. DISPLAY - by magnum - 01-21-2014, 10:16 PM