diff --git a/lang/de.json b/lang/de.json index 6b7d29be..2efb91d1 100644 --- a/lang/de.json +++ b/lang/de.json @@ -146,6 +146,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (VA-API- und ROCm-Erkennung)", "AMD CPU detected": "AMD-CPU erkannt", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "AMD-CPU erkannt, aber diese Korrekturen gelten nur für AMD EPYC und Ryzen. Es wurde nichts geändert.", "AMD CPU fixes applied successfully": "AMD-CPU-Korrekturen erfolgreich angewendet", "AMD GPU Tools installation completed!": "Die Installation der AMD GPU Tools ist abgeschlossen!", "AMD GPU passthrough configured.": "AMD GPU-Passthrough konfiguriert.", diff --git a/lang/es.json b/lang/es.json index ba0cc301..18013c2a 100644 --- a/lang/es.json +++ b/lang/es.json @@ -145,6 +145,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (VA-API y detección con ROCm)", "AMD CPU detected": "CPU AMD detectada", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "Se ha detectado una CPU AMD, pero estas correcciones solo se aplican a AMD EPYC y Ryzen. No se ha cambiado nada.", "AMD CPU fixes applied successfully": "Las correcciones de CPU AMD se aplicaron con éxito", "AMD GPU Tools installation completed!": "¡Se completó la instalación de las herramientas AMD GPU!", "AMD GPU passthrough configured.": "Passthrough de GPU AMD configurado.", diff --git a/lang/fr.json b/lang/fr.json index 437ed1a4..fab202fc 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -146,6 +146,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (détection VA-API et ROCm)", "AMD CPU detected": "Processeur AMD détecté", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "Processeur AMD détecté, mais ces correctifs ne s’appliquent qu’aux AMD EPYC et Ryzen. Rien n’a été modifié.", "AMD CPU fixes applied successfully": "Correctifs du processeur AMD appliqués avec succès", "AMD GPU Tools installation completed!": "Installation des outils GPU AMD terminée !", "AMD GPU passthrough configured.": "Passthrough GPU AMD configuré.", diff --git a/lang/it.json b/lang/it.json index 0f35459b..345c3e0a 100644 --- a/lang/it.json +++ b/lang/it.json @@ -146,6 +146,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (VA-API e rilevamento tramite ROCm)", "AMD CPU detected": "Rilevata CPU AMD", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "CPU AMD rilevata, ma queste correzioni si applicano solo ad AMD EPYC e Ryzen. Non è stato modificato nulla.", "AMD CPU fixes applied successfully": "Correzioni CPU AMD applicate correttamente", "AMD GPU Tools installation completed!": "Installazione strumenti GPU AMD completata!", "AMD GPU passthrough configured.": "Passthrough GPU AMD configurato.", diff --git a/lang/pt.json b/lang/pt.json index 1c82da44..896a154b 100644 --- a/lang/pt.json +++ b/lang/pt.json @@ -146,6 +146,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (detecção VA-API e ROCm)", "AMD CPU detected": "CPU AMD detectada", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "CPU AMD detetada, mas estas correções aplicam-se apenas a AMD EPYC e Ryzen. Nada foi alterado.", "AMD CPU fixes applied successfully": "Correções de CPU AMD aplicadas com sucesso", "AMD GPU Tools installation completed!": "Instalação das ferramentas AMD GPU concluída!", "AMD GPU passthrough configured.": "Passagem de GPU AMD configurada.", diff --git a/lang/sk.json b/lang/sk.json index a7275f3e..96305c2d 100644 --- a/lang/sk.json +++ b/lang/sk.json @@ -146,6 +146,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (detekcia VA-API a ROCm)", "AMD CPU detected": "Zistený AMD procesor", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "Zistený procesor AMD, ale tieto opravy platia iba pre AMD EPYC a Ryzen. Nič sa nezmenilo.", "AMD CPU fixes applied successfully": "Opravy pre AMD procesor boli úspešne použité", "AMD GPU Tools installation completed!": "Inštalácia nástrojov pre AMD GPU je hotová!", "AMD GPU passthrough configured.": "AMD GPU passthrough je nastavený.", diff --git a/lang/sv.json b/lang/sv.json index 5b65adf2..f3a210e0 100644 --- a/lang/sv.json +++ b/lang/sv.json @@ -146,6 +146,7 @@ "AMD (ROCm)": "AMD (ROCm)", "AMD (VA-API and ROCm detection)": "AMD (VA-API och ROCm-detektering)", "AMD CPU detected": "AMD CPU upptäckt", + "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.": "AMD-processor identifierad, men dessa korrigeringar gäller bara AMD EPYC och Ryzen. Inget ändrades.", "AMD CPU fixes applied successfully": "AMD CPU-fixar har använts", "AMD GPU Tools installation completed!": "Installationen av AMD GPU Tools är klar!", "AMD GPU passthrough configured.": "AMD GPU-genomföring har konfigurerats.", diff --git a/scripts/post_install/customizable_post_install.sh b/scripts/post_install/customizable_post_install.sh index d479b135..4b75d553 100644 --- a/scripts/post_install/customizable_post_install.sh +++ b/scripts/post_install/customizable_post_install.sh @@ -697,17 +697,22 @@ apply_amd_fixes() { pmx_journal_context "apply_amd_fixes" "$FUNC_VERSION" # description: Apply idle=nomwait and KVM module options on AMD EPYC/Ryzen hosts. msg_info2 "$(translate "Detecting AMD CPU and applying fixes if necessary...")" - NECESSARY_REBOOT=1 - local cpu_model + local cpu_model cpu_vendor cpu_model=$(grep -i -m 1 "model name" /proc/cpuinfo || true) + cpu_vendor=$(grep -i -m 1 "vendor_id" /proc/cpuinfo || true) + # The fixes address Zen processors; older AMD generations do not need them. if echo "$cpu_model" | grep -qiE "EPYC|Ryzen"; then msg_ok "$(translate "AMD CPU detected")" + elif echo "$cpu_vendor" | grep -q "AuthenticAMD"; then + msg_ok "$(translate "AMD CPU detected, but these fixes only apply to AMD EPYC and Ryzen. Nothing was changed.")" + return 0 else msg_ok "$(translate "No AMD CPU detected. Skipping AMD fixes.")" return 0 fi + NECESSARY_REBOOT=1 msg_info "$(translate "Applying AMD-specific fixes...")"