Fixing AMD video drivers on Ubuntu x64 for running Mix and other apps

DimitryDimitry Moderator Posts: 3 mod
So in some cases it might be that Mix ethereum and various other applications won't run on ubuntu because of the incorrect video driver configuration. I have installed fglrx amd driver by following this instruction (part 3.1)
But that was not enough.

glxinfo | grep render

gives you output
libGL error: dlopen /usr/lib/fglrx/dri/ failed (/usr/lib/fglrx/dri/ cannot open shared object file: No such file or directory)
libGL error: failed to load driver: swrast
direct rendering: No 
1) Lets restore dri path.
cd /usr/lib/fglrx
ln -s /usr/lib/x86_64-linux-gnu/dri ./dri
2) Fix link to the
cd /usr/lib/x86_64-linux-gnu
cp ./
ln -s /usr/lib/fglrx/
3) Check that everything works

glxinfo | grep render

should now give you

direct rendering: Yes

4) Useful commands
ldd - see dynamic links of the application
gdb - see debug log of the application
aticonfig --px-dgpu  - restore driver configuration

Post edited by Dimitry on
Sign In or Register to comment.