您好,我有 kubutnu 21.04,内核版本为 5.11.0-18-generic。
我安装了最新的 nvidia 驱动程序,当我启动系统时出现黑屏,然后我转到 tty 3 并尝试从那里启动 plasmashell,我得到了以下输出:
qt.qpa.xcb: could not connect to display qt.qpa.plugin: could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem."
我重新安装了 xcb,但问题没有解决。然后我使用 sudo prime-select intel 将显卡改为英特尔,并重新启动,问题就解决了。
所以我的问题是如何解决这个问题,以便我可以使用我的 nvidia mx450 卡而不是英特尔卡?
提前致谢!
Kde plasma 版本:5.21.4;Kde 框架版本:5.80.0;Qt 版本:5.25.2
更新:当我使用 x.org nouveau 驱动程序时,它显示我有 nouveau 驱动程序,但是当我选择 nvidia 465 驱动程序时,cpu-x 说 nvidia 卡没有驱动程序。https://i.stack.imgur.com/5pnbh.png https://i.stack.imgur.com/0JE5X.png
编辑:我从 ppa:graphics-drivers/ppa 安装了驱动程序
inxi-F:
System
Host: vidakov-super-komp Kernel: 5.11.0-18-generic x86_64 bits: 64
Desktop: KDE Plasma 5.21.4 Distro: Ubuntu 21.04 (Hirsute Hippo)
Machine:
Type: Laptop System: HP product: HP Pavilion Laptop 15-eg0xxx
v: Type1ProductConfigId serial: <superuser required>
Mobo: HP model: 8850 v: 34.27 serial: <superuser required>
UEFI: Insyde v: F.11 date: 01/15/2021
Battery:
ID-1: BAT0 charge: 19.2 Wh condition: 41.9/41.9 Wh (100%)
CPU:
Info: Quad Core model: 11th Gen Intel Core i7-1165G7 bits: 64
type: MT MCP L2 cache: 12 MiB
Speed: 1200 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 1200
2: 1200 3: 1201 4: 1201 5: 1295 6: 1370 7: 1346 8: 1230
Graphics:
Device-1: Intel TigerLake GT2 [Iris Xe Graphics] driver: i915
v: kernel
Device-2: NVIDIA TU117M [GeForce MX450] driver: N/A
Device-3: Luxvisions Innotech Limited HP Wide Vision HD Camera
type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.0.1
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: sof-audio-pci
Sound Server: ALSA v: k5.11.0-18-generic
Network:
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
driver: rtw_8822ce
IF: wlo1 state: up mac: 64:6c:80:26:38:43
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb
Report: ID: hci0 state: down address: 64:6C:80:26:38:44
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller
driver: vmd
Drives:
Local Storage: total: 476.94 GiB used: 117.46 GiB (24.6%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8H
size: 476.94 GiB
Partition:
ID-1: / size: 467.96 GiB used: 117.41 GiB (25.1%) fs: ext4
dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 45.4 MiB (8.9%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 45.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 221 Uptime: 11m Memory: 15.4 GiB used: 1.98 GiB (12.8%)
Shell: Bash inxi: 3.3.01```
答案1
Device-2: NVIDIA TU117M [GeForce MX450] driver: N/A
您没有正确安装驱动程序。Nvidia 网站说这是您的卡的那个。