• Ubuntu升级显卡驱动后开机无动画的解决办法


      我的联想Ideapad z460,Nvidia GEFORCE 310M的显卡,安装闭源的驱动非常的蛋疼,ubuntu下面有附加驱动管理,在里面直接就能安装,也可以到官网下载.run的安装包,比较的折腾。不管是附加驱动安装还是官网下载的安装,开机的时候分辨率总是分不清楚。下面的解决办法来源网络,不过亲测成功。

      1. 确认grub和plymouth的系统配置文件是原始状态,没有应用过其它的修改方案。
      2. 安装v86d和hwinfo包,下面我们要用到:

      

    sudo apt-get install v86d hwinfo

      3. 查看自己显卡支持的分辨率:

      

    sudo hwinfo --framebuffer

      

    [Created at bios.464]
      Unique ID: rdCR.rv69uGDoBVA
      Hardware Class: framebuffer
      Model: "NVIDIA GT218 Board - 0696a700"
      Vendor: "NVIDIA Corporation"
      Device: "GT218 Board - 0696a700"
      SubVendor: "NVIDIA"
      SubDevice: 
      Revision: "Chip Rev"
      Memory Size: 14 MB
      Memory Range: 0xd1000000-0xd1dfffff (rw)
      Mode 0x0300: 640x400 (+640), 8 bits
      Mode 0x0301: 640x480 (+640), 8 bits
      Mode 0x0303: 800x600 (+800), 8 bits
      Mode 0x0305: 1024x768 (+1024), 8 bits
      Mode 0x0307: 1280x1024 (+1280), 8 bits
      Mode 0x030e: 320x200 (+640), 16 bits
      Mode 0x030f: 320x200 (+1280), 24 bits
      Mode 0x0311: 640x480 (+1280), 16 bits
      Mode 0x0312: 640x480 (+2560), 24 bits
      Mode 0x0314: 800x600 (+1600), 16 bits
      Mode 0x0315: 800x600 (+3200), 24 bits
      Mode 0x0317: 1024x768 (+2048), 16 bits
      Mode 0x0318: 1024x768 (+4096), 24 bits
      Mode 0x031a: 1280x1024 (+2560), 16 bits
      Mode 0x031b: 1280x1024 (+5120), 24 bits
      Mode 0x0330: 320x200 (+320), 8 bits
      Mode 0x0331: 320x400 (+320), 8 bits
      Mode 0x0332: 320x400 (+640), 16 bits
      Mode 0x0333: 320x400 (+1280), 24 bits
      Mode 0x0334: 320x240 (+320), 8 bits
      Mode 0x0335: 320x240 (+640), 16 bits
      Mode 0x0336: 320x240 (+1280), 24 bits
      Mode 0x033d: 640x400 (+1280), 16 bits
      Mode 0x033e: 640x400 (+2560), 24 bits
      Mode 0x0345: 1600x1200 (+1600), 8 bits
      Mode 0x0346: 1600x1200 (+3200), 16 bits
      Mode 0x034a: 1600x1200 (+6400), 24 bits
      Mode 0x034b: 1360x768 (+1360), 8 bits
      Mode 0x034c: 1360x768 (+2720), 16 bits
      Mode 0x034d: 1360x768 (+5440), 24 bits
      Mode 0x0360: 1280x800 (+1280), 8 bits
      Mode 0x0361: 1280x800 (+5120), 24 bits

        虽然说上面显示的是1360x768的24位深,但是配置的时候还是配置1366x768看起来比较的正常。

      4. 修改/etc/default/grub文件,使用uvesafb的framebuffer来启动

        把这一行

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

        修改成

      

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1366x7680-24,mtrr=3,scroll=ywrap"

        把这一行

    #GRUB_GFXMODE=640×480

        修改成

    GRUB_GFXMODE=1366x768

          注意要把前面的#去掉。

      5. 修改/etc/initramfs-tools/modules文件

      添加下面这一行

      

    uvesafb mode_option=1366x768-24 mtrr=3 scroll=ywrap

      6. 运行下面的命令,启用framebuffer:

    echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash

      7. 运行下面的命令,更新grub配置文件:

    sudo update-grub2
    sudo update-initramfs -u

    如果你安装的burg,在第四部修改/etc/default/burg.cfg,第七步修改 sudo update-burg sudo update-initramfs -u

    重启电脑,一般都ok。

  • 相关阅读:
    Spring+Mybatis配置
    Python 字符串
    图像处理知识相关
    CUDA编程学习相关
    Pthon学习相关
    【论文阅读】ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devices
    【pytorch】pytorch学习笔记(一)
    【论文阅读】MEAL: Multi-Model Ensemble via Adversarial Learning
    【论文阅读】HydraPlus-Net: Attentive Deep Features for Pedestrian Analysis
    【论文阅读】Learning Spatial Regularization with Image-level Supervisions for Multi-label Image Classification
  • 原文地址:https://www.cnblogs.com/dying/p/3564211.html
Copyright © 2020-2023  润新知