如何使nVidia成为默认的VGA?
Tofloor
poster avatar
iyagi
deepin
2020-08-29 04:09
Author
已安装nVidia驱动程序,但无法加载。

lspci -nn | egrep -i "3d | display | vga"
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
02:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev a2)


root@deepin-PC:/home/deepin/Desktop# nvidia-settings

(nvidia-settings:4993): GLib-GObject-CRITICAL **: 20:57:18.614: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

ERROR: NVIDIA driver is not loaded

ERROR: Unable to load info from any available system


root@deepin-PC:/home/deepin/Desktop# apt install nvidia-driver

nvidia-driver is already the newest version (440.100-1).




Reply Favorite View the author
All Replies
avatar
忘记、过去
deepin
2020-08-29 04:45
#1
http://sucdn.jerrywang.top/store ... -card_1.5_amd64.deb

推销显卡切换插件,可以快速配置 xorg.conf,切换独显渲染整个 xserver。

或者可以自己查阅 deepin wiki 双显卡配置说明,还可以使用 jfy_99 大佬的显卡切换脚本。
Reply View the author
Comments
iyagi
2020-08-30 01:17
switch-graphics-card 请告诉我如何使用它
iyagi
2020-08-29 05:27
sudo prime-select nvidia
请告诉我如何使用它。
avatar
q77190858
deepin
2020-08-29 07:10
#2
试一下他的切换插件,切换为n卡以后,nvidia-settings就可以打开了,亲测成功
Reply View the author
avatar
忘记、过去
deepin
2020-08-30 19:37
#3
任务栏插件安装之后会在任务栏显示显卡图标,直接点击选择显卡就能切换了。

如果出现切换后无法显示图形界面,按 ctrl + alt + f2 进入 tty2,输入用户名密码登录,再执行 /opt/durapps/dde-dock-switch_graphics_card/bin/Rescue.sh 恢复即可。
Reply View the author
avatar
豆浆包子
deepin
2020-08-31 01:15
#4
谢谢作者。我的笔记本安装了之后,也成功切换到NVIDIA显卡了。
Reply View the author
avatar
wanguaf2019
deepin
2020-08-31 01:29
#5
https://bbs.deepin.org/post/200775
http://sucdn.jerrywang.top/store/tools/switch-graphics-card/switch-graphics-card_1.5_amd64.deb

推销 ...

太棒了,这个东西好!
Reply View the author
avatar
iyagi
deepin
2020-10-11 00:36
#6
本帖最后由 iyagi 于 2020-10-10 17:45 编辑

我解决了。
按顺序做就行了。

echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
sudo apt install nvidia-driver
http://sucdn.jerrywang.top/store/tools/switch-graphics-card/switch-graphics-card_1.5_amd64.deb

Ctrl + Alt + F2
/opt/durapps/dde-dock-switch_graphics_card/bin/NVIDIA.sh


Reply View the author
avatar
stone
deepin
2020-10-17 21:04
#7
。。。。 现在才看到这个。我现在装的这个多半系统会挂。看到他还卸载了dde-kwin 。等哈重装来试试这个。留个眼
Reply View the author