nvidia-glx-legacy driver crashes xorg on startup (TV-Out)

Bug #89290 reported by Mikael Frykholm
10
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.20 (Ubuntu)
Won't Fix
Medium
Unassigned
xorg (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

01:00.0 VGA compatible controller [0300]: nVidia Corporation NV15 [GeForce2 GTS/Pro] [10de:0150] (rev a3)

x.org works with the nv driver.
When I switch to nvidia from nvidia-glx-legacy, x.org crashes with:

(WW) NVIDIA(0): Unresolved symbol: xf86ExecX86int10
(II) Loading sub module "vm86"
(II) LoadModule: "vm86"
(II) Loading /usr/lib/xorg/modules//libvm86.so
(II) Module vm86: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 1.1
(II) NVIDIA(0): Primary V_BIOS segment is: 0xc000

Backtrace:
0: X(xf86SigHandler+0x81) [0x80c5d81]
1: [0xb7f93420]

Fatal server error:
Caught signal 11. Server aborting

gdb gives nothing interesting:
Program received signal SIGSEGV, Segmentation fault.
0x00000004 in ?? ()

Revision history for this message
Mikael Frykholm (mikael) wrote :

nvidia-glx-legacy worked fine in edgy.

Revision history for this message
infopipe (infopipe) wrote :

Same crash for me. I have nvidia-glx installed (no legacy).
X is working with the nv driver.

Revision history for this message
infopipe (infopipe) wrote :
Download full text (4.4 KiB)

is fixed for me with today's xorg/nvidia related updates, don't know which one. Excerpt from /var/log/aptitude (sorry in german):

Aptitude 0.4.4: Protokoll
Di, Mär 27 2007 19:49:50 +0200

WICHTIG: Dieses Protokoll zeigt nur geplante Aktionen an. Aktionen, die wegen
dpkg-Problemen fehlschlagen, sind vielleicht nicht abgeschlossen.

Werde 58 Pakete installieren und 0 Pakete entfernen.
42,1MB werden auf der Festplatte belegt werden
===============================================================================
[INSTALLIEREN, ABHÄNGIGKEITEN] linux-restricted-modules-2.6.20-13-generic
[AKTUALISIERUNG] akregator 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] apport 0.69 -> 0.71
[AKTUALISIERUNG] apport-qt 0.69 -> 0.71
[AKTUALISIERUNG] kaddressbook 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] karm 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kdelibs-data 4:3.5.6-0ubuntu9 -> 4:3.5.6-0ubuntu12
[AKTUALISIERUNG] kdelibs4c2a 4:3.5.6-0ubuntu9 -> 4:3.5.6-0ubuntu10
[AKTUALISIERUNG] kdepim-kio-plugins 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kdepim-kresources 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kdepim-wizards 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kitchensync 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kmail 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kmailcvt 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] knotes 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kontact 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] korganizer 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] kubuntu-artwork-usplash 1:7.04-34ubuntu1 -> 1:7.04-35
[AKTUALISIERUNG] kubuntu-default-settings 1:7.04-34ubuntu1 -> 1:7.04-35
[AKTUALISIERUNG] kubuntu-docs 7.04-4 -> 7.04-5
[AKTUALISIERUNG] launchpad-integration 0.1.8 -> 0.1.9
[AKTUALISIERUNG] libkcal2b 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libkdepim1a 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libkleopatra1 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libkmime2 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libkpimexchange1 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libkpimidentities1 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libksieve0 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libktnef1 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libmimelib1c2a 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] libqt3-headers 3:3.3.8-0ubuntu2 -> 3:3.3.8really3.3.7-0ubuntu2
[AKTUALISIERUNG] libqt3-mt 3:3.3.8-0ubuntu2 -> 3:3.3.8really3.3.7-0ubuntu2
[AKTUALISIERUNG] libqt3-mt-dev 3:3.3.8-0ubuntu2 -> 3:3.3.8really3.3.7-0ubuntu2
[AKTUALISIERUNG] libstartup-notification0 0.8-2ubuntu2 -> 0.9-1
[AKTUALISIERUNG] linux-restricted-modules-common 2.6.20.3-12.11 -> 2.6.20.4-13.12
[AKTUALISIERUNG] networkstatus 4:3.5.6-0ubuntu5 -> 4:3.5.6-0ubuntu6
[AKTUALISIERUNG] nvidia-glx 1.0.9631+2.6.20.3-12.11 -> 1.0.9755+2.6.20.4-13.12
[AKTUALISIERUNG] python-apport 0.69 -> 0.71
[AKTUALISIERUNG] python-apt 0.6.20ubuntu13 -> 0.6.20ubuntu14
[AKTUALISIERUNG] python-launchpad-bugs 0.1.4 -> 0.1.5
[AKTUALISIERUNG] python-problem-report 0.69 -> 0.71
[AKTUALISIERUNG] qt-x11-free-dbg ...

Read more...

Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :
Download full text (15.4 KiB)

Confirming this bug.
Have the same problem in feisty updated as of today:

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux maskin 2.6.20-14-386 #2 Mon Apr 2 20:34:35 UTC 2007 i686
Build Date: 04 April 2007
 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 Apr 11 18:15:09 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "nVidia Corporation NV15 [GeForce2 GTS/Pro]"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(**) 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,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 /usr/share/fonts/X11/misc,
 /usr/X11R6/lib/X11/fonts/misc,
 /usr/share/fonts/X11/cyrillic,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/X11R6/lib/X11/fonts/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81c92e0
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 1.1
 X.Org XInput driver : 0.7
 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 7.2.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 1.1
(--) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3099 card 0000,0824 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b099 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:08:0: chip 1102,0002 card 1102,8064 rev 07 class 04,01,00 hdr 80
(II) PCI: 00:08:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr 80
(II) PCI: 00:0f:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:11:0: chip 1106,3074 card 1106,3074 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:2: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:3: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:4: chip 1106,3038 card 0925,123...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Jarle:
You may want to upgrade your kernel to a -generic series one then try again (assuming you are running a pentium 3 or better)...

Revision history for this message
infopipe (infopipe) wrote :

Well the crash has reappeared with the update of linux-restricted-modules.
excerpt from aptitude.log:
[AKTUALISIERUNG] linux-restricted-modules-2.6.20-14-generic 2.6.20.4-14.15 -> 2.6.20.5-14.18

in the Changelog the downgrade of nvidia driver to version 1.0.9631 was mentioned (before: 1.0.9755). I guess this is causing the crash again, because upgrading to this version solved the problem, see my comment above.

PS: 2nd excerpt from aptitude.log:
[AKTUALISIERUNG] nvidia-glx 1.0.9755+2.6.20.4-14.15 -> 1:1.0.9631+2.6.20.5-14.18

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

infopipe:
I have a feeling your problem is unrelated to this one (you are not using nvidia-glx-legacy for starters). Can you spin it off into a new bug report of its own and attach
/etc/X11/xorg.conf
/var/log/Xorg.0.log
and run
dmesg > dmesg.txt
which should create a file called dmesg.txt which should also be attached.

Could you then leave a message here indicating the number of the bug you made. Thanks!

Mikael:
Can you indicate whether you are still seeing the problem and if so could you attach/etc/X11/xorg.conf
/var/log/Xorg.0.log
and run
dmesg > dmesg.txt
which should create a file called dmesg.txt which should also be attached to this bug.

Revision history for this message
infopipe (infopipe) wrote :

ok. i've opened bug 105928

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Setting to needsinfo pending reply from Jarle and Mikael.

Changed in linux-restricted-modules-2.6.20:
status: Unconfirmed → Needs Info
Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :
Download full text (14.2 KiB)

linux-image 2.6.20-15.27
linux-restricted-modules 2.6.20.5-15.20
nvidia-glx-legacy 1.0.7184+2.6.20.5-15.20

New kernel, new error:

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux maskin 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
Build Date: 04 April 2007
 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: Sun Apr 15 16:51:14 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "nVidia Corporation NV15 [GeForce2 GTS/Pro]"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(**) 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,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 /usr/share/fonts/X11/misc,
 /usr/X11R6/lib/X11/fonts/misc,
 /usr/share/fonts/X11/cyrillic,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/X11R6/lib/X11/fonts/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81c92e0
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 1.1
 X.Org XInput driver : 0.7
 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 7.2.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 1.1
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3099 card 0000,0824 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b099 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:08:0: chip 1102,0002 card 1102,8064 rev 07 class 04,01,00 hdr 80
(II) PCI: 00:08:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr 80
(II) PCI: 00:0f:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:11:0: chip 1106,3074 card 1106,3074 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:2: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:3: chip 1106,3038 card 0925,1234 rev 1b cl...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Jarle:
You bug looks different to this too. Can you spin it off into a new bug report of its own and attach
/etc/X11/xorg.conf
/var/log/Xorg.0.log
and run
dmesg > dmesg.txt
which should create a file called dmesg.txt which should also be attached.

Could you then leave a message here indicating the number of the bug you made or subscribe me to the bug. Thanks!

Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :

Sitsofe,

After re-installing the kernel, restricted modules and nvidia-glx-legacy several times trying to figure out this problem I am now back to the original bug:

Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :
Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Jarle:
Your issue looks like http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414782 . You may (but not without introducing another snag) be able to workaround the issue by commenting out the Load int10 line...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Setting back to unconfirmed after a response from Jarle.

Changed in linux-restricted-modules-2.6.20:
status: Needs Info → Unconfirmed
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Opening a xorg product based on information in the debian bug.

Jarle, Mikael:
Can you indicate whether your cards a dual head with a TV-Out?

Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :

My card is a GeForce2 GTS with VGA-out, SVHS-out and composite-out. I do not think it is dual headed... The card itself is produced by Asus and is called V7700 I think. Regarding the int10, I see some strange behaviour as the int10 module is loaded at startup even if I comment it out from the module section, or even totally remove it from the config file...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Jarle:
Since disabling int10 failed to work I'm out of ideas for how to easily workaround this issue...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Jarle:
Could you try adding:
Option "ConnectedMonitor" "CRT"
or
Option "IgnoreDisplayDevices" "TV"
to the Screen section of /etc/X11/xorg.cong ?

Revision history for this message
Jarle Thorsen (jarle-genbukan) wrote :

Sitsofe:
After adding Option "ConnectedMonitor" "CRT" it worked like a charm! Thnx for your help! I never had to use this option before, who should I report this bug to?

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Jarle:
I think you might be in the right place already. This option shouldn't be necessary but seems to mask the problem if you don't need TV-Out (I have a Geforce 1 and don't see this int10 problem but my card doesn't have TV-Out). We desperately need feedback from Mikael on whether the card in question has TV-Out and whether the steps you followed also resolved the issue. If it does and they did then it is the same bug. If it doesn't or they didn't then it is a different bug and we will need to spin your issue out into a bug of its own...

Mikael:
Can you indicate whether your cards a dual head with a TV-Out?

Revision history for this message
Mikael Frykholm (mikael) wrote : Re: [Bug 89290] Re: nvidia-glx-legacy driver crashes xorg on startup

Sitsofe Wheeler skrev:
> Jarle:
> I think you might be in the right place already. This option shouldn't be necessary but seems to mask the problem if you don't need TV-Out (I have a Geforce 1 and don't see this int10 problem but my card doesn't have TV-Out). We desperately need feedback from Mikael on whether the card in question has TV-Out and whether the steps you followed also resolved the issue. If it does and they did then it is the same bug. If it doesn't or they didn't then it is a different bug and we will need to spin your issue out into a bug of its own...
>
> Mikael:
> Can you indicate whether your cards a dual head with a TV-Out?
>
I replaced the card with a new one. But I will try to put it in a
another system tonight. I was using the card exclusively with tv-out.
But it is possible that the CRT port was on as well.

/Mikael

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Setting to needsinfo pending reply from Mikael.

Changed in linux-restricted-modules-2.6.20:
status: Unconfirmed → Needs Info
Revision history for this message
FreekFrank (freekfrank) wrote :

Had the same problem with my Dell Dimension XPS T500 with a NVidia Viper TNT card.
Switching from a generic to a 386 kernel was not on itself the solution. ( Thought the legacy driver was only available in 386 format)

Added :
Option "ConnectedMonitor" "CRT"
to the Screen section as Jarle mentioned

=>

Problem solved !

Thanks Jarle

Revision history for this message
Lesmond74 (lesmond74) wrote :

FWIW, I have the same error showing up in /var/log/Xorg.0.log -

II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/lib/xorg/modules//libint10.so
(WW) NVIDIA(1): Unable to load "xf86ExecX86int10".
(EE) NVIDIA(1): Unable to initialize the X Int10 module; the console may not
(EE) NVIDIA(1): be restored correctly on your TV.

But TV-Out seems to be working fine regardless. Setup is a NV 7950 GT with a DFP and a TV in a 'separate X screen' configuration. Running Kubuntu Feisty with default x86 kernel and nvidia-glx-new package from the Ubuntu repos.

xorg.conf is attached for reference.

Bryce Harrington (bryce)
Changed in xorg:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in linux-restricted-modules-2.6.20:
importance: Undecided → Medium
status: Needs Info → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

It sort of sounds like this issue is has something to do with a mismatch between the versions of the binary driver and the kernel, which may be due to installation order. This may be why installing a new version or performing an upgrade or switching to a different kind of kernel seems to make the issue disappear, only to reappear later. But this is just a gut guess.

It would be worthwhile if people experiencing this problem could track the order of kernel and binary drivers they install, and the versions used.

Timo Aaltonen (tjaalton)
Changed in xorg:
status: Confirmed → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote : linux-restricted-modules-2.6.20 is obsolete

This package has become obsolete so we're closing out the bug report as WONTFIX.
Thanks for reporting it though!

Changed in linux-restricted-modules-2.6.20:
status: Confirmed → Won't Fix
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.