ubuntu-14.04

How do I enable WebGL in headless chrome in Ubuntu?

*爱你&永不变心* 提交于 2019-11-26 12:29:43
问题 How do I enable webgl or install webgl in headless chrome in Ubuntu 14? I tried installing libosmesa6, but that did not help. Can someone please point me in the right direction? I want to use webgl to work with headless chrome and selenium tests? I am using nightwatch to run the tests. 回答1: This worked for me to get chrome to use osmesa sudo apt-get install libosmesa sudo ln -s /usr/lib/x86_64-linux-gnu/libOSMesa.so.6 /opt/google/chrome/libosmesa.so google-chrome --no-first-run --user-data

What is the correct version of CUDA for my nvidia driver?

荒凉一梦 提交于 2019-11-26 12:14:59
I am using ubuntu 14.04. I want to install CUDA. But I don't know which version is good for my laptop. I trace my drive that is $cat /proc/driver/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module 304.125 Mon Dec 1 19:58:28 PST 2014 GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) I tried to install CUDA cuda-linux64-rel-7.0.28-19326674 but when I test by command ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) cudaGetDeviceCount returned 35 -> CUDA driver version is insufficient for CUDA runtime version Result = FAIL

JavaFx MediaPlayer “Could not create player!” error in Ubuntu 14.04

本小妞迷上赌 提交于 2019-11-26 11:36:48
问题 I have installed Ubuntu 14.04 and i\'m getting an error when i instantiate a MediaPlayer. package mediatest; import java.io.File; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.StackPane; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import javafx.stage.Stage; /** * * @author DESARROLLO */ public class MediaTest extends

Completly uninstall nodejs, npm and node in ubuntu 14.04

北慕城南 提交于 2019-11-26 08:58:27
问题 I know this question has been asked many times but I couldn\'t still do it. So I wrongly installed \"node\" doing sudo apt-get install node And later I installed nodejs (v0.10.37). I tried to update to v0.12 with npm but it keeps saying 0.10.37 when I do the nodejs -v . Also, I can\'t use the node command since i wrongly installed the other \"node thing\" before. I tried all the different commands that the people talks about in all the other answers and I couldn\'t do it yet. I think the main

What can I do against 'CUDA driver version is insufficient for CUDA runtime version'?

百般思念 提交于 2019-11-26 08:30:20
问题 When I go to /usr/local/cuda/samples/1_Utilities/deviceQuery and execute moose@pc09 /usr/local/cuda/samples/1_Utilities/deviceQuery $ sudo make clean rm -f deviceQuery deviceQuery.o rm -rf ../../bin/x86_64/linux/release/deviceQuery moose@pc09 /usr/local/cuda/samples/1_Utilities/deviceQuery $ sudo make \"/usr/local/cuda-7.0\"/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch

Completly uninstall nodejs, npm and node in ubuntu 14.04

放肆的年华 提交于 2019-11-26 07:19:01
问题 I know this question has been asked many times but I couldn\'t still do it. So I wrongly installed \"node\" doing sudo apt-get install node And later I installed nodejs (v0.10.37). I tried to update to v0.12 with npm but it keeps saying 0.10.37 when I do the nodejs -v . Also, I can\'t use the node command since i wrongly installed the other \"node thing\" before. I tried all the different commands that the people talks about in all the other answers and I couldn\'t do it yet. I think the main