[Bug 379202] New:=?UTF-8?Q?=20=E2=80=9Cvncviewer=20=2Dnocurs?= orshape” makes Xorg, Xvnc, and vncviewr use all available CPU time
https://bugzilla.novell.com/show_bug.cgi?id=379202 Summary: “vncviewer -nocursorshape” makes Xorg, Xvnc, and vncviewr use all available CPU time Product: openSUSE 11.0 Version: Factory Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mfabian@novell.com QAContact: sndirsch@novell.com Found By: Development “vncviewer -nocursorshape” makes Xorg, Xvnc, and vncviewr use all available CPU time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379202 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379202#c1 --- Comment #1 from Mike Fabian <mfabian@novell.com> 2008-04-11 10:29:20 MST --- I start a vncserver like vncserver -geometry 1280x1024 :2 I made ~/.vnc/xstartup an empty file to exclude that the problem is caused by anything I start automatically. Then I connect with vncviewer -nocursorshape :2 And now Xvnc, vncviewer, and Xorg use up all availlable CPU time: 16869 mfabian 20 0 71392 17m 2392 S 28.6 0.9 0:18.50 Xvnc 16896 mfabian 20 0 49448 7988 1920 R 28.6 0.4 0:18.34 vncviewer 646 root 20 0 289m 104m 8252 S 21.6 5.2 38:25.44 Xorg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379202 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |max@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379202 User max@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379202#c2 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mfabian@novell.com --- Comment #2 from Reinhard Max <max@novell.com> 2008-10-28 11:11:38 MDT --- It looks to me like this is what you get from disabling a performance improvement feature. See the manpage section on -nocursorshape in the vncviewer manpage. Why are you using -nocursorshape at all? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379202 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379202#c3 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mfabian@novell.com | --- Comment #3 from Mike Fabian <mfabian@novell.com> 2008-10-28 11:24:27 MDT --- I think I misread the man-page. I wanted to improve performance over a low bandwidth line and thought that "-nocursorshape" makes things uglier but faster. I still find the text in the man-page confusing: -nocursorshape Disable cursor shape updates, protocol extensions used to handle remote cursor movements locally on the client side (TightVNC-spe- cific). Using cursor shape updates decreases delays with remote cursor movements, and can improve bandwidth usage dramatically. So that means that for best performance over a slow line I should *not* use "-nocursorshape"? If yes, my bug report is INVALID. I understood just the opposite. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379202 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379202#c4 --- Comment #4 from Mike Fabian <mfabian@novell.com> 2008-10-28 11:26:39 MDT --- And what about this option: -x11cursor Use a real X11 cursor with X-style cursor shape updates, instead of drawing the remote cursor on the framebuffer. This option also dis- ables the dot cursor, and disables cursor position updates in non- fullscreen mode. Should I set it to make things faster over a low bandwidth line or not? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=379202 User max@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379202#c5 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #5 from Reinhard Max <max@novell.com> 2008-10-28 11:54:39 MDT --- (In reply to comment #3 from Mike Fabian)
So that means that for best performance over a slow line I should *not* use "-nocursorshape"?
Yes, that's how I understand it. When strace'ing vncviewer -nocursorshape, I saw that its eating of CPU cycles is mostly due to the fact that it chatters with the server all the time.
If yes, my bug report is INVALID.
Will do. (In reply to comment #4 from Mike Fabian)
Should I set it [-x11cursor] to make things faster over a low bandwidth line or not?
Don't know if this only means the client saves some CPU cycles on not having to draw the cursor or if it has a way to stop the server from sending the data at first place. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com