[ Content contribution] grub代码里的nomodeset是屏蔽显卡的功能吗?
Tofloor
poster avatar
fax928
deepin
2023-09-25 05:28
Author

用虚拟机装了下20.9,特地用了safe graphics模式安装。

image.png

grub界面下按e编辑代码,有nomodeset代码的情况下进系统,显卡适配器信息如下
image.png

删除nomodeset后按F10启动显卡适配器信息如下
截图_选择区域_20230924211511.png

代码nomodeset作用是不是屏蔽显卡驱动?在只能用safe graphics模式安装系统的情况下先装完系统,然后进系统安装完显卡驱动,重启,grub界面下按e把nomodeset代码删掉可能可以正常使用显卡驱动。

有空用实体机安装一下,这次测试只是用的虚拟机。

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-09-25 05:39
#1

应该是屏蔽显卡驱动的

Reply View the author
fax928
deepin
2023-09-25 05:47
#2
阿尼樱奈奈

应该是屏蔽显卡驱动的

应该是了,这是23正常情况下的显示适配器截图信息
截图_选择区域_20230924213750.png

下图是grub下按e在代码splash quiet后加上 nomodeset,再进入系统后的显示适配器截图信息
截图_选择区域_20230924214220.png

核显不可用了。N卡可能是自己管自己的,不受影响。

Reply View the author
安洛
deepin
2023-09-25 06:57
#3

nomodeset是禁用内核级显示模式设置(kernel mode setting,modeset就是后两个单词的缩写)

可以参考:https://wiki.archlinuxcn.org/wiki/%E5%86%85%E6%A0%B8%E7%BA%A7%E6%98%BE%E7%A4%BA%E6%A8%A1%E5%BC%8F%E8%AE%BE%E7%BD%AE

以及内核文档中的说明:


        nomodeset       Disable kernel modesetting. Most systems' firmware
                        sets up a display mode and provides framebuffer memory
                        for output. With nomodeset, DRM and fbdev drivers will
                        not load if they could possibly displace the pre-
                        initialized output. Only the system framebuffer will
                        be available for use. The respective drivers will not
                        perform display-mode changes or accelerated rendering.

                        Useful as error fallback, or for testing and debugging.

来自https://docs.kernel.org/admin-guide/kernel-parameters.html

Reply View the author
fax928
deepin
2023-09-25 08:09
#4
It has been deleted!
fax928
deepin
2023-09-25 08:10
#5
安洛

nomodeset是禁用内核级显示模式设置(kernel mode setting,modeset就是后两个单词的缩写)

可以参考:https://wiki.archlinuxcn.org/wiki/%E5%86%85%E6%A0%B8%E7%BA%A7%E6%98%BE%E7%A4%BA%E6%A8%A1%E5%BC%8F%E8%AE%BE%E7%BD%AE

以及内核文档中的说明:


        nomodeset       Disable kernel modesetting. Most systems' firmware
                        sets up a display mode and provides framebuffer memory
                        for output. With nomodeset, DRM and fbdev drivers will
                        not load if they could possibly displace the pre-
                        initialized output. Only the system framebuffer will
                        be available for use. The respective drivers will not
                        perform display-mode changes or accelerated rendering.

                        Useful as error fallback, or for testing and debugging.

来自https://docs.kernel.org/admin-guide/kernel-parameters.html

有点难理解,不过还是感谢你的回复。

Reply View the author
dgmenghuan
deepin
2023-09-25 16:32
#6

tail

Reply View the author
川顺页
deepin
2023-09-26 06:03
#7

不只是显卡,还有电源管理之类的也会被屏蔽,简单理解有点像绿色模式,不加载任何高级设置和驱动。

Reply View the author