Skip to content

Commit

Permalink
Fix Chrome Remote Desktop NVIDIA Grid installation
Browse files Browse the repository at this point in the history
- use gcc-12 to compile NVIDIA GRID drivers to align with cc used to
  compile kernel
- fix invocation of --silent option
  • Loading branch information
tpdownes authored and mr0re1 committed May 4, 2023
1 parent 4d9629f commit f700bfc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
- gdebi-core
- mesa-utils
- gdm3
- gcc-12
- pkg-config
- libglvnd-dev
state: present
update_cache: true
register: apt_result
Expand All @@ -57,7 +60,8 @@
state: stopped

- name: Install GPU driver
ansible.builtin.command: /tmp/NVIDIA-Linux-x86_64-510.85.02-grid.run -silent
ansible.builtin.shell: |
CC=gcc-12 /tmp/NVIDIA-Linux-x86_64-510.85.02-grid.run --silent
register: result
changed_when: result.rc == 0
when: nvidiasmi_result is failed
Expand Down

0 comments on commit f700bfc

Please sign in to comment.