Toybrick

楼主: jefferyzhang

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

kaishi

中级会员

积分
306
发表于 2020-3-28 13:46:44 | 显示全部楼层
I have 2 issues here:
clinfo reports no device as below:
clinfo: /lib/aarch64-linux-gnu/libOpenCL.so.1: version `OPENCL_1.0' not found (required by clinfo)

The other one is: not able to install glmark2 because the package is not found when I do:
sudo apt install glamrk2

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package glamrk2

回复

使用道具 举报

jefferyzhang

版主

积分
13405
 楼主| 发表于 2020-3-28 13:55:19 | 显示全部楼层
kaishi 发表于 2020-3-28 13:46
I have 2 issues here:
clinfo reports no device as below:
clinfo: /lib/aarch64-linux-gnu/libOpenCL.so ...

Have you upgraded debian10 ?
After apt update, you need execute "sudo apt -y upgrade" to upgrade it for toybrick repo.
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-28 13:59:43 | 显示全部楼层
My debian is relatively new. How can I find out build version. Below is lsb_release -a which tells me nothing about build version.

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
回复

使用道具 举报

jefferyzhang

版主

积分
13405
 楼主| 发表于 2020-3-28 14:05:35 | 显示全部楼层
本帖最后由 jefferyzhang 于 2020-3-28 14:07 编辑
kaishi 发表于 2020-3-28 13:59
My debian is relatively new. How can I find out build version. Below is lsb_release -a which tells m ...

So where did you get this debian10 firmware?
If you got it from our toybrick site, it contains our toybrick deb/pipy repo which contains glmark2 built by ourselves.
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-28 14:07:55 | 显示全部楼层
I believe my debian version is the latest one:
toybrick-debian10-prod-v1.0.tar
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-28 14:14:02 | 显示全部楼层
jefferyzhang 发表于 2020-3-28 14:05
So where did you get this debian10 firmware?
If you got it from our toybrick site, it contains our  ...

I believe it was downloaded from your onedrive

回复

使用道具 举报

jefferyzhang

版主

积分
13405
 楼主| 发表于 2020-3-28 16:47:51 | 显示全部楼层
kaishi 发表于 2020-3-28 14:14
I believe it was downloaded from your onedrive

That is weird. Did you see the message want you press 'Y' when you 'apt upgrade' about updating '/etc/apt/sources.list.d/toybrick.list'?
Check the '/etc/apt/sources.list.d/toybrick.list' is exist?
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-29 03:24:46 | 显示全部楼层
jefferyzhang 发表于 2020-3-28 16:47
That is weird. Did you see the message want you press 'Y' when you 'apt upgrade' about updating '/e ...

Yes, my system has  /etc/apt/sources.list.d/toybrick.list and its content is:

deb http://repo.rock-chips.com/debian buster main
回复

使用道具 举报

jefferyzhang

版主

积分
13405
 楼主| 发表于 2020-3-29 10:44:37 | 显示全部楼层
kaishi 发表于 2020-3-29 03:24
Yes, my system has  /etc/apt/sources.list.d/toybrick.list and its content is:

deb http://repo.roc ...

I will ask our engineer tomorrow.
Maybe you can try to compile glmark2 by yourself for workaround...
回复

使用道具 举报

kaishi

中级会员

积分
306
发表于 2020-3-29 15:44:03 | 显示全部楼层
How about opencl issue which no device found?

clinfo reports no device as below:
clinfo: /lib/aarch64-linux-gnu/libOpenCL.so.1: version `OPENCL_1.0' not found (required by clinfo)
回复

使用道具 举报

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

本版积分规则

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


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