{Hardy} Xorg not loading "nv" driver

Bug #207209 reported by 67GTA
6
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nv (Ubuntu)
Fix Released
High
Timo Aaltonen

Bug Description

Binary package hint: xorg

Hardy xorg 1:7.3+10ubuntu7(hardy) uses "vesa" instead of "nv" with HP m8100n desktop. AMD Athlon 5600 x2, Nvidia GeForce 6150SE nForce 430/PCI/SSE2/3DNOW! Resolution should be 1280x1024. Vesa driver uses 800x600. Dpkg-reconfigure xserver-xorg skips the video configuration. The only way to correctly set resolution is to install proprietary nvidia driver. Xorg refuses to use "nv".

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

Please attach your /var/log/Xorg.0.log from when it booted into vesa, and the output of lspci -vvnn

Changed in xorg:
status: New → Incomplete
Revision history for this message
67GTA (67gta) wrote :
Download full text (67.3 KiB)

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu5)
Current Operating System: Linux ubuntu 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686
Build Date: 13 March 2008 05:31:49PM

 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 26 12:51:40 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Configured Monitor"
(**) | |-->Device "Configured Video Device"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified. Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
 Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
 Using the first keyboard device.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81dc500
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 2.0
 X.Org XInput driver : 2.0
 X.Org Server Extension : 0.3
 X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
 compiled for 1.4.0.90, module version = 1.0.0
 ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,03ea card 103c,2a61 rev a1 class 05,00,00 hdr 00
(II) PCI: 00:01:0: chip 10de,03e0 card 103c,2a61 rev a2 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,03eb card 103c,2a61 rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:01:2: chip 10de,03f5 card 103c,2a61 rev a2 class 05,00,00 hdr 80
...

Revision history for this message
67GTA (67gta) wrote :

I tried the Ubuntu and Kubuntu live CD's on my daughter's Dell desktop and they both loaded the "nv" driver and set the res correctly to 1280x1024. She has a Nvidia 7300 LE. It may just be a problem with my card not being detected correctly. Is there a new way to set xorg options since dpkg tools aren't included?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

The server uses vesa by default on your card because the -nv driver doesn't list the device as supported. The driver could be patched to add the pci-id, but no guarantees that it will actually work.

Revision history for this message
67GTA (67gta) wrote :

This card has been supported for the last two releases by the "nv" driver. Was it dropped, or has "nv" been started over with the new xorg?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Actually, I see the problem now. The command which generates /usr/share/xserver-xorg/pci/nv.ids is flawed, since nv_driver.c has two lists of supported drivers. The other list is completely ignored, 22 pci-id's including 03d0.

Changed in xserver-xorg-video-nv:
assignee: nobody → tjaalton
importance: Undecided → High
status: Incomplete → In Progress
milestone: none → ubuntu-8.04
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please try the package from my ppa when it's built:

deb http://ppa.launchpad.net/tjaalton/ubuntu hardy main

Revision history for this message
67GTA (67gta) wrote :

What is the difference in xserver-xorg-video-nv_2.1.8-1tja1_i386.deb and xserver-xorg-video-nv_2.1.8-1~tja1_i386.deb? Which one should I install?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

The only change is the version, -1~tja1 is smaller than -1 so apt won't upgrade to it, that's why I replaced it with -1tja1.

Revision history for this message
67GTA (67gta) wrote :

Nevermind that question, this is the same version as the repos. I assume it hasn't been "built" yet. Will this come through as an update?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

it's built now, and it should update nicely.

Revision history for this message
67GTA (67gta) wrote :
Download full text (51.2 KiB)

Just installed it manually. I removed the nvidia driver, installed the new xserver-xorg-video-nv package, and rebooted. I got a ncurses screen with options to do a normal boot, fix xconfig, and go to a root shell. I chose fix xconfig and it saved the new settings to xorg.conf. It then booted into the correct resolution using the nv driver. I think this will work! The new xorg autocofig will be awesome once the bugs are worked out. Thank you.

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu5)
Current Operating System: Linux fastback 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686
Build Date: 13 March 2008 05:31:49PM

 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 27 10:21:02 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Configured Monitor"
(**) | |-->Device "Configured Video Device"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified. Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
 Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
 Using the first keyboard device.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81dc500
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 2.0
 X.Org XInput driver : 2.0
 X.Org Server Extension : 0.3
 X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
 compiled for 1.4.0.9...

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

This bug was fixed in the package xserver-xorg-video-nv - 1:2.1.8-1ubuntu1

---------------
xserver-xorg-video-nv (1:2.1.8-1ubuntu1) hardy; urgency=low

  * 01_gen_pci_ids.diff, src/Makefile.in: Updated to include all the
    devices the driver supports. (LP: #207209)
  * 100_fedora-panel-fix.patch
    - Don't discard EDID blocks just because their input type bit
      disagrees with the hardware connection sensing; this usually
      just means the block is lying. (LP: #188549)
  * Change the maintainer address.

 -- Timo Aaltonen <email address hidden> Sat, 29 Mar 2008 00:17:58 +0200

Changed in xserver-xorg-video-nv:
status: In Progress → Fix Released
Revision history for this message
Jo-Erlend Schinstad (joerlend.schinstad-deactivatedaccount) wrote :

I'm running Hardy, and I have an nVidia GeForce 7050PV/nForce 630A chipset. I've installed the update, but I'm still not able to use the nv driver. I have to use vesa.

Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

I've also got this problem.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Jo-Erlend, Jeffrey: your problem is likely different. This bug was about nv driver not being used. There are other bugs where nv doesn't work right.

Revision history for this message
Jo-Erlend Schinstad (joerlend.schinstad-deactivatedaccount) wrote :

Well, the description of this bug matches the situation perfectly. It is as if I had written it myself.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, in that case it's fixed for you already.

Revision history for this message
Peter Cordes (peter-cordes) wrote :
Download full text (3.5 KiB)

I have the same problem, but with a different PCI ID: an AGP 7600GT
nv supports this card; putting Driver "nv" in xorg.conf brings up a 1680x1050 desktop with the size (in mm) detected correctly by DDC. With the default xorg.conf not specifying a driver, X chooses VESA.

sudo lspci -vvnn:

01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 7600 GT [10de:02e0] (rev a2) (prog-if 00 [VGA controller])
 Subsystem: XFX Pine Group Inc. Unknown device [1682:2249]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64 (1250ns min, 250ns max)
 Interrupt: pin A routed to IRQ 11
 Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
 Region 1: Memory at c0000000 (32-bit, prefetchable) [size=256M]
 Region 2: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
 Expansion ROM at fd000000 [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: [44] AGP version 3.0
  Status: RQ=256 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

 I've attached my Xorg.0.log, in case it will somehow be useful.

I'm running from the Hardy beta i386 Desktop liveCD (on a USB stick w/ isotostick.sh) with updates installed on the livesystem tmpfs:
/var/log/aptitude snippets:
[UPGRADE] xserver-xorg 1:7.3+10ubuntu7 -> 1:7.3+10ubuntu10
[UPGRADE] xserver-xorg-core 2:1.4.1~git20080131-1ubuntu5 -> 2:1.4.1~git20080131-
1ubuntu9
[UPGRADE] xserver-xorg-video-nv 1:2.1.7-1 -> 1:2.1.8-1ubuntu1

[UPGRADE] grub 0.97-29ubuntu18 -> 0.97-29ubuntu21
[UPGRADE] hdparm 7.7-1ubuntu1 -> 8.6-1ubuntu1
[UPGRADE] hwtest 0.1-0ubuntu6 -> 0.1-0ubuntu8
[UPGRADE] hwtest-gtk 0.1-0ubuntu6 -> 0.1-0ubuntu8
[UPGRADE] initramfs-tools 0.85eubuntu34 -> 0.85eubuntu36
[UPGRADE] libuuid1 1.40.3-1 -> 1.40.8-2ubuntu2
[UPGRADE] lshw 02.12.01-2 -> 02.12.01-2ubuntu1
[UPGRADE] pciutils 1:2.2.4-1.1ubuntu2 -> 1:2.2.4-1.1ubuntu3
[UPGRADE] python-central 0.6.0ubuntu2 -> 0.6.1ubuntu2
[UPGRADE] udev 117-4 -> 117-8
[UPGRADE] upstart 0.3.9-1 -> 0.3.9-2
[UPGRADE] upstart-compat-sysv 0.3.9-1 -> 0.3.9-2
[UPGRADE] upstart-logd 0.3.9-1 -> 0.3.9-2
[UPGRADE] util-linux 2.13.1-2ubuntu1 -> 2.13.1-5ubuntu1
[UPGRADE] util-linux-locales 2.13.1-2ubuntu1 -> 2.13.1-5ubuntu1
[UPGRADE] x-ttcidfont-conf 26 -> 27
[UPGRADE] xbase-clients 1:7.3+10ubuntu7 -> 1:7.3+10ubuntu10
[UPGRADE] xkb-data 1.1~cvs.20080104.1-1ubuntu2 -> 1.1~cvs.20080104.1-1ubuntu5
[UPGRADE] xorg 1:7.3+10ubuntu7 -> 1:7.3+10ubuntu10
[UPGRADE] xserver-xorg-video-vesa 1:1.3.0-4ubuntu3 -> 1:1.3.0-4ubuntu4

 Then I restarted X with CTRL+ALT+backspace.

/usr/share/doc/xserver-xorg-video-nv/changelog.Debian.gz shows the change that fixed the original submitters problem, but it doesn't fix my problem.

 I already have Debian installed on this machine (where I use nvidia's binary-only stuff), but I could find a spare partition to do an Ubuntu install if you think this...

Read more...

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.