Ubuntu1404: ...could not create GL context ???

Discussion in 'Mac and Linux' started by zwergnase1968, May 22, 2014.

  1. zwergnase1968

    zwergnase1968 New Member

    Messages:
    1
    Likes Received:
    0
    Running steam on Ubuntu 1404, core i3, 6 GB, Acer Aspire M5-418, Intel HD 4000 graphics.
    When I want to start the game, the message: "fatal error: SDL_GL_CreateContext failed: could not create GL context" appears. What do I do now????!
    Thanks for the help!!!!
  2. tene

    tene New Member

    Messages:
    1
    Likes Received:
    0
    I'm having exactly the same problem. I'm on Fedora 20, with Intel HD 4400 graphics, without steam.
  3. sarmad

    sarmad New Member

    Messages:
    3
    Likes Received:
    0
    Same problem on Fedora 20 on both Intel HD 3000 and AMD Radeon 6750m (open source driver). I bought this game several months ago and until now it never ran on my system and I'm starting to think it never will. I totally regret buying this game.
  4. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Game is not compatible with open source drivers yet: PA#3057
  5. johannesg

    johannesg New Member

    Messages:
    1
    Likes Received:
    0
    Same problem here on Ubuntu 14.04.

    CPU: Intel® Core™ i5-4570 CPU @ 3.20GHz × 4
    Graphics: Intel® Haswell Desktop
    RAM: 8GB
    OS: Ubuntu 14.04
    Graphics Driver: Latest Intel graphics driver for Ubuntu 14.04
  6. momemtummori

    momemtummori New Member

    Messages:
    1
    Likes Received:
    0
    Same problem also.
    Tested with nvidia driver 331.38 from nvidia-331 and nvidia-331-updates.

    Ubuntu 14.04
    i7 3770k, GTX 680
  7. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    This is pretty weird. Is other games work fine?
  8. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    I'm find other guy on Nvidia with same issue and Ubuntu 14.04. He had same problem with 331.38 and bypass them with downgrading to 304.117. Can you please check it and post here about results?
  9. SmiddyPence

    SmiddyPence New Member

    Messages:
    1
    Likes Received:
    0
    Same problem

    OS: Ubuntu14.04
    Graphics: Gallium 0.4 on NVC1
  10. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    I doubt Nouveau will able to handle PA even if game will support open source drivers. So you better use proprietary drivers if you want to play it on Nvidia.
  11. olivier001

    olivier001 New Member

    Messages:
    1
    Likes Received:
    0
    I've got the same problem, with Gentoo, Core i5, HD 4600.

    Any hope to run that game?

    Edit: I was running 66503, I've just seen a new version : 66567. I'll try.
    Last edited: May 24, 2014
  12. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Nope until devs make it use OpenGL 3.2 core profile.

    At moment game need 3.2 compatibility profile which Mesa doesn't support.
  13. hobarrera

    hobarrera New Member

    Messages:
    28
    Likes Received:
    6
    "yet" isn't really the correct work - the game WAS compatible with open source drivers until some time age, so this is actually a regression.

    On a more important note: MESA seems to support GL3.2 completely: http://cgit.freedesktop.org/mesa/mesa/tree/docs/GL3.txt
    Or am I missing something?
  14. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Nope. I suppose Linux-specific GL code didn't changed much since Alpha released. Only reason why earlier versions of game worked on open source drivers somehow it's because game used GL 2.1 with few 3.0 features.

    Within development process game start using more advanced features, but it's still was possible to make shaders compatible with Mesa and this why I did. Unfortunately outdated GL hurt Mac version a lot because it's don't support compatibility profiles too and by default it's only have 2.1 (while Mesa have 3.0) so Uber decide to switch everything to 3.2 core profile on Mac:
    https://forums.uberent.com/threads/a-question-for-our-os-x-users.56431/
    Once this was done game was no longer work with Mesa because Linux version still using old stuff.

    Even now it's still possible to disable a lot of shaders/effects/etc and run the game, but there is no point in doing so.

    Yes, you missing this:
  15. hobarrera

    hobarrera New Member

    Messages:
    28
    Likes Received:
    6
    So basically, the issue is that OS X has old versions of OpenGL, and Mesa has already gotten rid of the deprecated features?
  16. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    No. First of all compatibility profile it's not just "deprecated features", but part of official GL specification. Intel devs (they handle most of Mesa core development) decide to not implement compatibility because it's too complicated and very few apps need it.

    As far as I understand not all of the GL code shared between platforms, so Mac version already using core profile for a while and since it's implemented game isn't compatible with FOSS drivers on Linux because Linux code wasn't adopted for code profile.
    hobarrera likes this.

Share This Page