You are not logged in.
Pages: 1
Hi all, I've just got my Openbox setup how I like it, but whenever I move a window, the window itself tears as it moves horizontally. Video seems to be alright. I've tried turning off xcompmgr to no avail.
Any ideas?
xinitrc:
exec ck-launch-session openbox-session
xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 270.41.06 (buildmeister@swio-display-x86-rhel47-08.nvidia.com) Mon Apr 18 15:14:00 PDT 2011Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSectionSection "Files"
EndSectionSection "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSectionSection "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSectionSection "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSectionSection "Module"
Load "glx"
EndSectionSection "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "TripleBuffer" "True"
Option "NoLogo" "1"
EndSectionSection "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
autostart.sh:
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.# D-bus
if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi# Make GTK apps look and behave how they were set up in the gnome config tools
if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
/usr/libexec/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null 2>&1; then
gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
elif which xfce-mcs-manager >/dev/null 2>&1; then
xfce-mcs-manager n &
fi# Preload stuff for KDE apps
if which start_kdeinit >/dev/null 2>&1; then
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV="OPENBOX"
if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
/usr/lib/openbox/xdg-autostart $DESKTOP_ENV
fi#xinput --set-prop 'Primax RF Nano Laptop Laser Mouse' 'Device Accel Constant Deceleration' 2.2 #decelerate usb mouse
nvidia-settings -l
xscreensaver -nosplash &
xmodmap -e keycode 135 = Super_R #maps menu key into second Super key
mpdscribble &
#nm-applet &
#wicd-gtk &
pidgin &
tint2 &
nitrogen --restore &
conky &
volwheel &
#skype &
linuxdcpp &
blueman-applet &
sleep 2 &&
#dcompmgr -s -c -t 1 -l 1 -r 3 -o .45 -C -f -D 4 &
Offline
Xorg doesn't provide any vsynch feature by default, so any wm will tears.
The only way to make it stop is using a composite manager like compiz and set it to vsync,but this may lead to vsync problems in your videos instead (but at least not in fullscreenmode).
Le'ts hope things in wayland gets better.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Compiz won't work, since it's a separate window manager. Check out xcompmgr or cairo-compmgr; they're more mature than dcompmgr.
Last edited by ANOKNUSA (2011-05-08 15:15:14)
Offline
Ok, I've tried using xcompmgr and dcompmgr, both with the same options and the same results
dcompmgr -s -c -t 1 -l 1 -r 3 -o .45 -C -f -D 4 &
xcompmgr -s -c -t 1 -l 1 -r 3 -o .45 -C -f -D 4 &
Using no options at all makes no difference.
Cairo-compmgr seems to fix the problem; however, it crashes all of X when I try to resize a terminal window, and occasionally for no apparent reason at all. Only a hard reset can get me out of it.
Last edited by snaz (2011-05-08 16:11:33)
Offline
I think there was some discussion about that on the forums recently. If i remember correctly it was a bug in nvidia/xserver. In any case, the same happens to me with kwin.
Offline
So at this point am I at the mercy of NVIDIA/Xorg for a fix?
Offline
I have the same issue (though I really do not so much see it as an issue) on both of my machines running OB. You see tearing but it quickly re-renders. This is with ATI video on the laptop and Nvidia on the desktop.
Offline
Maybe try a blank xorg.conf and let evdev figure out the video options. Just something I'd try.
no place like /home
github
Offline
Or delete xorg.conf all together because it is really not needed. Often times it causes more problems. Of course back it up first so that if for some reason your problems get worse you can restore it.
Last edited by ichase (2011-05-09 19:15:42)
Offline
Tried renaming my xorg.conf; no change.
Offline
You can try vsync put this in ~/.bashrc:
export vblank_mode=1
Last edited by twilight0 (2011-05-09 21:51:22)
Proud Arch Linux user since 2007.
Offline
No luck... Thanks for all the help so far though
Last edited by snaz (2011-05-10 03:47:52)
Offline
I also tested cairo-compmgr - no change.
Offline
This issue is affecting me as well.
Offline
Pages: 1