Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Edit: This isn't a typical screen tear either, where the frame rate just isn't smooth enough, of the refresh isn't high enough, but a constant tear flipping through the screen. Not sure if I could take a proper video of it or not and post it somewhere.
BUT I have no experience with VR.
Will give that a shot.
Honestly I wish more games permitted you to control this setting.
I will add my $0.02, but before I do ... NVidia Tearing w Linux is a ~7 year recurring problem and almost always when v-sync is the issue (i.e. using an external and/or hdmi monitor)
in the past these efforts have helped significantly but again for `9-12 months Nvidia's new driver has been fairly awesome! ... and just for conspiracy theory if it's not (before I get to my answers) ...
It should be if one just considers these few FACTS / FACTS!!!
Most ALL Notebooks/ and ALL Samsung Notebooks / use NVidia with a linux kernel!
ALL Android Phones use a Linux kernel and have 4K Awesomeness
Not to mention Chromebooks - TOTALLY LINUX though they don't (smartly) FLAUNT it to not scare away the younger impressionable generation
... and yes ALL WORK FLAWLESSLY with or without G-Sync across ALL hardware (HDMI/ External Monitors included)
...
but here finally are my notes that have helped MANY people in the past ~2 years when encountering ...
Screen Tearing and'or Jitter
and this is a cut and past with a little cleanup only so bear this in mind
----------------------------------------------------------------------------------------
Nov. 16,2018
∘ creating a file in sudo gedit /etc/modprobe.d/ with options nvidia_drm modeset=1 would resolve the issue.
sudo gedit /etc/modprobe.d/[
‣ nvidia_drm modeset=1
• 04/12/18
∘ OK now i can say this is 95% solved,
∘ 1/ The real problem comes down to Refresh Rate and Sync Rate of the Nvidia card and the screen(s)
‣ With nvidia-prime then there is no possibility of vsync yet - arghhhh
∘ -With Nvidia's drivers for linux and"Optimus" cards they left out the simple code to do this to save resources for the masses - STUPID!!!!!
‣ Get PRIME Synchronization on Optimus
• Solution (now for none specific Nvidia Drivers - AWESOME!)
∘ To check if it (Synchronization) is set or not set use this command:
• sudo cat /sys/module/nvidia_drm/parameters/modeset
∘ It should say "y" for modeset=1, which means it is synchronized at 60 fps (I believe) for your Monitor. ...
‣ ex. HDMI-1-1, or eDP-1-1
• sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf
∘ and make sure the following line is present;
• options nvidia-drm modeset=1
‣ Made Ubuntu With NVIDIA UNBOOTABLE AGAIN
∘ after Update Intramfs and Reboot
• sudo update-initramfs -u
• reboot
‣ Previous Way
• sudo nano /etc/modprobe.d/zz-nvidia-modeset.conf
• add:
• options nvidia_384_drm modeset=1
• sudo update-initramfs -u
‣ More Persistent
• sudo gedit /etc/modprobe.d/nvidia-graphics-drivers.conf
∘ Set Lower Swap
∘ SWAPPINESS
The double-buffering is the issue with VSync.
I agree that all these issues should not be a problem. Android's video driver stack uses Kernel GLE handling with a custom window manager. It works great. These issues don't occur on the Mesa drivers either. They are purely nVidia's fault.
There are some good workarounds. That one line of enabling KMS modesetting so that both the display adapter and the render adapter on prime setups are using the framebuffer setup stack really should help in theory, and apparently in practice too.
I suspect nVidia's "better" (not really) Linux framebuffer management that is included with their proprietary drivers is the source of the problem. Simply switching to the standard Modesetting one will fix the issue if that is the case.
The fact that this is not default speaks to the general disregard of Linux by nVidia, and is why I use AMD myself. I understand that this is not always an option if your preferred form factor is a laptop, due to AMD's lack of presence in the mobile market, and in desktops, I also understand that my price range is exactly in the AMD butter zone where their cards actually beat nVidia's price comparative cards. Not every user is in that price range either, and some either want the far higher performance of nVidia's top end cards, and are willing to pay for it.
The tearing isn't happening on the render pass, but on the frame swap to the output chipset.
To put it simply here is the stack:
Render Pipe
|
| Minimimum tearing in this pass no visual issues
|
nVidia-Side "Front" framebuffer
|
| BIG tearing problem here!
|
Integrated Chipset "Display" framebuffer
The problem is the by default the nVidia is using nVidia proprietary framebuffer, an "old style" framebuffer driver, while the integrated chip uses KMS framebuffer, the modern solution. This means there the nVidia chip can read the integrated chip's vSync or even hSync signal, so it literally will copy mid-scanline creating all sorts of mess.
By simply switching the nVidia driver to use it's newer KMS framebuffer driver, it fixes it. This feature should default on for platforms with Prime since it fixes more problems than it solves. It should remain off for full dedicated platforms until it is fully out of experimental stage.
Yes, this is what happens when a copy happens in a non-hsync blank.
I fixed this by adding a "Launcher" to my top panel, with this command:
Now when I boot up the PC, I click that launcher to apply the "fix" for that session.
If you search "nvidia linux screen tearing force composition pipeline" you may find some helpful articles, though I have no experience with VR.
Good luck.
Here is one recently updated article about this: https://www.cmscritic.com/how-to-fix-nvidia-screen-tearing-in-xfce-mate-kde-lxde-and-others/