Search Unity

Question Unable to find a supported OpenGL core profile

Discussion in 'Editor & General Support' started by ggstza, Dec 13, 2021.

  1. ggstza

    ggstza

    Joined:
    Dec 13, 2021
    Posts:
    1
    Game built with Unity 2020.3.24f1 on Ubuntu 18.04 crash immediately after launch with log:
    Code (csharp):
    1.  
    2. PlayerConnection initialized network socket : 0.0.0.0 55078
    3. Multi-casting "[IP] 129.170.212.123 [Port] 55078 [Flags] 2 [Guid] 3284583721 [EditorId] 1732781309 [Version] 1048832 [Id] LinuxPlayer(129.170.212.123) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
    4. Started listening to [0.0.0.0:55078]
    5. Preloaded 'lib_burst_generated.so'
    6. Preloaded 'libgrpc_csharp_ext.x64.so'
    7. PlayerConnection already initialized - listening to [0.0.0.0:55078]
    8. Display 0 'rdp0': 1920x1080 (primary device).
    9. Desktop is 1920 x 1080 @ 50 Hz
    10. Invalid initial resolution 80 x 80 - forcing to 100 x 100
    11. Unable to find a supported OpenGL core profile
    12. Failed to create valid graphics context: please ensure you meet the minimum requirements
    13. E.g. OpenGL core profile 3.2 or later for OpenGL Core renderer
    14.  
    However my OpenGL core profile is 4.5 based on glxinfo
    Code (csharp):
    1.  
    2. $ glxinfo | grep "OpenGL"
    3. OpenGL vendor string: VMware, Inc.
    4. OpenGL renderer string: llvmpipe (LLVM 10.0.0, 256 bits)
    5. OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.0.8
    6. OpenGL core profile shading language version string: 4.50
    7. OpenGL core profile context flags: (none)
    8. OpenGL core profile profile mask: core profile
    9. OpenGL core profile extensions:
    10. OpenGL version string: 4.5 (Compatibility Profile) Mesa 20.0.8
    11. OpenGL shading language version string: 4.50
    12. OpenGL context flags: (none)
    13. OpenGL profile mask: compatibility profile
    14. OpenGL extensions:
    15. OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.0.8
    16. OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    17. OpenGL ES profile extensions:
    18.  
    Anyone knows what might be causing this error?
     
    Claytonious likes this.
  2. wechat_os_Qy0zE5QqhaFnaGrMJcdDzXYCQ

    wechat_os_Qy0zE5QqhaFnaGrMJcdDzXYCQ

    Joined:
    May 9, 2022
    Posts:
    6
    Hi, I have a same problem with you. Have you solved that?
     
  3. alekpanc

    alekpanc

    Joined:
    Jan 16, 2023
    Posts:
    1
    Same, here. Trying to open Unity Editor from a freshly-installed unity hub, with no luck so far, here is a portion of the error log referencing multiple issues with graphics:

    [Subsystems] No new subsystems found in resolved package list.
    [Package Manager] Done registering packages in 0.00s seconds
    Refreshing native plugins compatible for Editor in 0.01 ms, found 0 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    Initialize engine version: 2021.3.12f1 (8af3c3e441b1)
    [Subsystems] Discovering subsystems at path /local/home/alekpanc/Unity/Hub/Editor/2021.3.12f1/Editor/Data/Resources/UnitySubsystems
    [Subsystems] Discovering subsystems at path /local/home/alekpanc/src/tmp/SandboxUnityLin/New Unity Project/Assets
    Could not find compatible OpenGL core profile version
    Could not find compatible OpenGL core profile version
    GfxDevice: creating device client; threaded=1; jobified=0
    [vulkan] LoadVulkanLibrary libvulkan.so.1[vulkan] LoadVulkanLibrary failed to load libvulkan.so.1Vulkan detection: 0
    Could not find compatible OpenGL core profile version
    Could not find compatible OpenGL core profile version
    Could not find compatible OpenGL core profile version
    Could not find compatible OpenGL core profile version
    Failed to initialize unity graphics.
    Please make sure that your graphics card drivers are installed/up to date and that it meets the minimum requirements listed in our website.
    Gtk-Message: 19:48:31.616: GtkDialog mapped without a transient parent. This is discouraged.
    Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
    sh: lsb_release: command not found
    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is QObject(0x17938d0), parent's thread is QThread(0x15db180), current thread is Thread(0x1adcfc0)
    This tool has been deprecated, use 'gio open' instead.