Firefly Open Source Community

   Login   |   Register   |

How to prevent ubuntu update from breaking graphics

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 2/3/2019 09:55:47     
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
Reply

Use props Report

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 2/3/2019 15:11:24     
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
Reply

Use props Report

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 2/3/2019 15:34:13     
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
Reply

Use props Report

639

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
639
Posted at 2/12/2019 11:02:09     
Welcome to the forum, and thanks for sharing the solution!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list