Support for Nvidia GeForce 8400M,8300,8600 Gfx chipset

Bug #121163 reported by rez
10
Affects Status Importance Assigned to Milestone
Feisty Backports
Invalid
Undecided
Unassigned

Bug Description

Requesting support for Nvidia GeForce 8400M, 8600 and 8300 in open source "nv" X driver in Feisty.

Revision history for this message
Amit Bhutani (amit.bhutani) wrote :

s/8300/8300GS && s/8600/8600GT in $SUBJECT. These three video controllers make up for the discreet options in the upcoming Dell Ubuntu systems. Need 2D and 3D video support for these in Feisty and upcoming Gutsy. This specific launchpad is to track the open-source 2D support via the "nv" driver.

Revision history for this message
rez (rezwanul-kabir) wrote :

Below is the patch to enable 8600 and 8500 in the nv driver. Don't see 8400M or 8300 mentioned though. So, need to dig further for those..

http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video nv.git;a=commit;h=b68f3ada7bd857095c7652c175a0ba18bf45801f

Revision history for this message
dean (dean-oliver) wrote :

the nv 2d driver is working correctly for the nvidia 8600 card on -15 kernel.

Revision history for this message
Bryce Harrington (bryce) wrote :

Here's 8300GS and 8400GS
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-nv.git;a=commitdiff;h=5d9b75b432dbc525e10c1c00436a1820456f6fb4

According to http://packages.ubuntu.com/feisty/x11/, Feisty has xserver-xorg-video-nv 1:2.0.0-0ubuntu3. Our current version in Gutsy is xserver-xorg-video-nv_2.0.2-1ubuntu3, which includes 8600GS and 8500GS, but not 8300GS or 8400M.

I take it that 8400M != 8400GS? I don't find an instance of 8400M in the git tree, so that one may prove to be more involved to add.

Revision history for this message
Bryce Harrington (bryce) wrote :

Would you mind testing this deb on each of the systems?

http://people.ubuntu.com/~bryce/Testing/xserver-xorg-video-nv_2.0.0-0ubuntu4_i386.deb

This merely adds the PCI IDs for GeForce 8300GS, 8400GS, 8500GT, 8600GT, and 8600GTS. I don't know if these will work though, because with the 2.0.0 driver, these are added in an #ifdef, and because I don't know if other code added between 2.0.0 and 2.0.2 is required for these to function properly. But, if it does work, this will be the simplest thing to SRU.

In case this does not work, I'm going to work on getting sync'd to upstream's newest -nv driver (version 2.0.96), which has not been picked up by Debian yet. Hopefully I can get Gutsy debs of these to you by tomorrow or Thursday.

Revision history for this message
Bryce Harrington (bryce) wrote :

As luck would have it, upstream released -nv 2.1.0 last night, so I've gone ahead and packaged it.

http://people.ubuntu.com/~bryce/Testing/nv_2.1.0/Feisty/xserver-xorg-video-nv_2.1.0-0ubuntu1_i386.deb
http://people.ubuntu.com/~bryce/Testing/nv_2.1.0/Gutsy/xserver-xorg-video-nv_2.1.0-0ubuntu1_i386.deb

The first one is built in a Feisty pbuilder environment, the second in a Gutsy environment.

I won't be able to test it myself until tomorrow, but figured you might want to have an early look at it. I'll report back tomorrow after I've had a chance to play with it.

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

I downloaded and tested -nv 2.1.0 on Lanai, put did not work, either after re-starting gdm or after rebooting. I get a blank screen.

Revision history for this message
Bryce Harrington (bryce) wrote :

Could you attach your /var/log/Xorg.0.log and /etc/X11/xorg.org files from after trying to start with this? Also, which graphics card does Lanai have in it?

Changed in redfish:
status: Unconfirmed → Needs Info
Revision history for this message
Bryce Harrington (bryce) wrote :

ALso, did you use the Feisty or Gutsy deb file?

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Output of 'ddcprobe':

vbe: VESA 3.0 detected.
oem: NVIDIA
vendor: NVIDIA Corporation
product: G86 Board - lanai0 Chip Rev
memory: 14336kb
mode: 640x400x256
mode: 640x480x256
mode: 800x600x16
mode: 800x600x256
mode: 1024x768x16
mode: 1024x768x256
mode: 320x200x64k
mode: 320x200x16m
mode: 640x480x64k
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 1024x768x64k
mode: 1024x768x16m
edid:
edidfail

Output of 'lspci -vvv':

01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0427 (rev a1) (prog-if 00 [VGA])
 Subsystem: Dell Unknown device 01f3
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 7
 Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
 Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
 Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
 Region 5: I/O ports at df00 [size=128]
 [virtual] Expansion ROM at fc000000 [disabled] [size=128K]
 Capabilities: [60] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
  Address: 0000000000000000 Data: 0000
 Capabilities: [78] Express Endpoint IRQ 0
  Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
  Device: Latency L0s <512ns, L1 <4us
  Device: AtnBtn- AtnInd- PwrInd-
  Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
  Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
  Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
  Link: Supported Speed 2.5Gb/s, Width x16, ASPM L0s L1, Port 0
  Link: Latency L0s <512ns, L1 <4us
  Link: ASPM L0s L1 Enabled RCB 128 bytes CommClk+ ExtSynch-
  Link: Speed 2.5Gb/s, Width x16

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

One more file:

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Oh yes, one more thing, I used the Feisty deb.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Jose,

Hrm, unfortunately the files still do not have the needed piece of info, so maybe you can tell me directly. Is this system you are testing on using the 8400M nvidia chipset, or 8600 GS or 8300 GS? The lspci simply reports the card as (Unknown device 0427).

The reason I ask is because the Feisty deb *should* work on 8300 GS and 8600 GS, but probably won't work on 8400M since it wasn't added. If you have a way to test on an 8300 GS system and an 8600 GS system, that would be very helpful; if those work, then we can focus just on 8400M now.

Meanwhile, I've asked the nvidia driver author for information about support for 8400M, and will report here when I hear.

Bryce

Revision history for this message
Bryce Harrington (bryce) wrote :

I take it back, '0427' was exactly what I needed. :-)

Here is a patch to try. I'll roll new debs asap.

--- xserver-xorg-video-nv-2.1.0/src/nv_driver.c 2007-06-05 17:01:45.000000000 -0700
+++ xserver-xorg-video-nv-2.1.0/src/nv_driver.c-new 2007-06-21 16:35:04.720409250 -0700
@@ -347,6 +347,10 @@
   { 0x10DE0421, "GeForce 8500 GT" },
   { 0x10DE0422, "GeForce 8400 GS" },
   { 0x10DE0423, "GeForce 8300 GS" },
+ { 0x10DE0425, "GeForce 8600M GS" },
+ { 0x10DE0426, "GeForce 8400M GT" },
+ { 0x10DE0427, "GeForce 8400M GS" },
+ { 0x10DE0428, "GeForce 8400M G" },

   {-1, NULL}
 };

Revision history for this message
Bryce Harrington (bryce) wrote :

I've heard back from the upstream maintainer at nVidia - the 8400M series is not supported yet:

> Hi Aaron,
>
> I am preparing the ubuntu package for this new driver, but had a
> question from a user - does this support the 8400M chipset?

No, not yet.

-- Aaron

Changed in redfish:
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

More info...

> Is it merely a matter of adding the pci id's or are there coding changes
> that also need to be done?

No, I got a laptop with an 8400M in it today and tried it out and it didn't
work right, so it'll take some debugging.

-- Aaron

Revision history for this message
Bryce Harrington (bryce) wrote :

Update - Aaron says he does not have an ETA for adding 8400M support.

Revision history for this message
Bryce Harrington (bryce) wrote :

Aaron Plattner has released an update with 8400M support.

Here are the .debs for both Gutsy and Feisty:

 http://people.ubuntu.com/~bryce/Testing/nv_2.1.1-Feisty/xserver-xorg-video-nv_2.1.1-1_i386.deb
 http://people.ubuntu.com/~bryce/Testing/nv_2.1.1-Gutsy/xserver-xorg-video-nv_2.1.1-1_i386.deb

I've tested both of these on my own (Gutsy) system, to verify they
install and run X. I would appreciate if you could also check to see if
they install properly on Feisty, and verify that they fix the 8400M
support issue.

Bryce

Aaron Plattner (3):
      Support configs with BAR1 < total RAM < 256 MB.
      GeForce 8400M G.
      Bump to 2.1.1.

git tag: nv-2.1.1

http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nv-2.1.1.tar.bz2
MD5: 47c31c1d15b441fddcb7d665ca48beef xf86-video-nv-2.1.1.tar.bz2
SHA1: d6e7cea320b6f75cba64fc4f478d372b5199faf1 xf86-video-nv-2.1.1.tar.bz2

http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nv-2.1.1.tar.gz
MD5: 579c7b47a1b94460aefcb0468a5d8075 xf86-video-nv-2.1.1.tar.gz
SHA1: f0a0faff93cee39386455c00ff3c880f2b6aa35e xf86-video-nv-2.1.1.tar.gz

Changed in redfish:
importance: Undecided → High
status: Confirmed → Fix Committed
Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Installed deb for Feisty on Lanai (1420n) with NVIDIA 8400M but it did not work, I get a blank screen. Attached is /etc/X11/xorg.conf. Below is output of ddcprobe:

vbe: VESA 3.0 detected.
oem: NVIDIA
vendor: NVIDIA Corporation
product: G86 Board - lanai0 Chip Rev
memory: 14336kb
mode: 640x400x256
mode: 640x480x256
mode: 800x600x16
mode: 800x600x256
mode: 1024x768x16
mode: 1024x768x256
mode: 320x200x64k
mode: 320x200x16m
mode: 640x480x64k
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 1024x768x64k
mode: 1024x768x16m
edid:
edidfail

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

/var/log/Xorg.0.log from previous post.

Revision history for this message
Bryce Harrington (bryce) wrote :

Odd, according to the log, the "vesa" module is getting loaded, but "nv" is not.

Revision history for this message
Bryce Harrington (bryce) wrote :

The 2.1.1 release from Aaron added "8400M G" support, but did not add the pci id's for other 8400M class hardware. I believe this is why "8400M GS" was found not to start up.

I've added a patch that explicitly adds the pci id for "8400M GS" as well as a few others. I am making the assumption that the new 8400M G support may make things work properly with 8400 GS as well, but this will need to be tested.

Jose, please load the following deb and check if it works for your 8400M GS system:
http://people.ubuntu.com/~bryce/Testing/nv_2.1.1-Feisty/xserver-xorg-video-nv_2.1.1-1ubuntu1_i386.deb

Bryce

Revision history for this message
rez (rezwanul-kabir) wrote :

Bryce

  The above "nv" driver didn't solve the problem. We still get blank screen.
   However, a newer version of "nv" (version 2.1.2) has been officially released from X.org, which presumably will solve the issue at hand.

   here's the official release with the fix:
http://lists.freedesktop.org/archives/xorg-announce/2007-July/000324.html

   Pls upload a .deb package for testing..

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 121163] Re: Support for Nvidia GeForce 8400M, 8300, 8600 Gfx chipset

On Wed, Jul 11, 2007 at 04:23:47AM -0000, rez wrote:
> Bryce
>
> The above "nv" driver didn't solve the problem. We still get blank screen.
> However, a newer version of "nv" (version 2.1.2) has been officially released from X.org, which presumably will solve the issue at hand.
>
> here's the official release with the fix:
> http://lists.freedesktop.org/archives/xorg-announce/2007-July/000324.html
>
> Pls upload a .deb package for testing..

Hi Rez,

The 2.1.2 package has been sync'd to gutsy, and should be available for
install very shortly.

xserver-xorg-video-nv | 1:2.1.1-1 | http://us.archive.ubuntu.com gutsy/main Packages
xserver-xorg-video-nv | 1:2.1.2-2 | http://us.archive.ubuntu.com gutsy/main Sources

Bryce

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Bryce is backporting 1:2.1.2-2 for Feisty.

Revision history for this message
Bryce Harrington (bryce) wrote :

Subscribing feisty-backports. The xserver-xorg-video-nv 2.1.2 driver adds support for a wide range of new nVidia drivers including the 8xxx series.

Revision history for this message
Bryce Harrington (bryce) wrote :
Bryce Harrington (bryce)
Changed in feisty-backports:
status: New → Confirmed
Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Package xserver-xorg-video-nv_2.1.2-2ubuntu1_i386.deb for Feisty works on Dell 1420n with Nvidia 8400M. Supported resolutions on LCD screen are 1440x1440, 1440x900, 1280x800, 1280x768,1024x768,800x600 and 640x480.

Initial testing of Suspend and Hibernate failed, not sure if we need to spin those into a different LP?

Have not tested with external monitors yet.

Revision history for this message
Bryce Harrington (bryce) wrote :

Glad to hear the support now works!

Yes, please spin off each additional issue as a separate bug report.

Revision history for this message
Scott Kitterman (kitterman) wrote :

It does not appear that this update is all the way to tested and working yet, so setting back to incomplete.

Changed in feisty-backports:
status: Confirmed → Incomplete
Revision history for this message
Tim Gardner (timg-tpi) wrote :

nVidia GeForce2 8600M GT doesn't work at all with Gutsy 2.6.22-11.32, lrm 2.6.22.3-11.1

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Oh - This is for Feisty backports. Never mind.

Changed in dell:
status: Fix Committed → Fix Released
Revision history for this message
mikwat (mikwat) wrote :

I just purchased a new Dell XPS 410 N with Ubuntu 7.04 pre-installed which comes with the nVidia GeForce 8300 GS. I'm trying to use this machine with a 22" ViewSonic VX2235wm monitor running natively at 1680x1050. After going through "dpkg-reconfigure xserver-xorg" gdm successfully boots at the correct resolution, however there is slight flicker and fuzziness (which makes me feel like I'm going blind). I have tried all of the suggestions from Ubuntu ( https://help.ubuntu.com/community/FixVideoResolutionHowto ) without luck. There doesn't appear to be a binary driver from nVidia supporting this card either.

When I try connecting the monitor using a DVI cable, I get a blank screen and the monitor reports "Out of Range H 65 KHz, V 60 Hz" (although both of those freqencies are within the manufacturer's specification).

I'm I SOL here?

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Did you try the latest driver from nVidia? http://www.nvidia.com/object/linux_display_ia32_100.14.19.html.

Revision history for this message
mikwat (mikwat) wrote :

Jose,

Thanks for the reply. I installed the nVidia driver, following the
instructions ( https://help.ubuntu.com/community/NvidiaManual ). gdm
fails to start. I have attached my xorg logfile and configuration.

Thanks,
mike.

On 10/10/07, Jose De la Rosa <email address hidden> wrote:
> Did you try the latest driver from nVidia?
> http://www.nvidia.com/object/linux_display_ia32_100.14.19.html.
>
> --
> Support for Nvidia GeForce 8400M,8300,8600 Gfx chipset
> https://bugs.launchpad.net/bugs/121163
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
<email address hidden>
http://www.mikwat.com

Revision history for this message
mikwat (mikwat) wrote :

I missed the step in the setup that says "delete /lib/linux-restricted-modules/.nvidia_new_installed". I now have the nVidia driver running beautifully. Thanks for your help, Jose.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Feisty Backports because there has been no activity for 60 days.]

Changed in somerville:
importance: Undecided → High
status: New → Fix Released
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305718

no longer affects: somerville
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.