nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Problems getting GeForce 8700GT to work under linux (http://www.nvnews.net/vbulletin/showthread.php?t=155016)

xps8700 09-11-10 09:59 PM

Problems getting GeForce 8700GT to work under linux
 
1 Attachment(s)
Hey! This is my first post to this forum. I own a Dell XPSM1730 laptop with 2X GeForce 8700M GT and its SLI capable. I am experiencing several problems.

For your information, I am using Slackware 13.1 stock, Kernel 2.6.33.4-smp (stock) and currently using nvidia driver 256.53.

EDIT: First issue just below is now fixed!
It all started about a week ago. Randomly, upon logging in KDE, I noticed that the color white (pure white, i.e. RGB 255, 255, 255) was replaced by some kind of bright yellow everywhere... on icons, font, window background, images, videos, etc.. in other words, I completely lost the pure white. I also had some minor flickering where the pure white would normally blend with other colors (lets say on my desktop wallpaper). Please see attached photo of my laptop...

This problem still persist today and is intermittent. I can login in KDE and not have the problem, or I can get it. Once logged, launching the nvidia control panel seems to trigger the problem every time. This problem does not happen with Windows at all (vista, XP or 7) and other linux distros...

Trying to solve this, I did some research but could not find anything. I immediately called dell (my laptop is still under warranty) and they figured my video cards were responsible for the color problem and was probably damaged, so they replaced both cards, and they even replaced the PhysX card.

Now I have 2 brand new GeForce's but the color problem still persists.... and...

Second problem I have is with SLI... Until June, I was using Slackware 12.2 and the SLI was working flawlessly. Now with my current setup, I cant get it to work.

lspci's output:
Code:

03:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8700M GT] (rev a1)
04:00.0 3D controller: nVidia Corporation G84 [GeForce 8700M GT] (rev a1)

Somebody mentioned that its strange I dont see 2 identical devices in lspci... whats with the 3D controller!? I'm not the only one th have this problem.. I've found a bunch of forums and websites and it seems that its mainly XPS M1730 owners like myself...

lspci -t output:
Code:

-[0000:00]-+-00.0
          +-01.0-[01-04]----00.0-[02-04]--+-00.0-[03]----00.0
          |                              \-01.0-[04]----00.0
          +-1a.0
          +-1a.1
          +-1a.7
          +-1b.0
          +-1c.0-[0b]--
          +-1c.1-[0c]----00.0
          +-1c.3-[0d-0e]--
          +-1c.4-[0f]----00.0
          +-1c.5-[09]----00.0
          +-1d.0
          +-1d.1
          +-1d.2
          +-1d.7
          +-1e.0-[05]--+-01.0
          |            +-01.1
          |            +-01.2
          |            +-01.3
          |            \-01.4
          +-1f.0
          +-1f.1
          +-1f.2
          \-1f.3

and xorg.log.0:
Code:

(--) PCI:*(0:3:0:0) 10de:0409:1028:019c rev 161, Mem @ 0xf6000000/16777216, 0xc0000000/268435456, 0xf4000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/131072
(--) PCI: (0:4:0:0) 10de:0409:1028:019c rev 161, Mem @ 0xf1000000/16777216, 0xd0000000/268435456, 0xf2000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Server Extension
(II) NVIDIA GLX Module  256.53  Fri Aug 27 21:28:41 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  256.53  Fri Aug 27 21:05:55 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 03@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "SLI" "on"
(**) NVIDIA(0): Option "MultiGPU" "on"
(**) Sep 11 20:39:37 NVIDIA(0): Enabling RENDER acceleration
(**) Sep 11 20:39:37 NVIDIA(0): NVIDIA SLI auto-select rendering option.
(**) Sep 11 20:39:37 NVIDIA(0): NVIDIA Multi-GPU auto-select rendering option.
(II) Sep 11 20:39:37 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Sep 11 20:39:37 NVIDIA(0):    enabled.
(EE) Sep 11 20:39:40 NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:4:0:0.
(EE) Sep 11 20:39:40 NVIDIA(0):    Please check your system's kernel log for additional error
(EE) Sep 11 20:39:40 NVIDIA(0):    messages and refer to Chapter 8: Common Problems in the
(EE) Sep 11 20:39:40 NVIDIA(0):    README for additional information.
(EE) Sep 11 20:39:40 NVIDIA(0): Failed to initialize one NVIDIA graphics device!
(WW) Sep 11 20:39:40 NVIDIA(0): Failed to initialize SLI configuration.  Reason: One GPU
(WW) Sep 11 20:39:40 NVIDIA(0):    failed to initialize; Only one GPU will be used for this X
(WW) Sep 11 20:39:40 NVIDIA(0):    screen.
(II) Sep 11 20:39:41 NVIDIA(0): NVIDIA GPU GeForce 8700M GT (G84) at PCI:3:0:0 (GPU-0)
(--) Sep 11 20:39:41 NVIDIA(0): Memory: 524288 kBytes
(--) Sep 11 20:39:41 NVIDIA(0): VideoBIOS: 60.84.6a.00.06
(II) Sep 11 20:39:41 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Sep 11 20:39:41 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Sep 11 20:39:41 NVIDIA(0): Connected display device(s) on GeForce 8700M GT at PCI:3:0:0:
(--) Sep 11 20:39:41 NVIDIA(0):    Seiko/Epson (DFP-0)
(--) Sep 11 20:39:41 NVIDIA(0): Seiko/Epson (DFP-0): 330.0 MHz maximum pixel clock
(--) Sep 11 20:39:41 NVIDIA(0): Seiko/Epson (DFP-0): Internal Dual Link LVDS
(II) Sep 11 20:39:41 NVIDIA(0): Assigned Display Device: DFP-0
(==) Sep 11 20:39:41 NVIDIA(0):
(==) Sep 11 20:39:41 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Sep 11 20:39:41 NVIDIA(0):    will be used as the requested mode.
(==) Sep 11 20:39:41 NVIDIA(0):
(II) Sep 11 20:39:41 NVIDIA(0): Validated modes:
(II) Sep 11 20:39:41 NVIDIA(0):    "nvidia-auto-select"
(II) Sep 11 20:39:41 NVIDIA(0): Virtual screen size determined to be 1920 x 1200
(--) Sep 11 20:39:42 NVIDIA(0): DPI set to (131, 132); computed from "UseEdidDpi" X config
(--) Sep 11 20:39:42 NVIDIA(0):    option
(==) Sep 11 20:39:42 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Sep 11 20:39:42 NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
(EE) Sep 11 20:39:42 NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device PCI:4:0:0.
(EE) Sep 11 20:39:42 NVIDIA(GPU-1):    Please check your system's kernel log for additional error
(EE) Sep 11 20:39:42 NVIDIA(GPU-1):    messages and refer to Chapter 8: Common Problems in the
(EE) Sep 11 20:39:42 NVIDIA(GPU-1):    README for additional information.
(EE) Sep 11 20:39:42 NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
(II) Sep 11 20:39:42 NVIDIA(0): Initialized GPU GART.
(II) Sep 11 20:39:42 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Sep 11 20:39:42 NVIDIA(0):    enough to receive ACPI hotkey events.
(II) Sep 11 20:39:42 NVIDIA(0): ACPI brightness change hotkey events enabled.
(II) Sep 11 20:39:42 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Sep 11 20:39:42 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Sep 11 20:39:42 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled

and finally /var/log/syslog:
Code:

Sep 10 21:54:49 xpsm1730 kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module  195.36.31  Tue Jun  1 22:08:27 PDT 2010
Sep 10 21:55:20 xpsm1730 kernel: NVRM: R
Sep 10 21:55:20 xpsm1730 kernel: NVRM: rm_init_adapter(1) failed                                                         
Sep 10 21:55:23 xpsm1730 kernel: vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
Sep 10 21:55:23 xpsm1730 kernel: NVRM: RmInitAdapter failed! (0x26:0xffffffff:1076)                             
Sep 10 21:55:23 xpsm1730 kernel: NVRM: rm_init_adapter(1) failed

I tried to activate SLI with:

Code:

nvidia-xconfig --sli=on
and
Code:

nvidia-xconfig --multigpu=on
and rebooted, but launching the nvidia applet I dont see 2nd video card and no SLI... Plus I get the nice yellow color. SLI works perfectly in windows.

So what should I do from there!?

wiresquire 09-12-10 09:22 AM

Re: Problems getting GeForce 8700GT to work under linux
 
What video bios are you using ?

There is a Video Bios download from the Dell site that says:
"Corrects Yellow Tint Issue"

I'm surprised the Dell techs wouldn't have checked this with you.

If that doesn't resolve it, then it's something more serious....Get Dell out.

SLI has not worked properly in the M1730 since the 185 series. Can't comment on anything later than 195 series. It's 13 months later and I've given up on nVidia and Linux.

ws

xps8700 09-12-10 08:44 PM

Re: Problems getting GeForce 8700GT to work under linux
 
Hey wiresquire, thanks for replying! I actually have some update... I was randomly playing with the settings in the nvidia control panel and I discovered that changing the brightness OR contrast to values above a certain treshold (-0.07 for the brightness & 0.108 for the contrast) results in this yellow color.... below these values, the white appears white. I've never seen that kind of problem before!

I am using Video BIOS 60.84.6a.00.06 as reported by this nvidia control panel. I will try to flash the BIOS'es and see what happens... Dell never mentioned such update was available....

As for the SLI, good to know that since 185.XX its not working... what the !?!? These video cards are not expensive enough!> NVIDIA -> ......:thumbdwn:

xps8700 09-12-10 09:11 PM

Re: Problems getting GeForce 8700GT to work under linux
 
thanks for the BIOS suggestion, it worked! the yellow color is gone. Shame on DELL!!!!!!!!!!!!! especially with all the time I spent with them over the phone....

thats just NON-SENSE if I need to revert to 10 versions in the past to get a working config... Anyways thats just my 2 cents.. Of course I am frustrated and I apologize in advance, but when you pay a laptop $2800 and you get only non-working equipment, It makes me think this is my last computer....

I read your thread http://www.nvnews.net/vbulletin/showthread.php?t=136630 and I think you felt the same way.... I will now try driver 185 series and see for myself...

If planes were working the way computers are, we would still need 5 weeks to go across the ocean...
Good headache!

xps8700 09-12-10 09:31 PM

Re: Problems getting GeForce 8700GT to work under linux
 
just tried to install 185.18.36 and of course i am having new problems... now this thing says that:

1-an existing driver is installed 256.53, and it will be uninstalled... OK!
2-no pre-compiled kernel interface was found to match your kernel... would you like to download blablabla... OK!
3-no pre-compiled kernel interface was found on the Nvidia ftp site. this means that the installer will need to compile .... OK!
4-Error: unable to determine the version of the kernel sources located in /lib/modules/2.6.33.4-smp/sources. Please make sure you have installed the kernel sources files.........

What do I need to do? I use the stock 2.6.33.4-smp kernel from Slackware 13.1

256.53 can build and install without problems...

As far as I know: /lib/modules/2.6.33.4-smp/sources is a simlink to /usr/src/2.6.33.4/ (or something like that) and that seems to be the normal non-smp kernel sources, so I understand why the nvidia script complains about the sources not matching the running kernel. How can I get the sources of this kernel??

xps8700 09-13-10 10:39 PM

Re: Problems getting GeForce 8700GT to work under linux
 
For the previous post, I think I know whats going on.. I need to patch the driver 185.18.36 because I use a newer kernel (2.6.33.4)...

some threads on nvnews.net pointed out that since 185.XX series, the SLI has not been working properly on the dell xpsm1730 with more recent drivers... SO I downloaded driver 190.53 and patched it successfully then installed it.

Some of my comments:

-Better overall performance (window dragging, moving, scrolling, pictures, etc)
-Seems to have improved responsiveness
-Still no SLI!! I suppose I am using 190.53 and thats > 185.XX so as I explained before, it wouldnt work... anybody know where I could get the patch for 185.18.36? As far as I remember, in slack 12.2 this was the driver that worked for SLI... that kinda fits what I read on nvnews.net...

If the SLI does not work with 185.XX, I will have to call a voodoo priest... :firedevil

xps8700 09-16-10 07:37 PM

Re: Problems getting GeForce 8700GT to work under linux
 
I'd like to get community feedback on this issue.

If anybody knows whats going on, please share!

Thanks!

xps8700 09-17-10 09:47 PM

Re: Problems getting GeForce 8700GT to work under linux
 
1 Attachment(s)
Quote:

Originally Posted by Nappers (Post 2319823)
xps8700, I tried to reply to your private message, but you have disabled receiving private messages... so I'm posting my reply here (sorry everyone else!)

My SLI is currently working, though I'm now running on a custom 2.6.35.4 kernel and the 195.36.24 nVidia driver built using nvidia-kernel-dkms from debian testing. Also, the flickering problem still exists with this version when "Allow Flipping" is enabled.
The nvidia-xconfig command you are using just sets some options in the /etc/X11/xorg.conf file. If you have the dual 8700M card, then you should have something like
Code:

Option        "SLI" "Auto" # valid options are "no","Auto","AFR","SFR","AA"
in either the "Screen" section or a "Device" section of this file. You shouldn't need the "multi-gpu" option unless you have multiple GPUs that are not set up in a SLI configuration (see http://http.download.nvidia.com/XFre...igoptions.html).
Once you get the nvidia driver to work, you can enable the tweaks that you make with nvidia-settings by running the command
Code:

nvidia-settings --load-config-only
once X is loaded. I do this by putting the following at the end of my ~/.bash_profile
Code:

if [[ -n "$DISPLAY" ]]
then
  xmodmap /home/nappers/.Xmodmap
  nvidia-settings --load-config-only
  nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1
fi

You say that nvidia-settings only mentions the first GPU, perhaps the second GPU is being disabled by the "multi-gpu" option you enabled? You should have two 8700M controllers in lspci, e.g., I have
Code:

>lspci|grep -i nvidia
01:00.0 PCI bridge: nVidia Corporation Device 01b3 (rev a3)
02:00.0 PCI bridge: nVidia Corporation Device 01b3 (rev a3)
02:01.0 PCI bridge: nVidia Corporation Device 01b3 (rev a3)
03:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8700M GT] (rev a1)
04:00.0 3D controller: nVidia Corporation G84 [GeForce 8700M GT] (rev a1)

They should also show up in the X server log, e.g.,
Code:

>grep GPU-[0-9] /var/log/Xorg.0.log
(II) Sep 15 21:30:11 NVIDIA(0): NVIDIA GPU GeForce 8700M GT (G84) at PCI:3:0:0 (GPU-0)
(II) Sep 15 21:30:11 NVIDIA(0): NVIDIA GPU GeForce 8700M GT (G84) at PCI:4:0:0 (GPU-1)

and in dmesg
Code:

>grep -i nvidia /var/log/dmesg
[    7.282031] nvidia: module license 'NVIDIA' taints kernel.
[    8.001675] nvidia 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    8.001685] nvidia 0000:03:00.0: setting latency timer to 64
[    8.001840] nvidia 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    8.001845] nvidia 0000:04:00.0: setting latency timer to 64
[    8.001977] NVRM: loading NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20 PDT 2010

I hope this helps. Good luck!

Nappers,

I have Option SLI Auto in my /etc/X11/xorg.conf file and I removed the MultiGPU option. Then I opened a terminal and entered the command

Code:

nvidia-settings --load-config-only
and launched the nvidia applet... there is still no SLI there.... attached is a screenshot of what I see...

LSPCI says:
Code:

03:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8700M GT] (rev a1)
04:00.0 3D controller: nVidia Corporation G84 [GeForce 8700M GT] (rev a1)

and at the end of dmesg:

Code:

vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
NVRM: RmInitAdapter failed! (0x26:0xffffffff:1119)
NVRM: rm_init_adapter(1) failed
vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
NVRM: RmInitAdapter failed! (0x26:0xffffffff:1119)
NVRM: rm_init_adapter(1) failed

does it have anything to do with Nvidia?????

also in /var/log/syslog

Code:

Sep 17 21:14:23 xpsm1730 kernel: NVRM: RmInitAdapter failed! (0x26:0xffffffff:1119)
Sep 17 21:14:23 xpsm1730 kernel: NVRM: rm_init_adapter(1) failed
Sep 17 21:14:25 xpsm1730 kernel: vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
Sep 17 21:14:25 xpsm1730 kernel: NVRM: RmInitAdapter failed! (0x26:0xffffffff:1119)
Sep 17 21:14:25 xpsm1730 kernel: NVRM: rm_init_adapter(1) failed

The strange thing is that the Nvidia applet says in the Graphic Card section:

Graphics Processor: GeForce 8700M GT
VBIOS Version: 60.84.6a.00.0b
Memory: 512 MB
Bus Type: PCI Express x16
Bus ID: 3:0:0
...
X Screens: Screen 0
Display Devices: Seiko (DFP-0)

As far as I know, I would have 512MB of video ram with my 2 cards together....

hl_ 09-17-10 10:23 PM

Re: Problems getting GeForce 8700GT to work under linux
 
See http://us.download.nvidia.com/XFree8...ownissues.html

The best solution probably is to switch to x86_64.

xps8700 09-17-10 10:48 PM

Re: Problems getting GeForce 8700GT to work under linux
 
Switch to x86_64??? Why? My machine does not have 64bit hardware.... It used to work with drivers 185.... what changed?? nothing except my kernel (2.6.33.4 except of whatever slackware 12.2 had)...

conky 09-18-10 01:14 AM

Re: Problems getting GeForce 8700GT to work under linux
 
The XPS M1730 certainly does have a 64bit CPU. They sell with Intel Core 2 Duos, which are all 64-bit. Did you switch out the CPU? If you don't want to switch to a 64-bit kernel, you can increase the allocated kernel virtual memory space as discusses here: http://us.download.nvidia.com/XFree8...kva_exhaustion. Changing your kernel possibly could have changed the way it allocated memory if it was very close to exhaustion, and caused this problem.

Nappers 09-18-10 01:13 PM

Re: Problems getting GeForce 8700GT to work under linux
 
Hmm, I never noticed that the CPU was 64-bit before. I'm running 32-bit Debian and haven't had a problem with memory exhaustion.
Those NVRM messages are your second card failing to initialise, but I have no idea how to fix that... perhaps a BIOS or IRQ conflict? Does it also happen with other driver versions?
The fact that the card on bus 3:0:0 is using 512MB of RAM is because the cards share the video RAM and since you don't have SLI working yet, the first card is grabbing all of it. When SLI is working the control panel should say that they have 256MB each.


All times are GMT -5. The time now is 03:03 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.