dglt1 / optimus-switch

*installer finished* installs nvidia prime and makes switching to intel only and back again easy as one command. intel mode fully disables the nvidia gpu to extend battery life.
71 stars 9 forks source link

screen tearing with nvidia/intel #20

Open FTheodore opened 4 years ago

FTheodore commented 4 years ago

hello i am experiencing some screen tearing when using both nvidia and intel, is it possible for me to fix this? I have had this problem before and i solved it by switching modesetting driver to intel driver and adding some options to xorg conf file, but i dont know how to do this now that i am using your method.

dglt1 commented 4 years ago

the default config for intel mode uses the xf86-video-intel driver and the default config already includes the "TearFree" option line. check to make sure you have xf86-video-intel installed.

as for tearing in nvidia mode, check the output of xrandr --prop and under you laptop display (usually eDP-1-1) you should see "PRIME Synchronization: 1" meaning it's enabled, if it shows a 0 instead then thats why you have tearing.

if it's " 0 ", what kernel and drivers are installed?

inxi -Fxxxza --no-host
mhwd -li
FTheodore commented 4 years ago

the xf86-video-intel driver is installed. PRIME sync is set to 1.

kernel version is: 5.4.22-1-MANJARO x86_64 drivers: video-nvidia-440xx

*you can check my output files in my graphics repo.