Bug 631284 - xorg crashes if mouse moved to secondary screen in dual card/driver setup
Summary: xorg crashes if mouse moved to secondary screen in dual card/driver setup
Status: RESOLVED NORESPONSE
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.3
: P3 - Medium : Critical with 1 vote (vote)
Target Milestone: ---
Assignee: Egbert Eich
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 16:51 UTC by Bodo Eggert
Modified: 2010-11-24 22:55 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Eggert 2010-08-14 16:51:19 UTC
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60

If two monitors are connected using e.g. a tdfx and a Nvidia/nv/nouveau graphics card and if the mouse is moved from one screen to the other, the X server will get stuck doing something with the VGA arbiter.

Disabeling /dev/vga_arbiter will avoid the crash, but X.org will take longer to load and make strange sounds on the PC beeper.

Same bug here: http://70.87.46.147/vbulletin/showthread.php?t=142656

Reproducible: Always

Steps to Reproduce:
1.If two monitors are connected using e.g. a tdfx and a Nvidia/nv/nouveau graphics card
2.and if the mouse is moved from one screen to the other
3.
Actual Results:  
the X server will get stuck doing something with the VGA arbiter.

Expected Results:  
Guess.
Comment 1 Bodo Eggert 2010-08-14 16:53:38 UTC
PS: The tdfx driver does not work if the nvidia kernel module is loaded, so I tested only using nv and nouveau
Comment 2 Stefan Dirsch 2010-08-14 16:55:06 UTC
I guess that's something for Egbert.
Comment 3 Stefan Dirsch 2010-09-07 01:57:48 UTC
Related to Bug #628295 and http://bugs.freedesktop.org/show_bug.cgi?id=24986 maybe?
Comment 4 Charlie Barfield 2010-09-18 21:01:14 UTC
i have this problem also but with a Nvidia and a ati card setup.
Nvidia gtx7800 (two monitors, right and center)
Ati x700 (one monitors, left)
SUSE 11.3

happens rarely between the Nvidia monitors. happens always between the center and left monitor.
other people have gotten triple monitor setups and no bug so why cant i get it to work.. is it because they are both graphics accelerators?


http://forums.opensuse.org/english/get-help-here/hardware/446567-flashing-mouse-cursor-crash-mulitmonitor-system.html#post2224401

another thing i would like to note, it may be a problem with this (not sure) Xorg is chewing up cpu power. up to 50% (a whole core) or with only the two NVidia screens it increases steadily to 20% (the graph appears as a ramp).
Comment 5 Charlie Barfield 2010-09-19 00:21:27 UTC
screensaver or power saving: computer tries to turn picture off on screens (not sure if just blanking or turning monitors off) but all screens go black then image comes back. possibly due to this. CPU is constant at 22.4%
Comment 6 Charlie Barfield 2010-09-19 00:55:26 UTC
UM WOW.
 Stefan Dirsch    YOU ARE RIGHT
it IS this: http://bugs.freedesktop.org/show_bug.cgi?id=24986

i changed LeftOf to RightOf and it works well....

however... i found antoher bug while trying to get around this, and that is Xorg will not initialise my Nvidia card if it wasnt Screen0... so if i made my ATI card as my left most monitor, screen0, and the other two right of it, the Nvidia card wont start unless it was the main screen. see:

https://bugzilla.novell.com/show_bug.cgi?id=640369
Comment 7 Charlie Barfield 2010-09-19 01:20:33 UTC
monitors still dont go into power saving tho.  Xorg steadily increased to 24% cpu usage.
Comment 8 Charlie Barfield 2010-09-19 01:21:54 UTC
fixed my Screen0 bug too.
Comment 9 Charlie Barfield 2010-09-19 01:54:05 UTC
the cpu usage is due to the widgets made by Pitri Damsten ..... so a fault of some description there.
Comment 10 Charlie Barfield 2010-09-19 08:48:28 UTC
as i said before, happens rarely between the Nvidia monitors. (it happened again, so this is an intermittant bug). now that the ATI screen is fixed i am not sure if the intermittant version of this bug will continue to occur there.
Comment 11 Stefan Dirsch 2010-09-19 10:00:30 UTC
Well, there are several reasons why a triple head setup cannot really work at
all for you at the moment with ATI/NVIDIA cards when using NVIDIA's proprietary
driver.

(1) Multi card setups are known to be broken upstream at least since
    xorg-server 1.5 [1]. It's interesting that you managed to mix a driver for
    your ATI card (which one?) with NVIDIA's proprietary driver .
(2) Since for OpenGL a complete different software stack is used by the nvidia,
    fglrx and opensource drivers (like intel,radeon,nouveau), you can only mix
    opensource drivers to get OpenGL support working. Since with nvidia
    driver also part of the Xserver stack (GLX extension) is replaced you might
    run into issues like Xserver crashes when mixing this driver with an 
    opensource driver like radeon.

I would suggest to use Twinview instead of Xinerama for the proprietary driver
by nvidia. Maybe this already fixes your issues. To address (2) you would need 
to switch to a radeon/nouveau driver combination.

[1] This is being worked on upstream. How this is going to work together with
    KMS I don't know.
Comment 12 Charlie Barfield 2010-09-21 06:39:57 UTC
this is unrelated to my triple monitor setup. this occured because i used LeftOf in Xorg.conf. i changed all to RightOf and was ok (as i said before). please dont blame all graphics problems on me having three monitors!!!
during bootup in the Xorg log it actually says what cards can do openGL and which screens it will be disabled on (so i believe openGL will pose no problem in my setup) but i might consider your recommendations so perhaps i can change some settings as i cannot now, it is hard set in Xorg.conf.
as for which ATI driver i used, it was the default one loaded when i installed SUSE. Xorg says Load module "radeon" loading radeon_drv.so (by X.org foundation). i would have used the Nvidia driver SUSE provided if it initialized when SUSE was installed but because it didnt i assumed there was nothing to drive my Nvidia and installed it to make the other monitors work.
 

====

Back to this bug:
There is another bug that occurs with very simular symptoms and it happens rarely, the last time it happened, i wrote  "it happened" but i didnt provide a discription of what i was doing to cause the rare bug, and so i will now:
i opened firefox on rightmost monitor, and while it was being drawn on the screen i moved the cursor to the centre screen.
computer GUI crashed with Firefox still "appearing". 
when i load firefox normally and you watch it appearing, there is a large rectanglar hole in the upper left webpage area that is one of the last to get covered before a page is shown, this was still there when it crashed.
Comment 13 Stefan Dirsch 2010-11-05 22:43:34 UTC
Bodo, any improvements with latest updates from obs://X11:XOrg and obs://Kernel:HEAD?

zypper ar -f \
  http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_11.3/ \
  Kernel:HEAD
zypper ar -f \
  http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.3/ \
  X11:XOrg
zypper mr -p 90 Kernel:HEAD
zypper mr -p 90 X11:XOrg
zypper ref -r Kernel:HEAD
zypper ref -r X11:XOrg
zypper dup -r Kernel:HEAD
zypper dup -r X11:XOrg
zypper in xorg-x11-server-debuginfo xorg-x11-server-debugsource \
          xorg-x11-driver-video-debuginfo xorg-x11-driver-video-debugsource \
          xorg-x11-driver-input-debuginfo xorg-x11-driver-input-debugsource \
          libpixman-1-0-debuginfo libpixman-1-0-debugsource \
          libpciaccess0-debuginfo libpciaccess0-debugsource
Comment 14 Stefan Dirsch 2010-11-24 22:55:39 UTC
Still waiting for a response for about 3 weeks now. Please reopen once you can provide the requested feedback. Thanks.