Some Linux commands: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with "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 ser..."
 
No edit summary
 
Line 18: Line 18:
   sudo lshw -C display
   sudo lshw -C display


   sudo apt-get install nvidia-418
   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
as root

Latest revision as of 00:34, 5 May 2020

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