Lenovo notebook Y450, Ubuntu 10.04.3 LTS
1. issues that can be solved:
(1) After the driver is installed, the screen is displayed on and off, with a low resolution;
(2) The Boot screen appears directly, and the progress is missed.
2. Solution: uvesafb replaces vesafb (I don't know what it means)
3. required packages:
(1) v86d (required by uvesafb)
(2) hwinfo (view framebuffer)
4. Steps
(1) install the driver:
Method 1: download the latest driver from the Nvidia official website, but you have to block nouveau first, and there will be a huge Nvidia Logo after installation. I didn't use this method.
Method 2: System --> Administration --> Hardware Drivers.
I am using the first one, but there is a problem. We need to disable the built-in nouveau first.
The procedure is as follows:
Install the driver with the official driver, copy the driver to the main folder, and press Ctrl + Alt + F1 to return to the terminal and log on to sudo/etc/init. d/gestation stop, and then run sudo sh. /Nv ....... (driver software name), it will prompt nouveau to be in use, and then will ask you if you want to create a file to prohibit nnouveau, select Yes, keep clicking, will exit the terminal interface, sudo reboot restarts to the machine learning platform for AI desktop, press Ctrl + Alt + F1 to return to the terminal, and log on to sudo/etc/init. d/gestation stop, remove X desktop, and run sudo sh again. /Nv ....... (driver software name), the driver will be installed normally, after sudo reboot is installed, complete.
If we follow the above steps, we will also prompt nouveau to be in use, that is, it is not completely blocked, because the kernel is still loading nouveau. It seems that both 10.04.3LTS and later versions do not work. Solution:
After the/etc/modprobe. d/nvidia-installer-disable-nouveau.conf file is generated, execute:
1
Update-initramfs-u
2
Update-grub2
Restart the system to install the NVIDIA driver.
(2) installation package:
1
Sudo apt-get install v86d hwinfo
(3) view framebuffer
1
Sudo hwinfo -- framebuffer
The result is as follows:
01
Tsl0922 @ ubuntu :~ $ Sudo hwinfo -- framebuffer
02
02: None 00.0: 11001 VESA Framebuffer
03
[Created at bios.464]
04
Unique ID: rdCR. wTajKRFEdh8
05
Hardware Class: framebuffer
06
Model: "NVIDIA GT216 Board-0695a340"
07
Vendor: "NVIDIA Corporation"
08
Device: "GT216 Board-0695a340"
09
SubVendor: "NVIDIA"
10
SubDevice:
11
Revision: "Chip Rev"
12
Memory Size: 14 MB
13
Memory Range: 0xcf000000-0xcfdfffff (rw)
14
Mode 0x0300: 640x400 (+ 640), 8 bits
15
Mode 0x0301: 640x480 (+ 640), 8 bits
16
Mode 0x0303: 800x600 (+ 800), 8 bits
17
Mode 0x0305: 1024x768 (+ 1024), 8 bits
18
Mode 0x0307: 1280x1024 (+ 1280), 8 bits
19
Mode 0x030e: 320x200 (+ 640), 16 bits
20
Mode 0x030f: 320x200 (+ 1280), 24 bits
21
Mode 0x0311: 640x480 (+ 1280), 16 bits
22
Mode 0x0312: 640x480 (+ 2560), 24 bits
23
Mode 0x0314: 800x600 (+ 1600), 16 bits
24
Mode 0x0315: 800x600 (+ 3200), 24 bits
25
Mode 0x0317: 1024x768 (+ 2048), 16 bits
26
Mode 0x0318: 1024x768 (+ 4096), 24 bits
27
Mode 0x031a: 1280x1024 (+ 2560), 16 bits
28
Mode 0x031b: 1280x1024 (+ 5120), 24 bits
29
Mode 0x0330: 320x200 (+ 320), 8 bits
30
Mode 0x0331: 320x400 (+ 320), 8 bits
31
Mode 0x0332: 320x400 (+ 640), 16 bits
32
Mode 0x0333: 320x400 (+ 1280), 24 bits
33
Mode 0x0334: 320x240 (+ 320), 8 bits
34
Mode 0x0335: 320x240 (+ 640), 16 bits
35
Mode 0x0336: 320x240 (+ 1280), 24 bits
36
Mode 0x033d: 640x400 (+ 1280), 16 bits
37
Mode 0x033e: 640x400 (+ 2560), 24 bits
38
Mode 0x0345: 1600x1200 (+ 1600), 8 bits
39
Mode 0x0346: 1600x1200 (+ 3200), 16 bits
40
Mode 0x034a: 1600x1200 (+ 6400), 24 bits
41
Mode 0x034b: 1360x768 (+ 1360), 8 bits
42
Mode 0x034c: 1360x768 (+ 2720), 16 bits
43
Mode 0x034d: 1360x768 (+ 5440), 24 bits
44
Mode 0x0360: 1280x800 (+ 1280), 8 bits
45
Mode 0x0361: 1280x800 (+ 5120), 24 bits
46
Mode 0x0371: 1360x768 (+ 5440), 24 bits
47
Config Status: cfg = new, avail = yes, need = no, active = unknown
48
Tsl0922 @ ubuntu :~ $
My laptop resolution is 1366x768, so what I need is: 1360x768-24
(4) modify the grub File
1
Sudo gedit/etc/default/grub
Bytes -------------------------------------------------------------------------------------------------------------------
# If you change this file, run 'Update-grub 'afterwards to update
#/Boot/grub. cfg.
GRUB_DEFAULT = 0
GRUB_HIDDEN_TIMEOUT = 0
GRUB_HIDDEN_TIMEOUT_QUIET = true
GRUB_TIMEOUT = 10
GRUB_DISTRIBUTOR = 'lsb _ release-I-s 2>/dev/null | echo Debian'
GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash nomodeset video = uvesafb: mode_option = 1360x768-24, mtrr = 3, scroll = ywrap"
GRUB_CMDLINE_LINUX = ""
# Uncomment to disable graphical terminal (grub-pc only)
# GRUB_TERMINAL = console
# The resolution used on graphical terminal
# Note that you can use only modes which your graphic card supports via VBE
# You can see them in real GRUB with the command 'vbeinfo'
# GRUB_GFXMODE = 1360x768
# Uncomment if you don't want GRUB to pass "root = UUID = xxx" parameter to Linux
# GRUB_DISABLE_LINUX_UUID = true
# Uncomment to disable generation of recovery mode menu entries
# GRUB_DISABLE_LINUX_RECOVERY = "true"
# Uncomment to get a beep at grub start
# GRUB_INIT_TUNE = "480 440 1"
Bytes -------------------------------------------------------------------------------------------------------------------
(5) Modify initramfs:
1
Sudo gedit/etc/initramfs-tools/modules
Bytes -------------------------------------------------------------------------------------------------------------------
# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args...]
#
# You must run update-initramfs (8) to effect this change.
#
# Examples:
#
# Raid1
# Sd_mod
Uvesafb mode_option = 1360x768-24 mtrr = 3 scroll = ywrap
Bytes -------------------------------------------------------------------------------------------------------------------
(6) force the use of Framebuffer:
1
Echo FRAMEBUFFER = y | sudo tee/etc/initramfs-tools/conf. d/splash
(7) Update grub and initramfs:
1
Sudo update-grub2
2
Sudo update-initramfs-u
(8) Restart
From the blog of tsl0922