Results 1 to 9 of 9

Thread: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

  1. #1
    Join Date
    Dec 2006
    Location
    Pampanga, Philippines
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    I bought a new PC, i5 cpu with built-in intel graphics.

    I just plugged in my old harddisk from my old laptop with ubuntu 12.04 installed on it. I just plugged in the old harddisk and everything went well, except for the graphics, I guess. This is what is said in the Graphics section of the System Details:

    Driver
    Experience Fallback
    The old laptop had an nvidia graphics card on it, and now my new hardware has a built-in Intel graphics.

    When I try to run glxinfo, it gives me this error:
    Code:
    name of display: :0.0
    Error: couldn't find RGB GLX visual or fbconfig
    I tried purging all Nvidia drivers by:
    Code:
    sudo apt-get purge nvidia*
    which went well by the way, and re-installed xserver-xorg-video-intel, xserver-xorg-core, mesa-utils.

    But when I try to reconfigure xserver by:
    Code:
    sudo dpkg-reconfigure xserver-xorg
    nothing happens. it seems it's not being executed at all. I have tried executing it while "lightdm"is stopped, but still no result.
    You have any idea why it's not working?


    From one post in a forum, he experienced the same thing, and I was able to find out the following error from Xorg log by doing
    Code:
    less /var/log/Xorg.0.log | grep "gl"
    and it gives me this:
    Code:
    [    30.432] (II) LoadModule: "glx"
    [    30.432] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
    [    30.432] (EE) Failed to load /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so: libnvidia-tls.so.295.49: cannot open shared object file: No such file or directory
    [    30.432] (II) UnloadModule: "glx"
    [    30.432] (II) Unloading glx
    [    30.432] (EE) Failed to load module "glx" (loader failed, 7)
    Any ideas how to go about this?

  2. #2
    Join Date
    Apr 2008
    Beans
    10,443

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    I think typically a machine with nVidia creates an "/etc/X11/xorg.conf" file whereas Intel typically does not.

    So you can look by running:

    Code:
    cd /etc/X11
    Then:

    Code:
    ls
    If that shows a file named "xorg.conf" I'd try renaming it by running:

    Code:
    sudo mv xorg.conf xorg.conf_OLD
    Then close the terminal, reboot, and keep your fingers crossed.

  3. #3
    Join Date
    Dec 2006
    Location
    Pampanga, Philippines
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    Oh, I have already removed xorg.conf before and it didn't help

  4. #4
    Join Date
    Dec 2006
    Location
    Pampanga, Philippines
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    bump!

  5. #5
    Join Date
    Sep 2012
    Location
    Virginia, USA
    Beans
    209
    Distro
    Ubuntu Development Release

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    Did you notice in the error message you posted that it is still looking for nvidia-related files? You might be able to force it to stop doing this by generating an xorg.conf file for your current hardware and putting it in /etc/X11/.

    Xorg can auto-generate this file for you by probing your hardware. You can get it to do this by closing everything X-related (so, log out of your desktop, switch to a terminal use CTRL+ALT+F1, and then stop or kill any X-related processes (lightdm, etc.) -- let us know if you need help doing this) and then typing:

    Code:
    Xorg -configure
    That command (you may need to put 'sudo', without the quotes, in front of it) will create an xorg.conf file in your current working directory, which you can then move to /etc/X11/. After doing that, restart and see whether X is working with no problems.
    Asus K55A (Core i5-3210M @ 2.5GHz/8GB RAM/120GB SSD/Intel HD 4000) with Ubuntu 12.10 Beta 2
    Compaq Presario C700 (Pentium Dual-Core @ 1.6GHz/2.5GB RAM/500GB HDD/Intel GM965) with Arch Linux and Linux Mint Debian Edition

  6. #6
    Join Date
    Dec 2006
    Location
    Pampanga, Philippines
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    Hello! thanks for the reply jrog.

    I tried Xorg -configure, while lightdm is stopped, but it gave me the following error:
    Code:
    (++) Using config file: "home/garu/xorg.conf.new"
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    Number of created screens does not match number of detected devices.
    Configuration failed.
    ddxSigGiveUp: Closing log
    Server terminated with error (2). Closing log file.

  7. #7
    Join Date
    Dec 2006
    Location
    Pampanga, Philippines
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    I don't know what happened, but everything worked after trying out the commands from this link.

    although it gave the same error, and the "dpkg-reconfigure" part still didn't seem to work.

    After trying out those commands, it worked!

    I'm thinking it must be this command:
    Code:
    [ -f xorg.conf* ] && sudo mv xorg.conf* /etc/X11/xorg.conf
    what does it do? I understand, there is this xorg.conf.new being generated in the Home directory, and it seems it is just copied to /etc/X11/xorg.conf. am I right?

  8. #8
    Join Date
    Sep 2012
    Location
    Virginia, USA
    Beans
    209
    Distro
    Ubuntu Development Release

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    Quote Originally Posted by garuhhh View Post
    I don't know what happened, but everything worked after trying out the commands from this link.

    although it gave the same error, and the "dpkg-reconfigure" part still didn't seem to work.

    After trying out those commands, it worked!

    I'm thinking it must be this command:
    Code:
    [ -f xorg.conf* ] && sudo mv xorg.conf* /etc/X11/xorg.conf
    what does it do? I understand, there is this xorg.conf.new being generated in the Home directory, and it seems it is just copied to /etc/X11/xorg.conf. am I right?
    Yes, you're right. The link tells you to do exactly what I told you to do (albeit with some more detail and the added step of reconfiguring some packages). I'm glad it worked! Please mark the thread as solved (using "Thread Tools" toward the top of the page), when you get the chance!
    Asus K55A (Core i5-3210M @ 2.5GHz/8GB RAM/120GB SSD/Intel HD 4000) with Ubuntu 12.10 Beta 2
    Compaq Presario C700 (Pentium Dual-Core @ 1.6GHz/2.5GB RAM/500GB HDD/Intel GM965) with Arch Linux and Linux Mint Debian Edition

  9. #9
    Join Date
    Dec 2006
    Location
    Pampanga, Philippines
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Intel graphics problem with Ubuntu 12.04 -- previously had Nvidia

    Thank you jrog!!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •