Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Video issue, screen is tearing

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Massaker
n00b
n00b
Posts: 23
Joined: Thu Apr 14, 2005 9:18 am

Video issue, screen is tearing

  • Quote

Post by Massaker » Tue May 10, 2022 3:57 am

When I watch videos I am getting screen tearing.
* This happens from multiple apps. (firefox: youtube, mpv: video player, vlc: video player)
* This is an example of what I mean by tearing https://levvvel.com/wp-content/uploads/ ... fix-it.jpg

I have 2 screens
* Optoma projector
* LG ultra-wide monitor

The tearing will only happen on the projector. If I watch the exact same video on the LG monitor it works perfectly.
* Also If I boot in windows I get zero screen tearing.

Any ideas?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue May 10, 2022 10:12 am

Massaker,

That's a video artefact that has two possible causes

1. Only using one pixel buffer, so the pixel buffer that is being used to refresh the screen is being updated with the next image at the same time.
That does not normally result in such a clean horizontal 'tear'.

2. Using several pixel buffers, so that one is being used to refresh the screen and another is being drawn in with the next image.
So far, so good.
What is supposed to happen is that the pixel buffers are switched during the vertical blanking, when nothing is being sent to the display. Then you don't see the switch.
When the switch is not synchronised like that, you see a piece of the old frame at the top (before the switch) and a piece of the new frame (after the switch) at the bottom.
So we can tell that the character in your image is moving from left to right across the screen.

We need to know what video card you have and which video driver you are using.
Most video drivers do the double buffering and sync without being told but they all have knobs to turn it on/off.

Please post the output of

Code: Select all

lspci -nnk
and the content of your Xorg.0.log file.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Massaker
n00b
n00b
Posts: 23
Joined: Thu Apr 14, 2005 9:18 am

found a solution

  • Quote

Post by Massaker » Tue May 17, 2022 11:13 am

Screen tearing has stopped after enabling ForceCompositionPipeline and Force Full ForceCompositionPipeline

I did this by adding the following to /etc/X11/xorg.conf

Code: Select all

Option         "metamodes" "1920x1080_60 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" 
full context

Code: Select all

# Removed Option "metamodes" "HDMI-0: 1920x1080_60 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "1920x1080_60 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
you can also find these settings by
  • nvidia-settings
    • run this command
    X Server Display Configuration
    • click this menu item on the left-hand side
    Advanced...
    • click this button on the bottom-right
    ForceCompositionPipeline & Force Full ForceCompositionPipeline
    • these two checkboxes will now show
Top
Post Reply

3 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic