Firefly Open Source Community

Title: How to prevent ubuntu update from breaking graphics [Print This Page]

Author: KD0OHR    Time: 2/3/2019 09:55
Title: How to prevent ubuntu update from breaking graphics
Last edited by KD0OHR In 2/3/2019 15:12 Editor

I have an issue where if I make the mistake of sudo apt upgrade it breaks the graphics drivers and I get stuck with software gles. Is there some way to stop that? maybe a
  1. dpkg-divert
Copy the code
command or something like this .deb file https://github.com/avafinger/nanopi-m4-ubuntu-base-minimal/releases/tag/v1.2.1
Author: KD0OHR    Time: 2/3/2019 15:11
I used apt-mark and it seemed to survive an apt upgrade

  1. sudo apt-mark hold libgl1 libglx0 libgles2 libegl1 libglvnd0
Copy the code


I will update if I find a way to have opencl without breaking webgl
Author: KD0OHR    Time: 2/3/2019 15:34
Looks like it was already in there, clinfo just needs where to find it:

  1. sudo mkdir /etc/OpenCL
  2. sudo mkdir /etc/OpenCL/vendors
  3. echo "/usr/lib/aarch64-linux-gnu/libOpenCL.so" | sudo tee /etc/OpenCL/vendors/armocl.icd
Copy the code

Author: penguin    Time: 2/12/2019 11:02
Welcome to the forum, and thanks for sharing the solution!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1