Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Nvidia drivers and/or Xserver not working fully, complete beginner

  1. #1
    Join Date
    Sep 2011
    Beans
    14

    Nvidia drivers and/or Xserver not working fully, complete beginner

    I am completely new to ubuntu and struggling with simple things
    still, so apologies if I sy anything daft.

    Installed Ubuntu 11.04 for the first time, put it on a usb stick to test it. Worked and looked great. So I installed it, but the first thing that happened when I loaded up was the message:

    It seems you do not have the hardware required to run unity. Please choose Ubuntu classic at the login screen and you will be using the traditional environment.

    Ok so I figured this isn't the end of the world and carried on.
    Although the laptop is quite new and I was suprised it was not
    considered good enough for unity (didnt know what unity was until I looked it up).

    Now I didn't think any more of it until I clicked the Nvidia X
    Server Settings in System > Administration on the bar at the top. I got the message:

    You do not appear to be using the Nvidia X driver. Please edit your X configuration file (just run 'nvidia-xconfig' as root), and restart the X server.

    So I tried to do as it suggested but nothing seemed to happen, and the message poped up each time I opened Nvidia X Server Settings.

    Then I figure maybe I just dont have the right drivers. So I go to System > Administration and open Aditional Drivers. It tells me that it has the latest drivers('This driver is activated but not in use') for Nvidia, but it is not using them.

    So I know (read as 'am guessing') that something is wrong with Nvidia X server and/or the drivers I have, but no idea what exactly, what to do about it, or how to start working out what needs fixing.

    Any advice will have to be solid gold fool proof, and will be
    greatly appreciated.

    I have tried many solutions to what might be my problem from
    numerous forums, each time it has not worked, or caused Ubuntu to
    stop working, and I have had to reinstall Ubuntu twice.

    How do I get Unity to work? And therby know that my video drivers are installed and working as they should be?

    Thank you

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,274
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Welcome to the forums!

    There's a bug on the program 'Additional Drivers' that doesn't report correctly the use of the driver (even though you may be using it).

    In order to make sure you are running the Nvidia driver:

    Backup your X config file first:
    Code:
    $ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
    Then run the Nvidia X Server Setings:
    Code:
    $ gksudo nvidia-settings
    Select X Server Display Configuration (left). In the right press 'Save to X Configuration File'. Restart your machine.

    To make 100% sure you are using the driver, the result of these command:
    Code:
    $ grep -i nvidia /var/log/Xorg.0.log
    Should be something similar to this:
    Code:
    (--) PCI:*(0:1:0:0) 10de:0640:3842:c959 nVidia Corporation G96 [GeForce 9500 GT] rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xdc000000/33554432, I/O @ 0x0000dc80/128, BIOS @ 0x????????/524288
    (II) Module glx: vendor="NVIDIA Corporation"
    (II) NVIDIA GLX Module  195.36.24  Thu Apr 22 10:38:29 PDT 2010
    (II) LoadModule: "nvidia"
    (II) Loading /usr/lib/xorg/extra-modules/nvidia_drv.so
    (II) Module nvidia: vendor="NVIDIA Corporation"
    (II) NVIDIA dlloader X Driver  195.36.24  Thu Apr 22 09:34:29 PDT 2010
    (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Option "TwinView" "0"
    (**) NVIDIA(0): Option "MetaModes" "DFP-0: nvidia-auto-select +0+0"
    (**) NVIDIA(0): Option "CustomEDID" "DFP-1:/home/pablo/xfiles/newedid.bin"
    (**) Sep 15 09:08:17 NVIDIA(0): Enabling RENDER acceleration
    (II) Sep 15 09:08:17 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    (II) Sep 15 09:08:17 NVIDIA(0):     enabled.
    (II) Sep 15 09:08:19 NVIDIA(0): NVIDIA GPU GeForce 9500 GT (G96) at PCI:1:0:0 (GPU-0)
    (--) Sep 15 09:08:19 NVIDIA(0): Memory: 1048576 kBytes
    ...
    With no errors (indicated by EE)

    Once that's up and working, when can check how ready your system is for Unity.

    Tell us how it goes,
    Regadards.

  3. #3
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Quote Originally Posted by Akiyatsu View Post
    I am completely new to ubuntu and struggling with simple things
    still, so apologies if I sy anything daft.

    Installed Ubuntu 11.04 for the first time, put it on a usb stick to test it. Worked and looked great. So I installed it, but the first thing that happened when I loaded up was the message:

    It seems you do not have the hardware required to run unity. Please choose Ubuntu classic at the login screen and you will be using the traditional environment.

    Ok so I figured this isn't the end of the world and carried on.
    Although the laptop is quite new and I was suprised it was not
    considered good enough for unity (didnt know what unity was until I looked it up).

    Now I didn't think any more of it until I clicked the Nvidia X
    Server Settings in System > Administration on the bar at the top. I got the message:

    You do not appear to be using the Nvidia X driver. Please edit your X configuration file (just run 'nvidia-xconfig' as root), and restart the X server.

    So I tried to do as it suggested but nothing seemed to happen, and the message poped up each time I opened Nvidia X Server Settings.

    Then I figure maybe I just dont have the right drivers. So I go to System > Administration and open Aditional Drivers. It tells me that it has the latest drivers('This driver is activated but not in use') for Nvidia, but it is not using them.

    So I know (read as 'am guessing') that something is wrong with Nvidia X server and/or the drivers I have, but no idea what exactly, what to do about it, or how to start working out what needs fixing.

    Any advice will have to be solid gold fool proof, and will be
    greatly appreciated.

    I have tried many solutions to what might be my problem from
    numerous forums, each time it has not worked, or caused Ubuntu to
    stop working, and I have had to reinstall Ubuntu twice.

    How do I get Unity to work? And therby know that my video drivers are installed and working as they should be?

    Thank you
    post output of
    Code:
    lsmod
    Ubuntu Forums Moderation Staff
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  4. #4
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,735
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Hi, welcome to the forum! also if you installed a nvidia driver from another source besides additional drivers then you will have two drivers installed and you will need to open synaptic and uninstall one of them.

    Please post the results of this command here, it will tell us if you can run unity.
    Code:
    /usr/lib/nux/unity_support_test -p
    Thank you

  5. #5
    Join Date
    Sep 2011
    Beans
    14

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Thanks very much for the replies.


    I have done a clean install of Ubuntu 11.04, as it was not booting after my attempts to fix/find out what was going on. Update Manager popped up on first boot up, I allowed it to do the recommended updates. Still getting the same Xserver/Unity behavior. If helpful I am using a Dell Inspiron N5110-2997.


    In response to papibe:


    Backup your X config file first:
    $ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old


    This fails with the message cp cannot stat ... No such file or directory.


    Then run the Nvidia X Server Setings:
    $ gksudo nvidia-settings


    Select X Server Display Configuration (left). In the right press 'Save to X Configuration File'. Restart your machine.


    So this opens the nvidia X server settings. On the left there is only 'nvidia-settings Configuration' and it appears selected already. There is no button 'Save to X Configuration File' but there is a similar one 'Save Current Configuration' just above the quit and help button, I assume this is the same thing. I saved the file and restarted.


    To make 100% sure you are using the driver, the result of these command:
    $ grep -i nvidia /var/log/Xorg.0.log

    This gives me the message

    [ 14.033] (II) Module glx: vendor="NVIDIA Corporation"
    [ 14.033] (II) NVIDIA GLX Module 270.41.06 Mon Apr 18 15:11:28 PDT 2011
    [ 14.106] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

    Sorry I follow instructions to the letter but I'm none the wiser still.

    Response to sandyd:

    lsmod gives this read out:

    Module Size Used by
    rfcomm 38125 8
    parport_pc 32111 0
    ppdev 12849 0
    binfmt_misc 13213 1
    sco 17827 2
    bnep 17785 2
    l2cap 48656 16 rfcomm,bnep
    snd_hda_codec_hdmi 27535 4
    snd_hda_codec_idt 60537 1
    nvidia 9766978 0
    arc4 12473 2
    usb_storage 43946 0
    snd_hda_intel 28209 2
    iwlagn 284777 0
    snd_hda_codec 90901 3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
    snd_hwdep 13274 1 snd_hda_codec
    iwlcore 148964 1 iwlagn
    snd_pcm 80042 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    uas 17676 0
    uvcvideo 66851 0
    i915 451068 2
    mac80211 257001 2 iwlagn,iwlcore
    dell_wmi 12601 0
    snd_seq_midi 13132 0
    cfg80211 156212 3 iwlagn,iwlcore,mac80211
    btusb 18160 2
    snd_rawmidi 25269 1 snd_seq_midi
    bluetooth 65493 9 rfcomm,sco,bnep,l2cap,btusb
    dell_laptop 13515 0
    snd_seq_midi_event 14475 1 snd_seq_midi
    sparse_keymap 13666 1 dell_wmi
    dcdbas 14054 1 dell_laptop
    snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
    snd_timer 28659 2 snd_pcm,snd_seq
    videodev 75143 1 uvcvideo
    drm_kms_helper 40745 1 i915
    snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
    psmouse 59039 0
    serio_raw 12990 0
    snd 55295 14 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel ,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_s eq,snd_timer,snd_seq_device
    drm 184164 3 i915,drm_kms_helper
    soundcore 12600 1 snd
    snd_page_alloc 14073 2 snd_hda_intel,snd_pcm
    i2c_algo_bit 13184 1 i915
    video 18951 1 i915
    lp 13349 0
    parport 36746 3 parport_pc,ppdev,lp
    usbhid 41704 0
    hid 77084 1 usbhid
    ahci 21591 3
    xhci_hcd 72190 0
    libahci 25548 1 ahci
    r8169 46630 0

    Response to wildmanne39

    I have not knowingly installed anything, just a clean install, and allowed Ubuntu update to run. Result of your request is:

    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Error: unable to create the OpenGL context


    Thank you again for your replies.

  6. #6
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,735
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Hi, post the results of this command please:
    Code:
    lspci | grep VGA
    Thank you

  7. #7
    Join Date
    Sep 2011
    Beans
    14

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    The result of

    lspci | grep VGA

    is as follows

    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1)

    Thank you.

  8. #8
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,735
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Hi, it looks like you have two video cards one intel and one nvidia, do you know if one is optimus? if so here is a link for it.
    https://github.com/MrMEEE/bumblebee
    Thank you

  9. #9
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Best app ever: Easystroke

  10. #10
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,735
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Nvidia drivers and/or Xserver not working fully, complete beginner

    Hi realzippy, thank you for that great link, you are always full of useful information.

Page 1 of 3 123 LastLast

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
  •