pindakaas: Fix Alacritty black font
This commit is contained in:
parent
53304b4abd
commit
73bdb5e567
|
@ -32,5 +32,6 @@
|
||||||
memoryMax = builtins.floor (4022636544 * 1.5); # Factory settings
|
memoryMax = builtins.floor (4022636544 * 1.5); # Factory settings
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Fixes black font on Alacritty
|
||||||
|
environment.variables.PAN_MESA_DEBUG = "gl3";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
- name: Reload systemd daemon
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
daemon_reload: true
|
|
||||||
listen: systemd changed
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Warn about changed Panfrost config
|
|
||||||
ansible.builtin.debug:
|
|
||||||
msg: The Panfrost display driver configuration was changed, but needs a reboot to be applied.
|
|
||||||
listen: panfrost config changed
|
|
|
@ -7,21 +7,3 @@
|
||||||
become: true
|
become: true
|
||||||
when: display_server == 'x11'
|
when: display_server == 'x11'
|
||||||
loop: "{{ xorg_common_config_dirs }}"
|
loop: "{{ xorg_common_config_dirs }}"
|
||||||
|
|
||||||
- name: List modules we're using
|
|
||||||
ansible.builtin.slurp:
|
|
||||||
src: /proc/modules
|
|
||||||
register: modules
|
|
||||||
when: display_server
|
|
||||||
# Not sure the module will be loaded in early setup stages though
|
|
||||||
|
|
||||||
- name: Make panfrost use OpenGL 3.3
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: /etc/environment
|
|
||||||
line: PAN_MESA_DEBUG="gl3"
|
|
||||||
regexp: ^#? ?PAN_MESA_DEBUG=
|
|
||||||
become: true
|
|
||||||
when: display_server and using_panfrost
|
|
||||||
vars:
|
|
||||||
using_panfrost: "{{ 'panfrost' in (modules.content | b64decode) }}"
|
|
||||||
notify: panfrost config changed
|
|
||||||
|
|
Loading…
Reference in a new issue