KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
125580
:
[site-issue] Scrolling *ver*y slow on http://lk...
P
roduct
:
konqueror
Co
m
ponent
:
khtml renderer
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2006-04-14 17:32
Last Changed:
2006-05-19 11:02:49
Version: 3.5.2 (using KDE KDE 3.5.2) Installed from: Unlisted Binary Package Compiler: gcc (GCC) 4.1.0 Tried on a system having gcc 4.0.3 too OS: Linux I am using frugalware linux and arch linux, kde 3.5.2 on both of them. On this site --
http://lkml.org/lkml/last100/
-- is particularly slow, as compared to firefox / mozilla. Strange is the fact that the same site is atleast "usable" on p3 550mhz box, whereas scrolling is still slower on a p3 3.06 ghz, which stumps me. Thanks. How to reproduce : Load the site --
http://lkml.org/lkml/last100/
Expected Behaviour : Should scroll as fast as mozilla/firefox, faster, seeing konqi's average performance :)
Comment
#1
Maksim Orlovich 2006-04-14 19:21:41
What graphics card do you have? (I am guessing nvidia?)
Comment
#2
Rohan Dhruva 2006-04-14 20:49:14
On the p3 550mhz, i810. On the p4 3.06 ghz, yes, it is an nvidia (not legacy), and I use the nvidia.com drivers. The model is NV17 [GeForce4 420 Go 64M]. I dont think the video card is a problem, its works fine on ALL other browsers -- and I have tested every linux browser I know.
Comment
#3
Maksim Orlovich 2006-04-14 20:51:51
Just there seems to be something in recent nivida drivers that works super-duper-slow with the exact calls we and Qt use that other toolkits don't... That didn't use to be the case with older drivers, so is really quite a mess :-(. It may be worthwhile to try turning on RenderAccel.
Comment
#4
Rohan Dhruva 2006-04-14 21:00:09
Just to eliminate all possibilites, I used the free "nv" driver, turned off and on RenderAccel, but in vain. Anything more for me to test ? :( I mean, hey, i810 is beating an nvidia ;)
Comment
#5
Haris Kouzinopoulos 2006-04-15 13:59:39
There is some problem here. The scrolling is pretty slow with me with an ati graphics card and latest svn snapshot. Firefox scrolls fine
Comment
#6
ismail ( cartman ) donmez 2006-04-15 14:09:45
Works with i810 driver , Intel i915 card; slow with nvidia driver, NVIDIA GF FX6200 card.
Comment
#7
Tommi Tervo 2006-04-15 15:23:40
Related bug
http://bugs.kde.org/show_bug.cgi?id=120805
Comment
#8
Haris Kouzinopoulos 2006-04-15 18:10:34
Yeap, probably this bug is a duplicate
Comment
#9
Haris Kouzinopoulos 2006-04-15 18:15:00
Also probably
bug 52801
is related.
Comment #5
there is very interesting
Comment
#10
Rohan Dhruva 2006-04-15 18:49:11
I dont think
bug 52801
is related -- I dont use smooth scroll in either firefox or konqueror. In fact, I use absolute plain defaults in konqueror, nothing changed at all.
Comment
#11
Thiago Macieira 2006-04-16 16:06:46
ATI Mobility Radeon X700: fast I'll test an NVidia on Tuesday. For the moment, we're attributing this problem to the NVidia drivers.
Comment
#12
Germain Garand 2006-04-16 17:35:31
can't reproduce. GeForce 6600 - Linux x86 NVIDIA Kernel Module 1.0-8178
Comment
#13
ismail ( cartman ) donmez 2006-04-16 17:46:11
>------- Additional
Comment #12
From Germain Garand 2006-04-16 17:35 ------- > can't reproduce. GeForce 6600 - Linux x86 NVIDIA Kernel Module 1.0-8178
RenderAccel on/off ?
Comment
#14
Rohan Dhruva 2006-04-16 17:54:08
Tried with both. Firefox,opera is very fast, regardless whether it is on or no. Turning it on improves the situation only *minimally* in konqui, its still largely unusable.
Comment
#15
Germain Garand 2006-04-17 00:03:23
re: #13 - off. Fairly beefy machine though (X2 4600+)
Comment
#16
Allan Sandfeld 2006-04-17 16:24:49
Seems to be a slow RenderTableSection::paint() Especially cellAt and operator[] on QMemArray.
Comment
#17
Allan Sandfeld 2006-04-17 18:03:49
Created an attachment (id=15660)
[details]
Patch for speeding up RenderTableSection::paint() Try this patch. It removes some stuff for drawing focus on table-rows, and speeds up choice of rows to paint by using a binary-search.
Comment
#18
Allan Sandfeld 2006-04-17 19:48:11
Created an attachment (id=15663)
[details]
Patch with better binary search The last patch didn't do real binary search. I decided I might as well do it right.
Comment
#19
ismail ( cartman ) donmez 2006-04-17 21:04:34
After patching scrolling on some pages ( like this bug report page ) results in : konqueror: /home/cartman/KDE-SVN/KDE3/kdelibs/khtml/rendering/render_table.cpp:1595: void findRowCover(unsigned int&, unsigned int&, const QMemArray<int>&, int, int): Assertion `endrow == 0 || rowPos[endrow-1] < max_y' failed. KCrash: Application 'konqueror' crashing...
Comment
#20
Allan Sandfeld 2006-05-12 19:54:00
I've commited my patch for binary lookup in painting. And while it speeds up what little time Konqueror spends on painting a lot, 99% of the slowness turns out to be from the x-server.
Comment
#21
Germain Garand 2006-05-17 04:01:13
FYI, I experienced very low painting performances on some sites (e.g
http://fabula.org
) with Mandriva 2006 on a XP 2400+ system /w nvidia 6600 gpu. Supplied nvidia driver was 1.0.7676. Installing latest updates solved the problem - among those were nvidia drivers 1.0.8756 (but also Xorg update to 6.9.0 final from some pre 6.9.0 snapshot, so I can't conclusively point the finger at nvidia).
Comment
#22
Allan Sandfeld 2006-05-19 11:02:48
SVN commit 542397 by carewolf: Only repaint the expossed area when scrolling. Fixing local mistakes makes our perfomance less dependent on fully optimized drivers. BUG: 125580 BUG: 118806 M +9 -0 render_box.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_box.cpp #542396:542397 @@ -529,7 +529,16 @@ sy+=b.y()-cy; cx=b.x();cy=b.y();cw=b.width();ch=b.height(); } + // restrict painting to repaint-clip + if (cy < clipy) { + ch -= (clipy - cy); + sy += (clipy - cy); + cy = clipy; + } + ch = kMin(ch, cliph); +// kdDebug() << " clipy, cliph: " << clipy << ", " << cliph << endl; +// kdDebug() << " drawTiledPixmap(" << cx << ", " << cy << ", " << cw << ", " << ch << ", " << sx << ", " << sy << ")" << endl; if (cw>0 && ch>0) p->drawTiledPixmap(cx, cy, cw, ch, bg->tiled_pixmap(c), sx, sy);
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
People
Reporter
:
Rohan Dhruva
Assigned To
:
Konqueror Developers
CC
:
ismail kde org
kouzinopoulos gmail com
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Patch for speeding up RenderTableSection::paint()
(3.74 KB, patch)
2006-04-17 18:03
,
Allan Sandfeld
Details
Patch with better binary search
(4.02 KB, patch)
2006-04-17 19:48
,
Allan Sandfeld
Details
Hide Obsolete
(1) |
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In