Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] How to prevent ubuntu update from breaking graphics

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173

【Linux】 How to prevent ubuntu update from breaking graphics

Posted at 2/3/2019 09:55:47      View:4510 | Replies:4        Print      Only Author   [Copy Link] 1#
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        Only Author  2#
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        Only Author  3#
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

1428

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1428
Posted at 2/12/2019 11:02:09        Only Author  4#
Welcome to the forum, and thanks for sharing the solution!
Reply

Use props Report

136

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
136
Posted at 6 hour before        Only Author  5#
What a remarkable piece of writing, thank you for sharing this with us! Here's the Valid FCSS_CDS_AR-7.6 test practice test that helped me land my promotion and raise. It's free today—good luck with your career progress!
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