nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards (http://www.nvnews.net/vbulletin/showthread.php?t=162176)

Sjeik 05-03-11 05:04 PM

Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
1 Attachment(s)
(sorry for the long post, I'm just trying to provide you with as much information and thoughts as possible)

Hi all,

I've just upgraded my machine to Ubuntu 11.04. Unfortunately, the new nVidia driver (270.41.06) segfaults when trying to start a second X server (for XBMC) on my second graphics card.

Summarising, my setup is as follows:
- NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0 (GPU-0) with a Samsung SyncMaster monitor: my primary X server (regular usage, browsing, emailing, ...)
- NVIDIA GPU GeForce 8500 GT (G86) at PCI:4:0:0 (GPU-1) with a Samsung 42" TV: secondary X server (reserved for XBMC)

When starting the primary X server first, the second X server refuses to start and exits with a segmentation fault (excerpt from Xorg.1.log.old, see attachment):
Quote:

Backtrace:
[ 739.800] 0: X (xorg_backtrace+0x26) [0x4a2626]
[ 739.800] 1: X (0x400000+0x6219a) [0x46219a]
[ 739.800] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fba42795000+0xfc60) [0x7fba427a4c60]
[ 739.800] 3: /lib/x86_64-linux-gnu/libc.so.6 (_IO_vfprintf+0x1bd6) [0x7fba41707436]
[ 739.801] 4: /lib/x86_64-linux-gnu/libc.so.6 (vsnprintf+0xa2) [0x7fba4172bf02]
[ 739.801] 5: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7fba3cec2000+0xd9131) [0x7fba3cf9b131]
[ 739.801] 6: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7fba3cec2000+0xb8fb7) [0x7fba3cf7afb7]
[ 739.801] 7: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7fba3cec2000+0xbe30d) [0x7fba3cf8030d]
[ 739.801] 8: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7fba3cec2000+0xbe649) [0x7fba3cf80649]
[ 739.801] 9: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7fba3cec2000+0x4323ec) [0x7fba3d2f43ec]
[ 739.801] 10: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7fba3cec2000+0x429480) [0x7fba3d2eb480]
[ 739.801] 11: X (AddScreen+0x1a8) [0x42e658]
[ 739.801] 12: X (InitOutput+0x294) [0x470064]
[ 739.801] 13: X (0x400000+0x218c3) [0x4218c3]
[ 739.801] 14: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xff) [0x7fba416deeff]
[ 739.802] 15: X (0x400000+0x21629) [0x421629]
[ 739.802] Segmentation fault at address 0xb3
[ 739.802]
However, after stopping the primary X server, the secondary X server starts happily and XBMC runs without any problems whatsoever. At that time, it is even possible to start the primary X server without getting into trouble. However, stopping and starting the secondary X server after having started the primary X server results in the same segfault.

Note that this setup was fully operational (without any glitches at all) before the upgrade - the setup consisted of a combination of Lucid and Maverick, with one of the 256.{25,35,53} drivers. Unfortunately, I can no longer use these drivers, as the X server has moved to the 10.0 ABI, which is only supported by the latest 270.41.06. Note that I've tried both the Ubuntu package (nvidia-current) and the .run-package from the nVidia website, both segfault when starting the second X server.

Looking at the Xorg.0.log file (of the primary X server), it seems that it is doing something with my secondary graphics card as well - this might confuse the second X server:
Quote:

(...)
[ 8001.178] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-0)) does not support NVIDIA
[ 8001.178] (II) NVIDIA(GPU-0): 3D Vision stereo.
[ 8001.180] (II) NVIDIA(0): NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0 (GPU-0)
[ 8001.180] (--) NVIDIA(0): Memory: 524288 kBytes
[ 8001.180] (--) NVIDIA(0): VideoBIOS: 62.92.5d.00.01
[ 8001.180] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 8001.180] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 8001.180] (--) NVIDIA(0): Connected display device(s) on GeForce GTS 250 at PCI:1:0:0
[ 8001.180] (--) NVIDIA(0): Samsung SyncMaster (DFP-0)
[ 8001.180] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[ 8001.180] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): Internal Dual Link TMDS
[ 8001.242] (II) NVIDIA(0): Assigned Display Device: DFP-0
[ 8001.243] (II) NVIDIA(0): Validated modes:
[ 8001.243] (II) NVIDIA(0): "nvidia-auto-select+0+0"
[ 8001.243] (II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
[ 8001.275] (--) NVIDIA(0): DPI set to (99, 98); computed from "UseEdidDpi" X config
[ 8001.275] (--) NVIDIA(0): option
[ 8001.275] (--) Depth 24 pixmap format is 32 bpp
[ 8002.669] (II) NVIDIA(GPU-1): Display (SAMSUNG (DFP-0)) does not support NVIDIA 3D Vision
[ 8002.669] (II) NVIDIA(GPU-1): stereo.
[ 8002.674] (II) NVIDIA(GPU-1): NVIDIA GPU GeForce 8500 GT (G86) at PCI:4:0:0 (GPU-1)
[ 8002.674] (--) NVIDIA(GPU-1): Memory: 524288 kBytes
[ 8002.674] (--) NVIDIA(GPU-1): VideoBIOS: 60.86.39.00.00
[ 8002.674] (II) NVIDIA(GPU-1): Detected PCI Express Link width: 4X
[ 8002.674] (--) NVIDIA(GPU-1): Interlaced video modes are supported on this GPU
[ 8002.674] (--) NVIDIA(GPU-1): Connected display device(s) on GeForce 8500 GT at PCI:4:0:0
[ 8002.674] (--) NVIDIA(GPU-1): SAMSUNG (DFP-0)
[ 8002.674] (--) NVIDIA(GPU-1): SAMSUNG (DFP-0): 330.0 MHz maximum pixel clock
[ 8002.674] (--) NVIDIA(GPU-1): SAMSUNG (DFP-0): Internal Dual Link TMDS
[ 8002.674] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 8002.683] (II) NVIDIA(0): Setting mode "nvidia-auto-select+0+0"
[ 8002.718] (II) Loading extension NV-GLX
(...)
I hope this issue can be resolved soon, because XBMC is rather unusable at the moment - which is a real pity.

jdobry 05-04-11 02:05 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
You are not alone. I have same problem. And it is possible repeat same bug with Ubuntu 10.04 if you install actual nVidia drivers instead of repository 256.52.

https://bugs.launchpad.net/ubuntu/+s...rs/+bug/770313

PS: this not my problem, but looks like same reason: http://www.nvnews.net/vbulletin/showthread.php?t=162045

yellown1nja 05-04-11 10:45 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
Does the XBMC feature "Automatically adjust refresh frequency" work with these drivers?

sandipt 05-05-11 08:35 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
Quote:

Originally Posted by Sjeik (Post 2427765)
(sorry for the long post, I'm just trying to provide you with as much information and thoughts as possible)

Hi all,

I've just upgraded my machine to Ubuntu 11.04. Unfortunately, the new nVidia driver (270.41.06) segfaults when trying to start a second X server (for XBMC) on my second graphics card.

Summarising, my setup is as follows:
- NVIDIA GPU GeForce GTS 250 (G92) at PCI:1:0:0 (GPU-0) with a Samsung SyncMaster monitor: my primary X server (regular usage, browsing, emailing, ...)
- NVIDIA GPU GeForce 8500 GT (G86) at PCI:4:0:0 (GPU-1) with a Samsung 42" TV: secondary X server (reserved for XBMC)

When starting the primary X server first, the second X server refuses to start and exits with a segmentation fault (excerpt from Xorg.1.log.old, see attachment):


However, after stopping the primary X server, the secondary X server starts happily and XBMC runs without any problems whatsoever. At that time, it is even possible to start the primary X server without getting into trouble. However, stopping and starting the secondary X server after having started the primary X server results in the same segfault.

Note that this setup was fully operational (without any glitches at all) before the upgrade - the setup consisted of a combination of Lucid and Maverick, with one of the 256.{25,35,53} drivers. Unfortunately, I can no longer use these drivers, as the X server has moved to the 10.0 ABI, which is only supported by the latest 270.41.06. Note that I've tried both the Ubuntu package (nvidia-current) and the .run-package from the nVidia website, both segfault when starting the second X server.

Looking at the Xorg.0.log file (of the primary X server), it seems that it is doing something with my secondary graphics card as well - this might confuse the second X server:


I hope this issue can be resolved soon, because XBMC is rather unusable at the moment - which is a real pity.



Can you please let us know reproduction steps and commands you are using ?

jdobry 05-05-11 09:55 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
Reproduction steps are simple:

- use computer with 2 nVidia cards (without SLI)
- first card is primary and used for desktop Xserver :0
- second card is configured manualy in xorg.conf (xorg.conf example here)
- try to start second Xserver (ex: "QT_XFT=1 xinit -- :1 -sharevts -layout Myth -br -dpms")
--> segfault

I am almost sure, that problem is not in secondary xserver config. If I try to stop first :0 server ("service gdm stop") then I am able start :1 without problem.

Tested on ubuntu 11.04 driver 270.41.06
EDIT: fixed xorg.conf url

AaronP 05-05-11 10:03 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
-sharevts is not supported. Please try without it.

jdobry 05-05-11 01:22 PM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
1 Attachment(s)
Quote:

Originally Posted by AaronP (Post 2428696)
-sharevts is not supported. Please try without it.

Done, nothing changed. In attachment is log files.
Server ":1" started with "QT_XFT=1 xinit -- :1 -layout Myth"

Sjeik 05-12-11 12:06 PM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
Quote:

Originally Posted by sandipt (Post 2428645)
Can you please let us know reproduction steps and commands you are using ?

The primary display uses the default Kubuntu KDM init script. Based on 'ps aux | grep X', this leads me to believe the Kubuntu init scripts run the following:
Quote:

/usr/bin/X :0 vt7 -nr -nolisten tcp -auth /var/run/xauth/A:0-Cgo1fc
The secondary (TV) X server is started by:
Quote:

xinit -- :1 -config xorg-tv.conf -sharevts -novtswitch
I'll try starting it withoug '-sharevts' tonight and report the result. Note that xorg-tv.conf is included in the nvidia-bug-report.log.gz file.

Sjeik 05-12-11 03:40 PM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
Quote:

Originally Posted by Sjeik (Post 2431853)
I'll try starting it withoug '-sharevts' tonight and report the result. Note that xorg-tv.conf is included in the nvidia-bug-report.log.gz file.

Doesn't change anything - the X server and/or driver are still segfaulting.

sandipt 05-13-11 12:35 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
NVIDIA internally filed Bug ID: 823975 to track this issue.
Issue is reproduced by adding 'Option "ProbeAllGpus" "false"' in "Device" Section OR Section "Screen" for one of the GPU. Issue is not repro if Option "ProbeAllGpus" "true" for both Screens.

Sjeik 05-13-11 05:39 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
Quote:

Originally Posted by sandipt (Post 2432105)
NVIDIA internally filed Bug ID: 823975 to track this issue.
Issue is reproduced by adding 'Option "ProbeAllGpus" "false"' in "Device" Section OR Section "Screen" for one of the GPU. Issue is not repro if Option "ProbeAllGpus" "true" for both Screens.

Thanks for taking the effort to reproduce this. If you need someone to test a beta/alpha driver, I'm willing to help.

jdobry 05-13-11 10:44 AM

Re: Upgrade to Ubuntu 11.04: drivers v270.41.06 segfaulting on 2 graphics cards
 
1 Attachment(s)
Quote:

Originally Posted by sandipt (Post 2432105)
Issue is reproduced by adding 'Option "ProbeAllGpus" "false"' in "Device" Section OR Section "Screen" for one of the GPU. Issue is not repro if Option "ProbeAllGpus" "true" for both Screens.

Confirmed. Many thanks to sandipt for informations. Now I'm able to start independent X server :1.
Working xorg.conf is in atachment.


All times are GMT -5. The time now is 02:55 AM.

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