首页
搜索 搜索

在ubuntu下安装3060m驱动 天天热门

哔哩哔哩     2023-04-22 10:42:38

环境:

ubuntu22.04

发行者3060m 12g


(资料图片仅供参考)

(其他移动端魔改卡

参考

驱动项目:https://github.com/arutar/FrankenDriver

安装参考:https://blog.csdn.net/bale11guo/article/details/126086948?spm=wolai.workspace.0.0.581e7b07ygoxGu

禁用Nouveau驱动 

sudo gedit /etc/modprobe.d/blacklist.conf在末尾添加:

blacklist nouveau options nouveau modeset=0sudo update-initramfs -u reboot

安装过程

下载驱动并且切换到驱动目录下

sudo apt-get install libglvnd-dev build-essential

按下 CTRL+ALT+F3,并且作为用户登录

sudo systemctl stop gdm3,之后按下CTRL+ALT+F3。

(注意:sudo systemctl stop gdm3有可能会卡死,原因未知,可以尝试sudo service lightdm stop)

开始安装。

sudo ./NVIDIA-Linux-x86_64-525.78.01.run

安装过程中可以按 CTRL+ALT+F3切换gui。

重启

显卡驱动安装过程中一些选项(有一些问题记不清楚了,只给出需要选择的选项:):

1.The distribution-provided pre-install script failed! Are you sure you want to continue?

选择continue installation

2.Would you like to register the kernel module souces with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later?

选择 No 继续。

3.问题没记住,选项是:install without signing

4.问题大概是:Nvidia's 32-bit compatibility libraries? 选择 No 继续。

5.Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up.

选择 Yes  继续

X 关闭

华声医药网版权所有Copyright ©  2022 All Rights Reserved.    备案号:京ICP备2021034106号-36   联系邮箱:55 16 53 8 @qq.com