Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg + nvidia + xinerama = segfault
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lude
Retired Dev
Retired Dev


Joined: 18 Apr 2002
Posts: 114
Location: New York, NY

PostPosted: Thu Feb 25, 2010 5:28 pm    Post subject: xorg + nvidia + xinerama = segfault Reply with quote

Been trying to work around this one for a while now, finally at my wit's end. I have a 4 monitor setup:

01:00.0 VGA compatible controller: nVidia Corporation NV42 [GeForce 6800 XT] (rev a2)
02:00.0 VGA compatible controller: nVidia Corporation G86 [Quadro NVS 290] (rev a1)

Each drives two monitors. Right now the only thing I can get working is setting the two up to do twinview across their respective cards, and having two separate X displays. This annoys me as I can't drag things to the upper set of monitors from the lower set.

If I enable Xinerama in xorg.conf, any application set up to load, immediately crashes. Here's an example just trying to run xterm:
(gdb) bt
#0 0x00007f0e927c3550 in XVisualIDFromVisual () from /usr/lib/libX11.so.6
#1 0x00000000004192bd in ?? ()
#2 0x00007f0e9232be79 in ?? () from /usr/lib/libXt.so.6
#3 0x00007f0e9232c925 in ?? () from /usr/lib/libXt.so.6
#4 0x00007f0e9232d2d8 in _XtCreateWidget () from /usr/lib/libXt.so.6
#5 0x00007f0e9235d379 in ?? () from /usr/lib/libXt.so.6
#6 0x00007f0e9235d5a4 in XtVaCreateManagedWidget () from /usr/lib/libXt.so.6
#7 0x00000000004256d1 in ?? ()
#8 0x00007f0e92d1bba6 in __libc_start_main () from /lib/libc.so.6
#9 0x0000000000407aa9 in ?? ()
#10 0x00007fff5f1a4ba8 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x00007fff5f1a552a in ?? ()

If i set Xinerama "1" in xorg.conf the above happens, if I set it "0" everything works flawlessly. Any ideas?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Feb 26, 2010 11:15 pm    Post subject: Reply with quote

http://www.nvnews.net/vbulletin/showthread.php?t=63661

bunch of xorg configuration in the zip file.
Might help.
Back to top
View user's profile Send private message
lude
Retired Dev
Retired Dev


Joined: 18 Apr 2002
Posts: 114
Location: New York, NY

PostPosted: Mon Mar 01, 2010 8:38 pm    Post subject: Reply with quote

Yeah I'm thinking it used to work with an older version of Xorg, and with their changeover to the new xrandr stuff, something got broke.
Back to top
View user's profile Send private message
Flow__
n00b
n00b


Joined: 10 Jul 2007
Posts: 25

PostPosted: Thu Aug 26, 2010 2:34 pm    Post subject: Reply with quote

I have nearly the same problem. The first process that X starts segfaults, when xinerama is enabled:
kernel: gdm[5697]: segfault at 8 ip 00007fc778286634 sp 00007fff5b4b60e0 error 4 in libgdk-x11-2.0.so.0.2000.1[7fc77821c000+a8000]
gdmgreeter[5747]: segfault at 8 ip 00007f3982ebc634 sp 00007fffe6e7d450 error 4 in libgdk-x11-2.0.so.0.2000.1[7f3982e52000+a8000]

Also nvidia driver:
05:02.0 VGA compatible controller: nVidia Corporation NV44A [GeForce 6200] (rev a1)
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2)

xorg-server-1.7.7-r1
x11-libs/gtk+-2.20.1-r1

Is it a gtk+ problem?

@lude: Did you solve it?

Flow
Back to top
View user's profile Send private message
lude
Retired Dev
Retired Dev


Joined: 18 Apr 2002
Posts: 114
Location: New York, NY

PostPosted: Wed Sep 01, 2010 12:38 pm    Post subject: Reply with quote

Not yet, about to try it today with the shiny new nVidia drivers that were just merged into portage.

I'll post results.
Back to top
View user's profile Send private message
Flow__
n00b
n00b


Joined: 10 Jul 2007
Posts: 25

PostPosted: Wed Sep 01, 2010 6:22 pm    Post subject: Reply with quote

Nvidia Linux Support told me that it´s a known Bug, which affects Xinerama configurations where GPUs from different GPU families are in use. The next driver series after the 256.xx series will contain a fix. Until then, I have to use different Screens (Xinerama disabled) or maybe an other driver.
This problem seems to be old as I found a similar report at the nvnews forums from June 2009: http://www.nvnews.net/vbulletin/showthread.php?t=134605

I hope that they will fix it soon.

Until then, it would be great if someone could post a success story with Xinerama and different GPU families. I can´t believe that this can´t be done right know somehow....

Flow.
Back to top
View user's profile Send private message
Flow__
n00b
n00b


Joined: 10 Jul 2007
Posts: 25

PostPosted: Mon Sep 13, 2010 1:54 pm    Post subject: Solved: Update to nvidia-drivers-260.19.04 Reply with quote

I can confirm that the issue is gone with nvidia-drivers 260.19.04. Thanks nvidia for solving the issue!

Flow
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum