Immerse black screen after updating to Omnisci 5.8

Comments

13 comments

  • Avatar
    Candido Dessanti

    Hi Gianfranco,

    I suggest you to turn off the vulkan rendered adding this parameter to your omnisci.conf file

    renderer-use-vulkan-driver=false

    probably you are having some trouble with our new renderer. if confirmed, that you are having troubles with that, you can try to fix installing vulkan libraries needed; please refer to the vulkan renderer documentation.

    I f you are continuing to get crashes, please report back, so I will file the problem to the renderer team.

    Candido

    0
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    Thank you, I already checked vulkan lib, it was part of installation procedure, and it seems correctly installed:

    $ sudo apt show libvulkan1
    Package: libvulkan1
    Version: 1.2.162.0-1
    Priority: optional
    Section: libs
    Source: vulkan-loader
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 422 kB
    Depends: libc6 (>= 2.29)
    Recommends: mesa-vulkan-drivers | vulkan-icd
    Breaks: libvulkan-dev (<< 1.1.70+dfsg1-2), vulkan-loader
    Replaces: libvulkan-dev (<< 1.1.70+dfsg1-2), vulkan-loader
    Homepage: https://github.com/KhronosGroup/Vulkan-Loader
    Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi
    Download-Size: 97,2 kB
    APT-Manual-Installed: yes
    APT-Sources: http://it.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
    Description: Vulkan loader library
     The Loader implements the main VK library. It handles layer management and
     driver management. The loader fully supports multi-gpu operation. As part of
     this, it dispatches API calls to the correct driver, and to the correct
     layers, based on the GPU object selected by the application.
     .
     This package includes the loader library.
    
    

    Anyway, after disabling vulkan and restarted omnisci_server and omnisci_web_server, and cleared the browser cache, I got exactly the same behavior with the black screen.

    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    So the server is keep crashing and restarting? I guess that's the reason why immerse is returning a blank screen.

    have you tried what's happens if you start the omnisci_server from command line with this command?

    /opt/omnisci/bin/omnisci_server --config /var/lib/omnisci/omnisci.conf

    Candido.

    0
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    That command returns:

    /opt/omnisci/bin/omnisci_server --config /var/lib/omnisci/omnisci.conf
    terminate called after throwing an instance of 'boost::wrapexcept<boost::filesystem::filesystem_error>'
      what():  Failed to open file for writing: Input/output error: "/var/lib/omnisci/data/mapd_log/omnisci_server.INFO.20211015-152846.log"
    Aborted (core dumped)
    
    

    omnisci_server keep crashing and restarting automatically with a different pid every few seconds, while no message is reported in /MAPD_LOG folder.

    Omnisci folder and subfolder are owned by omnisci user with : -rw-r--r--

    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    Have you enough space and/or the right permissions to write into /var/lib/omnisci/data/ directory?

    it seems that errors you are getting when you run the DB as a service or from cli are different.

    try to run from cli with the same user that's running the service and add --log-severity-clog=DEBUG4 if you are running the omnsci DB as root run

    sudo /opt/omnisci/bin/omnisci_server --data /var/lib/omnisci/data --log-severity-clog=DEBUG4
    

    this way the server will be run with default parameters and should output a super detailed log on standard output.

    Candido

    0
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    The detailed log activated with DEBUG4 doesn't write any info in ERROR and FATAL log files.

    In addition, I have to point out that the system is plenty of space, and that many several omnisci_server.INFO logfiles are continuously created there.

    Therefore, this should not be a problem of permission, considering that the owner of /var/lib/omnisci folder (omnisci) has the write permission and the logfiles are regularly created.

    Lastly, I cannot see any error in initdb.info.

    0
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    And now I run omnisci with the same user of the service, as you suggested:

    I got the super detailed log in the standard output, here the last few lines:

    2021-10-15T16:38:05.898118 I 330635 0 0 DBHandler.cpp:493 Started in GPU mode
    2021-10-15T16:38:05.901606 I 330635 0 0 VulkanPlatform.cpp:156 Vulkan Instance API version: 1.2.162
    2021-10-15T16:38:06.023318 1 330635 0 1 MapDServer.cpp:363 heartbeat thread exiting
    2021-10-15T16:38:06.023387 I 330635 0 1 MapDServer.cpp:368 Interrupt signal (11) received.
    Segmentation fault (core dumped)
    
    
    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    HI Gianfranco,

    Nothing special, just 1 line more that has the DEBUG1 levell.

    Which OS are you on? the VI 1.2.162 comes with Ubuntu HIRSUTE

    Candido

    C

    0
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    Sure, it's a Hirsute build:

    Distributor ID: Ubuntu
    Description:    Ubuntu 21.04
    Release:        21.04
    Codename:       hirsute
    
    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    Hi @Gianfranco_Campana,

    I have the same crash on Ubuntu 20.04 with the 460.91.03 drivers and Vulkan render enabled. switching off the vulkan render and then using the old opengl one is fixing the crash, so everything works.

    Anyway, to fix this crash being able to use the Vulkan render, it's necessary to remove the mesa-vulkan-drivers that in ubuntu are installed by default, with this command

    sudo apt remove mesa-vulkan-drivers

    or you can et this ENV while running the server if you need the mesa drivers.

    export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json

    now runnig the server bin/omnisci_server --data /mapd_storage/data_test/ --log-severity-clog=DEBUG4 --renderer-use-vulkan-driver=true

    everything works. Let me know if this is working on your install too

    Regards, Candido

    1
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    Thanks, Candido, I confirm deactivating vulkan driver solved the problem : I just disabled it in the .conf file with renderer-use-vulkan-driver=false

    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    Hi,

    have you tried to remove the mesa-vulkan-drivers package? This make you work the vulkan-render

    Candido.

    1
    Comment actions Permalink
  • Avatar
    Gianfranco Campana

    Thank you, Candido, removing the mesa vulkan driver fixed the crash, and made everything working fine.

    0
    Comment actions Permalink

Please sign in to leave a comment.