Posts: 24
Threads: 5
Likes Received: 0 in 0 posts
Likes Given: 3
Joined: Jan 2018
I'm getting this error when I try to load mame:
libGL error: unable to load driver: rockchip_dri.so
The software still runs, but is unusably slow. I can't make it do anything.
What error is this, and what can I do to fix it, please?
•
Posts: 3
Threads: 0
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Nov 2017
(01-30-2018, 08:23 PM)Annoying Twit Wrote: I'm getting this error when I try to load mame:
libGL error: unable to load driver: rockchip_dri.so
The software still runs, but is unusably slow. I can't make it do anything.
What error is this, and what can I do to fix it, please?
LIBGL_ALWAYS_SOFTWARE=1 glxgears
•
Posts: 24
Threads: 5
Likes Received: 0 in 0 posts
Likes Given: 3
Joined: Jan 2018
(01-31-2018, 02:54 AM)engineer_on_holiday Wrote: LIBGL_ALWAYS_SOFTWARE=1 glxgears
Thanks. Embarrassingly I only got around to trying this today. I expected that this would turn off hardware rendering and slow it down, but I get about 200fps on GlxGears without or without the flag. I don't know if this means that I'm not getting accellerated OpenGL on glxgears always, or whether the flag has not turned it off.
Mame is now responsive, though I have to work out now how to tell it where my libraries are. Off to google.
•
Posts: 208
Threads: 0
Likes Received: 10 in 10 posts
Likes Given: 0
Joined: Aug 2017
(02-04-2018, 10:58 AM)Annoying Twit Wrote: (01-31-2018, 02:54 AM)engineer_on_holiday Wrote: LIBGL_ALWAYS_SOFTWARE=1 glxgears
Thanks. Embarrassingly I only got around to trying this today. I expected that this would turn off hardware rendering and slow it down, but I get about 200fps on GlxGears without or without the flag. I don't know if this means that I'm not getting accellerated OpenGL on glxgears always, or whether the flag has not turned it off.
Mame is now responsive, though I have to work out now how to tell it where my libraries are. Off to google.
This error message is caused by the userspace application try to use the OpenGL API.
However, Tinker Board can only support OpenGL ES but not OpenGL API.
So you need to use the OpenGL-ES API instead of OpenGL.
•