歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux教程

Ubuntu 安裝ATI官方驅動後進系統黑屏[修改]

故障一:在顯示Ubuntu的圖標分辨率很低,圖標很大。

在聽到進去系統聲音後(確定已經進入系統了,因為黑屏看不到,只能聽了)按ALT+CTRL+F1 進入命令模式
輸入用戶和密碼

1.下載軟件:sudo apt-get install v86d hwinof
2.查看顯卡支持的分辨率,
sudo hwinfo --framebuffer
一般1024x768 1440x900這兩個了
3.修改sudo gedit /etc/default/grub文件
把這兩句   GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
                 #GRUB_GFXMODE=“”  (有可以前面的#沒有。但一定要去掉#讓其生效www.linuxidc.com)
修改為:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset          video=uvesafb:mode_option=1440x900-24,mtrr=3,scroll=ywrap"
GRUB_GFXMODE=1280x800
4.修改/etc/initramfs-tools /modules文件
sudo gedit /etc/initramfs-tools/modules
增加一句 uvesafb mode_option=1280x800-24 mtrr=3 scroll=ywrap
5.啟用framebuffer
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
6.更新grub配置文件
sudo update-grub2
sudo update-initramfs -u
7.重啟完成


進系統後黑屏(針對ATI顯卡。本人使用官方驅動後黑屏,HD3870顯卡)
1.在聽到進去系統聲音後(確定已經進入系統了,因為黑屏看不到,只能聽了)按ALT+CTRL+F1 進入命令模式
輸入用戶和密碼
2修改  sudo vi /etc/X11/xorg.conf
Section "Monitor"
    Identifier    "Configured Monitor"
    HorizSync    31-101           #頻率范圍  (需要增加的,有就不用了)
    VertRefresh    50-60           #刷新  (需要增加的,有就不用了)
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    DefaultDepth    24
    SubSection    "Display"   #顯示器子段 (需要增加的,有就不用了)
        Depth    24                   #顯示器色深 (需要增加的,有就不用了)
        Modes    "1440x900"   #分辨率(根據你的情況了。純平就寫1027x768)
    EndSubSection
EndSection

Section "Module"
    Load    "glx"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
    Driver    "fglrx"
EndSection

然後重啟應該就ok了~~

如果出現xconf解析錯誤之類的提示,那就說明添加的時候語法不對~~,變量和值之間都是tab要注意
注意核對Section後面的字段。有了就不要寫了,有些順序和我這不一樣。有點在第一個段。有砦在最後面了。這沒有關系

Copyright © Linux教程網 All Rights Reserved