CloudReady installed in Parallels 15 but mouse pointer is unstable

Comments

11 comments

  • Forrest Smith

    Thanks for the detailed report - I haven't previously heard of Parallels being used as a host for CloudReady. Did you install from USB? Or were you able to transfer our downloadable VMware-format OVA files into Parallels? Would be interested in details of how you got to this point.

     

    As for the mouse issues - unfortunately, I'm not sure this can be much improved without help from Parallels. VMware provides a specific graphics driver on Linux that lets us support their framework, but Virtualbox is an example of a place where we can't support CloudReady guest-VMs due to the graphics issues. Here, the graphics sound like they're working which is great, but the input devices on Chrome OS are pretty platform-specific so it isn't totally shocking that they don't map perfectly into Parallels.

     

    You could try the command line changes in #1 here :

    https://docs.google.com/document/d/e/2PACX-1vSV4dCvvx6aZmOeMWDmrT_1GwtEJlkzRk12E8nkNL5VaesMr55Hk09neKbaHu-gsXQlM6SwKLiRnHPK/pub

    to force a more mundane Linux input stack and see if that improves things.

    0
    Comment actions Permalink
  • Rafael Modolo

    Thank you for a prompt response. To install CloudReady in Parallels I tried 3 ways. Only the USB worked. 

    Using OVA file) Parallels can't ready the OVA file, but it can read a VMX. So I used VMware OVF Tool for Mac to convert the OVA into a VMX. Parallels created the PVM file from the VMX, but it didn't boot.

    Using a SD Card) using Chrome recovery tool, I added the BIN file to a Micro SD card Class 10 32gb, created a VM without a source in Parallels and forced it to boot from from an external device. For some reason Parallels wasn't able to use the SD card to boot CloudReady

    Using a USB Drive) I installed the BIN file in an old 8GB USD drive. Using that same VM without source, Parallels manage booting CloudReady. Once CloudReady was running from the USB, I was able to start its installation. CloudReady was't able to get all permissions that it requests during the very beginning of the installation, but installation worked anyway.

     

    About the instruction you provided, root file system is write-protected, so the last step fails. How can I get write access? I tried SU command, but I don't have the password. I was also expecting to type a password when a I call SUDO, but it doesn't request anything. 

    About the evtest, I can see:

    EVENT3: Parallels Virtual Mouse

    EVENT4: Parallels Virtual Mouse

    EVENT5: ImExPS/2 Generic Explorer Mouse

    Which one should I select for the LIBINPUT? 

    Finally, it looks like Crtl+C doesn't do any good... it just returns ˆc in terminal. Is it really doing something? 

     

     

     

     

    0
    Comment actions Permalink
  • Nick Fuchs

    Hi Rafael - It's interesting what you're doing here; thanks for sharing those details. 

    Have you tried making any changes from the Parallels-side? Is there a specific setting in the virtual machine container settings for 'Mouse Acceleration' or 'Smart Mouse'? If so, I would try toggling some of those values there and seeing if that changes the outcome. 

    Let us know.

    Thank you!

    0
    Comment actions Permalink
  • Rafael Modolo

    Nick, parallels doesn't offer many options to configure the mouse. Only option is the game mode that makes the mouse pointer impossible to use. However I think I figured out what is causing the mouse pointer behavior: Parallels is able to show the mouse pointer to the VM, but if the mouse pointer access the host at any time (including the hidden upper task bar), Parallels can't put the mouse pointer back on the guest. The same behavior happens when control+option is pressed (this is the link in Parallels to release the mouse from the guest back to the host). It also explains why the mouse pointer only works in full screen. I found out a better work around to reassign the mouse pointer to CloudReady is to always keep it in full screen and use the 3 fingers gestures to left / right on the trackpad to swap between full screen apps. By doing so, Parallels reassigns the mouse pointer to the VM every time. 

    I can't scroll pages yet use 2 fingers or the mouse scroll wheel...to move a page I have to click and drag, or use the keyboard arrows. Parallels mouse game mode allows scrolling the pages with the mouse, but as I said it's impossible to move the mouse pointer around when game mode is on.

    Do you have more information about LIBINPUT and to allow the VIM to be written? 

     

    After a few days testing, I also notice some instability on the video. 1/3 of the VM screen on the bottom gets funky sometimes. It forces me to stop the VM and reboot it.

    I also notice Youtube can't render the audio (that's the message I got). Netflix and Facebook don't load videos and Spotify can't play music either. Do you guys have a work around to that? I read these codecs(?) are not part of the Chromium project... I'm wondering if CloudReady has a solution for that.

     

     

     

     

     

     

    0
    Comment actions Permalink
  • Forrest Smith

    I think it's worth trying forcing your machine from libgesture (the native CrOS stack for input) to libinput (the standard Linux input stack that we ported over, but which is only used if older machines are found). Your VM might already be using libinput, but you can try to force it following these instructions:

    https://docs.google.com/document/d/e/2PACX-1vSV4dCvvx6aZmOeMWDmrT_1GwtEJlkzRk12E8nkNL5VaesMr55Hk09neKbaHu-gsXQlM6SwKLiRnHPK/pub

    No guarantees, but worth a shot.

     

    As for multimedia issues - have you installed media codecs in the settings menu yet?

    0
    Comment actions Permalink
  • Rafael Modolo

    Forrest - I have tried that instruction to force libinput.. the root filesystem can be read, but it's write-protected. How do I make it editable? 

    About codecs, I've  installed the proprietary ones and the flash player... are there others? 

     

     

     

     

     

     

    0
    Comment actions Permalink
  • Forrest Smith

    You have to disable verity and reboot

    sudo disable_verity

    then reboot

    then proceed.

    0
    Comment actions Permalink
  • Rafael Modolo

    Forrest, LIBINPUT didn't resolve the problem. Still same behavior and scroll still doesn't work. I think it's more likely to be an issue related to Parallels than with CloudReady. 

    Video and Audio streaming still not working, even with media plug ins installed. Would it be related to parallels drivers not being supported by CloudReady? 

    0
    Comment actions Permalink
  • Forrest Smith

    Yeah, Vmware uses it's own graphics driver when CloudReady is the guest OS, so possibly Parallels does something similar and requires some accommodation to have proper graphics for video.

    You could try disabling HW accel in the chrome://flags to see if that helps by setting chrome://flags/#disable-accelerated-video-decode

    0
    Comment actions Permalink
  • Rafael Modolo

    I tried that, but streaming is still not working. I'm quite sure it's an issue with the audio, not with the video. Youtube plays the video for a fraction of a second, then it returns an error saying the audio rendering is now working. 

     

     

    0
    Comment actions Permalink
  • Forrest Smith

    hm.. seems like we're stuck, again, without Parallels wanting to take an interest in supporting CloudReady as a guest OS. Sorry.

    0
    Comment actions Permalink

Please sign in to leave a comment.