Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Linux build cannot find OpenGL

Discussion in 'Linux' started by astyles_imb, Jan 7, 2020.

  1. astyles_imb

    astyles_imb

    Joined:
    Nov 12, 2019
    Posts:
    5
    Hi,

    I'm trying to run a Standalone Linux build (64-bit) built from 2019.2 on Ubuntu, but I'm getting this error:

    Unable to find a supported OpenGL core profile
    Failed to create valid graphics context: please ensure you meet the minimum requirements
    E.g. OpenGL core profile 3.2 or later for OpenGL Core renderer
    Vulkan detection: 0
    No supported renderers found, exiting

    I'm using Mesa drivers, and they are install and running other OpenGL programs. My version string is:

    OpenGL version string: 3.3 (Compatibility Profile) Mesa 19.0.8

    So it looks like the version should be supported. I'm tried vatisions of the -force-glcoreXY command line, without success.

    Any ideas that's going on?
     
    khaled24 likes this.
  2. astyles_imb

    astyles_imb

    Joined:
    Nov 12, 2019
    Posts:
    5
    Bump! I've tried a number of OpenGL tests, and they work, its just Unity that's not starting. It would be great to get some more info about what Unity can't find, right now its a black box
     
    khaled24 likes this.
  3. blakete

    blakete

    Joined:
    Jun 12, 2020
    Posts:
    1
    Has no one solved this issue? I am running into the same issue and need some assistance.
     
  4. elbarz

    elbarz

    Joined:
    May 21, 2020
    Posts:
    27
    What's your Graphics card? Maybe that would be a start.
     
  5. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Posting logs would be useful
     
  6. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    514
    Hey all... I've got the same issue. I'm using Ubuntu 18.04 in parallels via macOS catalina 10.15.6 on a MacBook Pro 2019 with Radeon Pro Vega 20 4 GB. Any ideas how to get Unity to detect Open GL? I'm getting pretty exactly the same log when I fire up my x86_64 app, thanks.