Re: [R] rgl/compiz problem
on 08/14/2008 04:53 AM Barry Rowlingson wrote: > 2008/8/14 Marc Schwartz <[EMAIL PROTECTED]>: > >>> I think it's an Ubuntu bug, because nothing like it occurs anywhere else. >>> So I'd suggest you turn off compiz or switch to a reliable OS like Windows >>> ;-). >> Gack... ;-) > > What do you recommend for multiple desktops in Windows? I've > currently got six and I use all of them. Anyway... > >> Baz, what kind of graphics chipset do you have? ATI, nVidia or Intel? >> >> nVidia is terrible right now and they are being deservedly flamed left and >> right on the nVidia Linux fora. Their Linux support has deteriorated notably >> over the past year or so and is more pronounced with the new version of >> Xorg. Even the 2D support under Linux is worse than what I have seen on >> co-workers Linux systems with Intel chipsets that use shared system memory. > > Opposite problem here - my PC has nVidia graphics with the > proprietary driver, and the only problem is the mouse action on the > rgl window. M'colleague has Intel graphcs and his rgl window is mucked > up beyond all recognition (no visible window decor, no repainting when > you move it, and so on). > > For info, lspci says mine is: nVidia Corporation NV34 [GeForce FX > 5200] and his is: Intel Corporation 82945G/GZ I actually have the mobile version of that same nVidia card. Now that some of the vendors (eg. Lenovo) have finally begun to announce laptops with Quad Core Intel CPUs, I am going to be keeping my eye on the configurations available from the vendors. I will be needing to replace mine (Dell) later this year and am very loathe to get another nVidia GPU given my current disposition. Even if it means going with an Intel GPU that uses shared system memory, given that the Intel drivers are open source. Though I will also keep an eye on the ATI cards and the feedback on those, given all these issues. > We're both on Ubuntu 7.10 (I may have lied and said 8.04 earlier), > and I'm a minor kernel revision ahead of him. Maybe an upgrade to > Hardy will fix all this. I'm getting a new machine soon and this will > be something I'll use to test the config anyway. What version of Xorg are you running? If it is not the 1.5 devel version that Fedora 9 uses, that might be why your behavior is somewhat more stable. Besides the longer standing bugs that nVidia has yet to fix relative to Compiz, the new Xorg version that Fedora is running really messed things up and nVidia has been rather slow to get up to speed. That is despite the fact that the new Xorg ABI has been stable and published for some time. >> I agree with Duncan in that you should disable any of the >> compiz/compiz-fusion features, which add significant overhead and put a >> strain on the graphics drivers. Worse if it is nVidia in their current >> state. > > A. I want wobbly windows! (Actually, no, all I use is six > desktops, which I could switch without needing a rotating cube, and > the expose' clone window switcher. And occasional transparency > tweaks.) Just shake your head violently from side to side as you drag windows with your mouse and you will get the same effect... ;-) Regards, Marc __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
Barry Rowlingson lancaster.ac.uk> writes: > > 2008/8/14 Marc Schwartz comcast.net>: > > >> I think it's an Ubuntu bug, because nothing like it occurs anywhere else. > >> So I'd suggest you turn off compiz or switch to a reliable OS like Windows > >> . > > > > Gack... > > [I'm not sure about the attributions above.] Are we really sure this is an Ubuntu bug? From what I have read it seems to be X11/X.org, so should affect most Linux users *who are trying to use fancy OpenGL stuff on their desktops* -- perhaps the reason we keep here from Ubuntu'ers is that compiz is on by default in newer releases? I'd be happy to be set straight by anyone using rgl successfully on other Linux distributions simultaneously with OpenGL desktops ... Ben __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
2008/8/14 Marc Schwartz <[EMAIL PROTECTED]>: >> I think it's an Ubuntu bug, because nothing like it occurs anywhere else. >> So I'd suggest you turn off compiz or switch to a reliable OS like Windows >> ;-). > > Gack... ;-) What do you recommend for multiple desktops in Windows? I've currently got six and I use all of them. Anyway... > Baz, what kind of graphics chipset do you have? ATI, nVidia or Intel? > > nVidia is terrible right now and they are being deservedly flamed left and > right on the nVidia Linux fora. Their Linux support has deteriorated notably > over the past year or so and is more pronounced with the new version of > Xorg. Even the 2D support under Linux is worse than what I have seen on > co-workers Linux systems with Intel chipsets that use shared system memory. Opposite problem here - my PC has nVidia graphics with the proprietary driver, and the only problem is the mouse action on the rgl window. M'colleague has Intel graphcs and his rgl window is mucked up beyond all recognition (no visible window decor, no repainting when you move it, and so on). For info, lspci says mine is: nVidia Corporation NV34 [GeForce FX 5200] and his is: Intel Corporation 82945G/GZ We're both on Ubuntu 7.10 (I may have lied and said 8.04 earlier), and I'm a minor kernel revision ahead of him. Maybe an upgrade to Hardy will fix all this. I'm getting a new machine soon and this will be something I'll use to test the config anyway. > I agree with Duncan in that you should disable any of the > compiz/compiz-fusion features, which add significant overhead and put a > strain on the graphics drivers. Worse if it is nVidia in their current > state. A. I want wobbly windows! (Actually, no, all I use is six desktops, which I could switch without needing a rotating cube, and the expose' clone window switcher. And occasional transparency tweaks.) Barry __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
My laptop has an nVidia card. Maybe that's why it works? Simon. On Wed, 2008-08-13 at 13:17 +, Ben Bolker wrote: > Barry Rowlingson lancaster.ac.uk> writes: > > > > > I have just encountered the problem with rgl where plot3d figures > > don't interact with the mouse. My plots zoom in and out with the mouse > > wheel but the mouse buttons do nothing. I can't rotate the plot. > > > > This has been mentioned and discussed here and in other lists before, > > and the solution is to turn off Ubuntu's fancy graphics. Back in > > March, Ben Bolker said: > > > > """ > > unfortunately rgl and compiz/etc. both try to use > > the same OpenGL interface, so you can't use both at > > the same time. > > """ > > > > This has echoes of when TCP/IP was in its infancy back in the days of > > DOS, and only one program could access the network interface at a time > > (until TCP/IP software got its act together). Is OpenGL really in the > > same position now? Or is Compiz being "greedy" in some sense? Surely > > two OpenGL applications can run at the same time? Or is it because rgl > > is running 'within' another OpenGL window already, so there's some > > nesting problem going on? > > > > Google Earth works fine, and I think that uses OpenGL. Anyone had any > > ideas since March? > > > > I'm on Ubuntu 8.04 and R 2.7.1 > > > > Barry > > Unfortunately, an apparently knowledgeable compiz person > said: > > This is a limitation of DRI, DRI2 should fix this, and should hopefully be in > most drivers by Xorg 7.5(maybe 7.6), nvidia has there on implementation, > that's > why it works on it > > http://forum.compiz-fusion.org/showthread.php?t=8462 > > And poking around, > > http://www.phoronix.com/scan.php?page=news_item&px=NjYzNw > > "sometime in 2009" is the closest I could get to finding > an expected date when this would be available ... > > Ben Bolker > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email: S.Blomberg1_at_uq.edu.au Policies: 1. I will NOT analyse your data for you. 2. Your deadline is your problem. The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. - John Tukey. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
on 08/13/2008 06:03 PM Duncan Murdoch wrote: Barry Rowlingson wrote: I have just encountered the problem with rgl where plot3d figures don't interact with the mouse. My plots zoom in and out with the mouse wheel but the mouse buttons do nothing. I can't rotate the plot. This has been mentioned and discussed here and in other lists before, and the solution is to turn off Ubuntu's fancy graphics. Back in March, Ben Bolker said: """ unfortunately rgl and compiz/etc. both try to use the same OpenGL interface, so you can't use both at the same time. """ This has echoes of when TCP/IP was in its infancy back in the days of DOS, and only one program could access the network interface at a time (until TCP/IP software got its act together). Is OpenGL really in the same position now? Or is Compiz being "greedy" in some sense? Surely two OpenGL applications can run at the same time? Or is it because rgl is running 'within' another OpenGL window already, so there's some nesting problem going on? I think it's an Ubuntu bug, because nothing like it occurs anywhere else. So I'd suggest you turn off compiz or switch to a reliable OS like Windows ;-). Gack... ;-) Google Earth works fine, and I think that uses OpenGL. Anyone had any ideas since March? I'm on Ubuntu 8.04 and R 2.7.1 Baz, what kind of graphics chipset do you have? ATI, nVidia or Intel? nVidia is terrible right now and they are being deservedly flamed left and right on the nVidia Linux fora. Their Linux support has deteriorated notably over the past year or so and is more pronounced with the new version of Xorg. Even the 2D support under Linux is worse than what I have seen on co-workers Linux systems with Intel chipsets that use shared system memory. I agree with Duncan in that you should disable any of the compiz/compiz-fusion features, which add significant overhead and put a strain on the graphics drivers. Worse if it is nVidia in their current state. Regards, Marc Schwartz __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
Barry Rowlingson wrote: I have just encountered the problem with rgl where plot3d figures don't interact with the mouse. My plots zoom in and out with the mouse wheel but the mouse buttons do nothing. I can't rotate the plot. This has been mentioned and discussed here and in other lists before, and the solution is to turn off Ubuntu's fancy graphics. Back in March, Ben Bolker said: """ unfortunately rgl and compiz/etc. both try to use the same OpenGL interface, so you can't use both at the same time. """ This has echoes of when TCP/IP was in its infancy back in the days of DOS, and only one program could access the network interface at a time (until TCP/IP software got its act together). Is OpenGL really in the same position now? Or is Compiz being "greedy" in some sense? Surely two OpenGL applications can run at the same time? Or is it because rgl is running 'within' another OpenGL window already, so there's some nesting problem going on? I think it's an Ubuntu bug, because nothing like it occurs anywhere else. So I'd suggest you turn off compiz or switch to a reliable OS like Windows ;-). Duncan Murdoch Google Earth works fine, and I think that uses OpenGL. Anyone had any ideas since March? I'm on Ubuntu 8.04 and R 2.7.1 Barry __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
Barry Rowlingson wrote: 2008/8/13 Ben Bolker <[EMAIL PROTECTED]>: Barry Rowlingson lancaster.ac.uk> writes: oe So he tried mouse buttons in combination. Holding B1 and then B3 and moving the mouse resulted in a zoom operation. Holding first B3 and then B1 resulted in rotation functionality. B3 and then B2 resulted in the field-of-view change operation. These three operations were what should have happened with B3, B1 and B2 presses on their own. Seemingly the mouse presses didn't get through to rgl unless another mouse button was held down. It's quite general. Hold Bx and then hold By and you get the functionality of By. Back in my office, the same things worked for me too. So as long as I do that, everything is fine for me. Unfortunately my colleague has the problem of not having any window decorations and having the rgl window go invisible when moved... Oh well, he can't win them all! Barry Interesting. I can confirm that this works for me too, although since I'm emulating B3 with a two-button mouse that obviously doesn't work ... also, the window behavior is extremely erratic (no decorations, window doesn't always come to front when it should, doesn't disappear immediately when closed, etc.) Since my machine tends to lock up on suspend when the fancy graphics are on, I'll probably continue without them for the time being ... (I suppose I could write a script to toggle the graphics mode on suspend/wake, but ugh) Ben __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
2008/8/13 Ben Bolker <[EMAIL PROTECTED]>: > Barry Rowlingson lancaster.ac.uk> writes: > >> >> I have just encountered the problem with rgl where plot3d figures >> don't interact with the mouse. My plots zoom in and out with the mouse >> wheel but the mouse buttons do nothing. I can't rotate the plot. >> I just showed this problem to a colleague who also uses fancy wobbly windows on his Ubuntu box, and he had the same problem. But then with some random frustrated clicking his scatterplot moved! It rotated slightly! What? How did he do that? He didn't know! So he tried mouse buttons in combination. Holding B1 and then B3 and moving the mouse resulted in a zoom operation. Holding first B3 and then B1 resulted in rotation functionality. B3 and then B2 resulted in the field-of-view change operation. These three operations were what should have happened with B3, B1 and B2 presses on their own. Seemingly the mouse presses didn't get through to rgl unless another mouse button was held down. It's quite general. Hold Bx and then hold By and you get the functionality of By. Back in my office, the same things worked for me too. So as long as I do that, everything is fine for me. Unfortunately my colleague has the problem of not having any window decorations and having the rgl window go invisible when moved... Oh well, he can't win them all! Barry __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
Barry Rowlingson lancaster.ac.uk> writes: > > I have just encountered the problem with rgl where plot3d figures > don't interact with the mouse. My plots zoom in and out with the mouse > wheel but the mouse buttons do nothing. I can't rotate the plot. > > This has been mentioned and discussed here and in other lists before, > and the solution is to turn off Ubuntu's fancy graphics. Back in > March, Ben Bolker said: > > """ > unfortunately rgl and compiz/etc. both try to use > the same OpenGL interface, so you can't use both at > the same time. > """ > > This has echoes of when TCP/IP was in its infancy back in the days of > DOS, and only one program could access the network interface at a time > (until TCP/IP software got its act together). Is OpenGL really in the > same position now? Or is Compiz being "greedy" in some sense? Surely > two OpenGL applications can run at the same time? Or is it because rgl > is running 'within' another OpenGL window already, so there's some > nesting problem going on? > > Google Earth works fine, and I think that uses OpenGL. Anyone had any > ideas since March? > > I'm on Ubuntu 8.04 and R 2.7.1 > > Barry Unfortunately, an apparently knowledgeable compiz person said: This is a limitation of DRI, DRI2 should fix this, and should hopefully be in most drivers by Xorg 7.5(maybe 7.6), nvidia has there on implementation, that's why it works on it http://forum.compiz-fusion.org/showthread.php?t=8462 And poking around, http://www.phoronix.com/scan.php?page=news_item&px=NjYzNw "sometime in 2009" is the closest I could get to finding an expected date when this would be available ... Ben Bolker __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] rgl/compiz problem
Two days ago I installed compiz on my Debian laptop. It plays fine with the OpenGL games that I also have on that computer. (My son plays the games in the brief interludes between my intense R hacking sessions. I, of course, have no time for such frivolity. The production cycle is sleep -> eat -> R -> eat -> R -> eat -> sleep.) I can rotate and zoom using the touchpad, when both rgl and compiz are running. Not sure if any of this is of help, Simon. Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consulta->nt Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au http://www.uq.edu.au/~uqsblomb/ Policies: 1. I will NOT analyse your data for you. 2. Your deadline is your problem. The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. - John Tukey. -Original Message- From: [EMAIL PROTECTED] on behalf of Barry Rowlingson Sent: Wed 13/08/2008 9:45 PM To: r-help@r-project.org Subject: [R] rgl/compiz problem I have just encountered the problem with rgl where plot3d figures don't interact with the mouse. My plots zoom in and out with the mouse wheel but the mouse buttons do nothing. I can't rotate the plot. This has been mentioned and discussed here and in other lists before, and the solution is to turn off Ubuntu's fancy graphics. Back in March, Ben Bolker said: """ unfortunately rgl and compiz/etc. both try to use the same OpenGL interface, so you can't use both at the same time. """ This has echoes of when TCP/IP was in its infancy back in the days of DOS, and only one program could access the network interface at a time (until TCP/IP software got its act together). Is OpenGL really in the same position now? Or is Compiz being "greedy" in some sense? Surely two OpenGL applications can run at the same time? Or is it because rgl is running 'within' another OpenGL window already, so there's some nesting problem going on? Google Earth works fine, and I think that uses OpenGL. Anyone had any ideas since March? I'm on Ubuntu 8.04 and R 2.7.1 Barry __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.