You are not logged in.

#1 2016-12-18 16:46:28

nikaido
Member
Registered: 2016-12-01
Posts: 11

nvidia screen tearing persists on nvidia optimus GeForce-940m card

So, I followed the guides in the wiki for setting up my laptop's nvidia optimus to nvidia only.  The Deepin DE works great with these settings and I'm having no major problems from the get go.  Now when I try to test the fix for the screen tearing problem that we all know and love, the screen tearing persists.

I've tried both:

nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositingPipeline = On }"
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"

Current nvidia-smi:

Sun Dec 18 10:35:21 2016       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.26                 Driver Version: 375.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce 940M        Off  | 0000:04:00.0     Off |                  N/A |
| N/A   50C    P0    N/A /  N/A |    205MiB /  2002MiB |     75%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0       361    G   /usr/lib/xorg-server/Xorg                       99MiB |
|    0       660    G   /usr/bin/deepin-wm                             106MiB |
+-----------------------------------------------------------------------------+

Last edited by nikaido (2016-12-18 17:27:54)

Offline

#2 2016-12-18 19:38:43

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: nvidia screen tearing persists on nvidia optimus GeForce-940m card

  1. Install nvidia-settings

  2. Open the "NVIDIA X Server Settings" application and go to the second list item "X Server Display Configuration"

  3. Click the button on the bottom for "Advanced" and then check "Force Full Composition Pipeline" then "Apply"

  4. Click "Save to X Configuration File" and save to a new file in your home directory

  5. As root in a terminal copy this file to /etc/X11/xorg.conf.d/20-nvidia.conf

  6. Reboot or restart your X server


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#3 2016-12-18 21:29:24

nikaido
Member
Registered: 2016-12-01
Posts: 11

Re: nvidia screen tearing persists on nvidia optimus GeForce-940m card

TheChickenMan wrote:
  1. Install nvidia-settings

Already installed. Went ahead and reinstalled it.

  1. Open the "NVIDIA X Server Settings" application and go to the second list item "X Server Display Configuration"

  2. Click the button on the bottom for "Advanced" and then check "Force Full Composition Pipeline" then "Apply"

No advanced options populate in window. Button text just switches to "Basic". So I can't check the option.

I decided to try adding this to the screen section of my 20-nvidia-settings file. Still no luck.

    Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"

[EDIT] OK, so apparently somehow I screwed up my configuration file and now my system hangs at "[ OK ] Reached target Graphical Interface" or "[ OK ] Started Accounts Service" at bootup. I just removed it and that allowed the DE to startup.

[EDIT2] I give up. I'll just use Nouveau since I got it to work.

Last edited by nikaido (2016-12-19 00:05:08)

Offline

Board footer

Powered by FluxBB