4750g geforce GT 520 m Ubuntu 10.04 graphics card driver

Source: Internet
Author: User

Come from: http://hi.baidu.com/jjinl0609/blog/item/74e3988d5a35b9a40f2444cb.html (the first and second can be ignored ..)

Whether it is an ATI or NVIDIA graphics card, enabling a restricted driver on ubuntu10.04 (or manually installing an official driver) will cause the splash resolution to decrease at startup. As this problem is common, many cool people provide us with solutions (refer to the three posts on the Internet ), in addition, I personally tried and successfully worked out a solution to solve the problem.

1. Install the v86d and hwinfo packages. We will use them below.
Sudo apt-Get install v86d hwinfo

2. view the resolution supported by your video card.
Sudo hwinfo -- framebuffer
None 00.0: 11001 VESA framebuffer
[Created at bios.464]
Unique ID: rdcr. qojhfkjgnm2
Hardware class: framebuffer
Model: "(c) 1988-2005, ATI Technologies Inc. M92"
Vendor: "(c) 1988-2005, ATI Technologies Inc ."
Device: "M92"
Subvendor: "ATI atombios"
Subdevice:
Revision: "01.00"
Memory size: 16 MB
Memory range: 0xd0000000-0xd0ffffff (RW)
...
Mode 0x03ee: 1366X768 (+ 1408), 8 bits
Mode 0x03ef: 1366X768 (+ 2752), 16 bits
Mode 0x03f0: 1366X768 (+ 5504), 24 bits
Config status: CFG = new, avail = Yes, need = No, active = unknown

3. Modify the/etc/default/GRUB file and start it using the framebuffer of uvesafb.
Sudo gedit/etc/default/GRUB

Put the following two rows
Grub_cmdline_linux_default = "quiet Splash"
# Grub_gfxmode = 640x480

To:
Grub_cmdline_linux_default = "quiet splash nomodeset Video = uvesafb: mode_option = 1366x768-24, mtrr = 3, scroll = ywrap"

(PS: nomodeset disables kernel kms, my opinion)
Grub_gfxmode = 1366X768

This should be modified according to the maximum resolution supported by the video card (of course, other supported resolutions) found in step 1. Note that you should remove the # above.

4. Modify the/etc/initramfs-tools/modules file.
Sudo gedit/etc/initramfs-tools/modules

Add the following line:
Uvesafb mode_option = 1366x768-24 mtrr = 3 scroll = ywrap

(PS: the modification in this step is consistent with that in section 1st in the previous step)

5. Run the following command to enable framebuffer.
Echo framebuffer = Y | sudo tee/etc/initramfs-tools/CONF. d/splash

6. Run the following command to update the grub configuration and the initramfs image file.
Sudo Update-grub
Sudo Update-initramfs-u

7. Restart.

Related Problems and Solutions:
After following the steps above, it does solve the problem of low boot splash resolution, but there is another problem: failure to use the virtual console (tty1-6), that is, switch to the virtual console-"black screen ".
If you cannot log on to the console after this modification, you need to add the VGA = xxx parameter.

In fact, this problem should also be caused by the use of the official closed-source driver (or restricted driver), that is, not caused by the above operations.
Accordingly, add the VGA = xxx parameter in step 1 of the preceding step.
Grub_cmdline_linux_default = "quiet splash nomodeset Video = uvesafb: mode_option = 1366x768-24, mtrr = 3, scroll = ywrap VGA = 792"

Note that 792 represents 1024x768x16 m (resolution: 1024x768, 24-bit color depth)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.