|
mark 发表于 2019-9-24 17:19
谢谢,可以了
1、升级fedora
sudo dnf localinstall --nogpgcheck http://repo.rock-chips.com/fedor ... - ...
glmark2的编译可以参考这个,如果glmark2运行成功,证明GPU整个就好了
1. 搭建编译环境
sudo apt-get install git g++ build-essential pkg-config
2. 搭建X11和OpenGL开发环境
sudo apt-get install libx11-dev libgl1-mesa-dev
3. 从git下载glmark2
cd ~/work
git clone https://github.com/glmark2/glmark2.git
cd glmark2/
./waf configure --with-flavors=x11-gl
./waf build -j 4
./waf install --destdir=glmark2-out
./waf configure --with-flavors=x11-glesv2
./waf build -j 4
./waf install --destdir=glmark2-out
(本机安装,执行"./waf install")
4. 给glmark2瘦身
sudo strip -s glmark2-out/usr/local/bin/glmark2
sudo strip -s glmark2-out/usr/local/bin/glmark2-es2
5. 打包install文件
tar -jcvf glmark2-out-rk3399-64bit.tar.bz2 glmark2-out/usr/
6. 解压glmark2
sudo tar -jxvf glmark2-out-rk3399-64bit.tar.bz2 -C /
————————————————
版权声明:本文为CSDN博主「WXXGoodJob」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/WXXGoodJob/article/details/90664691 |
|