![硬件升级后几乎无法使用(无需重新安装 Ubuntu)](https://linux22.com/image/934577/%E7%A1%AC%E4%BB%B6%E5%8D%87%E7%BA%A7%E5%90%8E%E5%87%A0%E4%B9%8E%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%EF%BC%88%E6%97%A0%E9%9C%80%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%20Ubuntu%EF%BC%89.png)
今天我进行了硬件升级(ASRock B450M Pro4、Ryzen 5 3600、2x16GB DDR4-3200。暂时保留了我的 GTX770 和 SSD),没有重新安装 Ubuntu,现在甚至滚动网站都严重滞后。
我运行了 apt update/upgrade 并重新安装了最新的 Nvidia 驱动程序。我还发现了在某处运行的建议,sudo update-initramfs -u -kall
但这并没有改变任何东西。在 Windows(相同的 SSD)上,到目前为止一切正常,所以我认为这不应该是硬件的问题。
除了重新安装 Ubuntu 之外,还有什么我还可以尝试吗?
编辑:我根据此处的评论运行的命令
nvidia-settings
:显示 GPU,但也
(nvidia-settings:6274): GLib-GObject-CRITICAL **: 10:00:41.408: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 10:00:41.661: PRIME: No offloading required. Abort
** Message: 10:00:41.661: PRIME: is it supported? no
lsmod | grep nvidia
nvidia_uvm 1011712 0
nvidia_drm 53248 3
nvidia_modeset 1228800 5 nvidia_drm
nvidia 34091008 178 nvidia_uvm,nvidia_modeset
drm_kms_helper 225280 1 nvidia_drm
drm 565248 6 drm_kms_helper,nvidia_drm
nvidia-smi
:列出了我的 GPU 和驱动程序版本,但有几个 N/A 条目
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 770 Off | 00000000:06:00.0 N/A | N/A |
| 29% 29C P8 N/A / N/A | 180MiB / 1991MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
inxi -f
CPU: Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP L2 cache: 3072 KiB
Speed: 2196 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2196 2: 2191 3: 2195 4: 2196 5: 2193 6: 2199 7: 2195
8: 2195 9: 2194 10: 2197 11: 2193 12: 2196
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 bmi2 bpext cat_l3 cdp_l3 clflush
clflushopt clwb clzero cmov cmp_legacy constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht
hw_pstate ibpb ibs irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx
nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev
sha_ni skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
topoext tsc tsc_scale umip v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr
xsaveopt xsaves
答案1
about:config
在 Firefox 地址栏中输入,单击 Accept the Risk and Continue 按钮继续,然后layers.acceleration.force-enabled
从切换false
到true
。