Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Bash Script to run Davinci with progl

Writer Olivia Zamora

So I got Davinci Working on Ubuntu 20.04 with my Polaris RX 580, by installing only the OpenCL component of the amdgpu-pro package and as suggested in another post, copying the libgl components of the said driver to a pro/driver folder in my home.

so by adding this;

progl() {

export LD_LIBRARY_PATH="/home/alement/pro/drivers:${LD_LIBRARY_PATH}"

export LIBGL_DRIVERS_PATH="/home/alements/pro/drivers/dri"

export dri_driver="amdgpu"

}

To my bashrc, I can open a terminal and do "progl && /opt/resolve/bin/resolve" so that the program runs with the pro-OpenGL libs and everything else runs with the normal mesa ones.

So now, only for aesthetics, I want to know if I can create a script to run this from the .desktop DaVinci file instead of having to open the terminal? can I do it?

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy