-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcurrent-playcard.yaml
More file actions
445 lines (386 loc) · 13.5 KB
/
current-playcard.yaml
File metadata and controls
445 lines (386 loc) · 13.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
# Hardware Profile: AMD Ryzen 5 5600H + Radeon Vega iGPU
# Optimal configuration for gaming on Bazzite-DX
# NO SOFTWARE FALLBACKS - Full hardware acceleration
hardware_profile:
id: HW-RYZEN5-5600H-VEGA-001
name: "AMD Ryzen 5 5600H with Radeon Vega Graphics"
classification: laptop-mobile-gaming
tier: mid-range-1080p
# Hardware specifications
hardware:
cpu:
model: "AMD Ryzen 5 5600H"
architecture: "Zen 3 (Cezanne)"
family: 25
model_id: 80
cores: 6
threads: 12
base_clock: "3.3 GHz"
boost_clock: "4.2 GHz"
tdp: "45W"
cache_l3: "16MB"
gpu:
model: "AMD Radeon Vega (integrated)"
architecture: "Vega 7nm"
compute_units: 7
stream_processors: 448
base_clock: "1800 MHz"
memory_type: "shared system RAM"
vram_allocation: "dynamic (512MB-2GB)"
memory:
total: "16GB" # Inferred from typical configurations
type: "DDR4"
speed: "3200 MHz"
dual_channel: true
storage:
primary:
model: "Kingston OM8SEP4"
capacity: "512GB"
type: "NVMe PCIe 3.0"
form_factor: "M.2 2280"
secondary:
- model: "Seagate FireCuda"
type: "HDD"
- model: "WDC"
capacity: "500GB"
type: "HDD"
network:
wifi: "Intel AX200/201"
wifi_generation: "Wi-Fi 6 (802.11ax)"
bluetooth: "5.2"
# Optimal Linux driver stack
drivers:
gpu_driver: "amdgpu" # NOT radeon (legacy) - use modern AMDGPU
gpu_driver_mode: "native" # NO software fallback
vulkan_driver: "RADV" # AMD's open-source Vulkan
opengl_driver: "RadeonSI" # Mesa RadeonSI
mesa_version_min: "24.0" # Minimum for optimal Vega support
kernel_modules:
required:
- amdgpu
- amd_pstate # Modern CPU frequency scaling
optional:
- amd_pstate_epp # Energy Performance Preference
blacklist:
- radeon # Legacy driver - DO NOT USE
# Kernel parameters for optimal performance
kernel_parameters:
# AMD GPU optimizations
amdgpu_params:
- "amdgpu.ppfeaturemask=0xffffffff" # Enable all power features
- "amdgpu.gpu_recovery=1" # Enable GPU hang recovery
- "amdgpu.dc=1" # Enable Display Core (required for modern features)
- "amdgpu.dpm=1" # Dynamic Power Management
- "amdgpu.aspm=1" # Active State Power Management
# AMD CPU optimizations
cpu_params:
- "amd_pstate=active" # Use modern AMD P-State driver
- "amd_pstate.shared_mem=1" # Enable shared memory interface
- "initcall_blacklist=acpi_cpufreq_init" # Disable old cpufreq
# Memory optimizations
memory_params:
- "transparent_hugepage=madvise" # THP for better memory performance
- "vm.max_map_count=2147483642" # Required for many games
# Performance optimizations
performance_params:
- "mitigations=off" # Disable CPU vulnerability mitigations for performance
- "nowatchdog" # Disable NMI watchdog
- "nmi_watchdog=0"
- "split_lock_detect=off"
# Full kernel command line
full_cmdline: "amdgpu.ppfeaturemask=0xffffffff amdgpu.gpu_recovery=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.aspm=1 amd_pstate=active amd_pstate.shared_mem=1 initcall_blacklist=acpi_cpufreq_init transparent_hugepage=madvise vm.max_map_count=2147483642 mitigations=off nowatchdog nmi_watchdog=0 split_lock_detect=off"
# CPU governor and performance tuning
cpu_tuning:
governor: "performance" # or "schedutil" for battery life
governor_battery: "schedutil" # When on battery
scaling_min_freq: "1400000" # 1.4 GHz minimum
scaling_max_freq: "4200000" # 4.2 GHz maximum
energy_performance_preference: "performance" # EPP setting
# Ryzen-specific tuning (requires ryzenadj)
ryzenadj:
stapm_limit: "54000" # 54W sustained power
fast_limit: "65000" # 65W fast boost
slow_limit: "54000" # 54W slow boost
tctl_temp: "95" # 95°C temperature limit
# GPU performance tuning
gpu_tuning:
# Force performance profile
power_dpm_force_performance_level: "high" # or "auto"
# Vega power profile (0=bootup, 1=3D, 2=power saving, 4=compute, 5=custom)
power_profile: "1" # 3D gaming profile
# GPU frequency (Vega iGPU typically 200-1800 MHz)
gpu_min_freq: "800" # MHz - don't idle too low
gpu_max_freq: "1800" # MHz - max boost
# Memory frequency (follows system RAM)
mem_min_freq: "800" # MHz
mem_max_freq: "1600" # MHz
# Gaming-specific optimizations
gaming_config:
# Proton settings
proton:
recommended_version: "GE-Proton Latest"
env_variables:
PROTON_ENABLE_NVAPI: "0" # Disable NVIDIA API (not needed for AMD)
PROTON_HIDE_NVIDIA_GPU: "1"
PROTON_USE_WINED3D: "0" # Use Vulkan, not OpenGL wrapper
RADV_PERFTEST: "gpl,nggc,sam" # Enable experimental features
RADV_DEBUG: "0" # No debug unless needed
AMD_VULKAN_ICD: "RADV" # Force RADV
# GameScope settings (for Vega iGPU)
gamescope:
enabled: true
resolution: "1920x1080" # Native resolution for best performance
refresh_rate: 60
upscaling: "fsr" # AMD FidelityFX Super Resolution
fsr_sharpness: 5 # 0-20, higher = sharper
render_resolution: "1280x720" # Render at 720p, upscale to 1080p
additional_flags: "-F fsr -f --force-grab-cursor"
hdr: false # Vega doesn't support HDR
# MangoHud monitoring
mangohud:
enabled: true
preset: "performance"
config: |
fps
frametime
gpu_stats
gpu_temp
gpu_core_clock
gpu_mem_clock
gpu_power
cpu_stats
cpu_temp
cpu_power
ram
vram
wine
vulkan_driver
engine_version
font_size=24
position=top-left
toggle_hud=Shift_R+F12
# System configuration files
system_configs:
# Mesa driver configuration
mesa_config: |
# /etc/environment or ~/.config/environment.d/mesa.conf
MESA_LOADER_DRIVER_OVERRIDE=radeonsi
MESA_GL_VERSION_OVERRIDE=4.6
MESA_GLSL_VERSION_OVERRIDE=460
RADV_PERFTEST=gpl,nggc,sam
AMD_VULKAN_ICD=RADV
# CPU governor systemd service
cpu_governor_service: |
# /etc/systemd/system/cpu-performance.service
[Unit]
Description=Set CPU governor to performance
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c 'echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor'
[Install]
WantedBy=multi-user.target
# GPU power profile
gpu_power_service: |
# /etc/systemd/system/amd-gpu-performance.service
[Unit]
Description=Set AMD GPU to performance mode
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c 'echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level'
ExecStart=/usr/bin/bash -c 'echo 1 > /sys/class/drm/card0/device/pp_power_profile_mode'
[Install]
WantedBy=multi-user.target
# Performance expectations
performance_targets:
# Gaming performance at 1080p
esports_titles:
- game: "CS:GO / CS2"
settings: "Medium-High"
target_fps: "60-90"
expected_fps: "60-100"
- game: "Valorant"
settings: "Medium"
target_fps: "60"
expected_fps: "80-120"
- game: "Rocket League"
settings: "High"
target_fps: "60"
expected_fps: "60-90"
aaa_titles:
- game: "Cyberpunk 2077"
settings: "Low-Medium"
target_fps: "30"
expected_fps: "30-45"
note: "Consider 720p FSR upscale"
- game: "Elden Ring"
settings: "Medium"
target_fps: "45-60"
expected_fps: "45-60"
- game: "Red Dead Redemption 2"
settings: "Low-Medium"
target_fps: "30-45"
expected_fps: "35-50"
note: "Use Vulkan, not DirectX"
indie_titles:
- game: "Hades"
settings: "High-Ultra"
target_fps: "60"
expected_fps: "60+"
- game: "Stardew Valley"
settings: "Ultra"
target_fps: "60"
expected_fps: "60+"
# Known limitations (NO SOFTWARE FALLBACK)
limitations:
- "Vega iGPU shares system RAM - ensure 16GB+ total memory"
- "No dedicated VRAM - allocate 2GB in BIOS if possible"
- "GPU-intensive AAA games limited to 720p-1080p Medium settings"
- "Ray tracing NOT supported (Vega architecture limitation)"
- "Hardware video encoding: H.264/H.265 support, no AV1"
- "DO NOT use radeon driver - ONLY amdgpu"
- "DO NOT use software rendering - always use hardware acceleration"
- "Wayland recommended over X11 for better performance"
# Installation steps for Bazzite
installation:
# Apply kernel parameters (rpm-ostree)
step1_kernel_params:
command: |
sudo rpm-ostree kargs \
--append="amdgpu.ppfeaturemask=0xffffffff" \
--append="amdgpu.gpu_recovery=1" \
--append="amdgpu.dc=1" \
--append="amdgpu.dpm=1" \
--append="amdgpu.aspm=1" \
--append="amd_pstate=active" \
--append="amd_pstate.shared_mem=1" \
--append="initcall_blacklist=acpi_cpufreq_init" \
--append="transparent_hugepage=madvise" \
--append="vm.max_map_count=2147483642" \
--append="mitigations=off" \
--append="nowatchdog" \
--append="nmi_watchdog=0" \
--append="split_lock_detect=off"
requires_reboot: true
# Install performance tools
step2_install_tools:
command: |
rpm-ostree install ryzenadj
optional: true
requires_reboot: true
# Configure Mesa environment
step3_mesa_config:
file: "/etc/environment.d/50-mesa.conf"
content: |
MESA_LOADER_DRIVER_OVERRIDE=radeonsi
MESA_GL_VERSION_OVERRIDE=4.6
MESA_GLSL_VERSION_OVERRIDE=460
RADV_PERFTEST=gpl,nggc,sam
AMD_VULKAN_ICD=RADV
# Enable performance services
step4_services:
commands:
- "sudo systemctl daemon-reload"
- "sudo systemctl enable cpu-performance.service"
- "sudo systemctl enable amd-gpu-performance.service"
- "sudo systemctl start cpu-performance.service"
- "sudo systemctl start amd-gpu-performance.service"
# Verification commands
verification:
check_kernel_params:
command: "cat /proc/cmdline"
expected_contains:
- "amdgpu.ppfeaturemask=0xffffffff"
- "amd_pstate=active"
- "vm.max_map_count=2147483642"
check_gpu_driver:
command: "lspci -k | grep -A 3 VGA"
expected_contains:
- "Kernel driver in use: amdgpu"
check_vulkan:
command: "vulkaninfo --summary | grep deviceName"
expected_contains:
- "AMD Radeon"
- "RADV"
check_opengl:
command: "glxinfo | grep 'OpenGL renderer'"
expected_contains:
- "AMD"
- "Radeon"
check_cpu_governor:
command: "cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | sort -u"
expected_output: "performance"
check_gpu_profile:
command: "cat /sys/class/drm/card0/device/power_dpm_force_performance_level"
expected_output: "high"
# Rollback plan
rollback:
remove_kernel_params:
command: |
sudo rpm-ostree kargs \
--delete="amdgpu.ppfeaturemask=0xffffffff" \
--delete="amdgpu.gpu_recovery=1" \
--delete="amdgpu.dc=1" \
--delete="amdgpu.dpm=1" \
--delete="amdgpu.aspm=1" \
--delete="amd_pstate=active" \
--delete="amd_pstate.shared_mem=1" \
--delete="initcall_blacklist=acpi_cpufreq_init" \
--delete="transparent_hugepage=madvise" \
--delete="vm.max_map_count=2147483642" \
--delete="mitigations=off" \
--delete="nowatchdog" \
--delete="nmi_watchdog=0" \
--delete="split_lock_detect=off"
rollback_rpm_ostree:
command: "sudo rpm-ostree rollback"
disable_services:
commands:
- "sudo systemctl disable cpu-performance.service"
- "sudo systemctl disable amd-gpu-performance.service"
# ATOM trail
atom_tag: ATOM-HW-20251110-001
# Validation metadata
validated: true
validation_date: "2025-11-10"
tested_on:
- os: "Bazzite 40"
kernel: "6.11+"
mesa: "24.2+"
# Tags
tags:
- amd-ryzen
- zen3
- vega-igpu
- mobile-gaming
- 1080p-gaming
- no-fallback
- hardware-acceleration
- laptop
- dual-boot
# Notes
notes: |
This configuration maximizes hardware acceleration with NO software fallbacks.
Key optimizations:
1. Modern amdgpu driver (NOT legacy radeon)
2. RADV Vulkan for best gaming performance
3. AMD P-State for efficient CPU scaling
4. Optimized kernel parameters for Zen 3 + Vega
5. GameScope with FSR for 720p→1080p upscaling
6. Performance governors for maximum FPS
Expected gaming performance:
- Esports titles (CS2, Valorant): 60-100 FPS at Medium-High
- Modern AAA (Elden Ring, RDR2): 30-60 FPS at Low-Medium
- Indie games: 60+ FPS at High-Ultra
For best results:
- Allocate 2GB GPU memory in BIOS
- Use dual-channel RAM (2x8GB minimum)
- Close background apps before gaming
- Use GameScope FSR for demanding games
- Monitor temps with MangoHud (should stay <95°C)
Dual-boot considerations:
- Windows AMD drivers already installed (verified)
- Linux will use same hardware, different drivers
- Both OS can coexist without conflicts
- GRUB bootloader manages dual-boot