Bug 676145

Summary: X server crashes upon moving a window to Xinerama screen on the second graphic card
Product: [Fedora] Fedora Reporter: QingLong <qinglong>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-14 14:03:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description QingLong 2011-02-08 22:54:51 UTC
Description of problem:
X server catches SEGV when a X window is moved to another Xinerama screen from the other graphic card. To say the truth I doubt whether should this bug been reported to Fedora team rather than to nvidia driver developers, but as the segmentation violation appears to take place inside the Xorg server itself (i.e. not in the nvidia_drv.so) I think this is proper address.

Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.9.3-4.fc14.x86_64
xorg-x11-drv-nvidia-260.19.29-2.fc14.x86_64
xorg-x11-drv-nvidia-libs-260.19.29-2.fc14.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Get a system with 2 nvidia graphic cards (mine are Quadro FX 4500 (G70GL) and GeForce 210 (GT218)), connect them to 4 monitors (LCD and CRT):
 Quadro FX 4500 --  BenQ V2320H (LCD), 1920x1080
 Quadro FX 4500 --  BenQ V2320H (LCD), 1920x1080
 GeForce 210 -- Sony CPD-420GST (CRT), 1440x1080 (non-standrad hand crafted 4x3
 GeForce 210 -- Sony CPD-420GST (CRT), 1440x1080  mode (via Modeline))
2. Configure Xinerama with the screens assembled in one line (`RightOf's)
 1920x1080 + 1920x1080 + 1440x1080 + 1440x1080   (=6720x1080)
 Use nvidia driver, enable hardware acceleration (load nvidia glx module)
3. Open a X window on the first screen (on the Quadro FX card) and try to move it tight until it reaches the third screen (on the Geforce card).
  
Actual results:
Xserver crashes just after the X window appears on the third screen:
[ 88132.491] Backtrace:
[ 88132.493] 0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x4a0488]
[ 88132.493] 1: /usr/bin/Xorg (0x400000+0x60d79) [0x460d79]
[ 88132.493] 2: /lib64/libc.so.6 (0x3423000000+0x34100) [0x3423034100]
[ 88132.493] 3: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f47d657f000+0x3af1f1) [0x7f47d692e1f1]
[ 88132.493] 4: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f47d657f000+0x3cb1be) [0x7f47d694a1be]
[ 88132.493] 5: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f47d657f000+0x3c141a) [0x7f47d694041a]
[ 88132.493] 6: /usr/bin/Xorg (0x400000+0x163fa6) [0x563fa6]
[ 88132.493] 7: /usr/bin/Xorg (BlockHandler+0x50) [0x4314e0]
[ 88132.493] 8: /usr/bin/Xorg (WaitForSomething+0x10f) [0x459f8f]
[ 88132.493] 9: /usr/bin/Xorg (0x400000+0x2d252) [0x42d252]
[ 88132.493] 10: /usr/bin/Xorg (0x400000+0x2152e) [0x42152e]
[ 88132.493] 11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x342301ee7d]
[ 88132.493] 12: /usr/bin/Xorg (0x400000+0x210d9) [0x4210d9]
[ 88132.493] Segmentation fault at address 0xd8
[ 88132.493] Fatal server error:
[ 88132.493] Caught signal 11 (Segmentation fault). Server aborting

Expected results:
Should just work.

Additional info:
For an unknown reason Xserver refuses to utilize OpenGL on the screens from the second graphic card, although it is also nvidia one:
[ 88106.750] (WW) NVIDIA(2): The GPU driving screen 2 is incompatible with the rest of the
[ 88106.750] (WW) NVIDIA(2):     GPUs composing the desktop.  OpenGL rendering will be
[ 88106.750] (WW) NVIDIA(2):     disabled on screen 2.

Comment 1 Matěj Cepl 2011-02-14 14:03:22 UTC
Thanks for the report. We are sorry that we cannot help you with your problem, but we are not able to support binary-only drivers. If you would be able to reproduce this issue using only open source software, please, reopen this bug with the additional information, but in meantime I have no choice than to close this bug as CANTFIX (because we really cannot fix it).

The open source 'nouveau' driver (in package xorg-x11-drv-nouveau) is the recommended alternative for users of Nvidia graphic chips.  It is used by default in Fedora 11 and later if you remove any customizations that explicitly set the video driver.  The older "nv" driver may be needed in some cases.  It is also available in older Fedora releases.  Install the packages xorg-x11-drv-nouveau or xorg-x11-drv-nv and override the X server's default choice if necessary.  See https://fedoraproject.org/wiki/Features/NouveauAsDefault for more information.

If you used a non-packaged version of the driver from the Nvidia website please clean your system from additional libraries and software it installed. For users who are experiencing problems installing, configuring, or using the unsupported 3rd party proprietary "nvidia" video driver, Nvidia provides indirect customer support via an online web based support forum.  Nvidia monitors these web forums for commonly reported problems and passes them on to Nvidia engineers for investigation.  Once they've isolated a particular problem, it is often fixed in a future video driver update.

The NVNews Nvidia Linux driver forum is located at:

	http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14

Once you have reported this issue in the Nvidia web forums, others who may have experienced the particular problem may be able to assist.  If there is a real bug occuring, Nvidia will be able to determine this, and will likely resolve the issue in a future driver update for the operating system releases that they officially support.

While we does not support the proprietary nvidia driver, users requiring technical support may also find the various X.Org, XFree86, and Red Hat/Fedora mailing lists helpful in finding assistance:

X.Org mailing lists:
	http://www.freedesktop.org/XOrg/XorgMailingLists

XFree86 mailing lists:
	http://www.xfree86.org/sos/lists.html

Red Hat/Fedora mailing lists:
	https://listman.redhat.com/mailman/listinfo