Toybrick

楼主: jefferyzhang

RK3399Pro入门教程(12)OpenGL/CL在Debian10上的安装和使用

newcomer3399

注册会员

积分
77
发表于 2020-3-26 13:42:44 | 显示全部楼层
jefferyzhang 发表于 2020-3-26 12:25
哦,你刚烧完debian需要更新下,看debian10更新说明,update upgrade完再装

半小时过去了,下载进度依然是0%,服务器那边有问题了吗
回复

使用道具 举报

newcomer3399

注册会员

积分
77
发表于 2020-3-26 14:06:16 | 显示全部楼层
jefferyzhang 发表于 2020-3-26 12:25
哦,你刚烧完debian需要更新下,看debian10更新说明,update upgrade完再装

toybrick@debian10:~$ sudo apt update
[sudo] password for toybrick:
Hit:1 http://repo.rock-chips.com/debian buster InRelease
Err:2 http://ftp.cn.debian.org/debian buster InRelease
  Could not connect to ftp.cn.debian.org:80 (45.125.0.6), connection timed out
Reading package lists... Done                    
Building dependency tree      
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://ftp.cn.debian.org/debian/dists/buster/InRelease  Could not connect to ftp.cn.debian.org:80 (45.125.0.6), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
debian服务器连不上。。。
回复

使用道具 举报

jefferyzhang

版主

积分
12851
 楼主| 发表于 2020-3-26 14:27:54 | 显示全部楼层
newcomer3399 发表于 2020-3-26 14:06
toybrick@debian10:~$ sudo apt update
[sudo] password for toybrick:
Hit:1 http://repo.rock-chips.c ...

多试试,这个官方源网络不一定稳定。。。
这个我也没办法
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-27 15:07:08 | 显示全部楼层
I follow your instruction on debian 10, got the following error when checking clinf:

clinfo: /lib/aarch64-linux-gnu/libOpenCL.so.1: version `OPENCL_1.0' not found (required by clinfo)

Do you know why?
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-27 15:09:02 | 显示全部楼层
I am not able to install glmark2 on debian 10

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package glmark2
回复

使用道具 举报

jefferyzhang

版主

积分
12851
 楼主| 发表于 2020-3-27 16:29:23 | 显示全部楼层
kaishi 发表于 2020-3-27 15:09
I am not able to install glmark2 on debian 10

Reading package lists... Done

update debian10 first:

sudo apt update --fix-missing
sudo apt -y upgrade
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-28 06:45:39 | 显示全部楼层
Got an error when I dod sudo apt update --fix-missing

Hit:1 http://repo.rock-chips.com/debian buster InRelease
Err:2 http://ftp.cn.debian.org/debian buster InRelease
  Could not connect to ftp.cn.debian.org:80 (45.125.0.6), connection timed out
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://ftp.cn.debian.org/debian/dists/buster/InRelease  Could not connect to ftp.cn.debian.org:80 (45.125.0.6), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
回复

使用道具 举报

jefferyzhang

版主

积分
12851
 楼主| 发表于 2020-3-28 11:16:18 | 显示全部楼层
kaishi 发表于 2020-3-28 06:45
Got an error when I dod sudo apt update --fix-missing

Hit:1 http://repo.rock-chips.com/debian buste ...

Please check your connect to ftp.cn.debian.org, or try again after another time.
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-28 13:11:47 | 显示全部楼层
I am able to apt update now.
However, I am still get the same error to install glmark2 as below:

sudo apt install glmark2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package glmark2

Also clinfo reports zero device as below:

clinfo: /lib/aarch64-linux-gnu/libOpenCL.so.1: version `OPENCL_1.0' not found (required by clinfo)

回复

使用道具 举报

jefferyzhang

版主

积分
12851
 楼主| 发表于 2020-3-28 13:38:44 | 显示全部楼层
kaishi 发表于 2020-3-28 13:11
I am able to apt update now.
However, I am still get the same error to install glmark2 as below:

try:
sudo toybrick-mali.sh link

before executing glmark2
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表