2017년 9월 12일 화요일

ubuntu auto update upgrade command

 apt-get update && apt upgrade -y

2017년 9월 11일 월요일

ubuntu nvidia graphic driver install

nvidia lastest driver install

first method(첫번째방법)

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update


setting -> new driver






==============================================================


second method(두번째 방법) The second method is recommended.

http://www.nvidia.com/Download/index.aspx

download linux nvidia Driver


*** stop x-windows

systemctl stop lightdm

*** nvidia all driver delete

sudo apt-get purge nvidia-*

download file excute

chmod 755 NVIDIA-Linux-x86_64-384.69.run

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

*** Follow the instructions.


cd /lib/systemd/system

# vim nvidia-persistenced.service

=======================================================

[Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target

[Service]
Type=forking
ExecStart=/usr/bin/nvidia-persistenced --user root --persistence-mode
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced

[Install]
WantedBy=multi-user.target

systemctl enable nvidia-persistenced.service

=======================================================

systemctl enable nvidia-persistenced

shutdown -r now

nvidia-smi

 Checked the persistence-M : On




*** end





2017년 9월 9일 토요일

dota2 and steam game monitor select


dota2 and steam game monitor select


game  properties

this is OpenGL setting 

lauch option

-sdl_displayindex 1 and 2 and 3


-sdl_displayindex 1



vulkan is   -sdl_displayindex 0 -phased_window_create -openg