Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

时间:2023-02-03 12:35:28

安装的全过程如下:

1 我安装的是12.04 LTS ubuntu 系统,为了能够运行 OpenCL,必须把独立显卡驱动起来。
2 刚安装好系统,我进行了更新,更新之后,在系统设置 -〉 附加驱动有开源的备选驱动,但是安装的时候,提示错误,无法安装。
3 于是我按照 "Ubuntu 12.04 ATIIntel双显卡 驱动安装" 的内容开始安装驱动。但是,安装完驱动后,重新启动电脑,在登陆界面之前就黑屏了,无法继续进行。
4 这时候即使是恢复模式(按住shift)也没有起什么作用,期间我参考了“Ubuntu内核升级后无法进入系统的解决办法_Linux教程_Linux公社-Linux系统门户网站”卸载驱动,没有起作用。但是这个文档里面提到的安装卸载后的设置,我觉得是有一定作用的。BTW:这之后我之前安装的显卡驱动都已经卸载了。
5 于是我参考了“ubuntu 12_04 更新后黑屏 - moon_cat - 博客园”更新了内核,之后就可以往后走了。但是卡到了一个提示:“ubuntu启动错误saned disabled edit /etc/default/saned checking battery state ”,之后系统无反映了。
6 解决上一个问题,我参照了“ubuntu启动错误saned disabled edit -etc-default-saned checking battery state - 用平常的心,做不平常的事 - ITeye技术网站”这个文档,于是可以进入登陆界面了。
7 登陆时遇到的问题是,登陆进取就会一闪黑屏,返回登陆界面。当然我输入的密码是没有问题的。但是用 Guest 帐户确可以登陆进去。
8 解决上个问题我参考了“Ubuntu 登陆异常-输入正确的密码后还会返回到登陆界面的问题-mydawaa-ChinaUnix博客” 和 “12_04 - Login screen loops unless you login as Guest - Ask Ubuntu”。其中前者我觉得有道理但是不是我出的这个问题。而后者彻底解决了我无法登陆的问题。而在前两个文档之前,“drivers - ATI-AMD proprietary FGLRX graphics install fails, how can I resolve the problem - Ask Ubuntu”可能帮助我卸载了一些不必要的东西。
9 进入系统后,在从系统菜单,附加驱动,直接安装显卡驱动,竟然顺利安装了。

总结起来,附加驱动是可用的,但是要提前装好相关的东西。如果黑屏,卸载驱动正常应该就可以。我在整个过程中,alt + ctrl + F1 始终是可以用的。另外,Vi还是需要学好,无图形界面时,想改写配置文件,真心不容易。

 

———————————————————————————————————————————————————————————————————————————————

问题一:

I am running a VMWare Player with a Ubuntu 12.04 LTS Precise Pangloin as Guest on my Windows 7. Sometimes I get the shutdown blue screen error in Windows, this time it happened when I was running the Player. When I restarted everything Ubuntu gave the not so unfamiliar in this forum Login Loop in adminstrator login. I login and there's this black screen where I can only read: "piix4...smbus:0.0.0.07.3 Host Smbus controller not enabled" . When I go to the Prompt in root mode it fails to update and only upgraded, specially some plugins ( I think graphic plugins) which also appear in one an error message after quitting the prompt, but they´are successfully installed. They are not the error message. After that I have been working with the Fail/safe Mode recovery panel.

When I try to update via Root I get errors like this:

W:failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/release.gpg could not        resolve 'extras/ubuntu.com

There are 8 more like this referring to areas like:

-archive/canonical.com
-ppa.Launchpad.net
-security.Ubuntu.com
-Us.archive.ubuntu.com - release.gpg
precise-updates/release.gpg
precise_backport/release.gpg

Final Message: some index files failed to download.....they have been ignored or old files are used.

The black screens most of the time pass by too fast for me to pick up any information. But in general I think I have done everything I was able to in the recovery panel including updating network and graphic packages and recovering filesystem packages and the basic stuff ( I am a beginner regarding Linux ) in the root prompt.

Now I am stuck in this screen with graphic options:

- Run in low-graphics mode just for one session
- Reconfigure Graphics
- Troubleshoot the error
- Exit to console login

I am trying to choose to reconfigure graphics but the mouse disappears in the virtual machine screen and sometimes when options change ity´s only the first and last option. ut this happens from the blue without messages. This particular option menu is in the regular GUI style against a black screen in Terminal style. Really strange.

Thanx in advance, all is welcome and appreciated.

share improve this question
 
 
When you have multiple users, do the other users work? I have two users, the main user loops, the other works perfectly fine. Unfortunately I cannot access my data via the user but I could login as a main user via ctrl+alt+F1. Message for startx: Server is already active for display 0 Delete the locked file "filename" mentioned, then sudo reboot –  user74866  Jul 3 '12 at 22:43

8 Answers

I am not sure if what I was experiencing is the same but maybe this will work for you.

I have Ubuntu 12.04 Server LTS updated 6-7-2012 and Desktop installed. I am also running this as a VM in vmware player, not sure if that matters or not.

I had done a ctrl+alt+F1 from desktop to get a shell. When I tried to to start the gui again (sudo startx), I got errors, then after a reboot I got the log-in and when I put in my password it would just loop no error for bad PW! But when I switched to the Guest log-in it would boot normally! What a pain, huh!

So what I did was

  • switch to shell (Ctrl+Alt+F1)
  • logged in as the user
  • cd /home/user (I think that cd ~ will get you to the same place)
  • sudo mv .Xauthority .XauthorityBak
  • sudo reboot

This worked it booted normal and all is good!

There are specifics of my installation which may not apply to yours but maybe it will work.

Hope this helps, K

P.S. I got this info from http://ubuntuforums.org/showthread.php?t=1890457 Thanks carranty

EDIT: I started to get a System Problem Detected when I would log in from a locked desktop so I sudo chown 777 .Xauthority and that seemed to have cleared up the problem. I am not sure if this causes a security issue.

EDIT: Not sure if this did clear up the problem, things are getting funky!

share improve this answer
 
 
anyone think that this might be an issue with the updates? –  UbuntuNooBkjp  Jun 7 '12 at 5:05

startx doesn't work

Seems like you lost write-rights... Check whether the solution described here will work for you. This happened to me.

I found a solution for me:

I changed my password, reinstalled xserver-xorg by typing: sudo apt-get install --reinstall xorg

After a reboot it worked for me. Notice: I removed the .XAuthority files in /home/username by: sudo rm /home/username/.XAuthority*

to get a shell try Strg-Alt-F1 when you turn on your computer. I actually got my write-rights back by usingclear in recovery mode.

share improve this answer
   

Logging in as root at the command shell level and renaming the user's /home/user/.Xauthority and then rebooting seemed to cure the issue. Not sure why it occurred in first place though

share improve this answer
   

These suggested instructions apply to my case only and should be considered as a non-professional comment and therefore to be tried AT YOUR OWN RISK.

I am using ACER Aspire 4755g with Ubuntu 12.04.1 LTS.

I have also encountered this problem, and in my case, I had a problem with lightdm. As a temporary measure, when you get to the login screen, press the keyboard sequence Ctrl+Alt+F1. This will get you to a terminal-like screen. It will show you something like this:

[COMPUTER NAME] login:

for example,

Aspire-4755g login:

type in your username and press Enter. This will result into something like this,

Aspire-4755g login: shiela

Password:

Enter your password, and, if correct, would show something like this:

Aspire-4755g login: shiela

Password:

Last login: Tue Jan 1 06:45:02 JPT 2013 on tty1

Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-35-generic-pae i686)

* Documentation: https://help.ubuntu.com/

2 packages can be updated.

0 update are security updates.

shiela@Aspire-4755g:~s

Then, press the keyboard sequence Ctrl+Alt+F7 to get you back to the login screen. This procedure logs you into the system using the terminal-like window. You can now try to login to your account using the login screen. In my experience, I was able to reach the desktop. It seems that there is something wrong with the lightdm configuration that it was not able to log you in to the system.

Should you not make it to the desktop (as it was called in Windows), you may try adding an additional command by pressing the Ctrl+Alt+F1:

shiela@Aspire-4755g:~s ecryptfs-mount-private

press Enter, and it will ask you your password. Enter your password, then press the keyboard sequence Ctrl+Alt+F7 to get you back to the login screen (or to where you last left).

This command loads your Home folder, together with its contents, should you have chosen to encrypt the home folder upon installation of Ubuntu.

Once successful, you may try to review your lightdm configuration located on /etc/lightdm/lightdm.conf.

share improve this answer
   

I had same issue, I uninstalled 12.04 version and installed 12.10 Version and the problem is gone.

share improve this answer
   

Yes I caused a Login Loop on my main Ubuntu 12.10 user and the fix was simple.

Background: Ubuntu 12.10 is installed in VirtualBox running on Windows 7 and uses Unity.

Cause: From the Desktop I Ctrl+Alt+T into terminal mode and then tried to run 'startx' (I was trying to help a friend over the phone late at night...but this was a stupid thing to do). A new blank Unity desktop appeared and everything hung...

Problem: Forcing VirtualBox to close and then rebooting Ubuntu I got to the login screen but kept looping back to this same screen everytime after entering the password. No errors were displayed. I could login as Guest but I had no Sudo rights and thus no control... However once logged in as Guest I Ctrl+Alt+F3 and got to a terminal login. I entered my main user name and password and logged in with command mode. Logout took me back to CLI login and Ctrl+Alt+F7 took me back to Guest desktop. So my account still worked. I then added a test user and gave them sudo rights. From the Unity login I could login and logout Test user with no problem. So Unity still worked.

Fix: So my main account was still accessable via CLI and Unity was working for all other accounts. This indicated a configuation problem on my main account. I followed the advice of Ubuntu 12.10 gets stuck in a Login Loop and did chown username:username .Xauthority. This fixed my problem.

share improve this answer
   
 
———————————————————————————————————————————————————————————————————————————————
 
问题2:
 

查看ubuntu是32位还是64位的方法及其版本号

[复制链接]
   
    Ubuntu 12.04 双显卡笔记本安装驱动【汇总】
1#
 
Ubuntu 12.04 双显卡笔记本安装驱动【汇总】  发表于 2011-4-27 11:30:43  |  只看该作者  Ubuntu 12.04 双显卡笔记本安装驱动【汇总】  | 倒序浏览  | 阅读模式
查看ubuntu是64还是32的命令如下:
  1. uname -m
复制代码

如果是i386到i686,那就是32位系统;如果是x86_64 ,那就是64系统。

查看Ubuntu版本的方法有两种。

方法一:在终端中执行下列指令:
  1. cat /etc/issue
复制代码

可以查看当前正在运行的 Ubuntu 的版本号。其输出结果类似下面的内容:
Ubuntu 7.04 \n \l

方法二:使用 lsb_release命令也可以查看 Ubuntu 的版本号,与方法一相比,内容更为详细。执行指令如下:
  1. sudo lsb_release -a
复制代码

将输出结果:
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty

方法三:有的精简系统,将上面命令都去除了,这是如何查看版本信息呢?可以通过查看如下命令查看:
  1. cat /proc/version
复制代码

作用: 查看目录“/proc”下version的信息,也可以得到当前系统的内核版本号及系统名称
补充说明:/proc文件系统,它不是普通的文件系统,而是系统内核的映像,也就是说,该目录中的文件是存放在系统内存之中的,它以文件系统的方式为访问系统内核数据的操作提供接口。而我们使用命令“uname -a“的信息就是从该文件获取的,加上参数”a“是获得详细信息,如果不加参数为查看系统名称。

Refered to:
如何查看ubuntu是32位的还是64位的?
http://tieba.baidu.com/f?kz=820576856
教你如何查看Ubuntu版本
http://www.linuxidc.com/Linux/2007-07/6178.htm
Linux命令:linux内核和版本查询命令
http://www.ylmf.net/linux/tips/2010112611699.html
 
 
———————————————————————————————————————————————————————————————————————————————
问题3:

I want to activate ATI/AMD proprietary FGLRX graphics driver (post-release update), but there is a problem during installation. It says:

Sorry, installation of this driver failed.

Please have a look at the log file for details: /var/log/jockey.log

How can I install this driver?

share improve this question
 
 
Could you edit your question please to add your graphic card reference and your Ubuntu version –  Boris  Apr 22 at 9:48

3 Answers

Remove and purge the current version, then install the updates:

  1. sudo apt-get --purge remove fglrx*
  2. sudo apt-get install fglrx-updates fglrx-amdcccle-updates
  3. Reboot

Making sure fglrx is fully removed is an important step. It didn't work for me the first time I tried to install the updates and in the end I removed each fglrx package individually, purged each one individually, removed no longer dependencies sudo apt-get autoremove, rebooted, then installed the updates sudo apt-get install fglrx-updates fglrx-amdcccle-updates, rebooted, and (as of writing) I got catalyst version 11.11 (which still doesn't work with gnome3).

12.10

  • 21 Oct 2012 - fglrx is not working in 12.10, see bug report.
  • 4 Jan 2013 - no fix yet, bug reports are on fire,
  • 27 July 2013 - Still no fix sigh

12.10 Troubleshooting

If you have problems with graphics after installing or updating to 12.10, you will need to remove fglrxand use open source drivers:

    $ sudo apt-get remove fglrx*

If you get stuck on a warning about "low graphics":

  1. Open the terminal Ctrl+Alt+F1
  2. Remove fglrx: sudo apt-get remove fglrx*
  3. Reboot: sudo reboot

For more see the SO question Can't install ATI proprietary drivers in 12.10.

13.04

  • 27 July 2013 - fglrx does not work. sigh

Notes

  • What packages are currently installed? dpkg -l fglrx*

    $ dpkg -l fglrx*
    un fglrx <none> (no description available)
    un fglrx-amdcccle <none> (no description available)
    ii fglrx-amdcccle 2:8.911-0ubunt Catalyst Control Center for the AMD graphics
    un fglrx-control <none> (no description available)
    un fglrx-control- <none> (no description available)
    un fglrx-driver <none> (no description available)
    un fglrx-kernel-s <none> (no description available)
    un fglrx-modalias <none> (no description available)
    ii fglrx-updates 2:8.911-0ubunt Video driver for the AMD graphics accelerato
  • Confirm the drivers are working fglrxinfo

    $ fglrxinfo 
    display: :0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: AMD Radeon HD 6300M Series
    OpenGL version string: 4.2.11733 Compatibility Profile Context
  • For Catalyst <=11.11 with gnome <=3.2 Expect screen flickering and system hangs.

  • AMD Catalyst Proprietary Display Driver - Linux x86 & Linux x86_64

  • Get device information: lspci or verbose lspci -vv

share improve this answer
   

All Jockey does is install fglrx and fglrx-amdcccle in the case of normal drivers, and fglrx-updates and fglrx-amdcccle-updates when you select the post-release updates option, though it fails somehow for I don't know what reason.

You can simply install/activate ATI/AMD proprietary FGLRX graphics driver (post-release update) option by typing the following line into the terminal:

sudo apt-get install fglrx-updates fglrx-amdcccle-updates

or search for these packages within the Ubuntu Software Center and install them from there.

share improve this answer
   

An excellent resource for installing the latest driver from ATI and easy to follow. Installing Catalyst latest driver from ATI in Ubuntu 11.10

Bob Bowles (ed.): I found the ATI download site very user-friendly, with good self-documentation on the download/build/deploy process. ATI Download site.

share improve this answer
——————————————————————————————————————————————————————————————————————————————
问题 4:

ubuntu 12.04 更新后黑屏

在grub界面, 按e 在 splash 后加 text ,按 ctrl + x 进入 终端模式

然后更新到 3.5 内核即可

$ sudo apt-get install linux-generic-lts-quantal xserver-xorg-lts-quantal

$ sudo dpkg-reconfigure xserver-xorg-lts-quantal

$ sudo reboot

 

——————————————————————————————————————————————————————————————————————————————

问题 5:

驱动安装

分类:Linux 2013-01-23 20:44927人阅读评论(0)收藏

linuxLinuxLINUX系统

目录(?)[+]

  1. 卸载和删除原有驱动

  2. 安装最新的AMD catalyst 驱动

  3. 启用集成显卡的direct渲染并调试Bug

  4. 玩转你的双显卡吧


本文只针对含有
AMD双显卡的部分机型,已经测试过的包括DELLVostro 3550/DELL Inspiron 14R AMD6630 IntelHD 3000)。整个安装过程需要使用命令行,但是对于一个初学者来说依然很简单,你只需要将命令粘贴进命令行,并记得按<回车>Linux版本为Ubuntu12.04,同时本人也尝试过12.10,不过由于驱动和X的兼容性有问题,最终放弃了12.10。详细方式参见http://wiki.cchtml.com/i...Catalyst

一、卸载和删除原有驱动

[plain]viewplaincopyprint?

  1. sudo sh /usr/share/ati/fglrx-uninstall.sh

  2. sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

sudo sh/usr/share/ati/fglrx-uninstall.sh

sudo apt-get remove --purge fglrxfglrx_* fglrx-amdcccle* fglrx-dev*


二、安装最新的AMD catalyst 驱动

下载必备的一些软件库

[plain]viewplaincopyprint?

  1. sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6

  2. sudo apt-get install dkms libqtgui4 wget execstack libelfg0 dh-modaliases

  3. sudo apt-get install linux-headers-generic xserver-xorg-core libgcc1

sudo apt-get installbuild-essential cdbs fakeroot dh-make debhelper debconf libstdc++6

sudo apt-get install dkms libqtgui4wget execstack libelfg0 dh-modaliases

sudo apt-get installlinux-headers-generic xserver-xorg-core libgcc1

如果是64则需要运行下面两段命令(32位则不需要)。

[plain]viewplaincopyprint?

  1. sudo apt-get install ia32-libs lib32gcc1 libc6-i386

  2. cd /usr ; sudo ln -svT lib /usr/lib64

sudo apt-get install ia32-libslib32gcc1 libc6-i386

cd /usr ; sudo ln -svT lib/usr/lib64

64位驱动内核模块

[plain]viewplaincopyprint?

  1. sudo apt-get install dkms

sudo apt-get install dkms

本人使用的是64位操作系统,推荐硬件允许的最好还是用64位。

下载AMDcatalyst for Ubuntu 12.4 驱动

[plain]viewplaincopyprint?

  1. cd ~/; mkdir catalyst12.4; cd catalyst12.4/

  2. wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run

  3. chmod +x amd-driver-installer-12-4-x86.x86_64.run

cd ~/; mkdir catalyst12.4; cdcatalyst12.4/

wgethttp://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run

chmod +xamd-driver-installer-12-4-x86.x86_64.run


添加补丁(非常重要,之前试过不打补丁,会出现无法启动X或者Compiz等问题)

[plain]viewplaincopyprint?

  1. ./amd-driver-installer-12-4-x86.x86_64.run --extract driver

  2. cd driver/plain/lib/modules/fglrx/build_mod/

  3. wget -O fglrx.patch http://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi

  4. patch -p1 < fglrx.patch

./amd-driver-installer-12-4-x86.x86_64.run--extract driver

cddriver/plain/lib/modules/fglrx/build_mod/

wget -O fglrx.patchhttp://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi

patch -p1 < fglrx.patch


创建安装包

[plain]viewplaincopyprint?

  1. cd ~/catalyst12.4/driver/

  2. ./ati-installer.sh 8.961 --buildpkg Ubuntu/precise

  3. cd ../

cd ~/catalyst12.4/driver/

./ati-installer.sh 8.961 --buildpkgUbuntu/precise

cd ../

安装驱动

[plain]viewplaincopyprint?

  1. sudo dpkg -i fglrx*.deb

sudo dpkg -i fglrx*.deb

第一时间配置Xserver(xorg.conf)

[plain]viewplaincopyprint?

  1. sudo aticonfig --initial -f

sudo aticonfig --initial -f

重启电脑

测试切换集成显卡

[plain]viewplaincopyprint?

  1. sudo aticonfig --px-dgpu

sudo aticonfig --px-dgpu

有些显卡需要再次重启电脑才能完成切换。

三、启用集成显卡的direct渲染并调试Bug

如果你一旦更新fglrx,或者你的系统自动更新,那么你必须重复步骤二,否则集成GPU将不会做direct渲染。


root权限打开/etc/X11/Xsession.d/10fglrx

[plain]viewplaincopyprint?

  1. sudo gedit /etc/X11/Xsession.d/10fglrx

sudo gedit/etc/X11/Xsession.d/10fglrx

对于32位系统,在第4行末尾加入/usr/lib32/dri/,使文档变成:

[plain]viewplaincopyprint?

  1. LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri

  2. if [ `uname -m` = 'x86_64' ]; then

  3. if [ -d /usr/lib32/fglrx/dri ]; then

  4. LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}<span style="color: rgb(255, 0, 0); background-color: yellow;">:/usr/lib32/fglrx/dri:/usr/lib32/dri</span>

  5. if [ ! -z $LD_LIBRARY_PATH ]; then

  6. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:

  7. fi

  8. LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32

  9. export LD_LIBRARY_PATH

  10. fi

  11. fi

  12. export LIBGL_DRIVERS_PATH

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri

if [ `uname -m` = 'x86_64' ]; then

if [ -d /usr/lib32/fglrx/dri ];then

LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib32/dri

if [ ! -z $LD_LIBRARY_PATH ]; then

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:

fi

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32

export LD_LIBRARY_PATH

fi

fi

export LIBGL_DRIVERS_PATH


对于64位系统,在第4行末尾加入/usr/lib/x86_64-linux-gnu/dri/, 文件变成

[plain]viewplaincopyprint?

  1. LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri

  2. if [ `uname -m` = 'x86_64' ]; then

  3. if [ -d /usr/lib32/fglrx/dri ]; then

  4. LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}<span style="color: rgb(255, 0, 0); background-color: yellow;">:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri</span>

  5. if [ ! -z $LD_LIBRARY_PATH ]; then

  6. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:

  7. fi

  8. LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32

  9. export LD_LIBRARY_PATH

  10. fi

  11. fi

  12. export LIBGL_DRIVERS_PATH

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri

if [ `uname -m` = 'x86_64' ]; then

if [ -d /usr/lib32/fglrx/dri ];then

LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri

if [ ! -z $LD_LIBRARY_PATH ]; then

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:

fi

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32

export LD_LIBRARY_PATH

fi

fi

export LIBGL_DRIVERS_PATH

保存文件并退出

四、玩转你的双显卡吧!

如果你切换的的显卡未生效,请重启电脑。

显示当前使用的显卡

[plain]viewplaincopyprint?

  1. aticonfig --pxl

aticonfig --pxl

如果使用的是独立显卡,则显示为

PowerXpress:Discrete GPU is active (High-Performance mode).

如果是集成显卡:

PowerXpress:Integrated GPU is active (Power-Saving mode).

切换集成显卡

[plain]viewplaincopyprint?

  1. sudo aticonfig --px-dgpu

sudo aticonfig --px-dgpu

切换独立显卡

[plain]viewplaincopyprint?

  1. sudo aticonfig --px-igpu

sudo aticonfig --px-igpu

查看OpenGL 库使用情况

[plain]viewplaincopyprint?

  1. fglrxinfo

fglrxinfo

查看direct渲染状态

[plain]viewplaincopyprint?

  1. glxinfo | egrep render

glxinfo | egrep render

安装mesa-utils,测试3D性能(每5秒计算并输出一次fps

[plain]viewplaincopyprint?

  1. sudo apt-get install mesa-utils

  2. glxgears

sudo apt-get install mesa-utils

glxgears

独立显卡(ATI6630)状态下

1793 framesin 5.0 seconds = 358.581 FPS

1781 framesin 5.0 seconds = 355.736 FPS

集成显卡状态下

301 frames in5.0 seconds = 60.115 FPS

298 frames in5.0 seconds = 59.585 FPS

明显可以看到区别了吧!


如果重启后黑屏或者无桌面显示,则需要切换到其他命令行界面Ctrl+Alt+F2,删除X配置并重启X

[plain]viewplaincopyprint?

  1. sudo rm /etc/X11/xorg.conf

  2. sudo startx

———————————————————————————————————————————————————————————————————————————————

问题 6:

昨天Ubuntu 12.04LTS 64位版本升级内核后,发现图形界面启动不了。

 

然后重启,按上下键查看启动信息,发现卡在了saned disabled edit /etc/default/saned。。

 

Goole了一把,发现是没有gnome-shell.于是就使用CTRL+ALT+F1进入tty1,通过

sudo apt-get install gnome-shell安装,然后sudo reboot重启。

 

发现还是进入不了图形界面,再次查看日志,发现卡在了 checking battery state

 

这个原因是因为gdm的问题,安装gdm

sudo apt-get install gdm

 

在安装过程中会有配置选择,我们选择LightDM,

然后sudo reboot即可。。

 

然后就如愿的进入了图形界面。。。

 
———————————————————————————————————————————————————————————————————————————————
问题 7:

Ubuntu内核升级后无法进入系统的解决办法

[日期:2010-05-06] 来源:www.walleve.com  作者:walleve [字体:  ]
 
 

昨天半夜在写代码的时候没怎么注意,Ubuntu系统提醒有可用升级,随手就给升级了,结果起床后开机,发现grub提示两个内核,然后选择最新的内核,直接黑屏很长时间进不去系统。

解决办法是:删除显卡驱动,否则重启后还是白屏

删除显卡驱动的命令是:sudo /usr/share/ati/fglrx-uninstall.sh

重启后进入桌面,over,然后要在终端运行 update-grub2

接着要做的两个事情,1、是否要更新内核。2、必须要重装显卡驱动

1、更新内核的方法如下:

安装新内核,然后update-grub,update-grub2,应该就可以了,然后按照下面删除旧内核文件即可。

apt-get remove 对应的内核版本号,将旧版本的内核删除掉(-image-和-header-两个文件都要删除的,一定要小心执行命令)。

apt-get autoremove 对应的内核版本号, 再清理下就应该可以

修改/boot/grub/grub.cfg(从9.10版本后,menu.list文件就被替换成了grub.cfg),将其中旧内核的文字删除即可,然后重启系统

2、重装显卡驱动

重启后要重装显卡驱动(如果重启出错请参照文章开始讲到的启动出错处理办法)。

重装显卡驱动的办法:

1、删除旧的和错误的驱动程序

cd /usr/share/ati/

sudo ./fglrx-uninstall.sh

sudo apt-get remove xorg-driver-fglrx xserver-xorg-video-ati xserver-xgl

2、安装新的驱动 (需要去ATI官方网站下载)

sudo sh ./ati-driver-installer-8-11-x86.x86_64.run

安装完毕后,把配置文件初始化一下,执行

sudo aticonfig –initial -f

生成 modules.dep 和 map 文件,保证模块和驱动的正常加载。

sudo depmod -a

3、重启

4、检查安装效果

在终端中运行 fglrxinfo,显示结果应该是:

display: :0.0 screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: ATI Radeon HD 2600 XT

OpenGL version string: 2.1.8201 Release

5、看看自己的显卡是否工作在Xv模式下,执行

xvinfo

如果显示的结果很多很多,那就是工作在xv模式下了。如果像下面这样的显示,那还需要再设置

X-Video Extension version 2.2

screen #0

no adaptors present

手工设置xv模式

sudo aticonfig –overlay-type=xv

6、看看其它信息

glxinfo | grep direct

我的结果是

direct rendering: Yes

7、测试一下速度和工作是否正常,程序会显示转动的齿轮和一些数值。

glxgears

fgl_glxgears

 

——————————————————————————————————————————————————————————————————————————————

问题 8:

Ubuntu 登陆异常-输入正确的密码后还会返回到登陆界面的问题
问题表现:
启动到了登陆界面,输入对应的密码,发现一闪黑屏有返回到登陆界面,如此往复
。。Ubuntu 12.04 双显卡笔记本安装驱动【汇总】
而在alt-ctrl-f1,里面startx -- :1,可以运行另外一个x界面,实在令人费解。

这是一个挺令人崩溃的问题,从网上搜索很多相关的案例:
有用户环境变量设置的问题;
有人重设xorg.conf;
检查硬盘错误,修改/etc/fstab,最后一位为2
。。。
但都没有解决我的这个问题,我的修改过程如下。
偶然在一篇文章中看到,可以查看用户主目录下的.xsession-errors文件,里面存放x界面的一些错误信息,获取可以有所帮助。
发现我的.profile里面有报错信息,然后log往后就没有了,修改对应的错误后,可以正常登陆了。

===================
这个竟然影响x登陆,而且这个错误根本不影响,不知道x设计的时候怎么考虑的,而且黑屏后闪一下就没有了,没法看到出错的信息,很悲剧啊。。

记录下来,希望对其他人有帮助。

 

———————————————————————————————————————————————————————————————————————————————

问题 9:

Note:

This is an attempt to create a canonical question that covers all instances of "low-graphics mode" error that occurs to a user, including but not limited to installation of wrong drivers, incorrect or invalid lightdm greeters, low disk space, incorrect installation of graphics card like ATI and Nvidia, incorrect configuration of xorg.conf file while setting up multiple monitors among others.

If you are experiencing the "low-graphics mode" error when trying to login but none of the following answers work for you, please do ask a new question and then update the answers of this canonical question as and when your new question gets answered.


When I try to boot into my computer, I am getting this error:

The system is running in low-graphics mode

Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.

Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

How do I fix the failsafe X mode and login into my computer?


Answer index:

share improve this question
 
 
What happens when the message you see here is almost impossible to read? And I can forget about being able to see the terminal in the Ctrl-Alt-F1 trick. –  Adrian Keister  Jun 6 at 16:23

30 Answers

up vote 26 down vote
+500

Will try to answer the ones I can:

Assuming the answer by Jokerdino was already checked: http://askubuntu.com/a/141607/7035

Nvidia / Ati issues

This happens when a driver has a problem installing correctly (Most cases). For this do the following:

  1. Boot PC leaving SHIFT pressed to make the GRUB Menu show.

  2. Select Recovery Mode which will continue booting correctly until the Recovery Menu appeares.

  3. Select from the recovery menu failsafeX.

  4. In some cases failsafeX will load fine (You lucky dog), for others (Me) it will give an error along the lines of "The system is running in low-graphics mode" and will stay there forever. When this happens, press CTRL+ALT+F1 to go to the terminal. Type in your Username and Password.

  5. Reinstall the drivers depending on your case:

    NVIDIA

    sudo apt-get install nvidia-current - More stable/tested version sudo apt-get install nvidia-current-updates - More up-to-date version

    For other cases see this answer for details and follow the links there to help you along the way.

    ATI

    The simple way is to sudo apt-get install fglrx. If this does not work keep reading.

    Go to http://support.amd.com/us/gpudownload/Pages/index.aspx, download the one you need, put it in some folder (rename it to "ati.run" to simplify name). Go to the folder where you downloaded the file and type chmod +x ati.run to give it Executable Permission. Now just simply ./sh ati.run and follow the onscreen steps.

    After rebooting all problems should be solved. If you test 'Additional Drivers' with a problem like this it will finish downloading the package but then it will give an error. It also gives the same error if you use 'Software Center' and 'Synaptic'. The only way was to go to the failsafeX option and do the workaround about changing to the tty1 terminal and doing it via command line.

    I also need to add that I do not recommend downloading the Drivers from the Nvidia site since they:

    • Might create additional problems with Ubuntu
    • Are not updated automatically
    • Are not tested thoroughly in Ubuntu

    Always use the nvidia-current package or the nvidia-current-updates one. This are tested and approved already for the Ubuntu version you are using and will give less errors and incompatibility bugs.

Intel

For Intel it is recommended to do the following after doing all the steps mentioned above but before installing anything (When you are in the Terminal). You can choose from the Xorg-Edgers which is an Unstable PPA or the X-Swat which is more stable:

Warning: This PPA is very unstable for some things. So do it with that in mind.
sudo add-apt-repository ppa:xorg-edgers/ppa -y

or X-Swat:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates -y

After that sudo apt-get update and you should receive several updates. X-Swat currently does not have Intel drivers in the latest versions of Ubuntu.

UPDATE: Added this extensive answer to solve many of the problems that might end with the error mentioned here: Which driver should I install when using an Nvidia, Ati or Intel video card

Like always please test and give feedback so I can enhance my answer since others will be also reading it. The better it is, the more people it will help.

share improve this answer
 
1  
After trying all the other solutions, that's the one that worked for me. Thanks! –  Matthieu  Mar 21 at 22:34
 
This worked! Running in VirtualBox on Mac. Did: sudo apt-get install fglrx; sudo add-apt-repository ppa:ubuntu-x-swat/x-updates -y; sudo apt-get update; Also reinstalled ubuntu-desktop before this, not sure if that had an effect –  PigChicken  May 2 at 10:29
 
This worked great for my virtualbox machine on my windows laptop. However I didn't have to enter Recovery Mode. I was able to just boot, hit CTRL - ALT - F1 when I see the screen, then run the command for nvidia and sudo reboot. Thanks for the tip! –  b1ackjosh  Jun 25 at 5:52
 
Same as b1ackjosh and worked for me. Thanks...!!! –  Bharat Patil  Jul 30 at 5:20

I solved this problem by reinstalling ubuntu-desktop.

When the message that "your system is running in low-graphics mode" appears, press Ctrl+Alt+F1, then login with your credentials.

And then, run the following commands:

  • sudo apt-get install --reinstall ubuntu-desktop
  • sudo reboot
share improve this answer
 
1  
when i give this command!i got memory is full no more space available! –  Thiyagu  Apr 4 at 14:33
1  
This may help when the problem is to do with the desktop, but usually for me this type of problem comes from a combination of the graphics drivers and a kernel upgrade. In this case the other answers here are more appropriate, with particular reference to @Luis. –  Bobble  Jun 12 at 6:06

The greeter is invalid

This is a bug in LightDM and a bug report has already been filed.

The reason why you end up with this failsafe X is because the pantheon-greeter you installed along with the elementary desktop is now not available and LightDM is not able to identify an alternative greeter.

As a workaround, you can edit the LightDM conf file and correct the error.

Run the following command in a terminal:

sudo nano /etc/lightdm/lightdm.conf

and change the line

greeter-session=pantheon-greeter

to

greeter-session=unity-greeter

and save it.

After changing the file, reboot and you will now be greeted with Unity greeter.

share improve this answer
 
 
That workaround doesn't works for me. I'm speaking around three hundreds clients that doesn't works. But the bug is not continous, it's appears randomly. –  ssoto  yesterday

When this happens there is often an error message indicating why it failed to start X.

Look in your /var/log/Xorg.0.log.old or /var/log/Xorg.0.log. The error (if there is one) will be at the tail end of the file. Another good place to look is the log files in /var/log/gdm/* (or /var/log/lightdm/* in oneiric).

Did you happen to manually install fglrx prior to noticing the problem? If it was not uninstalled properly it can cause weird random issues. Directions for purging fglrx are available at here.

Is your video card an AGP model? If so, a common issue with ati agp cards is having an incorrect AGPMode. Sometimes you can adjust this setting in your BIOS (which perhaps windows screwed with?) There is also a setting in /etc/X11/xorg.conf for adjusting it in X.

share improve this answer
   

You have too many files on your computer, and have exhausted disk space

Try moving personal files off the computer onto a USB drive.


To check whether this is the issue:

  1. Press Ctrl + Alt + F1
  2. Type df -h
  3. If you see that there is no space available on the root (/) then you need to free some space.

To free space you can:

  1. sudo apt-get autoclean
  2. Look for large directories with sudo du -sc /*/* |sort -g and delete unwanted content,
  3. Clean your home directory using a combination of

    cd ~   
    du -sc * |sort -g
    rm myLargeFile

When this is done, restart: shutdown -r now

share improve this answer
 
 
It is a valid reason. If you exhaust disk space. Ubuntu will run in low graphics mode. I tested this in virtual machine. –  Web-E  Nov 23 '12 at 10:46
 
thanks Azul, it worked for me –  RameshVel  Apr 1 at 6:26
1  
Thanks! This did the job for me. Initially I did not think of checking the remaining space on the SSD. –  Andre May 5 at 0:31
 
Thanks that was my problem. –  EFalco  Jun 12 at 8:36
 
Happens also in 13.04. This is definitely a usability bug since there is no message anywhere that can give a clue about the disk space issue. –  Avio  Jul 18 at 6:32

Only for ATI graphics cards

When the message that "your system is running in low-graphics mode" appears:
Press Ctrl+Alt+F1 to see the terminal one. Then login with your credentials, and then run the following commands:

sudo apt-get install fglrx    
sudo reboot

The same can be done from the recovery mode (after enabling networking), if your Ubuntu completly refuses to enter anything but recovery mode.

share improve this answer
   

Let's assume, arrogantly, that it is a problem with your X display manager.

Enter the terminal (you can use a virtual console if you cannot use a graphical terminal window), the one you said that you have access to, and enter the following:

sudo apt-get install gdm

. . . and choose gdm.

Then type:

sudo service gdm restart

(Or ... start instead of restart.)

According to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1070150 this is a way to workaround a bug with lightdm.

Before typing that, you may need to first stop the other display manager that is running. This is usually LightDM:

sudo service lightdm stop

If you have trouble getting GDM to start, and this is an installed system rather than a live environment, then you can just reboot and it will start automatically because you configured it as the default display manager. (You should be able to shut down and restart normally. Otherwise, one way to reboot if the GUI is not working properly is to press Ctrl+Alt+Delete while on a virtual console.)

share improve this answer
   
  • If you have a problem with the restricted (closed source) driver , then try to remove it.

Open a terminal and give this command

gksudo software-properties-gtk 

Goto Additional drivers and remove the dirver. You have to mark the Using X.Org X server -- Nouveau.

Then Reboot.

Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

  • If you have not access at all to the Desktop Environment then use the Recovery Mode.

To remove the Nvidia current driver in Ubuntu 12.10

Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

Select the Network and your root partition will mounted as Read-Write.

Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

Select the Root Ubuntu 12.04 双显卡笔记本安装驱动【汇总】

And then give these commands with order

apt-get remove --purge nvidia-current 
rm /etc/X11/xorg.conf
apt-get install ubuntu-desktop
reboot

The last command will reboot your system and hopefully you will login normally in next reboot with the Open Source nouveau driver.

  • If you have problem with the open source driver (nouveau) , in the same manner (from recovery mode) try to install the restricted (Nvidia) driver with these commands

When you reach the Root selection and after select root

To install nvidia-current driver.

 apt-get install linux-source 
apt-get install linux-headers-$(uname -r)
apt-get install nvidia-current
nvidia-xconfig
reboot

According to this answer : Ubuntu 12.10 Desktop does not show when I installed nvidia drivers! may need to install or reinstall the linux-headers to get the restricted Nvidia drivers work properly.

share improve this answer
 
 
This is not a problem with the restricted or closed driver. It came just after i had a fresh install of 12.10 on my laptop. –  Vivek Anand  Oct 20 '12 at 6:41
 
Then try to do the opposite . Follow the guide from recovery mode and install the restricted driver , when you reach the root environment give these commands apt-get install nvidia-current and nvidia-xconfig and reboot I edited my answer. –  NikTh  Oct 20 '12 at 6:46
 
Didn't work on my laptop :( –  Vivek Anand  Oct 24 '12 at 14:35
 
You are a legend, man. This solved my problems. It astounds me that after TWELVE years they still haven't included a solid default multi-monitor installation for one of the TWO most common graphics card types in the world. –  Swader  Oct 25 '12 at 21:21

Follow these commands:

sudo apt-get update
sudo apt-get -d install --reinstall gdm
sudo apt-get remove --purge gdm

(I ran this command above, but was told by the system to use # sudo apt-get autoremove instead, after the #sudo apt-get remove --purge gdm command.)

sudo apt-get install gdm

select GDM when prompted

sudo reboot

That fixed it for me :)

It took very long to start after the reboot, 10+ mins. But I got in eventually.

share improve this answer
   

I have recently received a similar issue with myPangolin Performance laptop. The folks at System 76 told me to do the following:

Click Okay and then select the option to get a terminal. (alternatively you can press ctr+alt+f1 to bring up another tty)

sudo chown lightdm:lightdm -R /var/lib/lightdm
sudo chown avahi-autoipd:avahi-autoipd -R /var/lib/avahi-autoipd
sudo chown colord:colord -R /var/lib/colord

reboot

These commands did the trick for me.

share improve this answer
   

This problem destroyed my morning. It turns out that if your root filesystem runs out of space then Ubuntu will boot into low graphics mode and it's hard to figure out why since the xorg log shows nothing wrong. To find out from the command line if you're low on space type

df -h

Sample output from my machine:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6 18G 10G 6.6G 61% /
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 3.9G 108K 3.9G 1% /tmp
tmpfs 1.6G 1.2M 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 1.3M 3.9G 1% /run/shm
none 100M 16K 100M 1% /run/user
/dev/sda4 317G 33G 285G 11% /media/data
/dev/sda1 197M 16M 182M 8% /boot/efi

If your / mount has a high Use% (90%+) then this could be your problem. In my case,~/.xsession.errors had grown to fill most of my partition and caused me to fall into low-graphics mode. Found my answer for that in this Ubuntuforums thread:

rm ~/.xsession-errors
mkdir ~/.xsession-errors
share improve this answer
   

Well, I had the same problem and solved it.

  1. Start ubuntu with recovery mode from grub then choose filesystem check followed by enable networking.

  2. Choose root option to get to terminal. Now uninstall the old drivers

    sh /usr/share/ati/fglrx-uninstall

  3. Then reinstall the drivers following the methods for precise from this websitehttps://help.ubuntu.com/community/BinaryDriverHowto/ATI.

  4. After that everything works out just fine, I suggest you do

    apt-get update && apt-get upgrade && apt-get autoremove

    -everytime you complete a step. Good luck.

share improve this answer
   

I had the same problem with an Acer Aspire 3810tg. I solved it by doing the following:

  • Do a normal boot
  • Press Ctrl-Alt-F1 on the "Your system is running in low-graphics mode" screen
  • Download the correct driver from http://support.amd.com/us/gpudownload/Pages/index.aspx, in my case (ATI Mobility Radeon HD 4330): wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run which should also cover your case (Mobility Radeon HD 4xxx Series)
  • chmod 755 amd-driver-installer-12-4-x86.x86_64.run to make the file executable
  • sudo ./amd-driver-installer-12-4-x86.x86_64.run and follow the standard steps
  • You might need to run: sudo aticonfig --initial, but that was not necessary for me.

In my case the driver installation finished with an error, but it still worked. I hope this helps.

share improve this answer
   

It is not related to nvidia drivers. Because by default Ubuntu uses non-nvidia drivers even though you might have nvidia GPUs. I have an nvidia GPU too.

My Ubuntu used to boot fine until something happened which caused the same issue. After reading posts, reading logs and little bit trial and error, turns out the problem is related to lightdm GUI server.

I dont know solution to the problem but there is a quick work around in 3 steps. This will save you from reinstalling Ubuntu.

Step1: When the error shows up, hit Ctrl+Alt+F1. This will open the commandline interface. Login as root.

Step2: Remove a particular X11 config file. This file is not really required.

rm /etc/X11/xorg.conf.failsafe

Somehow the existence of the above X11 configuration file causes the OS to throw that error.

Step3: Restart lightdm GUI server.

service lightdm restart

This will restart the lightdm GUI server and voila your desktop is back!

share improve this answer
   

Try delete your /etc/X11/xorg.conf and restart.

Before restart, run

sudo apt-get install xserver-xorg-video-ati xserver-xorg-video-radeon
share improve this answer
   

I had a similar problem.

When I was booting my PC, i was getting the following message: “Ubuntu is running in low-graphics mode”

When I used startx on the command prompt however, everything was fine and i could start the xserver.

Now I found out that for some strange reason GDM has been uninstalled (it took me hours to realize that), i did fix the problem by reinstalling gdm with:

apt-get install gdm

now everything's running. Hope this helps you.

share improve this answer
   

Install gdm.

During the installation of gdm you will be asked to select either gdm or lightdm as the default login display manager. Select gdm.

By the way, the fact that you have this problem on 2 different computers is a sign that there may be an irregular voltage to your computer power supply. To test for this possibility take one computer to a different address and try booting it there.

share improve this answer
   

Wich ubuntu version are you running? Did you installed graphics drivers before the problem or is it a post clean-os-install issue? Giving some more info would be helpful for us to help you.

If you messed with the graphic drivers before the problem came up, get to the login screen, press Ctrl+Alt+F1, login, then:

  • sudo apt-get purge nvidia-*
  • sudo apt-get autoremove
  • sudo apt-get linux-source linux-headers-generic
  • sudo apt-get install nvidia-current
  • sudo nvidia-xconfig
  • sudo shutdown -r now

Of course, if you have an ATI videocard you have to change the nvidia-* and nvidia-current for your ATI drivers package.

share improve this answer
 
 
What are you expecting to do with sudo apt-get linux-source linux-headers-generic, apt-get will return error. –  Braiam  Jul 26 at 1:31

Try to boot from grub using a different parameter or even booting an older kernel from the list.

https://help.ubuntu.com/community/BootOptions

See the section on kernel options. Something like: xforcevesa

Good luck! :)

share improve this answer
   

Follow these commands:

sudo apt-get update
sudo apt-get -d install --reinstall gdm
sudo apt-get remove --purge gdm
sudo apt-get install gdm
sudo apt-get remove --purge xserver-xgl compiz compiz-plugins compiz-core compiz-manager csm cgwd cgwd-themes
sudo apt-get install --reinstall compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins libcompizconfig0
sudo dpkg-reconfigure -phigh xserver-xorg

choose the driver 'ati' and when you get to monitor resolution choose the resolution you want to run and any resolution ABOVE that resolution should be removed. Once that is done issue the following:*

sudo reboot

You will most likely get errors on specific packages. Repeat the command removing the problem package until it works.

There will be a time where you will be without the desktop, so have another internet connected device nearby to reference this from or to Google with in case of emergency.

This worked for me, hope this helps.

*If you are never prompted, just skip this.

share improve this answer
   

I had a special case of this problem, where I somehow caused the removal of some packages. I only noticed the actual problem after some time spent looking at the problem.

So:

  1. Log into the text mode console
  2. Enter the command: sudo apt-get install ubuntu-desktop

This will ensure all the needed packages are installed. Without some of those, symptoms like those described here may occur.

share improve this answer
   

You said that you were stuck in low graphics mode and now you say that you can only get a command prompt. What happens when you type: startx

If you are stuck in a command prompt all is not lost. You can still reconfigure xserver with: sudo dpkg --reconfigure --phigh xserver-xorg

share improve this answer
 
1  
dpkg-reconfigure xorg no longer does anything useful, since X is generally much better at detecting your hardware than our crufty old maintainer scripts were. –  RAOF  Nov 2 '10 at 5:50
 
not allays true @RAOF, I have some old hardware that can not be properly detected unless I reinstall xorg completely. –  Mateo  Nov 30 '12 at 22:15

I had the issue when I upgraded from 11.10 on my Acer Aspire One AO-722. I also had the propriety ATi/AMD driver installed from 11.10, which carried over to the 12.04 installation. I followed this guide to remove the proprietary drivers and use the Open Source drivers.http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide#Removing_Catalyst.2FfglrxEverything seems to be working now.

share improve this answer
 
1  
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  fossfreedom  May 7 '12 at 8:58

You need to install the kernel headers manually then reinstall nvidia for some reason then the nvidia drivers will work

share improve this answer
 
 
The modules for the driver have to be build for the individual kernel to use and this is why the kernel headers have to be installed. Usually they are pulled in via dependencies when installing the drivers. –  LiveWireBT  Oct 23 '12 at 4:10
 
It didn't work for me. I installed the headers and then the drivers as mentioned :( –  Vivek Anand  Oct 24 '12 at 14:36

Your Memory may be bad.

If you experience Low graphics mode intermittently like I was.

  1. Run a memory check to check for memory errors.

  2. Buy New memory(Make sure it is the right type for your computer)

  3. Run the memory test again, to make sure all is good.

The Low Graphics Mode error should now be gone.

share improve this answer
   
  1. Press CTRL+ALT+F1 to open a terminal
  2. log in
  3. look at the end of your /var/log/Xorg.0.log
  4. if the message error is Cannot run in framebuffer mode. Please specify busIDs. then run the following commands:

    sudo apt-get install --reinstall lightdm
    sudo reboot
share improve this answer
   

I'm running Ubuntu 12.04 on a Toshiba Portege R100. I got this error after the first bootup after install. After downloading and updating the graphics driver (Trident Cyberblade), what worked for me was creating a driver-specific .conf file as described in this Arch-Linux wiki:https://wiki.archlinux.org/index.php/Trident.

share improve this answer
 
 
Wanted to add that, clearly, this is an Arch Linux link, not an Ubuntu link, but the solution worked for me. Now, however, I'm digging into it further, in terms of turning different options on and off, and I realize it works very differently from the way described in the comments. So keep this in mind if you try this. –  David  Apr 29 at 1:47

Phenomenon: I first saw Booting without full network configuration message that never ended. After Action-1 below, I faced The system is running in low-graphics mode issue.

Action-1: Force to shutdown the machine (by keeping power button pressed as normal). Choose recovery boot.

Effective solution: Remove & install xserver-xorg, inspired by this thread.


Edit) after creating xorg.conf and had it read in xserver, I faced the same issue again. This time, in addition to re-install xserver-xorg, I had to create /etc/X11/xorg.conf file (I did so by copying the backup file I already made).

share improve this answer
 
 
@guntbert agreed. I updated my answer. –  IsaacS  Apr 2 at 21:08

I fixed this problem by creating a new xorg.conf file (copying the text from xorg.conf.failsafe).

Details: http://askubuntu.com/a/296217/55223

share improve this answer
   

Go to System, Administration and click on Hardware drivers (in Maverick it is called Additional Drivers). It will search for and allow you to install the proper graphics driver which should allow you to run in higher res.

In Linux there are two ways to do most things, by the GUI or by the terminal. This is easier for most people used to a graphical user interface. The second GUI way to do it would be to go to Software Center or Synaptic and install the packages in the previous post. Search for them in the search bar. I don't think that Ubuntu has used xorg.conf for awhile, so it would not help to look for it.

share improve this answer
 
——————————————————————————————————————————————————————————————————————————————