You are not logged in.

#1 2014-04-08 15:57:50

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

[Solved] Some sort of lag in screen updates

I have a fresh install of Arch with Cinnamon.

Keyboard input and mouse clicks seem to get registered and processed, but the screen is not updating. Similar to as if I'm working via VNC.

So, for example, I open some settings panel with tabs, I click a tab and it looks like nothing is happening, but when I swirl the mouse over the area or move the window a few pixels, it suddenly shows the properties tab I clicked. I can perfectly reproduce this; certain tabs (security in firefox) won't show when I click it, I can wait minutes not moving the mouse, then when I move the mouse into the area it suddenly updates.

Or, I'm typing, make a typo, backspace but the cursor stays and it looks like its not backspacing until I swirl my mouse over the text or move the dialogbox then suddenly it changes the text.

I removed my profile and made a clean start. I have no idea where to look or how to troubleshoot this. I've been through Gnome, KDE, XFCE4 on multiple distros in the past couple of weeks and never experienced anything like this.

There are some warnings in the log, but they don't appear when this problem occurs:

user@host ~]$ journalctl -f
-- Logs begin at Sun 2014-04-06 16:53:16 CEST. --
Apr 08 17:35:22 host org.gtk.Private.UDisks2VolumeMonitor[1409]: ### debug: in
handle_supported
Apr 08 17:35:22 host org.gtk.Private.UDisks2VolumeMonitor[1409]: ### debug: in handle_list
Apr 08 17:35:22 host /etc/gdm/Xsession[1394]: (cinnamon-settings-daemon:1436):
power-plugin-CRITICAL **: abs_to_percentage: assertion 'max > min' failed
Apr 08 17:35:22 host /etc/gdm/Xsession[1394]: (cinnamon-settings-daemon:1436):
GLib-GIO-CRITICAL **: g_dbus_method_invocation_return_gerror: assertion 'error != NULL' failed
Apr 08 17:35:22 host /etc/gdm/Xsession[1394]: (cinnamon-settings-daemon:1436):
GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed
Apr 08 17:36:08 host org.gtk.Private.UDisks2VolumeMonitor[1409]: ### debug: Name owner
':1.33' vanished
Apr 08 17:37:09 host /etc/gdm/Xsession[1394]: (cinnamon:1474): St-WARNING **: Did not find
color property '-arrow-border-color'
Apr 08 17:37:09 host /etc/gdm/Xsession[1394]: (cinnamon:1474): St-WARNING **: Did not find
color property '-arrow-background-color'
Apr 08 17:37:09 host /etc/gdm/Xsession[1394]: (cinnamon:1474): St-WARNING **: Did not find
color property '-gradient-start'
Apr 08 17:37:09 host /etc/gdm/Xsession[1394]: (cinnamon:1474): St-WARNING **: Did not find
color property '-gradient-end'

I would appreciate any help or tips to troubleshoot this.

Thanks!

Last edited by mouseman (2014-04-09 16:06:44)

Offline

#2 2014-04-09 08:29:04

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [Solved] Some sort of lag in screen updates

I did a complete reinstall last night to make sure it wasn't anything I messed up. GDM or Gnome are no longer installed so the log messages above can be ignored. I'm manually starting X right now.

I went through all my logs and I can't find any lead to what would be causing this.

I'm running GTX580 with nvidia drivers installed from the official repositories.

Offline

#3 2014-04-09 11:51:20

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [Solved] Some sort of lag in screen updates

which WM / DE are you running, have tested this in? I had similar issue in gnome 3.12.0 but that only happened wth single application, but this is probably not related if you no longer have gnome.
this could also be a gfx driver issue. maybe you could test if this happens with nouveau driver?

Last edited by ooo (2014-04-09 11:52:43)

Offline

#4 2014-04-09 12:13:10

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [Solved] Some sort of lag in screen updates

Thanks.

I have xorg-xinit, xorg-twm installed and Cinnamon, from the official repositories.

I can't use nouveau, it only works for a few seconds and then hangs my system. It has always done that, on every distro.

Last edited by mouseman (2014-04-09 12:17:33)

Offline

#5 2014-04-09 14:36:27

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [Solved] Some sort of lag in screen updates

so basically this happens with any window manager, so this is most likely graphics driver issue.
If nouveau doesn't work for you, you could try downgrading nvidia driver. It's possible that arch has never version of than some other distros where it worked for you.
You should be able to find older versions from arch rollback machine

Offline

#6 2014-04-09 15:04:05

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [Solved] Some sort of lag in screen updates

No. It happens only with Cinnamon, but it has never happened before, not on Mint/LDME with Cinnamon, nor have I ever seen this on any other WM. I actually have GDM and Gnome installed again and the issue doesn't occur there.

Previously I had Arch with KDE and also XFCE4 installed, never had this either. I've also compiled Cinnamon from source once, on Debian 7.2 netinst, didn't have this issue.

So it seems very specific to Cinnamon.


Edit:
Apologies but it turns out the problem is occurring in Gnome as well, its just not happening with Firefox properties with which I tested.

Edit 2:
Tested in MATE and I can confirm that the issue is not there.

Last edited by mouseman (2014-04-09 15:43:02)

Offline

#7 2014-04-09 16:06:16

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [Solved] Some sort of lag in screen updates

I hope I fixed it .. it looks good so far.

See: https://wiki.archlinux.org/index.php/NV … _in_Chrome

Initially I ignored this as it seemed to suggest a problem with Chrome, but it looks like its not limited to Chrome only. A lot of dialog boxes suffer from this as well. I set the "nvidia-settings -a InitialPixmapPlacement=0" and it seems to have fixed it. Typing also no longer suffer from a delay.


Maybe its a good idea to mention this in the wiki too.

Offline

#8 2014-09-05 06:33:59

klemmster
Member
Registered: 2011-11-13
Posts: 9

Re: [Solved] Some sort of lag in screen updates

@mouseman

Thanks, I was suffering the same issue with every gtk app and PixmapPlacement=0 fixed it immediately.

Offline

#9 2014-09-05 09:08:40

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: [Solved] Some sort of lag in screen updates

I can confirm that

nvidia-settings -a InitialPixmapPlacement=0

solves the problem for me.

I'm using Nvidia Quadro 1000M with the nvidia driver.

Thank you @mouseman. I was looking for this solution for a while now. Gedit was barely usable for me before. Do you mind if I ask you how did you manage to find this solution and what exactly this InitialPixmapPlacement config does?

Cheers,

Offline

#10 2015-06-16 01:08:21

avojevlavo
Member
Registered: 2010-05-27
Posts: 40

Re: [Solved] Some sort of lag in screen updates

nvidia-settings -a InitialPixmapPlacement=0

Thanks, this solved the lag issue for me as well, especialy in PCmanFM, gedit and also redraw lag with alsamixer and Ncmpcpp, but I have lost my wallpaper (black screen only) and firefox became really slow when scrolling. Any ideas, and/or is this a nvidia driver bug?

using nvidia proprietary 352.09
xserver 1.17.1
awesome + compton

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

Section "Files"
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 default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic VP2030 SERIES"
    HorizSync       30.0 - 92.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
     Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

comton.conf

# Shadow
shadow = false;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 10;
shadow-offset-x = 10;
shadow-offset-y = 10;
# shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
# shadow-exclude = "n:e:Notification";
shadow-ignore-shaped = false;
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;

# Opacity
# menu-opacity = 0.8;
# inactive-opacity = 0.7;
# active-opacity = 0.8;
frame-opacity = 0.5;
inactive-opacity-override = false;
alpha-step = 0.1;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
blur-background = false;
# blur-background-frame = true;
blur-kern = "11x11gaussian"
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
# blur-background-fixed = true;
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
# opacity-rule = [ "80:class_g = 'URxvt'" ];

# Fading
fading = true;
# fade-delta = 30;
fade-in-step = 0.03;
fade-out-step = 0.03;
# no-fading-openclose = true;
fade-exclude = [ ];

# Other
backend = "glx"
mark-wmwin-focused = true;
mark-ovredir-focused = true;
# use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 60;
vsync = "opengl";
dbe = false;
paint-on-overlay = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
# resize-damage = 1;

# GLX backend
glx-no-stencil = true;
glx-copy-from-front = false;
# glx-use-copysubbuffermesa = true;
glx-no-rebind-pixmap = true;
glx-swap-method = "undefined";
glx-use-gpushader4 = true;

# Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
};

Offline

Board footer

Powered by FluxBB