我最近更新了我的系统,就像我经常做的那样 - 但不幸的是,它似乎破坏了我的 NVidia 驱动程序,因为它们现在根本无法工作。我可以选择在软件和更新和其他驱动程序下安装它们,并且该过程似乎正常工作 - 但是,当我重新启动计算机时,它被锁定在低分辨率上,并且所有 NVidia 实用程序都无法连接到驱动程序。如果我切换到 x Org 开源驱动程序,它们就可以工作,尽管我必须使用 xrandr 来修复过扫描。但开源驱动程序仅支持最高 3.20 版本的 OpenGL,而我正在编写的视频游戏需要更高版本。可能也是为了玩视频游戏,尽管我还没有真正检查过那部分。
无论如何,我尝试过多次卸载 NVidia 驱动程序并重新安装,也尝试过几个不同的版本 - 470、515、520 和 515 服务器都有同样的问题。在这一切开始之前,我一直在使用 515,它运行良好。
系统是 Xubuntu 22.04,最新版本,使用 NVidia 1050ti。如果您需要我提供更多信息,请直接询问!
一些基本信息:
(base) angle@Sager:~/Desktop$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GP107 [GeForce GTX 1050 Ti]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
(这再次使用了 X Org 驱动程序,因此当我尝试调试该死的东西时,我的分辨率并不糟糕。也可以为 NVidia 驱动程序获取它,但 IIRC 它基本相同。)
(base) angle@Sager:~/Desktop$ glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: nouveau (0x10de)
Device: NV137 (0x1c82)
Version: 22.0.5
Accelerated: yes
Video memory: 4077MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.3
Max compat profile version: 4.3
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: nouveau
OpenGL renderer string: NV137
OpenGL core profile version string: 4.3 (Core Profile) Mesa 22.0.5
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.3 (Compatibility Profile) Mesa 22.0.5
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
(base) angle@Sager:~/Desktop$ neofetch
`-/osyhddddhyso/-` angle@Sager
.+yddddddddddddddddddy+. -----------
:yddddddddddddddddddddddddy: OS: Xubuntu 22.04.1 LTS x86_64
-yddddddddddddddddddddhdddddddy- Kernel: 5.17.0-1020-oem
odddddddddddyshdddddddh`dddd+ydddo Uptime: 26 mins
`yddddddhshdd- ydddddd+`ddh.:dddddy` Packages: 5055 (dpkg), 11 (brew), 34
sddddddy /d. :dddddd-:dy`-ddddddds Shell: bash 5.1.16
:ddddddds /+ .dddddd`yy`:ddddddddd: Resolution: 1920x1080
sdddddddd` . .-:/+ssdyodddddddddds DE: Xfce 4.16
ddddddddy `:ohddddddddd WM: Xfwm4
dddddddd. +dddddddd WM Theme: Default
sddddddy ydddddds Theme: Greybird [GTK2/3]
:dddddd+ .oddddddd: Icons: elementary-xfce-darker [GTK2/
sdddddo ./ydddddddds Terminal: xfce4-terminal
`yddddd. `:ohddddddddddy` Terminal Font: Monospace 12
oddddh/` `.:+shdddddddddddddo CPU: Intel i5-6500 (4) @ 3.600GHz
-ydddddhyssyhdddddddddddddddddy- GPU: NVIDIA GeForce GTX 1050 Ti
:yddddddddddddddddddddddddy: Memory: 2342MiB / 24002MiB
.+yddddddddddddddddddy+.
`-/osyhddddhyso/-`
切换到NVidia-470后:
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GP107 [GeForce GTX 1050 Ti]
Kernel modules: nvidiafb, nouveau
(base) angle@Sager:~/Desktop$ glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 13.0.1, 256 bits) (0xffffffff)
Version: 22.0.5
Accelerated: no
Video memory: 24002MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.0.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.0.5
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
(base) angle@Sager:~/Desktop$ neofetch
`-/osyhddddhyso/-` angle@Sager
.+yddddddddddddddddddy+. -----------
:yddddddddddddddddddddddddy: OS: Xubuntu 22.04.1 LTS x86_64
-yddddddddddddddddddddhdddddddy- Kernel: 5.17.0-1020-oem
odddddddddddyshdddddddh`dddd+ydddo Uptime: 10 mins
`yddddddhshdd- ydddddd+`ddh.:dddddy` Packages: 5075 (dpkg), 11 (brew), 34
sddddddy /d. :dddddd-:dy`-ddddddds Shell: bash 5.1.16
:ddddddds /+ .dddddd`yy`:ddddddddd: Resolution: 1024x768
sdddddddd` . .-:/+ssdyodddddddddds DE: Xfce 4.16
ddddddddy `:ohddddddddd WM: Xfwm4
dddddddd. +dddddddd WM Theme: Default
sddddddy ydddddds Theme: Greybird [GTK2/3]
:dddddd+ .oddddddd: Icons: elementary-xfce-darker [GTK2/
sdddddo ./ydddddddds Terminal: xfce4-terminal
`yddddd. `:ohddddddddddy` Terminal Font: Monospace 12
oddddh/` `.:+shdddddddddddddo CPU: Intel i5-6500 (4) @ 3.600GHz
-ydddddhyssyhdddddddddddddddddy- GPU: NVIDIA GeForce GTX 1050 Ti
:yddddddddddddddddddddddddy: Memory: 1911MiB / 24002MiB
.+yddddddddddddddddddy+.
`-/osyhddddhyso/-`
答案1
我刚刚升级了我的发行版,从 22.04 升级到了 22.10,这解决了我所有的问题,至少暂时如此。我能够切换回 NVidia 515,一切似乎都正常!