You are not logged in.
nvidia-settings don't have 'Sync to VBlank' option, it cannot properly recognize my display.
Linux K53SM 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux
optirun (Bumblebee) 3.2.1
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 212e
Kernel driver in use: nvidia
Driver Version: 381.22
https://my.mixtape.moe/rftwhr.png
https://my.mixtape.moe/tzzwjl.png
Last edited by aminought (2017-07-09 16:01:06)
Offline
Your intel card is what drives the display, you should set any vsyncing there, or rather in your individual applications (and your compositor, if necessary). Can you elaborate on what your actual issue is? Why would you want to enable vsync. What is it that you are doing/that is tearing that you want to prevent from doing that?
Offline
Yes, I want to prevent video tearing when I use optirun. Like this: https://wiki.archlinux.org/index.php/Bu … eo_tearing.
Offline
if it's possible for the program in question, primusrun tends to give better results and will enable vsync itself. XVideo is completely irrelevant for everything you would want to use the nvidia card for. The article mentions to switch the setting on the OpenGL tab, which you didn't mention and should also not be necessary if the individual program has an option for it (which should likely be preferred). That the nvidia card doesn't know anything about your actual display is normal in this setup. Which program are you trying to optirun? Does it have a vsync option itself? What window manager are you using, does it have vsync possibilities itself?
Offline
Nvidia-settings hasn't VBlank option for OpenGL too. Now I have problems with video tearing in mpv and firefox (youtube). Ok, primusrun helps to avoid tearing in mpv, but what should I do with firefox? I use i3 with compton, but disabling of composite manager doesn't help.
Offline
Why are you optirunning firefox or mpv? Is the integrated card not enough? Firefox will be a bit of a hard case, since it doesn't support HW accel with video at all so there shouldn't be much of a difference whether you run it on your nvidia or not.
Offline
Yes, there is no sense to optirun mpv, I just use it for testing. And if firefox doesn't support HW accel, so it is useless to optirun it too. Sorry, I just want to be ready for running something heavy on nvidia when there will be a need. I wonder, why nvidia-settings hasn't option for VBlank?
Offline