Screen Lag / Freeze / Jerky movement

Has anybody else noticed this . . .?
Sometime in the past couple of weeks I have done an update that has resulted in the occasional sporadic screen freeze / lag.
I’m running openSUSE 12.3 x86_64 with KDE 4.11.2

I first noticed the problem when scrolling through web pages and noticed that scrolling would occasionally stick momentarily.
I just assumed that it was a browser / firefox problem but over the next few days I noticed that mouse movements would exhibit the same behaviour - as does dragging around windows such as dolphin. The windows do not move smoothly but with very jerky movements.
The behaviour disappears as quickly as it appeared.
Looking in system monitor there isn’t any particular strain on cpu or anything else noticeable that might be causing it.
I don’t think there have been any kernel or xorg updates in the past couple of weeks.
Video is Intel GM45 Express

Not entirely sure where to look to troubleshoot this.

any dieas?
Further info needed?

I don’t have this problem here (also running openSUSE 12.3 x86_64 with KDE 4.11.2).
Did it start with upgrading KDE to 4.11 maybe? Or did that work fine?

Maybe have a look in “Configure Desktop”->“Desktop Effects”->“Advanced”. “Qt graphics system” should be set to “Raster” and “Composite type” to “OpenGL” (try the different versions, I have no idea which one would be best for your intel chip).

Thanks for this I usually run with desktop effects disabled but interestingly, I enabled effects earlier today and the problem hasn’t manifested since then. I’ve now disabled desktop effects again. In advanced Composite was set to OpenGL and QT to Native. I’ve now changed QT to Raster so I’ll play around for a while and see if it makes a difference.

that didn’t take long . . .
problem appeared pretty quickly again after disabling desktop effects - even after changing from native to raster.

I’ve been running KDE 4.11 for some time without problem but I see that most kde libs were updated on my system around sept 29 to 4.11.2-5, 6 or 7 so I guess that could be around the time that I first started to notice the issue.

And why don’t you want to leave the desktop effects enabled? Apparently you don’t have this problem then, do you?
Those graphics system and composite type settings only apply when desktop effects are on.

You can switch off effects you do not want one by one on the “All Effects” tab.

Quite interested when I read this post. Yes, I have noticed this, exactly as described when browsing web-sites. I’ve not seen it when moving windows around, nor have I seen it with the mouse. Like yourself I put this down to a Firefox issue; however, not having seen any of the other effects I had been trying to establish if it was particular web-sites causing the problem.

I was going to try combinations of compositing type as suggested by “wolfi323” (interesting that he is not seeing this), but that was before I read your follow-up posts.

It certainly is random, usually a few times during a days use of the computer. My own guess would be I started seeing this approximately two-three weeks ago, which is broadly in line with your own estimate.

Just for comparison, a brief summary of my set-up:

Desktop effects: enabled, (selectively, I’ve disabled quite a few).
Animation speed: normal.
Compositing: raster openGL 3.1
Desktop theme: oxygen
Cursor theme: oxygen white
Video hardware is Nvidia 8600GTS using the proprietary driver (319.32)

Running xrestop might help identify which application(s) are showing increased resource usage when the issue occurs. For example, pxm_mem may grow constantly over time which might indicate a particular app has a memory leak, etc.

Hi,
Intel GM45, so is that the Thinkpad SL510? Still multi-booting mine with 12.3 Tumbleweed/KDE 11.2, 12.2/KDE standard, and Win 7, with none of your symptoms or any other graphics related issues.

Are you running on the original HDD supplied by lenovo?

Your screen freezes/lags remind me of the first symptoms experienced here when my HDD began to fail with intermittent errors. It carried on intermittently for several months, thanks to ext4’s resilience, before a fatal error crippled file system’s journal and that partition. Some time later a second partition failed and I replaced the disk. With hindsight, I should have changed it sooner, but then I wouldn’t have experienced the challenge of repairing Win 7 to support replacement with a modern advanced function disk (the spinning variety). :slight_smile:

I suggest you run “smartctl” on the disk to examine usage and error stats. You should also run through a full memory test to eliminate it as a possible cause.

Just personal preference. No technical reason.
Perhaps it is time I got used to having effects enabled, and indeed playing around today it does seem quite nice. :slight_smile:

Yes, spot on. :slight_smile:

Still multi-booting mine with 12.3 Tumbleweed/KDE 11.2, 12.2/KDE standard, and Win 7, with none of your symptoms or any other graphics related issues.
Are you running on the original HDD supplied by lenovo?

Yes, still running original HD.
I did think that may be the cause but I couldn’t reproduce any symptoms in Win7 (still multiboot - booted in for first time in about six months today)

Because KDE was updated about the time I started to see the symptoms I wanted to have a play with that.
I switched from 4.11 to the 4.10 but the problem was still present (and perhaps worse)
switched back to 4.11 and now the problem has disappeared on me (and indeed 4.11 seems a little snappier).
I’ll need to play around for a few days to check I guess, but it may have just been an update gone wrong that caused the trouble.
I’ll keep you posted if it returns and also follow the other suggestions if I see it again.

OK - so it seems the problem hasn’t cleared up as I had hoped (and it is evident with desktop effects enabled so I got that bit wrong).

I’ve followed the advice given but nothing really stands out to me.

Memtest showed no errors.

this is the output from smartctl but I think it looks OK

smartctl 6.0 2012-10-10 r3643 [x86_64-linux-3.7.10-1.16-desktop] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA
Device Model:     WDC WD2500BEVT-08A23T1
Serial Number:    WD-WXG1AB0T1607
LU WWN Device Id: 5 0014ee 2affa86de
Firmware Version: 02.01A02
User Capacity:    250,059,350,016 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Fri Oct 18 14:54:56 2013 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)    Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)    The previous self-test routine completed
                    without error or no self-test has ever 
                    been run.
Total time to complete Offline 
data collection:         ( 6780) seconds.
Offline data collection
capabilities:              (0x7b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    Conveyance Self-test supported.
                    Selective Self-test supported.
SMART capabilities:            (0x0003)    Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01)    Error logging supported.
                    General Purpose Logging supported.
Short self-test routine 
recommended polling time:      (   2) minutes.
Extended self-test routine
recommended polling time:      (  82) minutes.
Conveyance self-test routine
recommended polling time:      (   5) minutes.
SCT capabilities:            (0x7037)    SCT Status supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   136   132   021    Pre-fail  Always       -       2183
  4 Start_Stop_Count        0x0032   001   001   000    Old_age   Always       -       288442
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   200   200   051    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   085   085   000    Old_age   Always       -       11518
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       3732
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       239
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       2627729
194 Temperature_Celsius     0x0022   090   087   000    Old_age   Always       -       53
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0
240 Head_Flying_Hours       0x0032   091   091   000    Old_age   Always       -       6795

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     11518         -
# 2  Short offline       Completed without error       00%     11516         -
# 3  Short offline       Completed without error       00%      8554         -
# 4  Short offline       Completed without error       00%      8154         -
# 5  Short offline       Completed without error       00%      7745         -
# 6  Short offline       Aborted by host               40%      7525         -
# 7  Short offline       Completed without error       00%      5174         -
# 8  Short offline       Completed without error       00%      4381         -
# 9  Short offline       Completed without error       00%      2863         -
#10  Short offline       Completed without error       00%      1867         -
#11  Short offline       Aborted by host               10%       494         -
#12  Vendor (0x50)       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

and xrestop

xrestop - Display: localhost:0
          Monitoring 37 clients. XErrors: 0
          Pixmaps:   29383K total, Other:      97K total, All:   29480K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier    
2800000   134  129    1  211  341    11099K     15K  11115K  1214 plasma-desktop
2600000    54    1    1  218  304     8421K      9K   8431K  1207 kwin
3e00000    20   56    1 1246 1678     4864K     42K   4906K  3255 GSmartControl
4000000    11    7    1   21   43     3026K      2K   3029K  3309 farcus : xrestop �~@~S Konsole
1200000     7   46    0   23   33      512K      2K    514K   990 main.py
1000000     6    1    0   83  113      381K      2K    384K  1363 krunner
2e00000    18    9    0   21   38      219K      1K    220K  1365 kmix
3000000     6    5    0   18   17      211K    672B    211K  1422 klipper
0000000     1    0    2    0  114      133K      4K    138K   ?   <unknown>
0c00000     8    2    0   19   25       96K    840B     97K   992 ibus-x11
3200000     3    2    0   19   25       96K    720B     96K  1398 hp-systray
1600000     6    4    0    4   26       64K    864B     64K  1139 kded4
1c00000     4    4    0    4   15       64K    552B     64K  1151 kactivitymanagerd
1a00000     3    3    0    2  371       32K      8K     40K  1142 kglobalaccel
2a00000     3    3    0    2   15       32K    504B     32K  3237 kdesu
3800000     3    3    0    2   11       32K    408B     32K  1425 synaptiks
3600000     3    3    0    2   11       32K    408B     32K  1418 polkit-kde-authentication-agent-1
1e00000     3    3    0    2   11       32K    408B     32K  1222 knotify4
1800000     3    3    0    2   11       32K    408B     32K  1146 kwalletd
0200000     0    1    1    0    0        0B      1K      1K   ?   <unknown>
2400000     4    3    0    1   11        0B    432B    432B  1161 Qt-subapplication
2c00000     3    3    0    1   11        0B    408B    408B  1227 kuiserver
3a00000     1    1    0    0    7        4B    216B    220B   ?   <unknown>
0e00000     1    0    0    0    2        0B     72B     72B   ?   <unknown>
4a00000     1    1    0    0    0        0B     48B     48B   ?   <unknown>
4600000     1    1    0    0    0        0B     48B     48B   ?   <unknown>
4200000     1    1    0    0    0        0B     48B     48B   ?   xrestop
3c00000     1    1    0    0    0        0B     48B     48B   ?   <unknown>
2000000     0    1    0    0    1        0B     48B     48B   ?   <unknown>
1400000     1    1    0    0    0        0B     48B     48B   ?   <unknown>

not sure if this is helpful or not

output from top

top - 20:17:54 up 53 min,  3 users,  load average: 1.15, 0.68, 0.35
Tasks: 144 total,   1 running, 143 sleeping,   0 stopped,   0 zombie
%Cpu(s): 14.8 us,  3.9 sy,  0.0 ni, 81.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   5959336 total,  1658088 used,  4301248 free,    50824 buffers
KiB Swap:  2103292 total,        0 used,  2103292 free,   722056 cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM     TIME+ COMMAND                                            
 2010 farcus    20   0  691m  39m  22m S 16.6  0.7   0:01.99 konsole                                            
 1478 farcus    20   0 2806m  68m  35m S  9.6  1.2   0:20.16 kwin                                               
  825 root      20   0  204m  39m  15m D  7.6  0.7   0:32.76 Xorg                                               
 1215 farcus    20   0 3290m 166m  43m S  1.7  2.9   0:25.65 plasma-desktop                                     
  960 farcus    20   0  260m 3368 2232 S  1.0  0.1   0:00.79 ibus-daemon                                        
 1997 farcus    20   0  683m  35m  21m S  1.0  0.6   0:01.01 dolphin                                            
 1949 root      20   0     0    0    0 S  0.7  0.0   0:01.13 kworker/0:0                                        
  990 farcus    20   0  464m  30m  15m S  0.3  0.5   0:00.79 python                                             
 1944 root      20   0     0    0    0 D  0.3  0.0   0:00.50 kworker/1:2                                        
 2035 farcus    20   0 19372 1664 1168 R  0.3  0.0   0:00.17 top                                                
    1 root      20   0 45956 4660 2180 S  0.0  0.1   0:00.94 systemd                                            
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                           
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.29 ksoftirqd/0                                        
    5 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kworker/0:0H                                       
    7 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0H                                       
    8 root      rt   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                        
    9 root      -2   0     0    0    0 S  0.0  0.0   0:00.17 rcuc/0                                             
   10 root      -2   0     0    0    0 S  0.0  0.0   0:00.00 rcub/0                                             
   11 root      20   0     0    0    0 S  0.0  0.0   0:00.64 rcu_preempt                                        
   12 root      20   0     0    0    0 S  0.0  0.0   0:00.00 rcu_bh                                             
   13 root      20   0     0    0    0 S  0.0  0.0   0:00.00 rcu_sched                                          
   14 root      rt   0     0    0    0 S  0.0  0.0   0:00.01 watchdog/0                                         
   15 root      rt   0     0    0    0 S  0.0  0.0   0:00.01 watchdog/1                                         
   16 root      -2   0     0    0    0 S  0.0  0.0   0:00.29 rcuc/1                                             
   17 root      20   0     0    0    0 S  0.0  0.0   0:00.29 ksoftirqd/1                                        
   18 root      rt   0     0    0    0 S  0.0  0.0   0:00.00 migration/1                                        
   20 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 kworker/1:0H                                       
   21 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 cpuset                             

Yes, your original WD2500BEVT is fine according to that smartctl report, whereas my Fujitsu 320GB had many errors for “Current_Pending_Sector” and “Offline_Uncorrectable”, earlier this year when it failed. A like-for-like replacement wasn’t possible apart from rpm, and Fujitsu [luckily] had sold HDD business to Toshiba in 2009. So I replaced it with a WD5000LPVX Blue, and very pleased with it so far.

At least you eliminated some serious hardware, but it’s back to wearing the “thinking cap” unfortunately. :\

Have you checked root partition and its available free space, I know it sounds obvious, but…?

root is 20gb with about 11gb free. :slight_smile:

actually, I recall seeing similar behaviour after first updating to 12.3 - but it got better with subsequent updates.
I always assumed it was kernel related, but as I mentioned previously, there haven’t been any recent kernel updates (other than kernel-firmware).

actually, slightly disappointed as I could have used it as an excuse to update to an sshd.
Now I can’t justify it. :frowning:

looking in smartctl the hdd has an ever so slightly high temp, but nothing that should cause a prob.

lol! well sorry for that…

Just checked my HD at 28 C., but it’s only been on for a short while with ambient of 18 C. Around 1200 hours ago at Power_On_Hours = 194, it was 47 C. So as you say yours is perhaps a little bit higher at 53 C.

been running kernel 3.11.5 from the stable repo coming up a couple of days now.
Seems to have fixed my problem as I haven’t seen any of the symptoms since the upgrade.
As a bonus from the kernel upgrade I have also doubled file transfer speeds from my NAS over wifi and got my mute button back that stopped working with the 3.7 kernel in openSUSE 12.3. :slight_smile:

Same here on 12.3 with or without Tumbleweed, the mute button doesn’t work on 3.7 and later kernels but works on 12.2 standard. On Tumbleweed now with
kernel-desktop-3.11.5-32.1.ga012288.x86_64 running and it still doesn’t work :(. Also on startup, more often than not, the sound icon (KDE standard or TW) shows sound is muted. Easy enough to clear but annoying. Does that happen on yours?

Everything worked great for me in 12.1. A few things stopped working in 12.2 and then in 12.3 wireless slowed a little.
After installing the 3.11 kernel everything is back to working great as it did in 12.1. All my function buttons work as should (brightness etc).
I’ve never seen the muted sound on boot that you have.
There is some difference between sl510s though. My wife has the Japanese version which is quite a bit different to mine (different cpu (she has celeron I have i5 dual) different wireless, different hard disc).

edit: while my mute button works - the mute button light doesn’t work.

oh, hang about . . . . I have seen that.
I remember scratching my head over it because when it occurred wasn’t related to any kind of upgrade / update.
Then I remembered that I had set mute when I booted into win7 and forgot to un-mute before leaving that session.
I guess win7 is setting mute in bios settings or something.

Booted back into win7, un-muted there and all was back to normal.