View previous topic :: View next topic |
Author |
Message |
ctd.mh3 n00b
Joined: 14 May 2008 Posts: 35 Location: Minnesota, USA
|
Posted: Wed Aug 12, 2009 2:23 am Post subject: Solved: Questions on how to get nv driver to work |
|
|
I have a desktop with an old GeForce2 MX video card. After I updated my system to xorg-server-1.5.X a few months ago, I found out that the old 71.X.X (<87.X.X) nvidia drivers did not support that version of x-server. Well, after a few months of no x-server (I did not downgrade to <1.5.X) and no solution in sight, I decided to move to the xorg nv driver. I do not need 3D acceleration, so nv should be fine.
I could not seem to find a great how-to wiki on setting up to use the nv driver. I looked at http://xorg.freedesktop.org/wiki/nv, https://help.ubuntu.com/community/XORGHardy#Xorg%20NV%20Driver%20Configuration, http://www.gentoo.org/doc/en/xorg-config.xml, and http://www.gentoo.org/doc/en/nvidia-guide.xml with no success.
After following all of the below, my screen turns to a black screen with odd white characters across the screen near the end of the boot cycle (I assume when the x-server is started). Pressing ALT-CTRL-F1 just presents a text screen which is also full of odd white characters.
- Changed my VIDEO_CARDS to “nv” and emerged world with the new use flag set.
- Commented out “nvidia” in /etc/modules.autoload.d/kernel-2.6
- Ran update-modules
- Changed the Driver line to “nv” in my /etc/X11/xorg.conf’s Device section
- Rebooted
I was also curious that per the above, I assumed the nvidia driver would not be loaded, but after reboots a lsmod still showed the nvidia driver loaded.
Code: |
mythserver michael # dmesg | grep -i nv
...
[ 0.000000] Nvidia board detected. Ignoring ACPI timer override.
[ 1.978446] nv_probe: set workaround bit for reversed mac addr
...
[ 9.639474] nvidia: module license 'NVIDIA' taints kernel.
[ 9.753664] nvidia 0000:01:02.0: PCI INT A -> Link[LNK3] -> GSI 5 (level, low) -> IRQ 5
[ 9.754455] nvidia 0000:03:00.0: enabling device (0000 -> 0002)
[ 9.754958] nvidia 0000:03:00.0: PCI INT A -> Link[LNK5] -> GSI 11 (level, low) -> IRQ 11
[ 9.755825] NVRM: loading NVIDIA Linux x86 Kernel Module 71.86.09 Mon Feb 23 16:13:37 PST 2009
|
Here is my xorg.conf
Code: |
mythserver linux # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
# Commented out for nv driver troubleshooting
# Load "dbe"
# Load "glx"
# Load "dri"
# Load "extmod"
# Load "xtrap"
# Load "GLcore"
# Load "record"
# Load "freetype"
# Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NVCrush11 [GeForce2 MX Integrated Graphics]"
BusID "PCI:3:0:0"
EndSection
Section "Screen"
DefaultDepth 24
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
[/ | code]
Also my /var/log/Xorg.0.log does not indicate any errors.
Any thoughts on my issue or a good guide for the nv driver?
Thanks in advance
Mike
Last edited by ctd.mh3 on Thu Aug 13, 2009 12:43 am; edited 1 time in total |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Aug 12, 2009 2:31 am Post subject: |
|
|
I ran some older nVidia cards on xorg-server-1.4.2 with nvidia driver in xorg.conf for a long time. Never had any issues. I always followed the Gentoo nVidia Guide |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Aug 12, 2009 5:09 am Post subject: |
|
|
Post the results of lspci -n so I know exactly (ie PCI ID#) which card we're discussing.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
sebaro Veteran
Joined: 03 Jul 2006 Posts: 1141 Location: Romania
|
Posted: Wed Aug 12, 2009 5:34 am Post subject: |
|
|
Remove xdm from runlevel "rc-update del xdm" and reboot.
See if nvidia is still loaded - "lsmod". If is, "rmmod nvidia".
Start X "startx". |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
Posted: Wed Aug 12, 2009 10:15 am Post subject: |
|
|
I recently had to switch from nvidia-drivers to nv (stupid HP problem )
How I did that:
- VIDEO_CARDS="nv" in /etc/make.conf
- removed nvidia-drivers: emerge -C nvidia-drivers
- rebuilt all my xorg-stuff: emerge xf86-video-nv xf86-input-evdev xf86-input-keyboard xf86-input-synaptics xorg-server xorg-x11
- changed to Driver "nv" in xorg.conf's device section and commented out all nvidia options
I restart X and now the nv driver is used, no problems
however after reboots the nvidia module is still loaded.
I had to remove the driver:
rm /lib/modules/2.6.30-gentoo-r4/video/nvidia.ko _________________ i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD |
|
Back to top |
|
|
ctd.mh3 n00b
Joined: 14 May 2008 Posts: 35 Location: Minnesota, USA
|
Posted: Wed Aug 12, 2009 11:04 am Post subject: lspci output |
|
|
pappy_mcfae wrote: | Post the results of lspci -n so I know exactly (ie PCI ID#) which card we're discussing.
Blessed be!
Pappy |
Hey there,
Here is the output you wanted. I forgot to mentioned that one of my earlier steps was to buy another cheap nvidia card (which would use a newer driver version) from ebay. I ended up buying almost the same card due to my confusion. So you will see two cards listed below. In my PC's BIOS, it is set to use the GeForce2 MX card (PCI slot card) and not the integrated mothercard video chips(GeForce2 MX200). It looks like xorg is using the correct card, so I did not think that was an issue.
Code: |
mythserver michael # lspci -n
00:00.0 0600: 10de:01a4 (rev b2)
00:00.1 0500: 10de:01ac (rev b2)
00:00.2 0500: 10de:01ad (rev b2)
00:00.3 0500: 10de:01ab (rev b2)
00:01.0 0601: 10de:01b2 (rev c3)
00:01.1 0c05: 10de:01b4 (rev c1)
00:02.0 0c03: 10de:01c2 (rev c3)
00:03.0 0c03: 10de:01c2 (rev c3)
00:04.0 0200: 10de:01c3 (rev c2)
00:05.0 0401: 10de:01b0 (rev c2)
00:06.0 0401: 10de:01b1 (rev c2)
00:08.0 0604: 10de:01b8 (rev c2)
00:09.0 0101: 10de:01bc (rev c3)
00:1e.0 0604: 10de:01b7 (rev b2)
01:00.0 0180: 105a:3d17 (rev 02)
01:01.0 0400: 4444:0803 (rev 01)
01:02.0 0300: 10de:0111 (rev b2)
01:04.0 0604: 3388:0021 (rev 11)
02:08.0 0400: 4444:0016 (rev 01)
02:09.0 0400: 4444:0016 (rev 01)
03:00.0 0300: 10de:01a0 (rev b1)
mythserver michael # lspci -v
...
01:02.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX200] ( rev b2) (prog-if 00 [VGA controller])
Subsystem: VISIONTEK Device 0027
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
Memory at e7000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (32-bit, prefetchable) [size=128M]
[virtual] Expansion ROM at d4000000 [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Kernel modules: nvidia
...
03:00.0 VGA compatible controller: nVidia Corporation NVCrush11 [GeForce2 MX Int egrated Graphics] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Device 3738
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
Memory at e4000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at e5000000 [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
Kernel modules: nvidia
mythserver michael #cat /var/log/Xorg.0.log
...
(!!) More than one possible primary device found
(--) PCI: (0@1:1:0) Internext Compression Inc iTVC15 MPEG-2 Encoder rev 1, Mem @ 0xc8000000/0
(--) PCI: (0@1:2:0) nVidia Corporation NV11DDR [GeForce2 MX200] rev 178, Mem @ 0xe7000000/0, 0xc0000000/0, BIOS @ 0x????????/65536
(--) PCI: (0@2:8:0) Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder rev 1, Mem @ 0xcc000000/0
(--) PCI: (0@2:9:0) Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder rev 1, Mem @ 0xd0000000/0
(--) PCI: (0@3:0:0) nVidia Corporation NVCrush11 [GeForce2 MX Integrated Graphics] rev 177, Mem @ 0xe4000000/0, 0xd8000000/0, BIOS
@ 0x????????/65536
...
(II) Primary Device is:
(--) NV: Found NVIDIA GeForce2 Integrated GPU at 03@00:00:0
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) Loading sub module "int10"
(II) LoadModule: "int10"
...
|
Thanks
Mike |
|
Back to top |
|
|
ctd.mh3 n00b
Joined: 14 May 2008 Posts: 35 Location: Minnesota, USA
|
Posted: Wed Aug 12, 2009 11:14 am Post subject: |
|
|
dweezil-n0xad wrote: | I recently had to switch from nvidia-drivers to nv (stupid HP problem )
How I did that:
- VIDEO_CARDS="nv" in /etc/make.conf
- removed nvidia-drivers: emerge -C nvidia-drivers
- rebuilt all my xorg-stuff: emerge xf86-video-nv xf86-input-evdev xf86-input-keyboard xf86-input-synaptics xorg-server xorg-x11
- changed to Driver "nv" in xorg.conf's device section and commented out all nvidia options
I restart X and now the nv driver is used, no problems
however after reboots the nvidia module is still loaded.
I had to remove the driver:
rm /lib/modules/2.6.30-gentoo-r4/video/nvidia.ko |
sebaro wrote: | Remove xdm from runlevel "rc-update del xdm" and reboot.
See if nvidia is still loaded - "lsmod". If is, "rmmod nvidia".
Start X "startx". |
Excellent ideas. I will have to wait until I get home tonight to confirm these help.
I am still curious why the nvidivia driver would be loading if I removed it from /etc/modules.autoload.d/kernel-2.6, but deleting /lib/modules/2.6.30-gentoo-r4/video/nvidia.ko should prevent that. I did notice that during the earlier part of the boot up, I would get a message of only my ivtv module being loaded. ivtv is the only driver mentioned in /etc/modules.autoload.d/kernel-2.6. I am guessing that for some reason when X is started up it is loading the nvidia driver. This is based on the fact that when booting my start-up text is readable. It is only messed up almost near the end of the boot when I assume X is starting. And I guess I was assuming that having that driver loaded when attempting to use the nv driver is not a good thing.
Thanks. |
|
Back to top |
|
|
ctd.mh3 n00b
Joined: 14 May 2008 Posts: 35 Location: Minnesota, USA
|
Posted: Wed Aug 12, 2009 12:53 pm Post subject: Without nvidia loading same issue |
|
|
So, I deleted the nvidia driver:
Code: | rm /lib/modules/2.6.30-gentoo-r4/video/nvidia.ko |
Rebooted and verified that the nvidia driver was not loaded via lsmod.
Still have the same issue though.
Any thoughts?
Thanks
Mike |
|
Back to top |
|
|
ctd.mh3 n00b
Joined: 14 May 2008 Posts: 35 Location: Minnesota, USA
|
Posted: Wed Aug 12, 2009 1:23 pm Post subject: Two video cards |
|
|
I think when I get home tonight, I will remove the PCI video card and just use the motherboard's integrated nvidia chipset. I suspect that having these two cards might be causing an issue.
Now that I think about it, my xorg.conf BusID line was for my old integrated nvidia chipset, but my BIOS has that one disabled. Since changing that line is easier than pulling my PCI card, I will update that line to "PCI:1:2:0" to match my PCI card's ID from lspci -v. When I get home, I can see what it looks like.
Will post my results. |
|
Back to top |
|
|
ctd.mh3 n00b
Joined: 14 May 2008 Posts: 35 Location: Minnesota, USA
|
Posted: Thu Aug 13, 2009 12:43 am Post subject: Solved |
|
|
Yeap, the issue was that my BusID line was incorrect.
Thanks for the help. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|