Re: [Cuis-dev] Larger mouse pointers on QHD screen?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Cuis-dev] Larger mouse pointers on QHD screen?

David T. Lewis
 
Reported on Cuis, copying to vm-dev for follow-up. Replies should go to vm-dev.

Large cursor support is reported to be not working on 64-bit Linux VMs.
On Squeak, test this by enabling the "Use bigger mouse cursors" preference.

This is probably a build configuration issue. On a 64-bit interpreter VM
on Linux, larger cursors work as expected if and only if the xrender
development library is present in the build, e.g.

    $ sudo apt-get install libxrender-dev

My memory jogger was this:

  Name: VMMaker-dtl.298
  Author: dtl
  Time: 12 February 2013, 7:34:34.873 pm
  UUID: dc5ab81f-c19f-4416-ae5e-edb2909e3eb0
  Ancestors: VMMaker-dtl.297
 
  VMMaker 4.10.11
 
  Enable large cursor support in the 64-bit image. Previous concern about
  bitmap conversion is apparently no longer relevant, as #primitiveBeCursor
  works properly on the 64-bit image (but tested only on little-endian).

Dave


On Mon, Sep 02, 2019 at 07:50:50AM -0300, Juan Vuletich via Cuis-dev wrote:

> You can (and should) report the issue in vm-dev.
>
> Still, look at #needsToBeDrawn and friends. In a few hours of hacking,
> you can fix it in the image (even if you don't know much of the current
> code).
>
> Cheers,
>
> On 9/1/2019 10:48 AM, Steve Davies wrote:
> >Hi Juan,
> >
> >Thanks for coming back to me.  Forgot to say that its a Linux
> >environment so I guess I guess I'm not going to get help from the vm.
> >
> >Steve
> >
> >
> >On Sun, 1 Sep 2019 at 15:44, Juan Vuletich <[hidden email]
> ><mailto:[hidden email]>> wrote:
> >
> >    On 9/1/2019 9:41 AM, Steve Davies via Cuis-dev wrote:
> >    > Hi,
> >    >
> >    > I use a very lovely Dell 9360 which has a QHD screen.
> >    >
> >    > Its easy to set fonts to get a legible screen, but is there
> >    anything I
> >    > can do to get a mouse pointer that isn't tiny?
> >    >
> >    > Thanks,
> >    > Steve
> >    >
> >    Hi Steve,
> >
> >    That depends on whether the VM has support for larger mouse pointers.
> >    For example, selecting 'Huge Fonts' sets up larger mouse pointers
> >    on Mac
> >    OS and Windows, but not on Linux (Ubuntu), using the official 64 bit
> >    VMs. I believe the Linux VM doesn't have support for that.
> >
> >    You could ask about this in the vm-dev mail list:
> >    http://lists.squeakfoundation.org/mailman/listinfo/vm-dev . As an
> >    alternative, the hand could be drawn by Morphic and not by the OS.
> >    See
> >    #needsToBeDrawn.
> >
> >    Cheers,
> >
> >    --
> >    Juan Vuletich
> >    www.cuis-smalltalk.org <http://www.cuis-smalltalk.org>
> >    https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> >    https://github.com/jvuletich
> >    https://www.linkedin.com/in/juan-vuletich-75611b3
> >    @JuanVuletich
> >
> >
> >
> >--
> >Steve Davies: Technical Director, Connection Telecom (Pty) Ltd
> >Email is preferred, but: Phone: 0878200200
> >
>
>
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>

> _______________________________________________
> Cuis-dev mailing list
> [hidden email]
> http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org

Reply | Threaded
Open this post in threaded view
|

Re: [Cuis-dev] Larger mouse pointers on QHD screen?

Nicolas Cellier
 
Hi all,
I just recompiled and tested cog branch head and confirm that neither 64 nor 32bits linux spur VM do honour the large cursor request.
The best would be to open an issue on https://github.com/OpenSmalltalk/opensmalltalk-vm.


Le lun. 2 sept. 2019 à 17:23, David T. Lewis <[hidden email]> a écrit :
 
Reported on Cuis, copying to vm-dev for follow-up. Replies should go to vm-dev.

Large cursor support is reported to be not working on 64-bit Linux VMs.
On Squeak, test this by enabling the "Use bigger mouse cursors" preference.

This is probably a build configuration issue. On a 64-bit interpreter VM
on Linux, larger cursors work as expected if and only if the xrender
development library is present in the build, e.g.

    $ sudo apt-get install libxrender-dev

My memory jogger was this:

  Name: VMMaker-dtl.298
  Author: dtl
  Time: 12 February 2013, 7:34:34.873 pm
  UUID: dc5ab81f-c19f-4416-ae5e-edb2909e3eb0
  Ancestors: VMMaker-dtl.297

  VMMaker 4.10.11

  Enable large cursor support in the 64-bit image. Previous concern about
  bitmap conversion is apparently no longer relevant, as #primitiveBeCursor
  works properly on the 64-bit image (but tested only on little-endian).

Dave


On Mon, Sep 02, 2019 at 07:50:50AM -0300, Juan Vuletich via Cuis-dev wrote:
> You can (and should) report the issue in vm-dev.
>
> Still, look at #needsToBeDrawn and friends. In a few hours of hacking,
> you can fix it in the image (even if you don't know much of the current
> code).
>
> Cheers,
>
> On 9/1/2019 10:48 AM, Steve Davies wrote:
> >Hi Juan,
> >
> >Thanks for coming back to me.  Forgot to say that its a Linux
> >environment so I guess I guess I'm not going to get help from the vm.
> >
> >Steve
> >
> >
> >On Sun, 1 Sep 2019 at 15:44, Juan Vuletich <[hidden email]
> ><mailto:[hidden email]>> wrote:
> >
> >    On 9/1/2019 9:41 AM, Steve Davies via Cuis-dev wrote:
> >    > Hi,
> >    >
> >    > I use a very lovely Dell 9360 which has a QHD screen.
> >    >
> >    > Its easy to set fonts to get a legible screen, but is there
> >    anything I
> >    > can do to get a mouse pointer that isn't tiny?
> >    >
> >    > Thanks,
> >    > Steve
> >    >
> >    Hi Steve,
> >
> >    That depends on whether the VM has support for larger mouse pointers.
> >    For example, selecting 'Huge Fonts' sets up larger mouse pointers
> >    on Mac
> >    OS and Windows, but not on Linux (Ubuntu), using the official 64 bit
> >    VMs. I believe the Linux VM doesn't have support for that.
> >
> >    You could ask about this in the vm-dev mail list:
> >    http://lists.squeakfoundation.org/mailman/listinfo/vm-dev . As an
> >    alternative, the hand could be drawn by Morphic and not by the OS.
> >    See
> >    #needsToBeDrawn.
> >
> >    Cheers,
> >
> >    --
> >    Juan Vuletich
> >    www.cuis-smalltalk.org <http://www.cuis-smalltalk.org>
> >    https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> >    https://github.com/jvuletich
> >    https://www.linkedin.com/in/juan-vuletich-75611b3
> >    @JuanVuletich
> >
> >
> >
> >--
> >Steve Davies: Technical Director, Connection Telecom (Pty) Ltd
> >Email is preferred, but: Phone: 0878200200
> >
>
>
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>

> _______________________________________________
> Cuis-dev mailing list
> [hidden email]
> http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org

Reply | Threaded
Open this post in threaded view
|

Re: [Cuis-dev] Larger mouse pointers on QHD screen?

Nicolas Cellier
 
I wanted to check the legacy svn repository status, but what happened to it?

Le lun. 2 sept. 2019 à 23:08, Nicolas Cellier <[hidden email]> a écrit :
Hi all,
I just recompiled and tested cog branch head and confirm that neither 64 nor 32bits linux spur VM do honour the large cursor request.
The best would be to open an issue on https://github.com/OpenSmalltalk/opensmalltalk-vm.


Le lun. 2 sept. 2019 à 17:23, David T. Lewis <[hidden email]> a écrit :
 
Reported on Cuis, copying to vm-dev for follow-up. Replies should go to vm-dev.

Large cursor support is reported to be not working on 64-bit Linux VMs.
On Squeak, test this by enabling the "Use bigger mouse cursors" preference.

This is probably a build configuration issue. On a 64-bit interpreter VM
on Linux, larger cursors work as expected if and only if the xrender
development library is present in the build, e.g.

    $ sudo apt-get install libxrender-dev

My memory jogger was this:

  Name: VMMaker-dtl.298
  Author: dtl
  Time: 12 February 2013, 7:34:34.873 pm
  UUID: dc5ab81f-c19f-4416-ae5e-edb2909e3eb0
  Ancestors: VMMaker-dtl.297

  VMMaker 4.10.11

  Enable large cursor support in the 64-bit image. Previous concern about
  bitmap conversion is apparently no longer relevant, as #primitiveBeCursor
  works properly on the 64-bit image (but tested only on little-endian).

Dave


On Mon, Sep 02, 2019 at 07:50:50AM -0300, Juan Vuletich via Cuis-dev wrote:
> You can (and should) report the issue in vm-dev.
>
> Still, look at #needsToBeDrawn and friends. In a few hours of hacking,
> you can fix it in the image (even if you don't know much of the current
> code).
>
> Cheers,
>
> On 9/1/2019 10:48 AM, Steve Davies wrote:
> >Hi Juan,
> >
> >Thanks for coming back to me.  Forgot to say that its a Linux
> >environment so I guess I guess I'm not going to get help from the vm.
> >
> >Steve
> >
> >
> >On Sun, 1 Sep 2019 at 15:44, Juan Vuletich <[hidden email]
> ><mailto:[hidden email]>> wrote:
> >
> >    On 9/1/2019 9:41 AM, Steve Davies via Cuis-dev wrote:
> >    > Hi,
> >    >
> >    > I use a very lovely Dell 9360 which has a QHD screen.
> >    >
> >    > Its easy to set fonts to get a legible screen, but is there
> >    anything I
> >    > can do to get a mouse pointer that isn't tiny?
> >    >
> >    > Thanks,
> >    > Steve
> >    >
> >    Hi Steve,
> >
> >    That depends on whether the VM has support for larger mouse pointers.
> >    For example, selecting 'Huge Fonts' sets up larger mouse pointers
> >    on Mac
> >    OS and Windows, but not on Linux (Ubuntu), using the official 64 bit
> >    VMs. I believe the Linux VM doesn't have support for that.
> >
> >    You could ask about this in the vm-dev mail list:
> >    http://lists.squeakfoundation.org/mailman/listinfo/vm-dev . As an
> >    alternative, the hand could be drawn by Morphic and not by the OS.
> >    See
> >    #needsToBeDrawn.
> >
> >    Cheers,
> >
> >    --
> >    Juan Vuletich
> >    www.cuis-smalltalk.org <http://www.cuis-smalltalk.org>
> >    https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> >    https://github.com/jvuletich
> >    https://www.linkedin.com/in/juan-vuletich-75611b3
> >    @JuanVuletich
> >
> >
> >
> >--
> >Steve Davies: Technical Director, Connection Telecom (Pty) Ltd
> >Email is preferred, but: Phone: 0878200200
> >
>
>
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>

> _______________________________________________
> Cuis-dev mailing list
> [hidden email]
> http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org

Reply | Threaded
Open this post in threaded view
|

Re: [Cuis-dev] Larger mouse pointers on QHD screen?

timrowledge
 


> On 2019-09-02, at 2:44 PM, Nicolas Cellier <[hidden email]> wrote:
>
> I wanted to check the legacy svn repository status, but what happened to it?
> http://squeakvm.org/svn

There have been some problems for a while; the board has been trying to get in touch with the owner of the domain etc etc.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: RDLI: Rotate Disk Left Immediate


Reply | Threaded
Open this post in threaded view
|

Re: [Cuis-dev] Larger mouse pointers on QHD screen?

David T. Lewis
 
On Mon, Sep 02, 2019 at 03:04:30PM -0700, tim Rowledge wrote:
>
>
> > On 2019-09-02, at 2:44 PM, Nicolas Cellier <[hidden email]> wrote:
> >
> > I wanted to check the legacy svn repository status, but what happened to it?
> > http://squeakvm.org/svn
>
> There have been some problems for a while; the board has been trying to get in touch with the owner of the domain etc etc.
>

The squeakvm.org server has been down. Until that is resolved you can check
out directly from the back end repository (which runs on a different
box) like this:

  $ svn co http://180.235.36.229:8088/svn/squeak/trunk/platforms
  $ svn co http://180.235.36.229:8088/svn/squeak/trunk/src

Aside from that, the build instructions at http://wiki.squeak.org/squeak/6354
are accurate.

I have not yet had a chance to check this out in the oscog code base,
but the original implementation has cmake checking for the xrender
development libs, and setting "#define HAVE_LIBXRENDER 1" in config.h.
Then in display_ioSetCursorARGB() in sqUnixX11.c, the code is active
if HAVE_LIBXRENDER is defined. There was also a VMMaker change to
activate this in VMMaker-dtl.298.

The oscog version of display_ioSetCursorARGB() has the necessary code,
but I don't see HAVE_LIBXRENDER being defined in my config.h, so my guess
is that it is something that needs to be backported to the build system
for oscog.

I'll try to follow up tomorrow, don't have time right now. But as a
quick check, maybe just add "#define HAVE_LIBXRENDER 1" manually to
config.h and see if it starts working?

Dave

Reply | Threaded
Open this post in threaded view
|

Re: [Cuis-dev] Larger mouse pointers on QHD screen?

Nicolas Cellier
 


Le mar. 3 sept. 2019 à 03:17, David T. Lewis <[hidden email]> a écrit :
 
On Mon, Sep 02, 2019 at 03:04:30PM -0700, tim Rowledge wrote:
>
>
> > On 2019-09-02, at 2:44 PM, Nicolas Cellier <[hidden email]> wrote:
> >
> > I wanted to check the legacy svn repository status, but what happened to it?
> > http://squeakvm.org/svn
>
> There have been some problems for a while; the board has been trying to get in touch with the owner of the domain etc etc.
>

The squeakvm.org server has been down. Until that is resolved you can check
out directly from the back end repository (which runs on a different
box) like this:

  $ svn co http://180.235.36.229:8088/svn/squeak/trunk/platforms
  $ svn co http://180.235.36.229:8088/svn/squeak/trunk/src

Aside from that, the build instructions at http://wiki.squeak.org/squeak/6354
are accurate.

I have not yet had a chance to check this out in the oscog code base,
but the original implementation has cmake checking for the xrender
development libs, and setting "#define HAVE_LIBXRENDER 1" in config.h.
Then in display_ioSetCursorARGB() in sqUnixX11.c, the code is active
if HAVE_LIBXRENDER is defined. There was also a VMMaker change to
activate this in VMMaker-dtl.298.

The oscog version of display_ioSetCursorARGB() has the necessary code,
but I don't see HAVE_LIBXRENDER being defined in my config.h, so my guess
is that it is something that needs to be backported to the build system
for oscog.

I'll try to follow up tomorrow, don't have time right now. But as a
quick check, maybe just add "#define HAVE_LIBXRENDER 1" manually to
config.h and see if it starts working?

Good to know!
since opensmalltalk is still using autotools, maybe something in configure.ac like

AC_CHECK_HEADER([X11/extensions/Xrender.h], [CPPFLAGS="${CPPFLAGS} -HAVE_LIBXRENDER "])


Dave