Skip to content

Commit 634f698

Browse files
author
Derek
committed
revert: remove PipeWire frame rate reduction
The 15fps frame rate reduction didn't help RDP lag - CPU usage was only 4% so encoding wasn't the bottleneck. Reverting to default 25fps.
1 parent 14697a9 commit 634f698

1 file changed

Lines changed: 1 addition & 40 deletions

File tree

ansible/roles/dfe_rdp/tasks/dconf.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,48 +30,9 @@
3030
- ansible_facts['distribution'] in ['Fedora', 'Ubuntu']
3131
- dfe_has_gnome
3232

33-
# ============================================================================
34-
# PIPEWIRE VIDEO FRAME RATE OPTIMIZATION
35-
# ============================================================================
36-
# Reduce video capture frame rate to lower CPU encoding load for software H.264
37-
# This helps when VA-API hardware encoding is not available (e.g., VirGL VMs)
38-
# Default PipeWire video rate is 25fps, we reduce to 15fps for dev workloads
39-
# (text editing, terminals, web browsing don't need high frame rates)
40-
41-
- name: Create PipeWire config directory
42-
ansible.builtin.file:
43-
path: /etc/pipewire/pipewire.conf.d
44-
state: directory
45-
mode: '0755'
46-
when:
47-
- ansible_facts['distribution'] in ['Fedora', 'Ubuntu']
48-
- dfe_has_gnome
49-
50-
- name: Deploy PipeWire RDP optimization config
51-
ansible.builtin.copy:
52-
dest: /etc/pipewire/pipewire.conf.d/99-rdp-optimize.conf
53-
mode: '0644'
54-
content: |
55-
# DFE RDP Optimization - Reduce video frame rate
56-
# Lower frame rate = less CPU encoding load for software H.264
57-
# Good for dev work (VSCode, terminals) - text doesn't need 60fps
58-
# Change default.video.rate.num to 20 or 25 if scrolling feels choppy
59-
context.properties = {
60-
default.video.rate.num = 15
61-
default.video.rate.denom = 1
62-
}
63-
register: pipewire_rdp_config
64-
when:
65-
- ansible_facts['distribution'] in ['Fedora', 'Ubuntu']
66-
- dfe_has_gnome
67-
6833
- name: Display dconf status
6934
ansible.builtin.debug:
70-
msg: |
71-
GNOME Remote Desktop optimizations applied:
72-
- Animations disabled for RDP performance
73-
- PipeWire video rate reduced to 15fps (saves CPU on software H.264 encoding)
74-
- Reconnect RDP session for frame rate change to take effect
35+
msg: "GNOME Remote Desktop configured via grdctl (system service mode) - animations disabled for RDP performance"
7536
when:
7637
- ansible_facts['distribution'] in ['Fedora', 'Ubuntu']
7738
- dfe_has_gnome

0 commit comments

Comments
 (0)