Matthew Dowle wrote:
Might Wayland fix it in Narwhal ?
I hope those names mean something to Rainer, because they mean nothing
to me.
Duncan Murdoch
"Duncan Murdoch" <murdoch.dun...@gmail.com> wrote in message
news:4cff7177.7030...@gmail.com...
On 08/12/2010 6:07 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/08/2010 12:05 PM, Duncan Murdoch wrote:
Rainer M Krug wrote:
Hi
rgl crashes my R session, when resizing the rgl graphic window.
I am using Ubuntu Maversick, with dual monitor setup. If I disconnect
one monitor, I can resize it "a little bit", but it still craches if I
enlarge it to much.
I assume that the problem has to do with allocated graphic memory in the
kernel, but why is R crashing completely, and not evn giving the usual
crash options?
Cheers,
Rainer
sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i686-pc-linux-gnu (32-bit)
locale:
[1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C
[3] LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8
[5] LC_MONETARY=C LC_MESSAGES=en_US.utf8
[7] LC_PAPER=en_US.utf8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgl_0.92.794
version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 12.0
year 2010
month 10
day 15
svn rev 53317
language R
version.string R version 2.12.0 (2010-10-15)
After executing
library(rgl)
example(rgl)
and resizing the graph window, R crashes witrh the following message:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
stream. See dmesg for more info.
from dmesg:
[ 7349.471959] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small
for color buffer 0 (need 413696 have 262144) !
[ 7349.471964] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0
(256 4 0 404)
[ 7349.471967] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Those messages look like they're coming from your graphics driver, not
from R. So rgl may be doing something it shouldn't do, but you'll
probably have to diagnose what that is. It's unlikely to be
reproducible on another system.
That's what I fear as well - could you give me any tips on how to
proceed to identify the problem?
It might help to know which line of code in rgl actually triggered the
error, but debugging X11 code is tricky. The function that likely
triggered the problem is X11WindowImpl::setWindowRect in
rgl/src/x11gui.cpp; it makes calls to X11 functions that do the actual
work.
Duncan Murdoch
Rainer
Duncan Murdoch
-- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Tel: +33 - (0)9 53 10 27 44
Cell: +27 - (0)8 39 47 90 42
Fax (SA): +27 - (0)8 65 16 27 82
Fax (D) : +49 - (0)3 21 21 25 22 44
Fax (FR): +33 - (0)9 58 10 27 44
email: rai...@krugs.de
Skype: RMkrug
______________________________________________
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.
- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Tel: +33 - (0)9 53 10 27 44
Cell: +27 - (0)8 39 47 90 42
Fax (SA): +27 - (0)8 65 16 27 82
Fax (D) : +49 - (0)3 21 21 25 22 44
Fax (FR): +33 - (0)9 58 10 27 44
email: rai...@krugs.de
Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz/ZuUACgkQoYgNqgF2egoPDwCfYQqfotaTxJ2dkFDMqrVt/Kzr
/REAmwQIWe2N3iiFxYYjCEcaPYgTx8As
=VpUe
-----END PGP SIGNATURE-----
______________________________________________
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.