找不到所需的 OpenGL 入口点“glGetError”

找不到所需的 OpenGL 入口点“glGetError”

我无法在 Steam + Ubuntu 14.04 上玩“Half-Life-2”。屏幕上的消息框显示错误:

    Could not find required OpenGL entry pint 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.

我有一台戴尔 Inspiron 笔记本电脑。我的操作系统是 Ubuntu 14.04,显卡是 AMD Radeon HD 8600M。我安装了 AMD 专有驱动程序。

“glxinfo”的部分输出如下:

    name of display: :0
    libGL: screen 0 does not appear to be DRI3 capable
    libGL: pci id for fd 4: 8086:0a16, driver i965
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i965_dri.so
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i965_dri.so
    libGL: Can't open configuration file /home/arushi/.drirc: No such file or directory.
    libGL error: failed to load driver: i965
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
    libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/i386- linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
    libGL: Can't open configuration file /home/arushi/.drirc: No such file or directory.
    libGL: Can't open configuration file /home/arushi/.drirc: No such file or directory.
    libGL error: failed to load driver: swrast
    display: :0  screen: 0
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

答案1

我找到了问题的解决方案。要让 TF2 重新运行,我只需删除我为使 Skype 运行而创建的符号链接:

/usr/lib/i386-linux-gnu/mesa/libGL.so.1

现在的问题是 Skype 又不能用了。我想每次我想使用 Skype 时,我都得重新创建符号链接,直到 Canonical 修复 Skype 的分段错误问题。

答案2

我知道这是一个老话题,但移除/删除此符号链接并不是一个好答案。许多其他应用程序都依赖于此文件,尽管 steam 需要当前的驱动程序。

请阅读我对此问题的解决方案:

Ubuntu 14.04“无法找到所需的 OpenGL 入口点‘glGetError’!”

答案3

经过大量的互联网搜索后,我找到了解决这个问题的方法。

请阅读对Steam社区由 Christian Günther 主持的论坛。

我只需按照以下步骤操作并重新启动系统:

sudo rm /usr/lib/i386-linux-gnu/libGL.so.1.2.0
sudo ln -s /usr/lib32/fglrx/fglrx-libGL.so.1.2 /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0

现在 Half Life 在我的系统上正常运行..!

相关内容