Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 756  / 2 Years ago, sun, may 1, 2022, 10:04:27

I updated my ubuntu to zesty zapus beta 2 now, I have a laptop ASUS N552VW with optimus (NVIDIA GTX 960m + intel gpus) but I was expecting the screen tearing issue to dissapear with the latest xorg + nvidia drivers + kernel 4.10+



Actually I have only the NVIDIA card set via NVIDIA prime.



Any idea on how can I solve my screen tearing issue?



This has been driving me crazy for a while now.



My xorg.conf (by default, I haven't touched it yet)



Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection

Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0@0:2:0"
Option "AccelMethod" "None"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
EndSection

Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1@0:0:0"
Option "ConstrainCursor" "off"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection


Thanks


More From » asus

 Answers
5

Write this line:



options nvidia_381_drm modeset=1


In this file as root:



sudo nano /etc/modprobe.d/zz-nvidia-modeset.conf


Replace '381' by your driver version that you will install.
Now uninstall and reinstall the driver.



Wait a few minutes after login. If it works, this command should return 'Y'



sudo cat /sys/module/nvidia_drm/parameters/modeset


Although I would not recommend using it now because it have some significant bugs. To turn on or off:



#on    
xrandr --output eDP-1-1 --set 'PRIME Synchronization' '1'
#off
xrandr --output eDP-1-1 --set 'PRIME Synchronization' '0'


Reference


[#11684] Tuesday, May 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sigtestim

Total Points: 298
Total Questions: 108
Total Answers: 106

Location: Bermuda
Member since Thu, Apr 20, 2023
1 Year ago
;