Enable V-sync in Optimus with nvidia Prime
Tofloor
poster avatar
ivail
deepin
2018-08-31 09:33
Author
Hi there,

First time using Deepin - Great distro

So, how i fixed the screen tearing:

Check if your V-sync is active:
  1. sudo cat /sys/module/nvidia_drm/parameters/modeset
Copy the Code
If the output is Y then it is active, if N do the following:
create a new file
  1. sudo nano /etc/modprobe.d/nvidia-drm-nomodeset.conf
Copy the Code
and insert the line:
  1. options nvidia-drm modeset=1
Copy the Code

Then:
  1. sudo update-initramfs -u
Copy the Code
Reboot

Then check again with:
  1. sudo cat /sys/module/nvidia_drm/parameters/modeset
Copy the Code

If it is still N, copy the file in /etc/X11/
then again:
  1. sudo update-initramfs -u
Copy the Code
Reboot.

Have a nice day to all!



Reply Favorite View the author
All Replies
deepin
deepin
2018-08-31 10:11
#1
thanks!
Reply View the author
zhangshuang
deepin
2018-08-31 18:42
#2
terminal command  "lspci -nn | grep VGA"   print  Graphics card deviceid
This information is very helpful for us to improve our products.
Reply View the author
ivail
deepin
2018-08-31 19:33
#3
https://bbs.deepin.org/post/168232
terminal command  "lspci -nn | grep VGA"   print  Graphics card deviceid
This information is very he ...

Laptop System: MSI GP72 2QE
UEFI [Legacy]
Quad core Intel Core i7-5700HQ
Graphics: Card-1: Intel HD Graphics 5600
Card-2: NVIDIA GM107M [GeForce GTX 950M]
Reply View the author
s***[email protected]
deepin
2018-08-31 20:12
#4
Reply View the author
stone
deepin
2022-07-25 09:40
#5

This is useful !!!

thanks!!!!

Reply View the author