PDA

View Full Version : HOWTO: Latest NVIDIA drivers on Ubuntu Breezy


Pages : 1 2 3 4 5 6 [7]

jeradzan12
May 30th, 2006, 09:53 PM
Ok, I am posting this because I looked through this thread the best I can and have yet to find the answer I need. I have been trying to get my video card working. I had done a few installs of Breezy, mostly playing around and a couple because I'm a newbie and screwed something up. The only way I knew to fix it at the time was to reinstall (was too scared of the terminal at that time). Anyway, I used to be able to follow the breezy starter guide's instructions and my card worked perfectly. now when I do it and restart X - it never loads. I just get a black screen and have to restart in recovery mode to put the "nv" driver back. After several hours of playing around piecing together various suggestions from this thread, I was able to at least get X to load with the "nvidia" driver. However, since I did this, my cursor theme went from color to black-and-white which I am still unable to fix. I also cannot get Open GL working or 3d acceleration. Here's my specs: nVidia FX 5700 LE 128MB AGP, AMD 64-bit 3200+ processor with 1 GB RAM. I am also dual-booting with Windows XP Pro 32-bit edition (card works perfectly in Windows so I do not believe it to be a hardware issue)

Here's my lspci:

joe@UbuntuWinXPdb:~$ lspci
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 02)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
0000:00:08.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
0000:00:08.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
0000:00:0a.0 Communication controller: Lucent Microelectronics V.92 56K WinModem (rev 03)
0000:00:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0343 (rev a1)
joe@UbuntuWinXPdb:~$

And here's my xorg.conf:

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# paths to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"

# Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV36 [GeForce FX 5700 LE]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NvAGP" "0"
Option "RenderAccel" "On"
Option "IgnoreDisplayDevices" "DFP,TV"
Option "NoRenderExtension" "On"
Option "Accel" "Off"
Option "AllowGLXWithComposite" "On"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV36 [GeForce FX 5700 LE]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection

Since I am pulling my hair out while writing this, any help would be greatly appreciated. I will do whatever is needed to get this to work as I both want to learn as much as I can about Linux and finally break away from the torture that is Microsoft ](*,)

Thanks again.

M4LFUNCT10N
May 30th, 2006, 10:00 PM
I am getting a little frustrated!!! First time I tried installing the drivers, I had backed up the xorg.conf incorrectly, and since I'm not incredibly adept, found it was easier to just reformat/reinstall Ubuntu. Tried again, following everything to a T(method 1 and note 7 in problems section since I have a geforce 420 go). Still doesn't work. Each time I've tried, upon restart, it fails to load Xserver, and I have to switch to my xorg.conf backup to get back into the gui(Xserver I'm guessing?). Anyway, I'm very adept in all versions of Windows(I'm a sys/net admin), but I feel pretty lost in linux.

Could someone please help me figure this out? I'm guessing it's just one line that my computer doesn't like, but I don't know if I have the patience to cut lines out one at a time....

Oh, FYI... I've got a Toshiba Satellite 1415-s174.
1.8Ghz Celeron
Geforce4 420
512MB DDR
30GB HD
Integrated wireless a/b/g

haircut
May 31st, 2006, 05:01 AM
I have a problem with this.

I first of all installed the Server version of Ubuntu 6.06, this is actully what I will end up using.

I then decided that I wanted to do some testing with Gnome, so I did a: sudo apt-get install ubuntu-desktop

This seemed to work well, I can now use Gnome. Thing is I can't get the install of the nvidia drivers to work, I get the following error:


$ sudo apt-get install linux-restricted-modules-`uname -r`
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-restricted-modules-2.6.15-23-amd64-server


$ uname -a
Linux ubuntu 2.6.15-23-amd64-server #1 SMP Tue May 23 13:57:20 UTC 2006 x86_64 GNU/Linux


I'm gussing it's the name of the Kernal as I still have the server version, what's the best way of dealing with this?

EDIT: Posted in wrong thread, sorry ... I'll try Method 2 from the right thread and see.

tseliot
May 31st, 2006, 09:02 AM
Ok, I am posting this because I looked through this thread the best I can and have yet to find the answer I need. I have been trying to get my video card working. I had done a few installs of Breezy, mostly playing around and a couple because I'm a newbie and screwed something up. The only way I knew to fix it at the time was to reinstall (was too scared of the terminal at that time). Anyway, I used to be able to follow the breezy starter guide's instructions and my card worked perfectly. now when I do it and restart X - it never loads. I just get a black screen and have to restart in recovery mode to put the "nv" driver back. After several hours of playing around piecing together various suggestions from this thread, I was able to at least get X to load with the "nvidia" driver. However, since I did this, my cursor theme went from color to black-and-white which I am still unable to fix. I also cannot get Open GL working or 3d acceleration. Here's my specs: nVidia FX 5700 LE 128MB AGP, AMD 64-bit 3200+ processor with 1 GB RAM. I am also dual-booting with Windows XP Pro 32-bit edition (card works perfectly in Windows so I do not believe it to be a hardware issue)

1) As far as your mouse cursor is concerned I can suggest you to add the following options to the Section Device of your xorg.conf:
Option "HWcursor" "Disabled"
Option "SWcursor" "Enabled"

Then log out and press CTRL+ALT+Backspace

2) Can you try my script for Breezy in order to install driver 8762 (it should solve potential conflicts as well)?
http://www.albertomilone.eu/europeo/nvidia_scripts1.html

tseliot
May 31st, 2006, 09:46 AM
I am getting a little frustrated!!! First time I tried installing the drivers, I had backed up the xorg.conf incorrectly, and since I'm not incredibly adept, found it was easier to just reformat/reinstall Ubuntu. Tried again, following everything to a T(method 1 and note 7 in problems section since I have a geforce 420 go). Still doesn't work. Each time I've tried, upon restart, it fails to load Xserver, and I have to switch to my xorg.conf backup to get back into the gui(Xserver I'm guessing?). Anyway, I'm very adept in all versions of Windows(I'm a sys/net admin), but I feel pretty lost in linux.

Could someone please help me figure this out? I'm guessing it's just one line that my computer doesn't like, but I don't know if I have the patience to cut lines out one at a time....

Oh, FYI... I've got a Toshiba Satellite 1415-s174.
1.8Ghz Celeron
Geforce4 420
512MB DDR
30GB HD
Integrated wireless a/b/g
I have updated note 7 in the Problems section, please try it out.

M4LFUNCT10N
May 31st, 2006, 04:03 PM
I have updated note 7 in the Problems section, please try it out.

Still doesn't work... but closer. Gnome(Gnome is the name for the GUI correct?), starts, but I've got the dreaded black bar(not sure if this is typical in linux, but very typical in XP with modified .inf's and drivers), and what is worse, is it's not just the black bar, but the rest of the screen has a weird brown color, with a gray stripe 1/4 up from the bottom of the screen, stretching all the way across. Even without the display correct, everything is working. I logged in blindly, screen was the same, but when I clicked at the top left of the screen, a shadded section dropped down where "applications" should be, however I couldn't see or read anything.

If you can tell me the keystrokes required to create and save a screenshot without seeing menus or using the mouse, I can save and then post it after I switch back to my original xorg.conf.

tseliot
May 31st, 2006, 05:06 PM
Still doesn't work... but closer. Gnome(Gnome is the name for the GUI correct?), starts, but I've got the dreaded black bar(not sure if this is typical in linux, but very typical in XP with modified .inf's and drivers), and what is worse, is it's not just the black bar, but the rest of the screen has a weird brown color, with a gray stripe 1/4 up from the bottom of the screen, stretching all the way across. Even without the display correct, everything is working. I logged in blindly, screen was the same, but when I clicked at the top left of the screen, a shadded section dropped down where "applications" should be, however I couldn't see or read anything.

If you can tell me the keystrokes required to create and save a screenshot without seeing menus or using the mouse, I can save and then post it after I switch back to my original xorg.conf.
1)Yes, GNOME is the Desktop environment.

2) If you want to take a snapshot of your screen you can press the "print" key on your keyboard (it should be in the same row as "Pause").

3) Did you try both of my suggestions in that note?

jeradzan12
May 31st, 2006, 06:04 PM
1) As far as your mouse cursor is concerned I can suggest you to add the following options to the Section Device of your xorg.conf:
Option "HWcursor" "Disabled"
Option "SWcursor" "Enabled"

Then log out and press CTRL+ALT+Backspace

2) Can you try my script for Breezy in order to install driver 8762 (it should solve potential conflicts as well)?
http://www.albertomilone.eu/europeo/nvidia_scripts1.html


Hello again and thanks for the info you provided. Unfortunately the added options for the cursor had no effect. The same goes with your script as I still do not have OpenGL or 3D acceleration. Do you have any more suggestions?

Thanks again

CORRECTION: After I restarted X a few times, the cursor is back to normal. However the nvidia drivers are not working at all now. I get the blue screen at startup stating the X server failed to load. I was not able to write everything down because of the length of the error report, but I was receiving load failed errors on glx module, nvidia driver, and nvidia-settings. I think the error stated that none of these existed. did I do something wrong? I followed the instructions to a T.

boercher
May 31st, 2006, 06:58 PM
Thank you for this guide! I wish I'd read it earlier...
Method 2 is exactly what I want - no painful kernel builds anymore, no worries about broken kernel source packages.
My video card is a new GeForce 7900 in a Dell XPS M1710 so I have to use the latest driver - and it works!

moclippa
May 31st, 2006, 07:46 PM
New libs are out that give better support for glx!

They fixed up my broken Nvidia drivers that were causing xserver to give errors... just check your repositories for updates.

To get back into your OS use
$startx

if you get a failed message when you try that then switch your graphics driver temporarily to 'nv' instead of 'nvidia' that should work for you...

update your system, log back in to terminal, switch the drivers back and it should be fine!

M4LFUNCT10N
May 31st, 2006, 08:19 PM
1)Yes, GNOME is the Desktop environment.

2) If you want to take a snapshot of your screen you can press the "print" key on your keyboard (it should be in the same row as "Pause").

3) Did you try both of my suggestions in that note?

Tried both methods. Second just gave me a "failed to start xserver" problems.

Regarding the screenshot... sorry, taking a screenshot isn't really the problem, however saving before a restart is. Unless I can just Ctl+Alt+backspace to the terminal, make the changes, jump back to the gnome and it's still cached.....

tseliot
June 1st, 2006, 12:29 AM
Tried both methods. Second just gave me a "failed to start xserver" problems.

Regarding the screenshot... sorry, taking a screenshot isn't really the problem, however saving before a restart is. Unless I can just Ctl+Alt+backspace to the terminal, make the changes, jump back to the gnome and it's still cached.....
Can you try using only this option instead of the ones from note 7?
Option "ModeValidation" "NoMaxPClkCheck"


And if that doesn't work then try this:
1) use the options from the note that enabled the xserver to work (instead of failing)
2) type:
sudo nano -w /etc/modprobe.d/options
and replace this line:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=1
with the following:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=4

Please tell me if it works

flusteredpie
June 1st, 2006, 04:24 PM
Hi there,

Still having problems getting my GeForce4 440 MX working properly under Breezy 5.10. My original problem was that when i started the machine with the nvidia drivers, i was simply shown a white screen, no nvidia logo, the system hung. I've made a little progress since then.

I'll tell you what i've done thus far.

I first of all followed your instructions in section 7 of the problems section.

sudo nano -w /etc/modprobe.d/options


I had to skip this line as this file doesn't actually exist on my system.


Option "ExactModeTimingsDVI"
Option "UseEdidDpi" "FALSE"
Option "ModeValidation" "NoEdidDFPMaxSizeCheck, NoVesaModes"

Adding the top two lines changed nothing, once i added the third line the drivers finally initiated and i reached the desktop. Hurrah. Next problem was that the system seems to stall intermittently every 10 seconds or so.

I went back to section 4 in the problems regarding stalling and AGP cards. I added all the lines you suggested (and when they failed, the blue line too). Both times when x started up, i was presented with a black screen for a few seconds, and then the monitor simply powered off. The system is usable, but the stalling is incredibly annoying.

Anything else you can suggest?

Thanks for all your help and for writing the guide. I wouldn't have even gotten this far without it!

Neil

tseliot
June 1st, 2006, 04:31 PM
I'll tell you what i've done thus far.

I first of all followed your instructions in section 7 of the problems section.

sudo nano -w /etc/modprobe.d/options


I had to skip this line as this file doesn't actually exist on my system.
Type:
sudo nano -w /etc/modprobe.d/options

It doesn't matter if the file doesn't exist. If the file is blank when you open it with that command, just paste the lines suggested in the note, press CTRL+X to save and exit.

flusteredpie
June 1st, 2006, 05:03 PM
Righty, I created the file and added the new line. It now works if I only use the first two lines suggested in section 7. However, i'm still getting the stalling problem.

As i said before, adding Option "NvAGP" "0" to xorg.conf results in the monitor powering down. Leaving that out, and the other options in, the desktop loads up correctly, but still stalls intermittently as before...

tseliot
June 1st, 2006, 05:36 PM
Righty, I created the file and added the new line. It now works if I only use the first two lines suggested in section 7. However, i'm still getting the stalling problem.

As i said before, adding Option "NvAGP" "0" to xorg.conf results in the monitor powering down. Leaving that out, and the other options in, the desktop loads up correctly, but still stalls intermittently as before...
Please, try this:
sudo nano -w /etc/modprobe.d/options
and replace this line:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=1
with the following:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=4

flusteredpie
June 1st, 2006, 05:50 PM
No effect :(

I'm going to update to Dapper anyway, but is it likely to make any difference?

tseliot
June 1st, 2006, 05:52 PM
No effect :(
I can only suggest you to start a new thread on this forum:
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14&page=2&order=desc

brokenthorn
June 2nd, 2006, 10:48 AM
Hello everybody and please welcome a first time Ubuntu user, me.
This is my first post. I'm here for an older unresolved problem of mine.
I think that graphics performance is very low even after succesfully installing the nvidia drivers (1.0-7667). I've also used the latest drivers on other distributions (Gentoo mainly) and I see the same problem.
The current drivers were installed by apt, and I was following tselliot's walkthrough.
From the walkthrough I understood that it should have installed the latest drivers, but lets leave that behind for now.
To try and explain why I think performance is low I can tell you that medium sized windows resizing is slow and produces ghost lines, resizing a window exposed only to the desktop is slightly faster but still feels smooth/delayed (I wish it was instant) and resizing a window exposed to another window one level behind or more, is slow and also produces the edges and deletes the contents of the window under it, untill it refreshes.
These effects don't usually happen on commercial OS's.
As far as I know it should be an xserver extension problem, meaning I don't have some optimising extension turned on (record is one I know I need).
But I don't know more and wish that if any of you have tips on how to optimise windows drawing, etc, in xorg please share them.
My xorg.conf looks like this (http://brokenthorn.xmgfree.com/text_files/xorg.conf).

tseliot
June 2nd, 2006, 02:45 PM
Hello everybody and please welcome a first time Ubuntu user, me.
This is my first post. I'm here for an older unresolved problem of mine.
I think that graphics performance is very low even after succesfully installing the nvidia drivers (1.0-7667). I've also used the latest drivers on other distributions (Gentoo mainly) and I see the same problem.
The current drivers were installed by apt, and I was following tselliot's walkthrough.
From the walkthrough I understood that it should have installed the latest drivers, but lets leave that behind for now.
To try and explain why I think performance is low I can tell you that medium sized windows resizing is slow and produces ghost lines, resizing a window exposed only to the desktop is slightly faster but still feels smooth/delayed (I wish it was instant) and resizing a window exposed to another window one level behind or more, is slow and also produces the edges and deletes the contents of the window under it, untill it refreshes.
These effects don't usually happen on commercial OS's.
As far as I know it should be an xserver extension problem, meaning I don't have some optimising extension turned on (record is one I know I need).
But I don't know more and wish that if any of you have tips on how to optimise windows drawing, etc, in xorg please share them.
My xorg.conf looks like this (http://brokenthorn.xmgfree.com/text_files/xorg.conf).
23Meg had the same problem if I'm not wrong.

I can only suggest you to:
1) install the latest driver. You can use my script here:
http://www.albertomilone.eu/europeo/nvidia_scripts1.html

2) Then try note 7 of the problems section of this guide (and yes, I know that yours is not a geforce go)

please, tell me if it works

Eclipsor
June 3rd, 2006, 12:56 AM
First post :) Great write up thanks a heap.

Now my problem. I've just reinstalled with Dapper from Breezy because I completely buggered up the upgrade. But anyway, trying to get the video card working again. I followed your type 2 installation on Breezy and it worked fine. Should it work for Dapper?

thanks

edit: oh dear. just saws the big DAPPER USERS link on the first post. Ignore me.

brokenthorn
June 3rd, 2006, 08:27 AM
Yeah, my xorg.conf makes it clear what nvidia card I have ;)

EDIT: Oops! This was a reply to tseliot :-)

tseliot
June 3rd, 2006, 08:42 AM
Yeah, my xorg.conf makes it clear what nvidia card I have ;)

EDIT: Oops! This was a reply to tseliot :-)
Of course, but can you try my suggestion?

brokenthorn
June 3rd, 2006, 08:54 AM
Of course, but can you try my suggestion?
Yes, I'm reading the script so I can see what it will do.
I'm not sure if I need the linux-restricted-modules, I don't run wifi...
I'm going to give it a try. As I see I should be in the shell, out of x11, I'm going to do that, also the script removes the current installed version of nvidia-glx, right?
I'm going to let nvidia configure xorg.conf and backup the current one so I can merge some differences (font paths, etc) if I need to.
If the latest drivers don't bring more performance (it did not on Gentoo) I'm thinking it may be my xorg.conf, so maybe then you could help me with that.
Thank you for the script and the help.

PS - what are SoftEDIDs? I saw that somewhere on this thread.
$ cat /proc/driver/nvidia/registry
VideoMemoryTypeOverride: 1
EnableVia4x: 0
EnableALiAGP: 0
NvAGP: 3
ReqAGPRate: 7
EnableAGPSBA: 1
EnableAGPFW: 1
SoftEDIDs: 1
Mobile: 4294967295
ResmanDebugLevel: 4294967295
FlatPanelMode: 0
DevicesConnected: 0
VideoEnhancement: 0
RmLogonRC: 1
ModifyDeviceFiles: 1
DeviceFileUID: 0
DeviceFileGID: 0
DeviceFileMode: 438

brokenthorn
June 3rd, 2006, 08:58 AM
Oh damn! I just thought I should check my MTRRs.
$ cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=983296MB: write-back, count=1
reg01: base=0x10000000 ( 256MB), size=983168MB: write-back, count=1
No write-combining! :-O

tseliot
June 3rd, 2006, 09:12 AM
Yes, I'm reading the script so I can see what it will do.
I'm not sure if I need the linux-restricted-modules, I don't run wifi...
I'm going to give it a try. As I see I should be in the shell, out of x11, I'm going to do that, also the script removes the current installed version of nvidia-glx, right?
right

PS - what are SoftEDIDs?
http://download.nvidia.com/XFree86/Linux-x86/1.0-8762/README/appendix-i.html

brokenthorn
June 3rd, 2006, 10:15 AM
right
http://download.nvidia.com/XFree86/Linux-x86/1.0-8762/README/appendix-i.html
Yes, I understand now.
Well, the script worked fine (it did point out some errors about "]" missing and something about grep missing :/ but that was in the section that starts gdm/xdm/kdm and I said no to that.
There is actually no performance gain, same fps in glxgears, same "effects".
And my MTRRs still are the same, I don't have a write-combining range for the AGP card.
I used to have this problem with Gentoo too, in kernel versions <=2.6.15 where I had to use a SMP enabled kernel to get right MTRRs (which is not recommended, because I don't have a SMP enabled CPU, even if my mobo is. A uniprocessor kernel performs better/faster on a single CPU). After upgrading to 2.6.16 the problem was no more (non SMP kernel). Also the problem never appeared on Slakware 2.4 kernels ;).
What do I do then?

tseliot
June 3rd, 2006, 10:45 AM
Yes, I understand now.
Well, the script worked fine (it did point out some errors about "]" missing and something about grep missing :/ but that was in the section that starts I have fixed the scripts today.

[QUOTE=brokenthorn]There is actually no performance gain, same fps in glxgears, same "effects".
And my MTRRs still are the same, I don't have a write-combining range for the AGP card.
I used to have this problem with Gentoo too, in kernel versions <=2.6.15 where I had to use a SMP enabled kernel to get right MTRRs (which is not recommended, because I don't have a SMP enabled CPU, even if my mobo is. A uniprocessor kernel performs better/faster on a single CPU). After upgrading to 2.6.16 the problem was no more (non SMP kernel). Also the problem never appeared on Slakware 2.4 kernels ;).
What do I do then?
Try compiling a vanilla kernel 2.16.x (remember to compile also the kernel headers). There is a good guide about it.

brokenthorn
June 3rd, 2006, 10:53 AM
Try compiling a vanilla kernel 2.16.x (remember to compile also the kernel headers). There is a good guide about it.
Compiling a vanilla kernel is no problem (thanks to Gentoo for the grey hair ](*,) ).
Except now it is Ubuntu we're talking about... well the thing is I never used a framebuffer splash, a initrd and all that stuff. I never understood why you need a initrd :-?. Guess I have to follow more Ubuntu howto's, damn ** :mad: .
Oh well... /me browsing for howto's

PS - How often are kernel packages built :-k

M4LFUNCT10N
June 3rd, 2006, 11:52 AM
Can you try using only this option instead of the ones from note 7?
Option "ModeValidation" "NoMaxPClkCheck"


And if that doesn't work then try this:
1) use the options from the note that enabled the xserver to work (instead of failing)
2) type:
sudo nano -w /etc/modprobe.d/options
and replace this line:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=1
with the following:
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=4

Please tell me if it works



Since I continued to have problems, I wiped the drive, and installed Dapper(after using the boot option to verify the CD), and the nvidia tutorial for Dapper, which I presume is basically the same thing as here, worked flawlessly. I've got 3d support now(3ddesk works great!), all I need to do is enable twinview, but that's for another day and another thread! Thanks for the help.

Obi_Kwiet
June 3rd, 2006, 12:27 PM
At step 10 where I type sudo /ect/init.d/gdm stop, it tells me that the command sudo /ect/init.d/gdm was not found.

Help would be greatly appreciated. Just installed Linux the other night so I'm a total n00b.

tseliot
June 3rd, 2006, 01:05 PM
At step 10 where I type sudo /ect/init.d/gdm stop, it tells me that the command sudo /ect/init.d/gdm was not found.

Help would be greatly appreciated. Just installed Linux the other night so I'm a total n00b.
it's "etc" and not "ect", you made a typo.
the right command is:
sudo /etc/init.d/gdm stop

tseliot
June 3rd, 2006, 02:11 PM
Compiling a vanilla kernel is no problem (thanks to Gentoo for the grey hair ](*,) ).
Except now it is Ubuntu we're talking about... well the thing is I never used a framebuffer splash, a initrd and all that stuff. I never understood why you need a initrd :-?. Guess I have to follow more Ubuntu howto's, damn ** :mad: .
Oh well... /me browsing for howto's

PS - How often are kernel packages built :-k
Try this guide:
http://ubuntuforums.org/showthread.php?t=157560

And BTW this is not Gentoo or Fedora and kernels are (usually) not updated unless for security issues.

moclippa
June 3rd, 2006, 05:16 PM
TSElliot, I notice this is weird. Since I installed compiz everytime I reboot my computer I get a failed Xserver with Nvidia drivers.

It automatically fixes itself though if you shutdown the computer and turn it on... maybe that would help you figure out some of these xserve problems?

Hope that helps

tseliot
June 3rd, 2006, 05:24 PM
TSElliot, I notice this is weird. Since I installed compiz everytime I reboot my computer I get a failed Xserver with Nvidia drivers.

It automatically fixes itself though if you shutdown the computer and turn it on... maybe that would help you figure out some of these xserve problems?

Hope that helps
Sorry but I don't use XGL. I think you should ask the authors of the guides about XGL

antiwyrd
June 4th, 2006, 07:24 PM
Hi, my graphics driver was screwed up before and i followed this guide and i fixed it. However I just upgraded to dapper and got the same problem of the x server not starting up. The guide says that this is only for breezy badger. is there a similar guide for dapper?

antiwyrd
June 4th, 2006, 07:26 PM
sorry just found the link

Psquared
June 6th, 2006, 02:07 PM
Finally, finally, finally got this thing to work in Breezy. I spent two days reinstalling Breezy and upgrading to Dapper (prior to adding anything) until I decided that maybe Dapper was just too new for the 8762 nvidia driver. (driver came out in May, Dapper was final on June 1)

So I did another clean reinstall of Breezy and worked my way painstakingly through the guide. What I found was that I needed a particular combination of the "options" after the device entry. I had to play with turning them on and off until it finally loaded. I'm pretty sure GLX is running and 3D is rendering, but I do need to check that. Happily I am getting the Nvidia splash screen and my monitor is responding.

My system has 512 mb of DDR Ram, 160 mb harddrive (Ubuntu ONLY) Via chipset and an AMD XP 2600 processor. The video card is a GeForce4 MX 4000.

tseliot
June 6th, 2006, 03:18 PM
Finally, finally, finally got this thing to work in Breezy. I spent two days reinstalling Breezy and upgrading to Dapper (prior to adding anything) until I decided that maybe Dapper was just too new for the 8762 nvidia driver. (driver came out in May, Dapper was final on June 1)

So I did another clean reinstall of Breezy and worked my way painstakingly through the guide. What I found was that I needed a particular combination of the "options" after the device entry. I had to play with turning them on and off until it finally loaded. I'm pretty sure GLX is running and 3D is rendering, but I do need to check that. Happily I am getting the Nvidia splash screen and my monitor is responding.

My system has 512 mb of DDR Ram, 160 mb harddrive (Ubuntu ONLY) Via chipset and an AMD XP 2600 processor. The video card is a GeForce4 MX 4000.
Why didn't you do a fresh install of Dapper.

I did it yesterday on a computer of mine and everything went smoothly and without any need of additional tweaking (I used the driver from the repos).

brokenthorn
June 7th, 2006, 06:22 PM
Well I too decided to upgrade to Dapper. I am running "Linux 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux".
This time my MTRRs are a bit different:
$ cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0x10000000 ( 256MB), size= 128MB: write-back, count=1
I still don't understand why MTRRs change like that on different kernels because that would mean I can run the nvidia video drivers for X only on a specific kernel.
I used tseliot's script for Dapper to install the driver: NVIDIA Linux x86 Kernel Module 1.0-8762 Mon May 15 13:06:38 PDT 2006.
No I get about 100 FPS lower than before. I updated my xorg.xonf (http://brokenthorn.xmgfree.com/text_files/xorg.conf)
I also have problems setting the FontPath because of unexisting font.dir's, but this is not the place to ask for help on that ;).
So what can I do? I haven't started configuring a vanilla kernel yet.
What's with the nvidia drivers from the repos?
Oh and about he guide you told me, I've read it and I would certainly like to give it a try since it's about patching with the ck sources, and I would love the latency (I edit and make music/sounds/FX) but I'm afraid it would break something since hundreds of patches from Ubuntu will be missing... But I'd love to give it a try, it's a risk worth taking I guess...

Psquared
June 7th, 2006, 10:54 PM
Why didn't you do a fresh install of Dapper.

I did it yesterday on a computer of mine and everything went smoothly and without any need of additional tweaking (I used the driver from the repos).

Oh, because I didn't have the Dapper CD and I was too lazy to download it. :rolleyes: That is probably why the driver wouldn't work because I was doing a distro upgrade; albeit I was doing the upgrade from a clean install of Breezy with all "official" updates, but no bells and whistles.

tseliot
June 8th, 2006, 12:08 PM
Oh, because I didn't have the Dapper CD and I was too lazy to download it. :rolleyes:
I guess lazyitis can be cured :p

tseliot
June 8th, 2006, 12:14 PM
I still don't understand why MTRRs change like that on different kernels because that would mean I can run the nvidia video drivers for X only on a specific kernel.
???

I used tseliot's script for Dapper to install the driver: NVIDIA Linux x86 Kernel Module 1.0-8762 Mon May 15 13:06:38 PDT 2006.
No I get about 100 FPS lower than before. I updated my xorg.xonf (http://brokenthorn.xmgfree.com/text_files/xorg.conf)
I also have problems setting the FontPath because of unexisting font.dir's, but this is not the place to ask for help on that ;).
sudo dpkg-reconfigure -phigh xserver-xorg
should generate an updated xorg.conf.

Then I suggest you to download the latest version of my script (0.36) and try again with the driver.

So what can I do? I haven't started configuring a vanilla kernel yet.
What's with the nvidia drivers from the repos?
Oh and about he guide you told me, I've read it and I would certainly like to give it a try since it's about patching with the ck sources, and I would love the latency (I edit and make music/sounds/FX) but I'm afraid it would break something since hundreds of patches from Ubuntu will be missing... But I'd love to give it a try, it's a risk worth taking I guess...
You might use beyond patch (which is also used by Arch Linux)

brokenthorn
June 8th, 2006, 07:11 PM
???
MTRR - Memory Type Range Registers. In case you don't know, the cause of slow video acceleration may be that there is no Write Combining Range for cards that support it to use it. Nvidia-glx has an option to include in xorg.conf to disable the use of MTRR.
From wikipedia(http://en.wikipedia.org/wiki/MTRR): "On Intel P6 family processors (Pentium Pro, Pentium II and later) the Memory Type Range Registers (MTRR's) may be used to control the semantics of processor access to memory ranges. This is most useful when you have a video (VGA) card on a PCI or AGP bus. Enabling write-combining allows bus write transfers to be combined into a larger transfer before bursting over the PCI / AGP bus. This can increase performance of image write operations 2.5 times or more, at the cost of losing the simple sequential read/write semantics of normal memory."

sudo dpkg-reconfigure -phigh xserver-xorgshould generate an updated xorg.conf.
What's wrong with my xorg.conf? :???:
Then I suggest you to download the latest version of my script (0.36) and try again with the driver.
I downloaded 0.35a at the time.
You might use beyond patch (which is also used by Arch Linux)
I've used Archlinux but what's beyond patch :-k A patch management system?

tseliot
June 8th, 2006, 07:37 PM
MTRR - Memory Type Range Registers. In case you don't know, the cause of slow video acceleration may be that there is no Write Combining Range for cards that support it to use it. Nvidia-glx has an option to include in xorg.conf to disable the use of MTRR.
From wikipedia(http://en.wikipedia.org/wiki/MTRR): "On Intel P6 family processors (Pentium Pro, Pentium II and later) the Memory Type Range Registers (MTRR's) may be used to control the semantics of processor access to memory ranges. This is most useful when you have a video (VGA) card on a PCI or AGP bus. Enabling write-combining allows bus write transfers to be combined into a larger transfer before bursting over the PCI / AGP bus. This can increase performance of image write operations 2.5 times or more, at the cost of losing the simple sequential read/write semantics of normal memory."
Thanks for sharing the information, I really didn't know that (I have used linux only for a year)

What's wrong with my xorg.conf? :???:
I guess my memory is bad (because I'm under a lot of stress and I have to do with several users every day) but didn't you upgrade to Dapper (from Breezy)?

I've used Archlinux but what's beyond patch :-k A patch management system?
The Beyond patch:
http://iphitus.loudas.com/beyond.html

brokenthorn
June 8th, 2006, 07:55 PM
I made the xorg.conf a hyperlink in the first posts! If you looked at it you could have seen that there's nothing wrong with it, at least from what I know. I configured everything reading the nvidia-glx docs and man xorg.conf.

PS - I really admire the fact that you use linux for one year and you've already started writing bash scripts. I never had the time to learn that and I'm using linux for some time now - almost 4 years if my memory serves me well. :-D
I'm lazy, I admit!

EDIT: I forgot to ask... What does the Beyond Patchset have that ck does not? :-k Do you tseliot run such a patched kernel?

xerum
June 9th, 2006, 12:16 AM
Bit of a noob here and I was wondering if I could get some assistance. I recently installed xgl and compiz and for some reason i can't seem to get the cube desktop to display. I issued the following command at the prompt and got the error listed below 'compiz gconf' Thanks in advance


compiz.real: Connection Error (No reply within specified time)
compiz.real: Couldn't initiate D-BUS connection
compiz.real: Disabling D-BUS Service
Finishing dbus10786: arguments to dbus_bus_release_name() were incorrect, assert ion "connection != NULL" failed in file dbus-bus.c line 789.
This is normally a bug in some application using the D-BUS library.
10786: arguments to dbus_connection_close() were incorrect, assertion "connectio n != NULL" failed in file dbus-connection.c line 1934.
This is normally a bug in some application using the D-BUS library.
compiz.real: No composite extension

tseliot
June 9th, 2006, 08:09 AM
EDIT: I forgot to ask... What does the Beyond Patchset have that ck does not? :-k Do you tseliot run such a patched kernel?
I'm using it on my portable computer in Arch Linux and I find it stable and fast (but Arch Linux is a blazing fast distro of its own). I have never tried it in Ubuntu though.

tseliot
June 9th, 2006, 08:10 AM
Bit of a noob here and I was wondering if I could get some assistance. I recently installed xgl and compiz and for some reason i can't seem to get the cube desktop to display. I issued the following command at the prompt and got the error listed below 'compiz gconf' Thanks in advance


compiz.real: Connection Error (No reply within specified time)
compiz.real: Couldn't initiate D-BUS connection
compiz.real: Disabling D-BUS Service
Finishing dbus10786: arguments to dbus_bus_release_name() were incorrect, assert ion "connection != NULL" failed in file dbus-bus.c line 789.
This is normally a bug in some application using the D-BUS library.
10786: arguments to dbus_connection_close() were incorrect, assertion "connectio n != NULL" failed in file dbus-connection.c line 1934.
This is normally a bug in some application using the D-BUS library.
compiz.real: No composite extension
I don't use XGL therefore I suggest you to ask for help on the threads which deal with XGL.

tseliot
June 10th, 2006, 11:31 AM
UPDATE: I have updated my guide (see the problems section) and removed my guide from the forum.

Only the links to my guides on the UDSF remain. In this way I have to keep up to date only 1 version of the same guide. This will save me a lot of time.

brokenthorn
June 11th, 2006, 05:01 PM
Well, I am VERY glad to say I finally set it all up!
MTRR's are good!
$ cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0x10000000 ( 256MB), size= 128MB: write-back, count=1
reg02: base=0xf0000000 (3840MB), size= 64MB: write-combining, count=1
Acceleration is good!
The -beyond4.1 kernel compiled cleanly after 2 days of testing and troubleshooting and it works like a charm! Usplash also!
Now I get a 2ms latency in ZynADDSubFX @ 48KHz with no glitches/xruns!
I usually got about 13ms with some glitches with powerfull PADs.
Soon to convert my system to the ubuntustudio.org model.

What else can linux do? :D

brokenthorn
June 11th, 2006, 05:10 PM
Tseliot please take note that in your guide you said to use the following line to install the nvidia drivers:
$ sudo ./nvidia-installer -n -s --x-prefix=/usr/lib/xorg/ --kernel-source-path=/usr/src/linux-headers-`uname -r`
Which is wrong because you're supposed to add the kernel source path to the last argument not the headers installed by dpkg. It did not compile the nvidia driver with the path to the custom installed kernel headers I, but it worked fine with the kernel source path where the headers should be actually (for me the headers are in /usr/src/kernel-headers-2.6.16-beyond4.1/ and I've used /usr/src/linux-2.6.16-beyond4.1/).

tseliot
June 12th, 2006, 06:50 AM
Tseliot please take note that in your guide you said to use the following line to install the nvidia drivers:
$ sudo ./nvidia-installer -n -s --x-prefix=/usr/lib/xorg/ --kernel-source-path=/usr/src/linux-headers-`uname -r`
Which is wrong because you're supposed to add the kernel source path to the last argument not the headers installed by dpkg. It did not compile the nvidia driver with the path to the custom installed kernel headers I, but it worked fine with the kernel source path where the headers should be actually (for me the headers are in /usr/src/kernel-headers-2.6.16-beyond4.1/ and I've used /usr/src/linux-2.6.16-beyond4.1/).
Using the header or the source is the same if you need to build a module.

EDIT: my guide already deals with that:
8) Install the driver:
IF you are using the kernel that comes by default with Ubuntu (or if you don't know what a kernel is) then type:
sudo ./nvidia-installer -n -s --x-prefix=/usr/lib/xorg/ --kernel-source-path=/usr/src/linux-headers-`uname -r`

OTHERWISE if you are using a kernel which you compiled from vanilla sources (i.e. from kernel.org) then you have two options:

a) if you are using kernel 2.6.13 or lower you have to type:
sudo ./nvidia-installer -n -s --x-prefix=/usr/lib/xorg/ --kernel-source-path=/usr/src/kernel-headers-`uname -r`


Explanation:
linux-headers are available only for the kernels in the repos
kernel-headers are available only for recompiled kernels (from vanilla sources, etc.)

brokenthorn
June 12th, 2006, 12:45 PM
Hmm... I see. Please excuse me for what I've said. But still I don't get it. I see I have kernel-headers. That's what I've passed to nvinstaller but it wouldn't work. So I passed the kernel tree as an argument to the (headers) kernel tree. So just for people that happen to get the same error as mine you could add a QUICK "other-way" to your guide and tell to pass --kernel-source-path=/usr/src/linux where linux is a symlink to the actual kernel tree like linux-2.6.16-ck12. But please excuse me again if I'm wrong.

Anyway I thank you for your guide. It's helped me installer nvidia faster.

tseliot
June 12th, 2006, 04:12 PM
Hmm... I see. Please excuse me for what I've said. But still I don't get it. I see I have kernel-headers. That's what I've passed to nvinstaller but it wouldn't work. So I passed the kernel tree as an argument to the (headers) kernel tree. So just for people that happen to get the same error as mine you could add a QUICK "other-way" to your guide and tell to pass --kernel-source-path=/usr/src/linux where linux is a symlink to the actual kernel tree like linux-2.6.16-ck12. But please excuse me again if I'm wrong.

Anyway I thank you for your guide. It's helped me installer nvidia faster.
It didn't work because you're using kernel 2.6.16. I need to update the guide.

tseliot
June 12th, 2006, 05:19 PM
Guide UPDATED

elcamino
June 18th, 2006, 01:55 PM
Guide worked great for my GeForce 6200 that I installed recently; thanks a bunch.

tseliot
June 19th, 2006, 05:07 AM
Envy v 0.38 has been released

I warmly recommend you to get the latest version.

FIXES:
* support for recompiled kernels (it was broken)
* support for (recompiled) kernel 2.6.14 or higher (it needed some tweaking before because of some changes in the kernel)

NEW FEATURES:
* support for Kernel 2.6.17

brokenthorn
June 19th, 2006, 07:53 AM
tseliot, the last time I've installed the nvidia graphics drivers with your script it replaced the already downloaded driver found in the same folder with the partial driver that was downloading. I don't know why you used the MD5Checksum and still let it delete the driver even if it's the right one. So I made small changes:

every string "wget [URL]" changed to "wget -c [URL]" which will continue the download if it the file is partially downloaded and if it is full it will leave it intact;
commented out the lines
# if [ -f $DRIVER ]
# then sudo rm $DRIVER
# fi

Everything worked Ok.

tseliot
June 19th, 2006, 08:56 AM
I don't know why you used the MD5Checksum and still let it delete the driver even if it's the right one.
I'll work on that (I have some ideas to solve the problem).

So I made small changes:

every string "wget [URL]" changed to "wget -c [URL]" which will continue the download if it the file is partially downloaded and if it is full it will leave it intact;
commented out the lines
# if [ -f $DRIVER ]
# then sudo rm $DRIVER
# fi

Everything worked Ok.
My only doubt is the following:
How does "wget -c" handle corrupted chunks of file (if it does)?
I mean, resuming from a corrupted file would lead to a complete corrupted file.

I would like to tell the script to download (or redownload) the file (perhaps using "wget -c") until MD5Checksum matches. Maybe I'll do it tonight.

brokenthorn
June 19th, 2006, 09:21 AM
In wget's manual you see the option --no-clobber which will prevent downloading again if the file exists in the destination (the current directory in this case) and it will warn the user. Wget can also do timestamping and check it, option --timestamping or -N but I guess local timestamps get updated if the file is touched.
I don't think wget handles corrupt files, it acts different when -c is used, depending on other options passed (-N), timestamp and most important the size of the file. It's all in the manual.
So I think the only way to continue the download and check the file for corruption is to let wget -c continue (or not if the file is already full size) the download and the script will compare the MD5 Checksums. If the file is Ok then continuw with Install, Reinstall and whatever. If the file is not Ok then restart the download after asking the user if it's Ok to delete the corrupt file (maybe he wants to back it up :P) or rename it. Then continue normally.

tseliot
June 19th, 2006, 09:39 AM
In wget's manual you see the option --no-clobber which will prevent downloading again if the file exists in the destination (the current directory in this case) and it will warn the user. Wget can also do timestamping and check it, option --timestamping or -N but I guess local timestamps get updated if the file is touched.
I don't think wget handles corrupt files, it acts different when -c is used, depending on other options passed (-N), timestamp and most important the size of the file. It's all in the manual.
So I think the only way to continue the download and check the file for corruption is to let wget -c continue (or not if the file is already full size) the download and the script will compare the MD5 Checksums. If the file is Ok then continuw with Install, Reinstall and whatever. If the file is not Ok then restart the download after asking the user if it's Ok to delete the corrupt file (maybe he wants to back it up :P) or rename it. Then continue normally.
I guess I'll remove the reinstall function and see what I can do with the rest.

tseliot
June 27th, 2006, 11:19 AM
Envy v 0.39 has been released

FIXES:
* fixed wrong path to xorg in Ubuntu 64bit (thanks to some users of the Italian forum who made me notice)

CHANGES:
* merged "install" and "reinstall" functions. Now there are only "install" and "uninstall" are available. The install function is able to retrieve the installer from your hard disk (if the Envy script is in the same folder of the Nvidia installer) instead of just downloading the Nvidia installer again.

tseliot
June 27th, 2006, 01:24 PM
I have added the support for the Legacy driver 7178 to my Envy script, please try it (if you have a card which requires a legacy driver)

brokenthorn
June 27th, 2006, 01:39 PM
Sorry guys, I'll be leaving Ubuntu for some time... See ya
Found other interesting things...
Good luck to you all!

tseliot
June 27th, 2006, 02:00 PM
UPDATE: I have updated my guide thus fixing a problem of Method 2 with Ubuntu 64 bit

tseliot
June 27th, 2006, 02:01 PM
Sorry guys, I'll be leaving Ubuntu for some time... See ya
Found other interesting things...
Good luck to you all!
Which distro are you using, Arch Linux?

zagorskij
June 28th, 2006, 08:54 PM
Hi,
I am using Dagger distribution nvidia embedded on motherboard A8N-VM CSM, a GPU NVIDIA GeForce 6150. It should be supported by 8762 drivers.So i did some tests, I tried both the method 1 and 2 with the same result:
teh installation process completes and exit correctly, I can login, and start the session, but soon the graphical enviroment freezes I can move the mouse but I cannot interact, after about 30 seconds it seems living again but suddenly after some interactions it freezes again. It seems a similar problem as for the AGP cards, but mine is not AGP and in xorg.conf file I cannot see any "Option" parameter you write in the How-To. Some ideas?

Thanks in advance.

Random Roadkill
June 29th, 2006, 09:04 AM
hey, great guide. Im going to try it tonight, but one question. I reinstalled Ubuntu (5.10) last night, after nackering my previous instillation lol. but it seems from reading some of the posts here that they seem to be able to see the graphical display without having the drivers installed, but when mine loads the login screen i am confronted with just a screen of yellow and blue lines running down the screen. I just wondered whether this should happen until i install the drivers. i can still acess the terminal by pressing CTRL+ALT+BKSPACE then ALT+F2.
EDIT: im using a GeForce 6600
thanks

tseliot
June 29th, 2006, 09:33 AM
Hi,
I am using Dagger distribution nvidia embedded on motherboard A8N-VM CSM, a GPU NVIDIA GeForce 6150. It should be supported by 8762 drivers.So i did some tests, I tried both the method 1 and 2 with the same result:
teh installation process completes and exit correctly, I can login, and start the session, but soon the graphical enviroment freezes I can move the mouse but I cannot interact, after about 30 seconds it seems living again but suddenly after some interactions it freezes again. It seems a similar problem as for the AGP cards, but mine is not AGP and in xorg.conf file I cannot see any "Option" parameter you write in the How-To. Some ideas?

Thanks in advance.
Try point 4 of the Problems Section. If your card is not AGP then you can omit the line "Option "NvAGP" "0"". (put all the other options)

You cannot see any Option parameter because you have to put the parameters (write them manually) in your xorg.conf exactly where I suggested in my guide.

tseliot
June 29th, 2006, 09:40 AM
hey, great guide. Im going to try it tonight, but one question. I reinstalled Ubuntu (5.10) last night, after nackering my previous instillation lol. but it seems from reading some of the posts here that they seem to be able to see the graphical display without having the drivers installed, but when mine loads the login screen i am confronted with just a screen of yellow and blue lines running down the screen. I just wondered whether this should happen until i install the drivers. i can still acess the terminal by pressing CTRL+ALT+BKSPACE then ALT+F2.
EDIT: im using a GeForce 6600
thanks
It's likely that your card doesn't work with the "nv" driver (the open source driver which is used in Ubuntu by default).

There are 2 things you can do:
1) fix the problem temporarily in this way:
Press CTRL+ALT+F1

sudo dpkg-reconfigure xserver-xorg

and set the driver to "vesa" (press enter when you don't know the answer to the other questions)

then:
sudo /etc/init.d/gdm restart (or "kdm restart" if you use KDM)

2) OR just press CTRL+ALT+F1 and follow my Method 1

Random Roadkill
June 30th, 2006, 11:51 AM
:D thanks for the quick response! the 'tempory method' works...but can i ask how exactly this is 'tempory'?:p
also i tryed your 1st method but when i typed
sudo nvidia-xconfig
it said 'command not found'...
EDIT: i am as thick as a thick thing...i STUPIDLY printed method 1 from your Dapper version of the guide... oh well at least i can actually see the GUI...now to try the proper version...sigh

Random Roadkill
June 30th, 2006, 02:58 PM
Well i have just upgraded to Dapper Drake and can confirm that both Brezzy and Dapper methods work!:D thanks for the help with my previous problem. Kepp up the good work:D

enim
July 1st, 2006, 12:41 PM
Im New to the forums, so hello all.

Also, im somewhat new to linux/ubuntu. I ahve some prior expierience, but, im not great.

So i tried to install the drivers, using method two in the wiki, seeing as i already had the drivers downloaded, and thought it would be nice and easy. I was wrong.

Now i just want to go back to how i was. How would i do this.

Sorry for the major inconvinience.
Thanks in advanced.

As of right now, i have tried using the Nvidia installer's uninstall function, and upon attempting to startx, i get:


(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.

tseliot
July 1st, 2006, 02:22 PM
Im New to the forums, so hello all.

Also, im somewhat new to linux/ubuntu. I ahve some prior expierience, but, im not great.

So i tried to install the drivers, using method two in the wiki, seeing as i already had the drivers downloaded, and thought it would be nice and easy. I was wrong.

Now i just want to go back to how i was. How would i do this.

Sorry for the major inconvinience.
Thanks in advanced.

As of right now, i have tried using the Nvidia installer's uninstall function, and upon attempting to startx, i get:


(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.
Try this command:
sudo dpkg-reconfigure xserver-xorg

and select the "vesa" (or "nv") driver. Press ENTER if you don't know the answer to the other questions

geniusforlife
July 2nd, 2006, 10:31 AM
I can't seem to get AGP enabled without it using AGPGART. I've tried blacklisting AGPGART, but that doesn't seem to stop it.

I have the 8752 Nvidia drivers installed.

chris@Calvin:~$ dmesg | grep NVAGP
[4294711.088000] NVRM: not using NVAGP, an AGPGART backend is loaded!
[4297619.187000] NVRM: not using NVAGP, an AGPGART backend is loaded!


chris@Calvin:~$ sudo lsmod | grep nvidia
Password:
nvidia 4550708 8
i2c_core 21328 3 i2c_acpi_ec,i2c_nforce2,nvidia
nvidia_agp 8412 1
agpgart 34888 2 nvidia,nvidia_agp


I edited my xorg settings, here it is if it's any help. If you have any suggestions, you may need to spell out the steps I need to take to fix it, being a newbie n'all.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# paths to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"

#Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
#Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "AOC A770"
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Monitor "AOC A770"
DefaultDepth 24
Option "NoLogo" "true" # Disables nVidia's logo on start-up
Option "NvAgp" "1"
#Option "LoadKernelModule" "Off"
Option "RenderAccel" "true" # Duh :)
Option "ExactModeTimingsDVI" "True"
Option "ModeValidation" "DFP-0: NoEdidDFPMaxSizeCheck, NoVesaModes"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

tseliot
July 2nd, 2006, 12:47 PM
I can't seem to get AGP enabled without it using AGPGART. I've tried blacklisting AGPGART, but that doesn't seem to stop it.

I have the 8752 Nvidia drivers installed.

chris@Calvin:~$ dmesg | grep NVAGP
[4294711.088000] NVRM: not using NVAGP, an AGPGART backend is loaded!
[4297619.187000] NVRM: not using NVAGP, an AGPGART backend is loaded!


chris@Calvin:~$ sudo lsmod | grep nvidia
Password:
nvidia 4550708 8
i2c_core 21328 3 i2c_acpi_ec,i2c_nforce2,nvidia
nvidia_agp 8412 1
agpgart 34888 2 nvidia,nvidia_agp


I edited my xorg settings, here it is if it's any help. If you have any suggestions, you may need to spell out the steps I need to take to fix it, being a newbie n'all.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# paths to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"

#Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
#Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "AOC A770"
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Monitor "AOC A770"
DefaultDepth 24
Option "NoLogo" "true" # Disables nVidia's logo on start-up
Option "NvAgp" "1"
#Option "LoadKernelModule" "Off"
Option "RenderAccel" "true" # Duh :)
Option "ExactModeTimingsDVI" "True"
Option "ModeValidation" "DFP-0: NoEdidDFPMaxSizeCheck, NoVesaModes"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

I never managed to blacklist agpgart. Why do you want to blacklist it?

geniusforlife
July 2nd, 2006, 03:54 PM
I wanted to blacklist it because I wanted to run NvAGP rather than AGPGART, to get better game performance in Guild Wars.
http://download.nvidia.com/freebsd/1.0-8756/README/appendix-h.html

Either way, I'm stuck now, because I can't figure out how to get AGP support at all.

Any ideas?

citizenr
July 2nd, 2006, 04:20 PM
sudo gedit /etc/modprobe.d/blacklist

append at the end of a file

blacklist agpgart

blacklist via_agp

or nvidia_agp instead of via_agp

Jimmzone
July 4th, 2006, 11:14 AM
Hello tseliot

Please help me

My machine:
Motherboard: MSI K8T Neo-V
Processor: AMD64 754 3000+
VideoCart: NVIDIA Geforce 6600 PCI Express
Monitor: Samsung SyncMaster 550s (CRT)
refresh horiz: 30-61
refresh verti: 50-120

My kernel : 2.6.12-9-amd64-generic
2.6.12-10-amd64-generic

I tried
sudo dpkg-reconfigure xserver-xorg
and I selected the "vesa"
Then
sudo /etc/init.d/gdm start
Screen of the X was striped but my machine wasn't freezy.

I tried again previous command and I selected "vga".
Then
sudo /etc/init.d/gdm start
I catch message "Starting GNOME Display Manager....[fail]"

I tried
startx
For a while it worked,I saw Ubuntu logo, after the X server shut down automaticaly, so i didn't login .

:confused:


thanks advices
sorry for my english

hajk
July 4th, 2006, 12:35 PM
No matter what I specify with "dpkg-reconfigure xserver-xorg", the nvidia driver included in the stock Dapper k8-kernel insists on setting the resolution/refresh rate to 1280x1024@75Hz, whereas the manufacturer recommended refresh rate for my monitor is 60Hz. Apparently, the driver ignores my choice of refresh rate and just sets it at the maximum that the hardware will support.

Two questions:
1. How can I make sure that the driver honours my choice of refresh rate, at 60Hz,
if that's what I want to set it at?

2. Is it harmful to run the monitor 24/7 at a refresh rate higher than recommended by the manufacturer?

Any comments appreciated!

tseliot
July 4th, 2006, 03:28 PM
No matter what I specify with "dpkg-reconfigure xserver-xorg", the nvidia driver included in the stock Dapper k8-kernel insists on setting the resolution/refresh rate to 1280x1024@75Hz, whereas the manufacturer recommended refresh rate for my monitor is 60Hz. Apparently, the driver ignores my choice of refresh rate and just sets it at the maximum that the hardware will support.

Two questions:
1. How can I make sure that the driver honours my choice of refresh rate, at 60Hz,
if that's what I want to set it at?

2. Is it harmful to run the monitor 24/7 at a refresh rate higher than recommended by the manufacturer?

Any comments appreciated!
Try point 5 of the Problems Section of my guide:
http://doc.gwos.org/index.php/Latest_Nvidia_Dapper#PROBLEMS_SECTION

If that doesn't work try point 10

tseliot
July 4th, 2006, 03:43 PM
Hello tseliot

Please help me

My machine:
Motherboard: MSI K8T Neo-V
Processor: AMD64 754 3000+
VideoCart: NVIDIA Geforce 6600 PCI Express
Monitor: Samsung SyncMaster 550s (CRT)
refresh horiz: 30-61
refresh verti: 50-120

My kernel : 2.6.12-9-amd64-generic
2.6.12-10-amd64-generic

I tried
sudo dpkg-reconfigure xserver-xorg
and I selected the "vesa"
Then
sudo /etc/init.d/gdm start
Screen of the X was striped but my machine wasn't freezy.

I tried again previous command and I selected "vga".
Then
sudo /etc/init.d/gdm start
I catch message "Starting GNOME Display Manager....[fail]"

I tried
startx
For a while it worked,I saw Ubuntu logo, after the X server shut down automaticaly, so i didn't login .

:confused:


thanks advices
sorry for my english
Run my script again but this time when it asks you whether you want to start the Xserver just say no.

then follow point 4 of the Problems Section (the Option "NvAGP" "0" is useless for you) and when you finish you can start the Xserver:
sudo /etc/init.d/gdm restart (or "kdm restart" if you use KDM)

hajk
July 4th, 2006, 03:50 PM
I had already tried specifying 60-60 refresh rate in the Advanced Xorg configuration, but it would still result in 75Hz. But setting the "UseEDID" option to "False" and adding the refresh rate to 1280x1024_60 did the trick.

No such problems under Breezy, where the display would easily run more than a month without problem at 60Hz. Under Dapper, however, and with the refresh rate stuck at 75Hz, I would have to auto-readjust the display every few days when a slight tremor would develop in places. Samsung don't recommend 60Hz as giving best performance for nothing, it would seem.

Much obliged!

Jimmzone
July 5th, 2006, 03:09 AM
hello

I ran your envy_8762_64_breezy script.
I tried your suggestion and start the X server, but the result is black screen and freezy.

this is my xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Mon May 15 14:17:32 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# paths to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "hu"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 49.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "Off"
Option "IgnoreDisplayDevices" "DFP,TV"
Option "NoRenderExtension" "Off"
Option "AllowGLXWithComposite" "Off"
Option "Accel" "Off"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600]"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
# SubSection "Display"
# Depth 24
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
EndSection


this is my last Xorg.0.log:
12249
continuation:
12250

I dont have idea.
:(

tseliot
July 5th, 2006, 03:58 AM
hello

I ran your envy_8762_64_breezy script.
I tried your suggestion and start the X server, but the result is black screen and freezy.

this is my xorg.conf:


this is my last Xorg.0.log:
12249
continuation:
12250

I dont have idea.
:(
Remove the things you put when you followed point 4 of the Problems Section and try point 7

Jimmzone
July 5th, 2006, 05:04 AM
I tried Problems Section 7 and black screen and monitor off and freezy.
But, this file didn't exist, so I created that.

/etc/modprobe.d/options


important part of last xorg.conf:

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600]"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600]"
Monitor "Generic Monitor"
DefaultDepth 16
Option "ExactModeTimingsDVI"
Option "UseEdidDpi" "FALSE"
Option "ModeValidation" "NoEdidDFPMaxSizeCheck, NoVesaModes"
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection

geniusforlife
July 5th, 2006, 04:43 PM
Compile it as a module then blacklist it as I've told you before.

Then use Option "NvAgp" "1" or Option "NvAgp" "3"

OR

Disable the AGP (unless you need it) with this option:
Option "NvAgp" "0"

Hi tseliot,
I was following the solutions you were proposing to EricTheRed to stop AGPGART loading as a backend. You mention 'compile it as a module and blacklist it'. It's probably a very newbie question, but how do you do this?

I've also tried the 2 options you suggested: adding it to the hotplug blacklist or adding the loadkernelmodule "off". Neither seem to work for me. I don't want to disable AGP as I need it for gaming.

Thanks for your help!:grin:

tseliot
July 5th, 2006, 05:05 PM
Hi tseliot,
I was following the solutions you were proposing to EricTheRed to stop AGPGART loading as a backend. You mention 'compile it as a module and blacklist it'. It's probably a very newbie question, but how do you do this?

I've also tried the 2 options you suggested: adding it to the hotplug blacklist or adding the loadkernelmodule "off". Neither seem to work for me. I don't want to disable AGP as I need it for gaming.

Thanks for your help!:grin:
Try what jvictor suggested in another post:

The first step was to blackist the amd64_agp & agpgart modules by adding


#added for nvidia freeze fastwrite and sba
blacklist agpgart
blacklist amd64_agp

to /etc/modprobe.d/blacklist


On other Intel machines the module that gets loaded maybe different
I'm not sure of what it is.

Next we need to enable Fast writes and SBA by editing
/etc/modprobe.d/nvidia-kernel-nkc

and adding the line
Code:
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1


now finally modify /etc/X11/xorg.conf

and make the Device section look like this
Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
Option "NvAGP" "1"
BusID "PCI:1:0:0"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection


Now logout and restart of X shoud fix the problem..

tseliot
July 5th, 2006, 05:06 PM
I tried Problems Section 7 and black screen and monitor off and freezy.
But, this file didn't exist, so I created that.


important part of last xorg.conf:
Try asking here:
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14

geniusforlife
July 6th, 2006, 07:30 AM
Try what jvictor suggested in another post:

No joy there.

/etc/modprobe.d/nvidia-kernel-nkc and /etc/modprobe.d/blacklist were both new files when following your instructions. Does that give you any clues?

The messages are the same as my earlier post.

Hmmm...I'm going to try setting NvAGP to "3" to see what happens.

tseliot
July 6th, 2006, 06:21 PM
No joy there.

/etc/modprobe.d/nvidia-kernel-nkc and /etc/modprobe.d/blacklist were both new files when following your instructions. Does that give you any clues?

The messages are the same as my earlier post.

Hmmm...I'm going to try setting NvAGP to "3" to see what happens.
I don't remember how Breezy worked in that sense. Try making those files.

tseliot
July 6th, 2006, 06:21 PM
Envy 0.41 has been released

FIXES
* sometimes the Desktop Manager didn't stop but Ubuntu's bootsplash showed up and and remained idle.
* there was an error about line 65
* the output of some errors is now redirected to /dev/null

CHANGES
* changed the path to the modules (for the Nvidia installer) because some users had problems with that.

geniusforlife
July 7th, 2006, 05:54 AM
No joy there.

/etc/modprobe.d/nvidia-kernel-nkc and /etc/modprobe.d/blacklist were both new files when following your instructions. Does that give you any clues?

The messages are the same as my earlier post.

Hmmm...I'm going to try setting NvAGP to "3" to see what happens.

I created those files, but still no luck.

I've noticed that I'm missing libGLcore.so.1 - a problem when trying to run Amarok, and just now when trying to do glxgears. Could it be that I need nvidia-glx, and if so, how do I get it whilst keeping the 8752 drivers? When I have previously used apt-get I get an old version 7667 or something which is incompatible with my kernel drivers.

Thanks for your time tseliot :)

tseliot
July 7th, 2006, 07:23 AM
I created those files, but still no luck.

I've noticed that I'm missing libGLcore.so.1 - a problem when trying to run Amarok, and just now when trying to do glxgears. Could it be that I need nvidia-glx, and if so, how do I get it whilst keeping the 8752 drivers? When I have previously used apt-get I get an old version 7667 or something which is incompatible with my kernel drivers.

Thanks for your time tseliot :)
Reinstall the driver using my script.

Make sure you get the latest version of my script (0.41) which I uploaded this morning

geniusforlife
July 7th, 2006, 10:09 AM
Reinstall the driver using my script.

Make sure you get the latest version of my script (0.41) which I uploaded this morning

That fixed my last issue, so Amarok works now -thanks!

However I'm still bewildered with AGPGART and NvAGP ](*,) .

AGP will only be enabled if I set option "NvAGP" "3" in xorg.conf - it loads AGPGART (with this setting Cedega shows 3D acceleration as disabled...it all seems related, but I'm not 100% sure). If NvAGP is set to "1", AGP is disabled.

AGPGART is still blacklisted, and I followed your previous instructions for fast writes and SBA.

Would it be anything to do with AGPGART being in, or starting in the kernel before the blacklist tells it not to load?

I wonder if it would help if the output of the following had NVIDIA instead of AGPGART:

chris@Calvin:~$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Enabled
SBA: Enabled


I also notice that my Xorg version is:
Xorg Version 6.8.2 (Ubuntu 6.8.2-77.1 20060503192905 root@terranova.warthogs.hbd.com)

Thanks again for your help, I'm learning loads through this...

tseliot
July 7th, 2006, 10:16 AM
That fixed my last issue, so Amarok works now -thanks!

However I'm still bewildered with AGPGART and NvAGP ](*,) .

AGP will only be enabled if I set option "NvAGP" "3" in xorg.conf - it loads AGPGART (with this setting Cedega shows 3D acceleration as disabled...it all seems related, but I'm not 100% sure). If NvAGP is set to "1", AGP is disabled.

AGPGART is still blacklisted, and I followed your previous instructions for fast writes and SBA.

Would it be anything to do with AGPGART being in, or starting in the kernel before the blacklist tells it not to load?
I'm afraid I can't help you any further as NVAGP never worked on ym card.

You can try asking here:
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14


I also notice that my Xorg version is:
Xorg Version 6.8.2 (Ubuntu 6.8.2-77.1 20060503192905 root@terranova.warthogs.hbd.com)
That's because you're using Ubuntu Breezy.

geniusforlife
July 7th, 2006, 12:32 PM
I'm afraid I can't help you any further as NVAGP never worked on ym card.

You can try asking here:
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14



That's because you're using Ubuntu Breezy.

Thanks! Just one quick question:

Does your output of cat /proc/driver/nvidia/agp/status give AGPGART or NVIDIA?

tseliot
July 7th, 2006, 12:45 PM
Thanks! Just one quick question:

Does your output of cat /proc/driver/nvidia/agp/status give AGPGART or NVIDIA?

cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled

greengrocer
July 19th, 2006, 06:49 PM
I wonder if this will fix my cursor problems AND my GoogleEarth problem?

see: http://www.linuxquestions.org/questions/showthread.php?t=465190


I have tried Method 1, it fixes the cursor ghosting/artifacting problem but it makes Google Earth muddled. The maps get muddled and large holes appear in Earth (like transparent earth).


I am considering to try Method 2, however, I am not sure how to roll back if I am not satisfied with the outcome of Method 2.

Does anyone know of a similar howto that describes how to roll back and undo all changes for Method 2?

I know how to roll back Method 1, I have acheived that already.

tseliot
July 20th, 2006, 04:36 PM
I wonder if this will fix my cursor problems AND my GoogleEarth problem?

see: http://www.linuxquestions.org/questions/showthread.php?t=465190


I have tried Method 1, it fixes the cursor ghosting/artifacting problem but it makes Google Earth muddled. The maps get muddled and large holes appear in Earth (like transparent earth).
Google Earth works fine here. I wouldn't know how to suggest.

Perhaps you could add this to the Section Device of your /etc/X11/xorg.conf

Option "RenderAccel" "False"

Does anyone know of a similar howto that describes how to roll back and undo all changes for Method 2?

I know how to roll back Method 1, I have acheived that already.
Do you use Ubuntu Breezy 5.10 or Ubuntu Dapper 6.06?

This is my guide for Dapper:
http://www.ubuntuforums.org/showthread.php?t=139264

There you will also find a way to uninstall the driver in Method 2

muz1
July 29th, 2006, 01:34 AM
Recently, I went looking for some drivers because amarok would not play my mp3s. I thought that may be because my sound would work then not work. That is another story. Basically, I found thios package called easy ubuntu and decided to give it a go.
It had the latest nVidia drivers so I thought why not. Mind you, the ones that I already had worked fine.
After installing it, the screen just goes blank and nothing when the screensaver kicks in. Can I rollback or do I have to do some weird stuff. Am using the latest ubuntu with all patches, nvidia card.

Any help would be greatly appreciated.
Cheers
Murray

tseliot
July 29th, 2006, 03:04 AM
Recently, I went looking for some drivers because amarok would not play my mp3s.
Drivers allow the hardware to work. You should have installed the codecs.

Mind you, the ones that I already had worked fine.
After installing it, the screen just goes blank and nothing when the screensaver kicks in. Can I rollback or do I have to do some weird stuff. Am using the latest ubuntu with all patches, nvidia card.

Try this:
boot in RECOVERY MODE from the GRUB Menu almost as soon as you turn on your computer (it will take you to the command line).

Then you will need to type:
dpkg-reconfigure xserver-xorg

and select the "nv" driver. Press ENTER whenever you don't know the answer to a question.

Type:
reboot

The Xserver should work fine

Jimmzone
August 17th, 2006, 01:46 PM
hello tseliot

I wrong, my video card is agp and my motherboard has agp slot. :( ](*,)
sorry

But, I sold my Inno3d Nvidia 6600 AGP video card and I bought Gainward Nvidia 6600 gt AGP card.

I run your envy_8762_64_breezy script. The X works, but i didn't see the mouse cursor and some part of the screen was corrupt. Then i edited device section of the xorg.conf file.:

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600 GT]"
Driver "nvidia"
Option "SWcursor"
Option "NoRenderExtension"
EndSection

Then i see the mouse cursor, but the mouse culsor disappear in the 3D applications (example: screen saver test, OpenGl spectrum analyzer of xmms,... ) and i dont see the nvidia logo (stripy screen).

Please, help me.
Thanks
jimmzon

tseliot
August 18th, 2006, 11:14 AM
hello tseliot

I wrong, my video card is agp and my motherboard has agp slot. :( ](*,)
sorry

But, I sold my Inno3d Nvidia 6600 AGP video card and I bought Gainward Nvidia 6600 gt AGP card.

I run your envy_8762_64_breezy script. The X works, but i didn't see the mouse cursor and some part of the screen was corrupt. Then i edited device section of the xorg.conf file.:

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600 GT]"
Driver "nvidia"
Option "SWcursor"
Option "NoRenderExtension"
EndSection

Then i see the mouse cursor, but the mouse culsor disappear in the 3D applications (example: screen saver test, OpenGl spectrum analyzer of xmms,... ) and i dont see the nvidia logo (stripy screen).

Please, help me.
Thanks
jimmzon
Envy 0.4.2-1ubuntu2 has been released!

* All the architectures are now in main.py

* Fixed the path to the Xserver for Breezy

In other words the code is much less redundant now and Breezy users should upgrade to the latest version because of a bug which affects all previous versions.


In other words, jimmzon try Envy 0.4.2-1ubuntu2

Jimmzone
August 18th, 2006, 08:48 PM
I enabled the extra repositories.
Then I ran “apt-get upgrade” command and installed the Envy 0.4.2-1ubuntu2 package and ran “envy” command.
Then restart the X server.
But the mouse cursor ditto disappear after come out in the 3d application (flicker).

Is there something what i forgot?

tseliot
August 19th, 2006, 07:33 AM
I enabled the extra repositories.
Then I ran “apt-get upgrade” command and installed the Envy 0.4.2-1ubuntu2 package and ran “envy” command.
Then restart the X server.
But the mouse cursor ditto disappear after come out in the 3d application (flicker).

Is there something what i forgot?

Actually it's:
sudo apt-get update


And try point 9 of the Problems Section:
http://doc.gwos.org/index.php/Latest_Nvidia_Dapper#PROBLEMS_SECTION

missmoondog
August 22nd, 2006, 10:14 AM
whether this is the place to complain about this update or not doesn't matter. this totally blows as i just spent 3 hours trying to get my stuff on just one machine running again. have 2 more to try and fix now. the fix in first post did not work totally on my first machine.

this kind of "accident" should not even be allowed to happen whether it's free or not. absolutely rediculous.

ic3man
August 24th, 2006, 12:26 PM
Sorry if it has already been answered...
but i keep trying installing binutils
and i get this error
"You must set the environment variable...."
what is wrong?

remoir
August 26th, 2006, 02:45 PM
hi,

i got the following errors while trying to install the driver after entering the line : gksudo gedit /usr/share/applications/NVIDIA-Settings.desktop

(gksudo:5804): Gdk-WARNING **: locale not supported by Xlib

(gksudo:5804): Gdk-WARNING **: cannot set locale modifiers

(gedit:5805): Gdk-WARNING **: locale not supported by Xlib

(gedit:5805): Gdk-WARNING **: cannot set locale modifiers

(gedit:6133): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

What's wrong ? :??

Jimmzone
August 27th, 2006, 08:10 AM
I added extra repository in the Synaptic package manager, so the maneger updated the source list, when I left it.
I erase these lines in the xorg.conf:

Option "SWcursor"
Option "NoRenderExtension"

Then I tried point 9 of the Problems Section, but problems exist, :(

My current source.list file:
14945

My current xorg.cong file:
14944

What is wrong in these file?

beetee2
September 1st, 2006, 01:46 AM
Hey everyone. First of all, I just want to say what a cool community ubuntu has behind it :) I've had ubuntu for 2 days (LOL) and I'm trying to get my video card configured properly. I ran automatix, but I think I'm still having issues. I have an Nvidia 7600 GT.

Here's what I get:
1) 0000:01:00.0 0300: 10de:0391 (rev a1)
2) 0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0391 (rev a1)

So I've downloaded the new Nvidia drivers, and I can run the install file and everything, but I can't stop the Xserver. I've tried sudo -i and then running init 3, but to no avail. Every time I try to install the drivers I get this message:

"An NVIDIA kernel module 'nvidia' appears to already be loaded in your kernel. This may be because it is in use (for example, by the X server), but may also happen if your kernel was configured without support for module unloading. Please be sure you have exited X before attempting to upgrade your driver. If you have exited X, know that your kernel supports module unloading, and still receive this message, then an error may have occured that has corrupted the NVIDIA kernel module's usage count; the simplest remedy is to reboot your computer."

So clearly I need to stop the Xserver, I just can't figure out a way to do it. If anyone has any suggestions I'm all ears.

WelshChris
September 1st, 2006, 06:38 PM
Ubuntu, derived from Debian, follows Debian policy when it comes to runlevels, a policy which is at odds with RH, Mandriva and others, which you may be familiar with.

In other distributions, generally speaking, runlevel 3 is reserved for multi-user console login, whilst runlevel 5 is reserved for display manager use, such as kdm or gdm.

Ubuntu's different - runlevels 2-5 are identical, and all load the x display manager.

You can create an x free (ha) runlevel by removing the startup scripts which mention xdm, kdm or gdm from e.g. /etc/rc2.d/

However, that's not the full story, since Debian (or Ubuntu) doesn't include kill scripts in the runlevel directories. So, upon changing runlevels, no services are killed, and xdm persists. Maybe you could try switching to runlevel 3 (from which you've removed the xdm scripts) and then killing the Xserver explicitly. A dirty way of doing things. There must be a better way of doing it, and I expect I'll find out soon.


Note - I'm a beginner at using Debian derived distros, so take what I say with a pinch of salt! You might try looking up
http://www.debian.org/doc/debian-policy
or search for debian runlevels.

glennric
September 1st, 2006, 07:27 PM
Ubuntu, derived from Debian, follows Debian policy when it comes to runlevels, a policy which is at odds with RH, Mandriva and others, which you may be familiar with.

In other distributions, generally speaking, runlevel 3 is reserved for multi-user console login, whilst runlevel 5 is reserved for display manager use, such as kdm or gdm.

Ubuntu's different - runlevels 2-5 are identical, and all load the x display manager.

You can create an x free (ha) runlevel by removing the startup scripts which mention xdm, kdm or gdm from e.g. /etc/rc2.d/

However, that's not the full story, since Debian (or Ubuntu) doesn't include kill scripts in the runlevel directories. So, upon changing runlevels, no services are killed, and xdm persists. Maybe you could try switching to runlevel 3 (from which you've removed the xdm scripts) and then killing the Xserver explicitly. A dirty way of doing things. There must be a better way of doing it, and I expect I'll find out soon.


Note - I'm a beginner at using Debian derived distros, so take what I say with a pinch of salt! You might try looking up
http://www.debian.org/doc/debian-policy
or search for debian runlevels.

Try changing the name of the script to Kwhatever. For example to stop gdm from running move S13gdm to K13gdm. You might also have to change the number. I think I actually had to move it to K01gdm. I did this in rc2.d a long time ago.

tseliot
September 2nd, 2006, 07:16 AM
Hey everyone. First of all, I just want to say what a cool community ubuntu has behind it :) I've had ubuntu for