Hi, With a new MacPorts installation I also installed X11 through it. After some initial problems which got fixed by Jeremy Huddleston X11 worked fine except for one problem. Shortly after starting X11.app the CPU load climbs up to 110%-160% according to top and Activity Monitor. I described the problem first on the MacPorts development list and Jeremy Huddleston asked me to describe it here. The problem sounds exactly like described in http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/001952.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002042.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002044.html except that I'm running 10.4. I hope you have any ideas what can be done to solve this issue. At the moment I'm back to the default X11 installation :-/ Thanks for your help, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
X11 is now running in the context of a login shell and will execute your local login scripts. Could something in the login scripts be causing this (that could explain why it occurs for some and not others and on Tiger and Leopard)? I know I get errors in the Console/System logs when X11 starts due to errors it runs into in my login scripts (but not when I open a session in Terminal or xterm). They seem benign so I ignore them, but some things may not be benign and might cause this effect. Anyway, a thought... Merle On Feb 8, 2009, at 5:25 PM, Simon Ruderich wrote:
Hi,
With a new MacPorts installation I also installed X11 through it. After some initial problems which got fixed by Jeremy Huddleston X11 worked fine except for one problem. Shortly after starting X11.app the CPU load climbs up to 110%-160% according to top and Activity Monitor.
I described the problem first on the MacPorts development list and Jeremy Huddleston asked me to describe it here. The problem sounds exactly like described in http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/001952.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002042.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002044.html except that I'm running 10.4.
I hope you have any ideas what can be done to solve this issue. At the moment I'm back to the default X11 installation :-/
Thanks for your help, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
One issue on Tiger is that it's using an old quartz-wm which might be causing a weird race with NSPasteboard (it shouldn't though). Could you try disabling the pasteboard proxying in X11->Preferences-
Pasteboard to see if that has any impact?
On Feb 8, 2009, at 14:47, Merle Reinhart wrote:
X11 is now running in the context of a login shell and will execute your local login scripts. Could something in the login scripts be causing this (that could explain why it occurs for some and not others and on Tiger and Leopard)?
I know I get errors in the Console/System logs when X11 starts due to errors it runs into in my login scripts (but not when I open a session in Terminal or xterm). They seem benign so I ignore them, but some things may not be benign and might cause this effect.
Anyway, a thought...
Merle
On Feb 8, 2009, at 5:25 PM, Simon Ruderich wrote:
Hi,
With a new MacPorts installation I also installed X11 through it. After some initial problems which got fixed by Jeremy Huddleston X11 worked fine except for one problem. Shortly after starting X11.app the CPU load climbs up to 110%-160% according to top and Activity Monitor.
I described the problem first on the MacPorts development list and Jeremy Huddleston asked me to describe it here. The problem sounds exactly like described in http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/001952.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002042.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002044.html except that I'm running 10.4.
I hope you have any ideas what can be done to solve this issue. At the moment I'm back to the default X11 installation :-/
Thanks for your help, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
I'm on leopard, But I disabled the pasteboard, and kept .xinitrc as in last email, and I still have 100% cpu when unfocused Ken On Feb 8, 2009, at 6:53 PM, Jeremy Huddleston wrote:
One issue on Tiger is that it's using an old quartz-wm which might be causing a weird race with NSPasteboard (it shouldn't though). Could you try disabling the pasteboard proxying in X11->Preferences-
Pasteboard to see if that has any impact?
On Feb 8, 2009, at 14:47, Merle Reinhart wrote:
X11 is now running in the context of a login shell and will execute your local login scripts. Could something in the login scripts be causing this (that could explain why it occurs for some and not others and on Tiger and Leopard)?
I know I get errors in the Console/System logs when X11 starts due to errors it runs into in my login scripts (but not when I open a session in Terminal or xterm). They seem benign so I ignore them, but some things may not be benign and might cause this effect.
Anyway, a thought...
Merle
On Feb 8, 2009, at 5:25 PM, Simon Ruderich wrote:
Hi,
With a new MacPorts installation I also installed X11 through it. After some initial problems which got fixed by Jeremy Huddleston X11 worked fine except for one problem. Shortly after starting X11.app the CPU load climbs up to 110%-160% according to top and Activity Monitor.
I described the problem first on the MacPorts development list and Jeremy Huddleston asked me to describe it here. The problem sounds exactly like described in http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/001952.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002042.html http://lists.macosforge.org/pipermail/xquartz-dev/2009-January/002044.html except that I'm running 10.4.
I hope you have any ideas what can be done to solve this issue. At the moment I'm back to the default X11 installation :-/
Thanks for your help, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On Sun, Feb 08, 2009 at 06:53:15PM -0800, Jeremy Huddleston wrote:
One issue on Tiger is that it's using an old quartz-wm which might be causing a weird race with NSPasteboard (it shouldn't though). Could you try disabling the pasteboard proxying in X11->Preferences->Pasteboard to see if that has any impact?
Thanks for this, disabling Pasteboard worked perfectly fine. Running the new X11 for about 3 hours now on 10.4 and got no problem with CPU load. Thank you very much. But, no pasteboard makes working with X11 a bit harder as in the past. Is there a way I can help to debug this problem to find a way to fix it? Thanks, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
You should still have pasteboard proxying via quartz-wm (ie, the same as you did under /A/U/X11/app). That preference pane just disables the support within the server. On Feb 9, 2009, at 12:58, Simon Ruderich wrote:
On Sun, Feb 08, 2009 at 06:53:15PM -0800, Jeremy Huddleston wrote:
One issue on Tiger is that it's using an old quartz-wm which might be causing a weird race with NSPasteboard (it shouldn't though). Could you try disabling the pasteboard proxying in X11->Preferences-
Pasteboard to see if that has any impact?
Thanks for this, disabling Pasteboard worked perfectly fine. Running the new X11 for about 3 hours now on 10.4 and got no problem with CPU load.
Thank you very much.
But, no pasteboard makes working with X11 a bit harder as in the past. Is there a way I can help to debug this problem to find a way to fix it?
Thanks, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On Mon, Feb 09, 2009 at 01:31:07PM -0800, Jeremy Huddleston wrote:
You should still have pasteboard proxying via quartz-wm (ie, the same as you did under /A/U/X11/app). That preference pane just disables the support within the server.
You are right, pasting to other applications still works fine. But not being able to copy/paste inside X11 is annoying. Any idea how this could be fixed? Thanks, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
I'm not sure what the problem is. Can you please explain what problem you are seeing? You should have the exact same copy/paste behavior as with the Apple-provided X11.app... On Feb 15, 2009, at 13:58, Simon Ruderich wrote:
On Mon, Feb 09, 2009 at 01:31:07PM -0800, Jeremy Huddleston wrote:
You should still have pasteboard proxying via quartz-wm (ie, the same as you did under /A/U/X11/app). That preference pane just disables the support within the server.
You are right, pasting to other applications still works fine.
But not being able to copy/paste inside X11 is annoying. Any idea how this could be fixed?
Thanks, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On Sun, Feb 15, 2009 at 03:37:47PM -0800, Jeremy Huddleston wrote:
I'm not sure what the problem is. Can you please explain what problem you are seeing? You should have the exact same copy/paste behavior as with the Apple-provided X11.app...
Sorry, I just found the option I need to enable: "Emulate three mouse button". The problem was, that in the past I could press alt and click the mouse to insert text from clipboard into an xterm for example. Apparently this option was disabled and so alt-click had no effect. After enabling it, everything works fine. Just one question, what does the pasteboard option in Preferences, which I disabled because of the CPU issue, provide for new features, if everything works like in the past? Thanks, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
On Feb 16, 2009, at 12:12, Simon Ruderich wrote:
On Sun, Feb 15, 2009 at 03:37:47PM -0800, Jeremy Huddleston wrote:
I'm not sure what the problem is. Can you please explain what problem you are seeing? You should have the exact same copy/paste behavior as with the Apple-provided X11.app...
Sorry, I just found the option I need to enable: "Emulate three mouse button". The problem was, that in the past I could press alt and click the mouse to insert text from clipboard into an xterm for example. Apparently this option was disabled and so alt-click had no effect. After enabling it, everything works fine.
Just one question, what does the pasteboard option in Preferences, which I disabled because of the CPU issue, provide for new features, if everything works like in the past?
It enables a much-improved pasteboard interaction between OSX and X11 including support for images. Tiger the old version of quartz-wm which handles the pasteboard interaction. This old version and can't be told to disable the pasteboard proxying support. Thus when you enable support for the new code in the server, the two come into conflict with eachother. On Leopard, quartz-wm knows that it should not do the pasteboard proxying when it sees a sufficiently new version of the server running. I'll see if I can put together a Tiger build of the new quartz-wm for you.
I built a quartz-wm for you for Tiger. I haven't tested it, and I don't guarantee that it won't cause problems, so please backup your existing quartz-wm. Here it is: http://static.macosforge.org/xquartz/downloads/quartz-wm-1.0.0-Tiger.bz2 Download it, decompress it, and replace /usr/X11R6/bin/quartz-wm with it. Then you should be able to enable the pasteboard proxying in the new X11 on Tiger, since this replacement quartz-wm should behave nicely. --Jeremy On Feb 16, 2009, at 12:43, Jeremy Huddleston wrote:
On Feb 16, 2009, at 12:12, Simon Ruderich wrote:
On Sun, Feb 15, 2009 at 03:37:47PM -0800, Jeremy Huddleston wrote:
I'm not sure what the problem is. Can you please explain what problem you are seeing? You should have the exact same copy/paste behavior as with the Apple-provided X11.app...
Sorry, I just found the option I need to enable: "Emulate three mouse button". The problem was, that in the past I could press alt and click the mouse to insert text from clipboard into an xterm for example. Apparently this option was disabled and so alt-click had no effect. After enabling it, everything works fine.
Just one question, what does the pasteboard option in Preferences, which I disabled because of the CPU issue, provide for new features, if everything works like in the past?
It enables a much-improved pasteboard interaction between OSX and X11 including support for images.
Tiger the old version of quartz-wm which handles the pasteboard interaction. This old version and can't be told to disable the pasteboard proxying support. Thus when you enable support for the new code in the server, the two come into conflict with eachother. On Leopard, quartz-wm knows that it should not do the pasteboard proxying when it sees a sufficiently new version of the server running.
I'll see if I can put together a Tiger build of the new quartz-wm for you. _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On Mon, Feb 16, 2009 at 03:54:54PM -0800, Jeremy Huddleston wrote:
I built a quartz-wm for you for Tiger. I haven't tested it, and I don't guarantee that it won't cause problems, so please backup your existing quartz-wm.
Hi Jeremy, Sorry for the late reply I was away for a week and have been quite busy.
Here it is: http://static.macosforge.org/xquartz/downloads/quartz-wm-1.0.0-Tiger.bz2
Download it, decompress it, and replace /usr/X11R6/bin/quartz-wm with it.
Then you should be able to enable the pasteboard proxying in the new X11 on Tiger, since this replacement quartz-wm should behave nicely.
--Jeremy
Thank you very much for your help, it works perfectly. Is there a way to "integrate" this in MacPorts so other users on 10.4 get this also (I have no idea how X11 really works, so forgive me if this is a stupid question). Thanks again, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
On Wed, Mar 04, 2009 at 12:18:43AM +0100, Simon Ruderich wrote:
Thank you very much for your help, it works perfectly.
Well, I just noticed I have the same problems regarding minimizing windows as Martin Otte. No big deal but it would be cool if this could be fixed. Thanks, Simon -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229
participants (4)
-
Jeremy Huddleston
-
Ken Nussear
-
Merle Reinhart
-
Simon Ruderich