我已经在基于 Rocks 的集群上安装了 scilab 5.5.1(安装了 GPU 卡和 nvidia 驱动程序),并且我能够在同一个 .
当我需要使用客户端从远程计算机使用 scilab 时,就会出现问题腻子 / mobaxterm / ssh.scilab 的 Xforwarding 有问题还是我需要重新安装 X11?这问题之前被问过,它的答案对我来说没有多大用处。
The error is :
[root@machine1] ./scilab
Xlib: extension "GLX" missing on display "localhost:10.0"
terminate called after throwing an instance of 'GiwsException::JniCallMethodException'
what(): Exception when calling Java method : com/artenum/rosetta/ui/Console
at org.scilab.modules.gui.ScilabConsoleBridge.createConsole(Unknown Source)....
我拿了一台带有 GPU 卡和 nvidia 驱动程序的新 CentOS 机器,运行 scilab 会出现 silimar 错误:
[root@machine2] ./scilab
Xlib: extension "NV-GLX" missing on display "localhost:10.0".
更远 ,
[root@machine2]# DRI_PRIME=1 glxinfo|grep OpenGL
Xlib: extension "NV-GLX" missing on display "localhost:10.0".
OpenGL vendor string: Intel
OpenGL renderer string: Intel(R) HD Graphics
OpenGL version string: 1.4 (4.0.0 - Build 9.17.10.3223)
OpenGL extensions:
我已经通过以下方式重新创建了我的 X 配置文件X-配置命令和设备部分包含 PCI BusID
[root@machine2]#strace ./scilab
execve("./scilab", ["./scilab"], [/* 33 vars */]) = 0
brk(0) = 0x2789000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f43b9856000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/usr/lib64/tls/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/usr/lib64/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/x86_64", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64", {st_mode=S_IFDIR|0555, st_size=61440, ...}) = 0
open("/usr/local/lib/tls/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7fff28e920c0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("tls/x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("x86_64/libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libtinfo.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=76569, ...}) = 0
mmap(NULL, 76569, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f43b9843000
close(3) = 0
open("/lib64/libtinfo.so.5", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\310\200\3162\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=138280, ...}) = 0
mmap(0x32ce800000, 2232320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x32ce800000
mprotect(0x32ce81d000, 2097152, PROT_NONE) = 0
mmap(0x32cea1d000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x32cea1d000
close(3) = 0
open("/usr/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
access("./scilab-bin", X_OK) = 0
stat("./scilab-bin", {st_mode=S_IFREG|0755, st_size=800049, ...}) = 0
geteuid() = 0
getegid() = 0
getuid() = 0
getgid() = 0
access("./scilab-bin", R_OK) = 0
stat("./scilab-bin", {st_mode=S_IFREG|0755, st_size=800049, ...}) = 0
stat("./scilab-bin", {st_mode=S_IFREG|0755, st_size=800049, ...}) = 0
geteuid() = 0
getegid() = 0
getuid() = 0
getgid() = 0
access("./scilab-bin", X_OK) = 0
stat("./scilab-bin", {st_mode=S_IFREG|0755, st_size=800049, ...}) = 0
geteuid() = 0
getegid() = 0
getuid() = 0
getgid() = 0
access("./scilab-bin", R_OK) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -1407, SEEK_CUR) = 37474
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f43b98409d0) = 22118
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x43d220, [], SA_RESTORER, 0x32c4032a20}, {SIG_DFL, [], SA_RESTORER, 0x32c4032a20}, 8) = 0
wait4(-1, Xlib: extension "NV-GLX" missing on display "localhost:10.0".
Xlib: extension "NV-GLX" missing on display "localhost:10.0".
(这不是完整的堆栈跟踪)
我该如何修复错误缺少 glx 和 nvglx在机器1和机器2。任何提示/帮助都会非常有用。