[Ubuntu 18 LTS] Unable to Edit Text Fields or Buttons on Windows

Joe Glaser 1 Months+ 71

Hey all!

I use Ubuntu 18 for pretty much everything I do with my work and printing. However, I can't seem to get ChiTuBox to work properly on that OS. I'm running Gnome UI with updated NVIDIA drivers. For some reason, it loads fine, but I cannot click and edit any text-field or any other user input options on pop-up windows. Anyone have any idea as to why?


~ Joe G.

New Post (2)
  • Jan Weber 17 Days+
    Quote 2Floor
    Hi,
    same for me. When I launch ChiTuBox, it freezes. I can see the shadow of the loaded model, but not the stl-model itself.
    Software Version: ChiTuBox V1.5.0
    Operation system "ubuntu 18.04" (64bit)

    When launching in commandline, I get errors:

    QOpenGLShader::compile(Vertex): 0:2(12): error: extension `GL_EXT_gpu_shader4' unsupported in vertex shader

    QOpenGLShader::compile(Fragment): 0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20
    0:3(10): error: `gl_FragColor' redeclared

    Error 2 SupportPntRender  "0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20\n0:3(10): error: `gl_FragColor' redeclared\n"

    QOpenGLShader::compile(Fragment): 0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20
    0:3(10): error: `gl_FragColor' redeclared

    Does anybody has an idea how to solve this?

    Jan Weber
  • Guest 9 Days+
    Quote 3Floor
    Same issue: here are the details in the terminal output on Ubuntu 18.04.
    Let me know if I can help please.  Ken
    *************
    ken@ken-VirtualBox:~$ sudo apt install libgl1-mesa-dev
    [sudo] password for ken: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libgl1-mesa-dev is already the newest version (19.0.8-0ubuntu0~18.04.1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ken@ken-VirtualBox:~$ sudo apt-get install libssl1.0-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libssl1.0-dev is already the newest version (1.0.2n-1ubuntu5.3).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ken@ken-VirtualBox:~$ ls
    Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
    ken@ken-VirtualBox:~$ cd Documents
    ken@ken-VirtualBox:~/Documents$ ls
    ChiTuBoxV1.5.0
    ken@ken-VirtualBox:~/Documents$ cd ChiTuBoxV1.5.0
    ken@ken-VirtualBox:~/Documents/ChiTuBoxV1.5.0$ ls
    AppRun    lisence_english.rtf           plugins  README
    ChiTuBox  lisence_simpleChinese.rtf     qml      resource
    lib       lisence_traditionChinese.rtf  qt.conf  translations
    ken@ken-VirtualBox:~/Documents/ChiTuBoxV1.5.0$ ./ChiTuBox
    applicationDirPath(): "/home/ken/Documents/ChiTuBoxV1.5.0"
    applicationDirPath(): "/home/ken/Documents/ChiTuBoxV1.5.0"
    currentPath(): "/home/ken/Documents/ChiTuBoxV1.5.0"
    search path: "/home/ken/Documents/ChiTuBoxV1.5.0/resource"
    resource path: "/home/ken/Documents/ChiTuBoxV1.5.0/resource"
    config path: "/home/ken/.config/ChiTuBox"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/global.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/@default.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AC-3.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AC-4.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AnyCubic_Photo-s.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AnyCubic_Photo.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/ELEGOO_MARS.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/Orbeat_D100.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/Phrozen_Shuffle.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/SparkMaker.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/SparkMaker_FHD.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/Stamp.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/UltraBot+.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/UltraBot.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/WanHao_D7.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/WanHao_D8.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/WanHao_RG1.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/phrozen_Shuffle_XL.cfg"
    load config: "/home/ken/.config/ChiTuBox/global.cfg"
    load config: "/home/ken/.config/ChiTuBox/machine/0.cfg"
    currentPath(): "/home/ken/Documents/ChiTuBoxV1.5.0"
    search path: "/home/ken/Documents/ChiTuBoxV1.5.0/resource"
    resource path: "/home/ken/Documents/ChiTuBoxV1.5.0/resource"
    config path: "/home/ken/.config/ChiTuBox"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/global.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/@default.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AC-3.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AC-4.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AnyCubic_Photo-s.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/AnyCubic_Photo.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/ELEGOO_MARS.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/Orbeat_D100.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/Phrozen_Shuffle.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/SparkMaker.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/SparkMaker_FHD.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/Stamp.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/UltraBot+.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/UltraBot.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/WanHao_D7.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/WanHao_D8.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/WanHao_RG1.cfg"
    load config: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/machine/phrozen_Shuffle_XL.cfg"
    load config: "/home/ken/.config/ChiTuBox/global.cfg"
    load config: "/home/ken/.config/ChiTuBox/machine/0.cfg"
    Software Version: ChiTuBox V1.5.0
    Operation system "ubuntu 18.04"
    applicationFilePath(): "/home/ken/Documents/ChiTuBoxV1.5.0/ChiTuBox"
    screenRect QRect(0,0 1856x1392) available: QRect(0,25 1856x1367)
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/cylinder32.stl"    suffix: "stl"
    ----------faceCount:  124
    size X: 2  Y: 2  Z: 2
    center X: 0  Y: 0  Z: 1
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/cylinder16.stl"    suffix: "stl"
    ----------faceCount:  60
    size X: 2  Y: 2  Z: 2
    center X: 0  Y: 0  Z: 1
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/SUPPORT_sphere.stl"    suffix: "stl"
    ----------faceCount:  480
    size X: 40  Y: 40  Z: 40
    center X: 0  Y: 0  Z: 0
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/SUPPORT_BOTTOM_Cone.stl"    suffix: "stl"
    ----------faceCount:  776
    size X: 1.00499  Y: 1.00499  Z: 1
    center X: -5.7  Y: -0.5  Z: 0.5
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/SUPPORT_BOTTOM_Skate.stl"    suffix: "stl"
    ----------faceCount:  1042
    size X: 0.998199  Y: 1.3912  Z: 1.00001
    center X: 75  Y: 75  Z: 0.500005
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/SUPPORT_Cube.stl"    suffix: "stl"
    ----------faceCount:  12
    size X: 1  Y: 1  Z: 1
    center X: 6  Y: 0  Z: 0.5
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/cylinder8.stl"    suffix: "stl"
    ----------faceCount:  28
    size X: 2  Y: 2  Z: 2
    center X: 0  Y: 0  Z: 1
    @@@@ "English" "UnitedStates" "Latin" "en" QLocale::Country(UnitedStates) 13
    updateLangSel: ("zh_TW", "zh_CN", "en", "ko", "gr", "ru", "tr", "ptbr", "de", "it", "fr", "es", "jp")
    "/home/ken/.config/ChiTuBox/plugin/"
    "/home/ken/Documents/ChiTuBoxV1.5.0/resource/plugin/"
    fileName "/home/ken/Documents/ChiTuBoxV1.5.0/resource/plugin/3mf2stl/plugin.json"
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/high_precision_sphere.stl"    suffix: "stl"
    ----------faceCount:  12600
    size X: 24.9918  Y: 24.9918  Z: 25
    center X: 0  Y: 0  Z: 0
    fileName: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/support/SUPPORT_sphere.stl"    suffix: "stl"
    ----------faceCount:  480
    size X: 40  Y: 40  Z: 40
    center X: 0  Y: 0  Z: 0
    current font: "Microsoft YaHei"
    default font: "DejaVu Sans"
    =========================== "en" "/home/ken/Documents/ChiTuBoxV1.5.0/resource/i18n/"
    currConfigRoot: "/home/ken/.config/ChiTuBox"
    currResouceRoot: "/home/ken/Documents/ChiTuBoxV1.5.0/resource/"
    digHole 2 0 true
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    @@@@ "English" "UnitedStates" "Latin" "en" QLocale::Country(UnitedStates) 13
    updateLangSel: ("zh_TW", "zh_CN", "en", "ko", "gr", "ru", "tr", "ptbr", "de", "it", "fr", "es", "jp")
    libpng warning: iCCP: known incorrect sRGB profile
    lastFileName: "//"
    =======Version: "120" valid: true
    QOpenGLShader::compile(Vertex): 0:2(12): error: extension `GL_EXT_gpu_shader4' unsupported in vertex shader

    *** Problematic Vertex shader source code ***
    #version 120
    #define lowp
    #define mediump
    #define highp
    #line 1
    #extension GL_EXT_gpu_shader4:require
    void main(){}
    ***
    ==bSupport_GL_EXT: false
               GPU vendor: VMware, Inc.
               GPU version: 2.1 Mesa 19.0.8
               GPU render: SVGA3D; build: RELEASE;  LLVM;
               core: false
               hasFrameBufferObjects: true
    QOpenGLShader::compile(Fragment): 0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20
    0:3(10): error: `gl_FragColor' redeclared

    *** Problematic Fragment shader source code ***
    #version 120
    #define lowp
    #define mediump
    #define highp
    #line 1
    uniform sampler2D sampler;
    out vec4 gl_FragColor;
    void main() {
       gl_FragColor = vec4(1.0, 0.0, 0.0, 0.0);gl_FragColor = texture2D(sampler, gl_PointCoord);
    }

    ***
    Error 1 SupportPntRender  "0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20\n0:3(10): error: `gl_FragColor' redeclared\n"
    QOpenGLShader::compile(Fragment): 0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20
    0:3(10): error: `gl_FragColor' redeclared

    *** Problematic Fragment shader source code ***
    #version 120
    #define lowp
    #define mediump
    #define highp
    #line 1
    varying vec4 vertexColor2;
    out vec4 gl_FragColor;
    void main() {
       gl_FragColor = vertexColor2;}

    ***
    Error 1 SupportPntPickRender  "0:3(1): error: `out' qualifier in declaration of `gl_FragColor' only valid for function parameters in GLSL 1.20\n0:3(10): error: `gl_FragColor' redeclared\n"
    QOpenGLFramebufferObject: Framebuffer incomplete attachment.
    QOpenGLFramebufferObject: Framebuffer incomplete attachment.
    QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
    QImage::pixel: coordinate (0,0) out of range
    QImage::pixel: coordinate (0,0) out of range
    ^A


    *************