You are not logged in.
Pages: 1
Hello
I have Intel Graphics HD 2000 gpu built into my cpu, I have latest x.org, kernel from Core and Extra. I use XFCE. Tried with the kernel compiled with ck. Tried with libdrm and xf86-video-video from git, same problems.
Here is my xorg.conf:
Section "ServerFlags"
Option "AutoAddDevices" "Off"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "no"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "UXA"
Option "TearFree" "true"
Option "MigrationHeuristic" "greedy"
Option "TripleBuffer" "true"
EndSection
As the settings are, rendering of windows are fast but very much tearing when moving the windows fast, even if I have a compositor enabled or not. Tried both xfce's wm's intergrated one and xcompmgr.
Changing Accelmethod from UXA to SNA, the tearing is gone, but the rendering is very slow.
EDIT:
With this xorg.conf:
Section "ServerFlags"
Option "AutoAddDevices" "Off"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "no"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "SNA"
# Option "TearFree" "true"
Option "MigrationHeuristic" "greedy"
Option "TripleBuffer" "true"
EndSection
With this rendering is and as much tearing as with UXA.
EDIT2:
Here is my .drirc:
<device screen="0" driver="dri2">
<application name="Default">
<option name="vblank_mode" value="1"/>
</application>
</device>
<device screen="0" driver="dri">
<application name="Default">
<option name="vblank_mode" value="1"/>
</application>
</device>
Last edited by Roberth (2012-09-11 22:45:01)
Use the Source, Luke!
Offline
Tearing is an issue for any window manager that dosn't use opengl for compositing, there isn't a lot you can do about it. The only solution I have found is the dcompmgr-git package on the aur, it has an option to use opengl as a backend, but it is experimental and abandoned. Still, it works for me. Fairly stable with a tiling window manager so it might work for xfce, but there will probably be bugs.
Last edited by dn_nb (2012-09-11 23:43:45)
Offline
Well I have ordered an cheapass nvidia 610 card, to try their blob driver, I remember from back in the days, that it did a good job on this area.
Use the Source, Luke!
Offline
You need to use an OpenGL window manager. AFAIK, there's just KWin from KDE, Mutter from GNOME and Compiz. Anything else uses XRandR, and you get tearing.
Disable compositing (shadows around the window) and any other fancy "eye-candy" effects and you'll get rid of it. There are countless topics about this on the Arch Linux forums and on the internet.
PS: I'm starting to think that Wayland is a myth.
Last edited by DSpider (2012-09-12 18:19:48)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I switched to cairo-compmgr-git from AUR. It has even a "Sync to vblank" Option in the settings and I have never experienced tearing again. I also activated "Sync to vblank" in nvidia-settings just to make sure. No other compositer (xfwm4 and xcompmgr [which has other issues too]) was able to do this. Could have used compiz but it seems way more bloated with useless features than cairo-compmgr.
Anyone knows what compositor "Enlightenment" uses? I installed E17 in a VM yesterday and it looked very interesting. Wondering if I can use their compositor for XFCE.
All xcompmgr forks (compton and dana) have proven to be very buggy for me. No issues with cairo-compmgr so far.
Last edited by blackout23 (2012-09-12 18:40:42)
Offline
Anything else uses XRandR, and you get tearing.
You mean xrender.
There's one other opengl compositor I recently discovered - fbcompose. It was written for fluxbox, but it's a standalone compositor that works with any WM. Didn't yet give it extensive testing though.
PS: I'm starting to think that Wayland is a myth.
It's not a myth. It's a real thing that's in active development. The problem are it's cheerleaders (clueless users at the Phoronix forums) who think Wayland will cure the world, and replace X like tomorrow.
Last edited by Gusar (2012-09-12 18:37:10)
Offline
You need to use an OpenGL window manager. AFAIK, there's just KWin from KDE, Mutter from GNOME and Compiz. Anything else uses XRandR, and you get tearing.
I use KWin and still get tearing with NVIDIA graphics card with the binary blop.
Offline
It's not a myth. It's a real thing that's in active development. The problem are it's cheerleaders (clueless users at the Phoronix forums) who think Wayland will cure the world, and replace X like tomorrow.
Active development my foot. Since 2008? For four years? Come on...
You can't exactly call it active.
I use KWin and still get tearing with NVIDIA graphics card with the binary blop.
Enable VSync then.
$ nvidia-settingsLast edited by DSpider (2012-09-12 19:01:53)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Enable VSync then.
It has been on by default for a few releases now... and yes of course I have tried that; It has no effect. The setup that actually works is using MPlayer with VDPAU output and suspending the compositing for full screen windows.
Active development my foot. Since 2008? For four years? Come on...
These things don't happen over night.
https://www.ohloh.net/p/weston
https://www.ohloh.net/p/wayland
http://www.chaosreigns.com/wayland/state/
http://www.reddit.com/r/wayland
http://gstconf.ubicast.tv/videos/wayland/
Last edited by Teho (2012-09-12 19:04:11)
Offline
DSpider wrote:You need to use an OpenGL window manager. AFAIK, there's just KWin from KDE, Mutter from GNOME and Compiz. Anything else uses XRandR, and you get tearing.
I use KWin and still get tearing with NVIDIA graphics card with the binary blop.
Maybe you should try cairo-compmgr-git too. I'd be curious if works for you with KDE.
Really happy that I finally found a cure. Watching videos in VLC wasn't really a pleasure with tearing.
Back when I used Gnome 3 I didn't have tearing either.
Offline
Active development my foot. Since 2008? For four years? Come on...
You can't exactly call it active.
Please don't be one of those clueless people. It's a whole freakin' windowing system. You don't code that over the weekend. Also, when a project started does not determine activity. The daily/weekly/monthly number of mailing list messages and code commits do.
Offline
Disabling composite extension, and workarounding weird bugs in nvidia blob
that causes the settings not to be loaded(?) eliminates all tearing in videos and games for me.
For reference, the small script I run at startup to set settings:
https://github.com/Cloudef/dotfiles-ng/ … d-settings
Xorg:
https://github.com/Cloudef/dotfiles-ng/ … vidia.conf
For video, mplayer is used with xv output.
These are nvidia specific though, and is not quarnteed to eliminate tearing.
Here hoping that wayland will finally bring end to that on all kinds of setups.
Last edited by Cloudef (2012-09-12 21:45:02)
Offline
For KDE try the following - works for me...
Offline
For KDE try the following - works for me...
Disabling composite extension, and workarounding weird bugs in nvidia blob
that causes the settings not to be loaded(?) eliminates all tearing in videos and games for me.
Tried both but neither of them worked. It's interesting how the same probelm can have so many causes...
I guess I could try alternate compositors next; it's just that KWin is too awesome for normal usage to let go off.
Offline
You could try the experimental OpenGL support for Qt graphics. There's a module you can install to switch via system settings (X11/Xrender or raster or opengl.)
I get tearing even with SNA for Intel.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
KDE works great for me, no tearing.
Use the Source, Luke!
Offline
Pages: 1