|
发表于 2019-6-19 22:40:18
浏览:6647
|
回复:0
打印
只看该作者
[复制链接]
楼主
我使用rk3399开发板.
- uname -a
- Linux firefly 4.4.154 #31 SMP Fri Dec 14 10:32:36 CST 2018 aarch64 aarch64 aarch64 GNU/Linux
复制代码
开机后默认进入命令行界面, 执行startx进入图形化界面. 输入一些命令会报错, 如下所示
- firefly@firefly:~$ glxinfo
- name of display: :0.0
- Error: couldn't find RGB GLX visual or fbconfig
复制代码- firefly@firefly:~$ glxgears
- Error: couldn't get an RGB, Double-buffered visual
复制代码- firefly@firefly:~$ python3
- Python 3.5.2 (default, Nov 12 2018, 13:43:14)
- [GCC 5.4.0 20160609] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import glfw
- >>> glfw.init()
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/firefly/.local/lib/python3.5/site-packages/glfw/__init__.py", line 707, in init
- res = _glfw.glfwInit()
- File "/home/firefly/.local/lib/python3.5/site-packages/glfw/__init__.py", line 609, in errcheck
- _reraise(exc[1], exc[2])
- File "/home/firefly/.local/lib/python3.5/site-packages/glfw/__init__.py", line 45, in _reraise
- raise exception.with_traceback(traceback)
- File "/home/firefly/.local/lib/python3.5/site-packages/glfw/__init__.py", line 588, in callback_wrapper
- return func(*args, **kwargs)
- File "/home/firefly/.local/lib/python3.5/site-packages/glfw/__init__.py", line 800, in _raise_glfw_errors_as_exceptions
- raise GLFWError(message)
- glfw.GLFWError: (65542) b'GLX: GLX extension not found'
复制代码
- firefly@firefly:~$ glmark2-es2
- =======================================================
- glmark2 2017.07
- =======================================================
- OpenGL Information
- GL_VENDOR: ARM
- GL_RENDERER: Mali-T860
- GL_VERSION: OpenGL ES 3.2 v1.r13p0-00rel0-git(a4271c9).31ba04af2d3c01618138bef3aed66c2c
复制代码
是因为mali驱动导致的吗? |
|