Reply to topic

I like KDE but i hate the tearing! Please help.

brothermechanic
Registered Member
Posts
24
Karma
0
OS
Hi
My computer asus g75vw http://bpaste.net/show/76149/
Xorg server http://bpaste.net/show/76150/
I have tearing in anywhere in kde, but haven't in enlightenment17
Please create patch for kwin to solve this problem

ps: when i turn on vsync in systemsettings tearing change to single line in 2/3 of height screen (from ragged screen)
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
Does tearing occur if you disable desktop effects?
Also, which drivers are you using for the Nvidia chip? The proprietary Nvidia driver or the open source Nouveau driver?


System Settings and Device Actions KCM maintainer
Image
brothermechanic
Registered Member
Posts
24
Karma
0
OS
>Does tearing occur if you disable desktop effects?
No, but, fore example, moving window become ragged

(when enable effects moving window teared like on a flat line)

>which drivers
nvidia-drivers-313.18
(kde-4.10)

It would be cool if we get rid of the tearing!
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
Please provide the output of the following command:
Code: Select all
qdbus org.kde.kwin /KWin supportInformation


System Settings and Device Actions KCM maintainer
Image
brothermechanic
Registered Member
Posts
24
Karma
0
OS
$ qdbus org.kde.kwin /KWin supportInformation
http://bpaste.net/show/76168/
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
Could you provide similar output from when Compositing is enabled please?
I couldn't see anything immediately wrong there however.


System Settings and Device Actions KCM maintainer
Image
brothermechanic
Registered Member
Posts
24
Karma
0
OS
Hi! Thank you for interest to problem!
https://dl.dropbox.com/u/34973756/1.png
https://dl.dropbox.com/u/34973756/2.png
http://bpaste.net/show/76364/

Now i have tearing in window mode (flat line shift), but haven't in fullscreen mode...

(i said that in nvidia-settings i have two different refresh rates: in "x server display configuration" - 60Hz, in "display information" - 60.12; is it normal?)
luebking
Registered Member
Posts
923
Karma
7
brothermechanic
Registered Member
Posts
24
Karma
0
OS
hi , luebking. in that page i found this https://git.reviewboard.kde.org/r/107198/diff/12/raw/. and now i try to patch kwin.
I hope it will work.

also, i found on https://bugs.kde.org/show_bug.cgi?id=307965 page that i have tearing because i have a new computer with ivybridge, isn't it?
brothermechanic
Registered Member
Posts
24
Karma
0
OS
ok! i successfully apply https://dl.dropbox.com/u/34973756/0001- ... ffer.patch (corrected from https://git.reviewboard.kde.org/r/107198/diff/12/raw/ )

1) now when effects on after login kwin crash with segfault
2) when effects on (see systemsettings on previous post) after login all (window, 3d, video) is ragging and frame dropping (IN FULLSCREEN MODE - OK)
2) when effects off - tearing like this https://dl.dropbox.com/u/34973756/3d.png (tearing's shift is opposite of the cursor) (IN FULLSCREEN MODE - OK)
3) when i manually (hotkey) turn on effects - NO TEARING, but frame dropping and poor perfomance! (IN FULLSCREEN MODE - OK)
luebking
Registered Member
Posts
923
Karma
7
the crash itself sounds suspicious enough. (backtrace?)
I've not kept the review update to 4.10 on the board and locally only on git master.

However, if everything is slow this rather sounds like the mesa issue discussed in the review. No nvidia blob driven GPU i tested had the least issues with buffer copying.
Set "kwriteconfig --file kwinrc --group Compositing --key GLPreferBufferSwap p", run "kwin --replace &" and see what happens.
brothermechanic
Registered Member
Posts
24
Karma
0
OS
Hello.
if I did the right...
Code: Select all
bm@BM ~ $ kwriteconfig --file kwinrc --group Compositing --key GLPreferBufferSwap p
bm@BM ~ $ kwin --replace &
[1] 16408
bm@BM ~ $ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread


kwin turned to
>2) when effects off - tearing like this https://dl.dropbox.com/u/34973756/3d.png (tearing's shift is opposite of the cursor) (IN FULLSCREEN MODE - OK)
...
luebking
Registered Member
Posts
923
Karma
7
Without compositing there's no way for kwin to tear or not tear - it has absolutely no impact on the onscreen visuals.
If setting that variable prevents your from using compositing, your patch adjustments are broken.
brothermechanic
Registered Member
Posts
24
Karma
0
OS
Hello, luebking
yesterday i connect an external monitor, and there is no tearing.
may be a problem in the laptop monitor?
Please help...
luebking
Registered Member
Posts
923
Karma
7
On what HW/SW constellation? With patch or without? What is the external screen connected to? Pre-sandybridge intel chip?
Despite conceptually wrong, the present vsync mode will work for "small" screens with "long" vertical retrace time and older intel chips do not have this problem due to glxcopysubbuffer - but that's all i can say w/o more information.

 
Reply to topic

Bookmarks



Who is online

Registered users: AGB, anli, Baidu [Spider], bilbo, Bing [Bot], bshah, Exabot [Bot], garthecho, Google [Bot], google01103, Hans, jensreuterberg, jsirek, jstaniek, koriun, metzman, MiceAreVeryNice, MSNbot Media, paulus3005, pedrorodriguez, Sentynel, vascobasque, Yahoo [Bot]