npm electron GUI white canvas

Discussion in 'Linux Virtual Machine' started by AdrianS13, May 13, 2021.

  1. AdrianS13

    AdrianS13 Bit poster

    Messages:
    2
    Hi
    I am having problem with npm electron GUIs getting white/black.
    I am running PD 16 on MacBook Pro 16", VM with ubuntu 20.04 with 5.8 kernel.
    I have read about something similar in kernel 5.11 thread.
    Does anybody have idea how to solve this without uninstalling parallels tools? Or is just to wait for parallells to fix it?
    I am also getting following crash in my syslog every time I resize the VM window:

    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093233] Call Trace:
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093235] prl_drm_gem_dumb_map_offset+0xa4/0x110 [prl_vid]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093241] ? drm_mode_create_dumb_ioctl+0x10/0x10 [drm]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093246] drm_mode_mmap_dumb_ioctl+0x37/0x50 [drm]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093252] drm_ioctl_kernel+0xae/0xf0 [drm]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093257] drm_ioctl+0x234/0x3d0 [drm]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093262] ? drm_mode_create_dumb_ioctl+0x10/0x10 [drm]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093264] ? ext4_file_write_iter+0xc4/0x360
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093266] prl_drm_fops_ioctl+0xbb/0x150 [prl_vid]
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093267] do_vfs_ioctl+0x407/0x670
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093267] ksys_ioctl+0x67/0x90
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093268] __x64_sys_ioctl+0x1a/0x20
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093269] do_syscall_64+0x57/0x190
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093271] entry_SYSCALL_64_after_hwframe+0x44/0xa9
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093271] RIP: 0033:0x7f2cc964537b
    May 14 01:09:37 parallels-Parallels-Virtual-Platform kernel: [ 3076.093272] Code: 0f 1e fa 48 8b 05 15 3b 0d 00 64 c7 00 26 00 00 00
    48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e5 3a 0d 00 f7 d8 64
    89 01 48
     
  2. Evan123

    Evan123 Bit poster

    Messages:
    14
    If I understand your problem, when the app opens you just see a white box where the GUI should be? I also had this issue, and the workaround was to to disable 3D acceleration. I have also reported to Parallels but can you please also raise a bug?
     
  3. AdrianS13

    AdrianS13 Bit poster

    Messages:
    2
    That is correct. White box appearing for npm based applications.
    Disable 3d still coredumps.
     
  4. Evan123

    Evan123 Bit poster

    Messages:
    14
    Hi -- I just had a response back from Parallels Support about my similar case. Try this (with hardware acceleration enabled):

    1. Make sure that the virtual machine is shut down (Actions > Shut Down). If it is in a suspended state, please run it and then shut down (Actions > Shut Down).
    2. Go to the virtual machine configuration (see: https://kb.parallels.com/117287 ) and click "Hardware > Boot Order > Advanced Settings > Boot flags".
    3. Paste the following text in the "Boot flags" field:

    video.gl3=2

    4. Run the virtual machine and see if the issue persists.

    This fixed the problem for me. Parallels Support advised that their developers are working on a permanent fix.
     
    (GalaxyMaster) and LiKexin like this.
  5. LiKexin

    LiKexin Bit poster

    Messages:
    2
    Cool!!! This also fixed my problem. Thanks!
     

Share This Page