[Vm-dev] Re: [unix] X11 display problem (was: Shrinking windows when Scratch is run on 4.4.7-2357 VM, Ubuntu 12.04 64bit)

Amos Blanton amos at scratch.mit.edu
Mon Jul 30 21:21:25 UTC 2012


Removing the -xshm switch when executing the VM fixes this bug, which has
to do with some kind of   issue with the use of X shared memory extensions
and compiz.

https://bugs.launchpad.net/ubuntu/+source/scratch/+bug/1025013

On Tue, Jul 24, 2012 at 1:51 PM, Amos Blanton <amos at scratch.mit.edu> wrote:

> Previously I thought this bug only happened on 64 bit installations of
> Scratch, but we've since seen it on 32 bit installations as well. It
> appears to happen only in Ubuntu's 12.04's (normal) 3d mode. If I login in
> 2d mode, window Scratch's window resizes just fine on my machine.
>
> I've filed a bug against Scratch in Ubuntu.
>
> https://bugs.launchpad.net/ubuntu/+source/scratch/+bug/1028562
>
>
>
> On Thu, Jun 7, 2012 at 8:50 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:
>
>>
>> On 07.06.2012, at 14:44, Amos Blanton wrote:
>>
>> The shrinking only happens on my 64 bit system (12.04 LTS). Any resizing
>> of the window (larger or smaller) triggers it.
>>
>> You mentioned earlier that there were outstanding issues with ia64, so
>> it's not too surprising. Actually - so far this and problems with the
>> pulse-audio plugin are the only issues I've encountered running Scratch on
>> the 64 bit VM. Seems quite promising!
>>
>>
>> You might want to check the resizing math. IIRC the VM tries to snap the
>> window width to the next multiple of 4. Maybe that is not stable if a word
>> is not 4 but 8 bytes long.
>>
>> - Bert -
>>
>> On Thu, Jun 7, 2012 at 8:16 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:
>>
>>>
>>> On 05.06.2012, at 21:49, Amos Blanton wrote:
>>>
>>> > On Tue, Jun 5, 2012 at 2:45 PM, Bert Freudenberg <bert at freudenbergs.de>
>>> wrote:
>>> >
>>> >> What was the Squeak display size before resizing? (print Display)
>>> >
>>> > wmctrl says it's: 1024 x 767.
>>>
>>> That's odd ;)
>>>
>>> >> What's your screen resolution, graphics card, and window manager?
>>> >
>>> > My laptop is docked, driving a display at 1680 x 1050 via hdmi, and
>>> its normal screen (1366 x 768), is turned off.
>>> >
>>> > Graphics card:
>>> > 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
>>> Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00
>>> [VGA controller])
>>> >       Subsystem: Lenovo Device 21da
>>> >
>>> > Window Manager must be Unity/Gnome/ Compiz, or whatever is standard on
>>> Ubuntu 12.04.
>>> >
>>> > I should note that the testing I did on 32bits Ubuntu 12.04 was done
>>> in Virtualbox VM, using Miry's latest package:
>>> http://aula.edu.es/pool/main/s/scratch/
>>>
>>> I do not see the shrinking problem in Virtual Box using Ubuntu 12.04 LTE
>>> 32 bits, fully updated. How exactly would I have to resize to trigger that?
>>>
>>> I DO see the black window problem when clicking the maximize button in
>>> the window title bar. It also happens in Etoys (see
>>> http://tracker.squeakland.org/browse/SQ-400 ).
>>>
>>> - Bert -
>>>
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120730/f1703e97/attachment-0001.htm


More information about the Vm-dev mailing list