Announcement

Collapse
No announcement yet.

revisit of nouveau to nvidia steps

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    revisit of nouveau to nvidia steps

    Hi all,

    Apparently I am having problems following the steps to get the proprietary nvidia drivers installed.

    I did a clean install of 10.04 in May [using the official release], and have been running it for about a month now. I like everything except for the lack of good video options, so I wanted to upgrade to the nvidia drivers.

    I read through the steps, and decided to give it a go, starting here:

    http://kubuntuforums.net/forums/inde...opic=3107406.0

    I started with option 2, since back in the alpha days of 10.04, I tried option 1 and I couldn't boot into X at all afterwards.

    I have a GeForce 7300 GS, which is supported by the 195 driver from nvidia, and downloaded that.

    I added the two lines to the blacklist file as mentioned [copy and paste so no typos], and then rebooted.

    I guess the first sign of trouble is after blacklisting and rebooting several times, these two items still show up with lspci -k

    01:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7300 GS] (rev a1)
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau


    I'm guessing that isn't good.

    But, I pressed onward, and did all of the other steps. I downloaded the file, installed all of the headers and build-essential, and then went to the console and ran the file.

    I get the warning that something else is still installed, and might cause problems, so I choose not to continue after that.

    I'm at a loss for where it is. I looked for nouveau, and did the apt-get remove --purge linux-backports-modules-nouveau-2.6.32-22 command [along with other versions -14, -21, etc] looking for the slimy thing, but couldn't find any mention of it - yet on every reboot it comes up as the primary video driver, and the module is used, even when blacklisted.

    I'm hoping I can find some help here, because it doesn't make any sense to me why it isn't working.

    thanks






    #2
    Re: revisit of nouveau to nvidia steps

    Why haven't you installed nvidia-current driver from repository? Much easier to install.

    Comment


      #3
      Re: revisit of nouveau to nvidia steps

      is that one of the options now?

      does it take away nouveau?

      thanks

      Comment


        #4
        Re: revisit of nouveau to nvidia steps

        nvidia-current doesn't always take the last driver. On my dads PC, it took 173, which is deprecated. And his videocard is supported by the 195 driver, so I don't see why it took that old driver.

        So you may to install 195 by hand via KPackageKit, Adept or whatever package manager you use.
        Most important laptop specs (this is my main computer, with Kubuntu on it):<br /><br />4096MB RAM (DDR2)<br />500GB Hard Disk<br />ATI Mobility Radeon 4570HD Videocard with 512MB GDDR3 RAM, up to 2280MB VRAM<br />Intel® Core™ 2 Duo-processor T6600<br /><br />OS: Kubuntu 10.10

        Comment


          #5
          Re: revisit of nouveau to nvidia steps

          Apparently, the step in which you were supposed to blacklist nouveau and nvidiafb was not executed as you thought.

          To make new blacklist entry in /etc/modprobe.d/blacklist.conf, you need to:

          1. Open a text editor in Super User (aka "root") mode:

          Alt-F2 "kdesudo kate" with no quote marks, give your password, and then click "File > Open" and browse to the file /etc/modprobe.d/blacklist.conf

          2. Open that file, and cursor to the end of it -- there should be an empty line after whatever the last entry is.

          3. Type "blacklist nouveau", hit Enter to go to a new line, type "blacklist nvidiafb" (both with no quote marks), hit Enter to go to a new blank line, then click "File > Save", then exit kate.

          Now you have to reboot the computer, for the new blacklist to be in effect. Then you can proceed with the instruction that you used.

          The point at which you aborted, where the Nvidia installer says it found an existing something-or-other installed, should not be a problem -- I'm pretty certain you want to answer "yes" on that and continue with the installation.


          NOTE: I'm not certain the Nvidia Framebuffer module really needs to be blacklisted -- it definitely does not, on my hardware, but it may on some others.

          Comment


            #6
            Re: revisit of nouveau to nvidia steps

            I retyped the blacklist.conf with kdesudo and kate, and still I get both of the modules loaded when I reboot.

            If I only have the nouveau driver installed, what happens if I blacklist it? What video driver will/should the kernel use?

            Here are the last few lines of the blacklist.conf file:

            # EDAC driver for amd76x clashes with the agp driver preventing the aperture
            # from being initialised (Ubuntu: #297750). Blacklist so that the driver
            # continues to build and is installable for the few cases where its
            # really needed.
            blacklist amd76x_edac
            blacklist nouveau
            blacklist nvidiafb

            Would I need to create a new section with #'s? I'm assuming they are commented and not really needed.

            Is the blacklist.conf file always used? Do I need to turn it on somehow?

            thanks

            Comment


              #7
              Re: revisit of nouveau to nvidia steps

              That's weird.

              Yes, open that file again, and insert a space between each line after "blacklist amd76x_edac", make sure there is one extra carriage return at the end of it, then save it and reboot.

              Those modules should not be loaded if it's booting correctly.

              I'll paste in mine, just so you can see what it looks like (and working well).


              # This file lists those modules which we don't want to be loaded by
              # alias expansion, usually so some other driver will be loaded for the
              # device instead.

              # evbug is a debug tool that should be loaded explicitly
              blacklist evbug

              # these drivers are very simple, the HID drivers are usually preferred
              blacklist usbmouse
              blacklist usbkbd

              # replaced by e100
              blacklist eepro100

              # replaced by tulip
              blacklist de4x5

              # causes no end of confusion by creating unexpected network interfaces
              blacklist eth1394

              # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
              # hardware on its own (Ubuntu bug #2011, #6810)
              blacklist snd_intel8x0m

              # Conflicts with dvb driver (which is better for handling this device)
              blacklist snd_aw2

              # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
              blacklist i2c_i801

              # replaced by p54pci
              blacklist prism54

              # replaced by b43 and ssb.
              blacklist bcm43xx

              # most apps now use garmin usb driver directly (Ubuntu: #114565)
              blacklist garmin_gps

              # replaced by asus-laptop (Ubuntu: #184721)
              blacklist asus_acpi

              # low-quality, just noise when being used for sound playback, causes
              # hangs at desktop session start (Ubuntu: #246969)
              blacklist snd_pcsp

              # ugly and loud noise, getting on everyone's nerves; this should be done by a
              # nice pulseaudio bing (Ubuntu: #77010)
              blacklist pcspkr

              # EDAC driver for amd76x clashes with the agp driver preventing the aperture
              # from being initialised (Ubuntu: #297750). Blacklist so that the driver
              # continues to build and is installable for the few cases where its
              # really needed.
              blacklist amd76x_edac
              blacklist nouveau

              #Logitech headset will lock up VMWare if this is loaded
              blacklist snd_usb_audio

              Comment


                #8
                Re: revisit of nouveau to nvidia steps

                Still stuck.

                I compared my blacklist.conf file with the posted one, and they were very similar, up to the end, so I just deleted my file completely and then pasted the posted one into kdesudo kate, and saved it as /etc/modprobe.d/blacklist.conf

                still came up with nouveau as the video driver in lspci -k

                During boot, I do see a whole bunch of nouveau stuff - which I'm guessing shouldn't happen if the blacklist is working. Or, if there are no alternative drivers? Is there a kernel option that is needed or something?

                Here is the boot stuff:

                [ 2.195839] nouveau 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
                [ 2.195944] nouveau 0000:01:00.0: setting latency timer to 64
                [ 2.201210] [drm] nouveau 0000:01:00.0: Detected an NV40 generation card (0x046f00a3)
                [ 2.201602] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
                [ 2.409671] [drm] nouveau 0000:01:00.0: ... appears to be valid
                [ 2.409736] [drm] nouveau 0000:01:00.0: BIT BIOS found
                [ 2.409798] [drm] nouveau 0000:01:00.0: Bios version 05.72.22.43
                [ 2.409864] [drm] nouveau 0000:01:00.0: TMDS table script pointers not stubbed
                [ 2.409937] [drm] nouveau 0000:01:00.0: BIT table 'd' not found
                [ 2.410029] [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 3.0
                [ 2.410105] [drm] nouveau 0000:01:00.0: DCB connector table: VHER 0x30 5 10 2
                [ 2.410169] [drm] nouveau 0000:01:00.0: 0: 0x00000000: type 0x00 idx 0 tag 0xff
                [ 2.410244] [drm] nouveau 0000:01:00.0: 1: 0x00002130: type 0x30 idx 1 tag 0x08
                [ 2.410318] [drm] nouveau 0000:01:00.0: 2: 0x00000210: type 0x10 idx 2 tag 0xff
                [ 2.410394] [drm] nouveau 0000:01:00.0: 3: 0x00000211: type 0x11 idx 2 tag 0xff
                [ 2.410468] [drm] nouveau 0000:01:00.0: 4: 0x00000213: type 0x13 idx 2 tag 0xff
                [ 2.410542] [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00000028
                [ 2.410607] [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 02011310 00000028
                [ 2.410671] [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 01011312 00000000
                [ 2.410735] [drm] nouveau 0000:01:00.0: Raw DCB entry 3: 020223f1 00c0c080
                [ 2.410804] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xE0F0
                [ 2.410935] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xE41F
                [ 2.413399] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[21] MMIO=[fdefe000-fdefe7ff] Max Packet=[2048] IR/IT contexts=[4/8]
                [ 2.456180] usb 3-3: configuration #1 chosen from 1 choice
                [ 2.469170] usbcore: registered new interface driver hiddev
                [ 2.474422] input: HID 0461:4d09 as /devices/pci0000:00/0000:00:13.1/usb3/3-3/3-3:1.0/input/input4
                [ 2.474680] generic-usb 0003:0461:4D09.0001: input,hidraw0: USB HID v1.00 Mouse [HID 0461:4d09] on usb-0000:00:13.1-3/input0
                [ 2.474782] usbcore: registered new interface driver usbhid
                [ 2.474939] usbhid: v2.6:USB HID core driver
                [ 2.590242] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xE9BD
                [ 2.590343] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xEB38
                [ 2.610191] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xED91
                [ 2.620388] [TTM] Zone kernel: Available graphics memory: 1545594 kiB.
                [ 2.620460] [drm] nouveau 0000:01:00.0: 256 MiB VRAM
                [ 2.621915] [drm] nouveau 0000:01:00.0: 64 MiB GART (aperture)
                [ 2.622233] [drm] nouveau 0000:01:00.0: Allocating FIFO number 0
                [ 2.622833] [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 0
                [ 2.622912] [drm] nouveau 0000:01:00.0: Initial CRTC_OWNER is 0
                [ 2.623007] [drm] nouveau 0000:01:00.0: Saving VGA fonts
                [ 2.689590] [drm] nouveau 0000:01:00.0: Detected a VGA connector
                [ 2.689803] [drm] nouveau 0000:01:00.0: Detected a DVI-I connector
                [ 2.689937] [drm] nouveau 0000:01:00.0: Detected a TV connector
                [ 2.692117] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
                [ 2.692196] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 1)
                [ 2.692274] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 2)
                [ 2.692353] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
                [ 2.816918] composite sync not supported
                [ 2.921413] usb 3-4: new full speed USB device using ohci_hcd and address 4
                [ 2.980172] [drm] nouveau 0000:01:00.0: allocated 1280x1024 fb: 0x49000, bo ffff8800378be000
                [ 2.980358] fb0: nouveaufb frame buffer device
                [ 2.980419] registered panic notifier
                [ 2.980482] [drm] Initialized nouveau 0.0.15 20090420 for 0000:01:00.0 on minor 0
                [ 2.982299] vga16fb: initializing
                [ 2.982304] vga16fb: mapped to 0xffff8800000a0000
                [ 2.982373] vga16fb: not registering due to another framebuffer present
                [ 3.001701] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
                [ 3.001706] [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
                [ 3.013684] [drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 1 using output A
                [ 3.013689] [drm] nouveau 0000:01:00.0: 0xD4A0: Parsing digital output script table
                [ 3.070025] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on tmds encoder (output 2)
                [ 3.070028] [drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 1 using output A

                Comment


                  #9
                  Re: revisit of nouveau to nvidia steps

                  OK, there's more, apparently, since I originally installed 10.04 Alpha 3.

                  Read down this thread:

                  http://ubuntuforums.org/showthread.p...nouveau+driver

                  Try it following the instructions in #4 and #5 there.

                  Comment


                    #10
                    Re: revisit of nouveau to nvidia steps

                    Also, if you pasted my blacklist.conf file in your /etc/modprobe.d/ directory, note that the snd-usb-audio blacklist will prevent usb speakers or headphones from working (I need it to for a Windows VM). If you need any usb device to play audio, you should remove that from the list.

                    Comment


                      #11
                      Re: revisit of nouveau to nvidia steps

                      Something seems to have worked!!

                      Thanks for the help and patience, dibl.

                      Here is some of what made a difference:

                      Using the links for the other forum topics, the step that seemed to make the blacklist work was the
                      sudo update-initramfs -u
                      step.

                      After that, out of desperation, I did the only step I didn't try - because I was working with a clean install - and didn't figure there were any pieces of nvidia installed, but there were. So
                      sudo apt-get --purge remove nvidia-*
                      was needed, even though I hadn't in any way tried to install these drivers previously, and there were 4 packages installed of differing versions.

                      Then I installed the downloaded driver, the 195 driver for 64 bit, and it went through the install without any hiccups.

                      I ran the update-initramfs -u command a second time, just to make sure the proper modules were loading. I don't know if it was necessary, or even helpful, but it didn't seem to hurt anything.

                      Upon reboot I got one monitor on, and one disabled, so I started the nvidia X server settings and set up the monitors the way they were before. Everything was detected and setup properly, the only problem was an error when trying to write to the xorg.conf file, probably due to permissions. I copied the output and created the file myself.

                      Everything seems to be working just as well as before, though I haven't rebooted yet to test it completely.

                      thanks

                      Comment


                        #12
                        Re: revisit of nouveau to nvidia steps

                        Excellent!

                        I'm going to patch that Ubuntu reference into my "how to" while I'm thinking about it.

                        Comment

                        Working...
                        X