Can't get rid of tearings with Nvidia card anymore

Can't get rid of tearings with Nvidia card anymore

Postby killerkaninchen » Jan 2nd, '20, 22:02

Hi all

Two weeks ago I upgraded from Mageia 6 to Mageia 7. Since then I have tearings and nothing that helped in the past does help now.
In nvidia-settings I checked "Sync to VBlank", "Force (Full) Composition Pipeline", I did set a fix resolution and 60Hz. Apply -> restarted Firefox (but not every time) -> nothing changed.

Set "Sync to this display device" to my "Philips FTV (HDMI-0)". After a reboot the login manager didn't appear. So I changed this back. I do not exactly know, but I think this option seemed to work the first time I tried, but not the second time...?

My current xorg.conf:
Code: Select all
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
   
    # Apple iMac modes
    ModeLine "1024x768"   78.525 1024 1049 1145 1312   768  769  772  800 +hsync +vsync
    ModeLine "800x600"    62.357  800  821  901 1040   600  601  604  632 +hsync +vsync
    ModeLine "640x480"    49.886  640  661  725  832   480  481  484  514 +hsync +vsync
   
    # Apple monitors tend to do 832x624
    ModeLine "832x624"    57      832  876  940 1152   624  625  628  667 -hsync -vsync
   
    # Apple PowerBook G3
    ModeLine "800x600"    100     800  816  824  840   600  616  624  640 -hsync -vsync
   
    # Apple TI Powerbook
    ModeLine "1152x768"   78.741 1152 1173 1269 1440   768  769  772  800 +vsync +vsync
   
    # Pismo Firewire G3
    ModeLine "1024x768"   65     1024 1032 1176 1344   768  771  777  806 -hsync -vsync
   
    # iBook2
    ModeLine "1024x768"   65     1024 1048 1184 1344   768  771  777  806 -hsync -vsync
   
    # 17" Apple Studio Display
    ModeLine "1024x768"   112.62 1024 1076 1248 1420 768 768 780 808 +hsync +vsync
   
    # HiRes Apple Studio Display
    ModeLine "1280x1024"  135    1280 1288 1392 1664  1024 1027 1030 1064
   
    # Another variation
    ModeLine "1280x1024"  134.989 1280 1317 1429 1688  1024 1025 1028 1066 +hsync +vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "NVIDIA Corporation"
    BoardName "NVIDIA GeForce 635 series and later"
    Driver "nvidia"
    Option "DPMS"
    Option "TwinViewOrientation" "Clone"
    Option "TwinView"
    Option "AddARGBGLXVisuals"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection


This is what I changed in nvidia-settings:
Code: Select all
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 430.64

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "de"
    Option         "XkbModel" "pc105"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Philips FTV"
    HorizSync       15.0 - 70.0
    VertRefresh     48.0 - 62.0
    ModeLine       "1024x768" 65.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "1360x765_60 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Nvidia GeForce GTX 1050 (I think MSI)
driver version: 430.64 (nvidia-current)
Connected to monitor via HDMI.

How do I get rid of these tearings in Mageia 7?

Thanks in advance
Killerkaninchen
killerkaninchen
 
Posts: 14
Joined: Apr 10th, '18, 21:26

Re: Can't get rid of tearings with Nvidia card anymore

Postby AstorBG » Jan 3rd, '20, 13:17

I dont see in your xorg.conf the Composition.
For me tearing disapears when I add in Section "Screen" of my xorg.conf:
Code: Select all
Option         "metamodes" "1920x1080_60 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"


A.
Mageia 5.1, KDE4, x86_64
Mageia 8, Plasma, x86_64
AstorBG
 
Posts: 57
Joined: Jan 29th, '13, 21:31

Re: Can't get rid of tearings with Nvidia card anymore

Postby killerkaninchen » Jan 4th, '20, 01:34

Adding Force(Full)CompositionPipeline didn't do anything. So I set "Sync to this display device" to "Philips FTV (HDMI-0)" and saved the changes to "xorg.conf". After a reboot Mageia didn't get to the login manager. So I copied the backup of "xorg.conf" back and now I don't have tearings anymore...

But in nvidia-settings there is still "Sync to ... Philips..." checked.

I don't know why it works - but it seems to work...
killerkaninchen
 
Posts: 14
Joined: Apr 10th, '18, 21:26

Re: Can't get rid of tearings with Nvidia card anymore

Postby Spinnifex » Jan 4th, '20, 22:21

Hello

Can you please explain what
Code: Select all
ForceCompositionPipeline=On, ForceFullCompositionPipeline=On
do?

I have maybe a simillar effect.
After I e.G. play a game in full screen mode using OpenGL my screen gets partly black if I
start playing a video or typing.
I also have a Nvidia 1050 graphic card.

I googled a bit for this toppic but don't get a clue.
How can I be sure changes to Xorg.conf or nvidia settings are persisted

Regards

Spinnifex
Spinnifex
 
Posts: 123
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: Can't get rid of tearings with Nvidia card anymore

Postby killerkaninchen » Jan 5th, '20, 00:59

Tearings aren't gone. Seems there are less tearings now...

What else can I do?

@Spinnifex:
I don't think that these problems are the same...
Changes to xorg.conf are persistent (using nvidia-settings you have to save changes - therefor you must be root or save the xorg.conf to another location and then move it to /etc/X11/).
killerkaninchen
 
Posts: 14
Joined: Apr 10th, '18, 21:26

Re: Can't get rid of tearings with Nvidia card anymore

Postby AstorBG » Jan 5th, '20, 11:10

What kind of tearings? Plasma animations, gaming (wine), firefox, chromium? Are the tearings noticable in the youtube tearing videos?

Did you try to use XRender or switch the OpenGL in the Monitor settings of Plasma settings?
Mageia 5.1, KDE4, x86_64
Mageia 8, Plasma, x86_64
AstorBG
 
Posts: 57
Joined: Jan 29th, '13, 21:31

Re: Can't get rid of tearings with Nvidia card anymore

Postby killerkaninchen » Jan 5th, '20, 20:49

Sorry I forgot to mention I use Gnome3. The tearings are horizontal lines in videos (Firefox / Netflix, Totem (flv-file), tagesschau.de (News)).

Watched the Youtube tearing test (https://youtu.be/MfL_JkcEFbE) - yes I have screen tearings.

What is XRender?
killerkaninchen
 
Posts: 14
Joined: Apr 10th, '18, 21:26

Re: Can't get rid of tearings with Nvidia card anymore

Postby AstorBG » Jan 6th, '20, 11:38

Ahh you are using Gnome3. Hmm perhaps you can check Firefox settings and see, if hardware acceleration is enabled and also increase the number of processes it uses. Is your TV propely recognized in nVidia settings as HDMI connected, if so, maybe see the output of xrandr on what frequenceies and resolutions are available and force in xorg.conf some options after "metamodes" such as "HDMI-0" ... or something. Reinstall nVidia driver? Check if your monitor in MCC->Hardware->Graphical server setup section exists. I assume tainted and nonfree repos are enabled in your M7.
If it worked in M6, you should make it work in M7 :D
Mageia 5.1, KDE4, x86_64
Mageia 8, Plasma, x86_64
AstorBG
 
Posts: 57
Joined: Jan 29th, '13, 21:31

Re: Can't get rid of tearings with Nvidia card anymore

Postby killerkaninchen » Jan 6th, '20, 13:53

Hmmm - today all seems fine. I think I have to see...
Hardware acceleration is enabled and it uses the maximum number of processes (8). In nvidia-settings the monitor is recognized as HDMI connected. In MCC it is recognized as "Plug and Play" monitor. I can't find my monitor (Philips 32PFL5605H/12). But I think this has been so in Mageia 5 and 6...

Tainted and nonfree repos are enabled.
killerkaninchen
 
Posts: 14
Joined: Apr 10th, '18, 21:26


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest

cron