Some Linux commands

From PSwiki
Jump to navigation Jump to search

Here is a list of commands I had to use for my linux install.

Had to download Vulkan drivers from NVidia: https://www.nvidia.com/en-us/drivers/unix/

Stop X with:

 sudo service lightdm stop

install with :

 sudo ./NVIDIA-Linux-x86_64-440.82.run

DISPLAY=:0 xterm &

unity &

Get graphics card info:

 sudo lshw -C display
 sudo apt-get install nvidia-418 (doesnt work) 
 sudo apt-get install nvidia-430 (doesnt work same error)
 ERROR (dkms apport): kernel package linux-headers-3.16.0-5-amd64 is not supported
 Error! Bad return status for module build on kernel: 3.16.0-5-amd64 (x86_64)

I had to uncomment this line in Engine/Config/BaseEngine.ini and rerun with -opengl4 switch.

OpenGL4 is deprecated, you can comment this back in to add it to your targeted RHI list

+TargetedRHIs=GLSL_430


as root

export XAUTHORITY=/home/planeshift/.Xauthority export DISPLAY=localhost:0.0

become root:

 sudo su