Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/696913e4-56e8-8005-ade1-9dd4d61a689b
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Assistant: Perfeito — isso refina muito o diagnóstico. === Perfeito — isso refina muito o diagnóstico. O que você descreveu não é hard lockup, é soft lockup severo / starvation do scheduler. 👉 O kernel NÃO morreu, mas está preso esperando algo (normalmente I/O USB), e todo o resto fica lento porque: * tarefas entram em D state (uninterruptible sleep) * interrupções USB consomem CPU * o scheduler atrasa tudo * teclado ainda funciona, mas com delay absurdo * terminal aceita input, mas não executa Isso é clássico de driver travado esperando resposta de hardware. ==== 🎯 Diagnóstico técnico fechado ==== Causa raiz mais provável (ordem realista): # USB controller + snd-usb-audio # USB autosuspend / power management # Bug no kernel recente # Firmware/quirk do Fuxi-H3 Você descreveu exatamente o padrão: : “sistema inteiro lento, teclado responde, mas tudo demora” Isso é soft lockup por I/O USB bloqueante. ==== 🔍 Confirmação objetiva (sem reboot) ==== Quando estiver nesse estado lento, rode um desses (se algum responder): <syntaxhighlight lang="bash">cat /proc/interrupts | grep -i usb </syntaxhighlight> ou <syntaxhighlight lang="bash">ps -eo pid,stat,comm | grep ' D ' </syntaxhighlight> Se aparecer processos com estado D, matou a charada. ==== ✅ O QUE REALMENTE FUNCIONA NESSE CENÁRIO ==== Agora vamos direto às medidas corretas, em ordem de eficácia. ==== 🥇 MEDIDA 1 — DESATIVAR TODAS AS ECONOMIAS DE ENERGIA USB (CRÍTICA) ==== Você precisa disso, não é opcional. ===== 1️⃣ Kernel parameter (obrigatório) ===== Edite: <syntaxhighlight lang="bash">sudo nano /etc/default/grub </syntaxhighlight> Deixe assim (linha completa): <syntaxhighlight lang="bash">GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 pcie_aspm=off" </syntaxhighlight> Depois: <syntaxhighlight lang="bash">sudo update-grub sudo reboot </syntaxhighlight> 👉 pcie_aspm=off é importante em laptops / controladores sensíveis. ==== 🥈 MEDIDA 2 — FORÇAR snd-usb-audio A NÃO DORMIR NUNCA ==== Crie: <syntaxhighlight lang="bash">sudo nano /etc/modprobe.d/usb-audio-stability.conf </syntaxhighlight> Cole: <syntaxhighlight lang="ini">options snd-usb-audio autosuspend=0 options snd-usb-audio implicit_fb=1 options snd-usb-audio nrpacks=1 </syntaxhighlight> Reinicie. : nrpacks=1 reduz batching USB → menos chance de deadlock. ==== 🥉 MEDIDA 3 — MUDAR DE PORTA USB (isso importa) ==== Não é superstição. * ❌ Não use USB 3.0 (azul) * ✅ Use USB 2.0 (preta) * ❌ Não use hub * ✅ Conecte direto na placa Controladores diferentes → drivers diferentes. ==== 🧪 MEDIDA 4 — TESTE COM KERNEL ESTÁVEL ==== Isso é muito importante. 👉 Use kernel LTS 6.6 Evite: 6.8 / 6.9 / 6.10 (USB regressions conhecidas) No Mint/Zorin: * Gerenciador de Kernels * instale 6.6.x * boot nele * teste jogo ==== ❗ O que NÃO adianta mais tentar ==== Você já passou dessa fase: * PipeWire * WirePlumber * Steam configs * Flatpak * desabilitar HDMI * mudar sink Tudo isso já está correto. ==== 🧠 Resumo claro e honesto ==== : Seu sistema entra em soft lockup causado por USB áudio, o kernel fica esperando resposta do dispositivo, e tudo fica lento, mas não totalmente travado. Esse é problema real de driver/kernel, não erro seu. ==== 📌 Próximo passo (importante) ==== Me diga exatamente: <syntaxhighlight lang="bash">uname -r </syntaxhighlight> E confirme: * notebook ou desktop? * porta USB 2.0 ou 3.0? * CPU (AMD ou Intel)? Com isso eu te digo a combinação exata que resolve de forma definitiva (sem tentativa e erro).
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)