Can any of you squeak hackers help fix a bug in Scratch on 64 bit installations of Ubuntu / Linux?
http://forum.world.st/Shrinking-windows … 33392.html
Check out the exciting video of this glitch here:
http://www.scratch.mit.edu/ext/youtube/ … ;feature=*
It might be caused by something in Scratch, or it might be caused by something in the 64 bit squeak VM - we're not sure. You can test it out by installing Scratch on Ubuntu 12.04 64 bit (now, straight from the repositories!)
Offline
Well, I can't seem to reproduce the bug.. Though of course, I downloaded the package and installed it manually. Would that make a difference?
Offline
Magnie wrote:
Well, I can't seem to reproduce the bug.. Though of course, I downloaded the package and installed it manually. Would that make a difference?
Thanks for trying! You're on a 64 bit Ubuntu 12.04, right? Version 1.4.0.6~dfsg1 of the Scratch package?
Offline
Argh, that looks nasty. It reminds me of when I was experimenting with my own Morphic engine and working with windows.
Does Squeak have any control over the window itself, or just the viewing frame inside the window?
Offline
Lightnin wrote:
Magnie wrote:
Well, I can't seem to reproduce the bug.. Though of course, I downloaded the package and installed it manually. Would that make a difference?
Thanks for trying! You're on a 64 bit Ubuntu 12.04, right? Version 1.4.0.6~dfsg1 of the Scratch package?
64 Bit Ubuntu 12.04 (Precise) with this package: scratch_1.4.0.1-0ubuntu5_i386.deb (Still have it in my Downloads folder ). Hope that helps.
Offline
Magnie wrote:
Lightnin wrote:
Magnie wrote:
Well, I can't seem to reproduce the bug.. Though of course, I downloaded the package and installed it manually. Would that make a difference?
Thanks for trying! You're on a 64 bit Ubuntu 12.04, right? Version 1.4.0.6~dfsg1 of the Scratch package?
64 Bit Ubuntu 12.04 (Precise) with this package: scratch_1.4.0.1-0ubuntu5_i386.deb (Still have it in my Downloads folder ). Hope that helps.
Ah, that's ye olde package - outdated! (Although, on this platform, it actually works a little better. But it's problematic for many users because you have to force the install.)
Can you try it with the newer package, from the repositories?
http://ubuntu.media.mit.edu/ubuntu//poo … .1_all.deb
Hardmath123 wrote:
Argh, that looks nasty. It reminds me of when I was experimenting with my own Morphic engine and working with windows.
Does Squeak have any control over the window itself, or just the viewing frame inside the window?
It looks nasty cause it is! I'd love to see it squashed.
I'm not much of a squeaker at all, but from what I understand you can control window size / handle resize events from within squeak programs.
Last edited by Lightnin (2012-07-20 11:31:08)
Offline
Jackieee wrote:
I'm not able to reproduce this on Lubuntu 12.04 with Scratch 1.4.0.6~dfsg1-1~ubuntu12.04.1. The window does flash black while I'm resizing it, but works fine once I let go.
Thanks for trying! We've just recently isolated the problem to Ubuntu's 3d (unity) system. When running in 2d mode, as I suspect Lubuntu does by default, the bug doesn't happen. So installing on a 64 bit system doesn't appear to be a causal factor - we've since seen it happen on 32 bit installations of Ubuntu.
If you find out more about this bug, please comment here!
https://bugs.launchpad.net/ubuntu/+source/scratch/+bug/1028562
Offline
Just another update- this looks to be caused by an issue with compiz. So, no need to dive deeply into this, unless you want to try to help isolate it!
Offline
I think this belongs in bugs and glitches
Offline
stickdude123 wrote:
I think this belongs in bugs and glitches
actually no. The Scratch team often employs the AT to try to help fix some glitches when they are otherwise occupied (*cough*2.0*cough*)
Anyway, I doubt Lightnin would knowingly put his topic in the wrong section.
Offline
I have this same problem, but I'm using Ubuntu 32-bit, not 64-bit.... Hope it's fixed by 2.0
Offline
Removing -xshm from the squeak VM launch options is a workaround that have been found here:
https://lists.launchpad.net/scratch/msg00359.html
or
http://forum.world.st/Shrinking-windows-when-Scratch-is-run-on-4-4-7-2357-VM-Ubuntu-12-04-64bit-td4633392.html
I did this by editing the file /usr/bin/scratch and removing -xshm from the line:
VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:$SQ_DIR/"
(I have Scratch installed from repositories)
Apperently this bug is due to some issue between X and Compiz, so if you do not use Unity 3D then you don't see this bug.
Just thought I would spread the knowledge, making it easier to find for the next seeker.
Regards
SanGis
Offline
SanGis wrote:
Removing -xshm from the squeak VM launch options is a workaround that have been found here:
https://lists.launchpad.net/scratch/msg00359.html
or
http://forum.world.st/Shrinking-windows-when-Scratch-is-run-on-4-4-7-2357-VM-Ubuntu-12-04-64bit-td4633392.html
I did this by editing the file /usr/bin/scratch and removing -xshm from the line:
VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:$SQ_DIR/"
(I have Scratch installed from repositories)
Apperently this bug is due to some issue between X and Compiz, so if you do not use Unity 3D then you don't see this bug.
Just thought I would spread the knowledge, making it easier to find for the next seeker.
Regards
SanGis
Nice!
Offline
Not just 64bit either... Shrinking and strobing just like the video on a 32bit system. I'll try 2d mode, brb
edit: No shrinking under 2d. Huh. I'll try the workaround.
eddetit: grr permissions problem
Last edited by scratchisthebest (2012-10-25 18:22:13)
Offline
There's a partial fix/workaround over on http://scratch.mit.edu/forums/viewtopic … 9#p1549099
Offline