Bug 12758 - [945] server crash when two servers are running
Summary: [945] server crash when two servers are running
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.2 (2007.02)
Hardware: Other All
: medium normal
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-09 18:56 UTC by Michal Suchanek
Modified: 2008-02-13 20:07 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
config file (2.71 KB, text/plain)
2007-10-09 18:57 UTC, Michal Suchanek
no flags Details
crash with dri (41.93 KB, text/plain)
2007-10-09 18:59 UTC, Michal Suchanek
no flags Details
crash without dri (30.36 KB, text/plain)
2007-10-09 19:00 UTC, Michal Suchanek
no flags Details
xorg log file (56.74 KB, text/plain)
2007-11-13 00:19 UTC, WuNian
no flags Details

Description Michal Suchanek 2007-10-09 18:56:22 UTC
I tried to set up two X servers in gdm, one with autologin. On strtup, the first X server is started, then the second, then a user is automatically logged on on the first (now on inactive terminal). Happened both with and without dri.

I switched the second X server off but when I switched back to console just after X server started I also got a crash.
Comment 1 Michal Suchanek 2007-10-09 18:57:30 UTC
Created attachment 11960 [details]
config file
Comment 2 Michal Suchanek 2007-10-09 18:59:23 UTC
Created attachment 11961 [details]
crash with dri
Comment 3 Michal Suchanek 2007-10-09 19:00:10 UTC
Created attachment 11962 [details]
crash without dri
Comment 4 Jesse Barnes 2007-10-31 15:34:36 UTC
Can you reproduce this with just two servers starting and exiting?  I assume so since I've seen other, similar reports, so I'm updating the description.

You should be able to start multiple servers and switch between them by using "startx -- :1", "startx -- :2", etc.
Comment 5 Gordon Jin 2007-11-12 18:40:53 UTC
Fengming or Nian, can you reproduce this?
Comment 6 WuNian 2007-11-13 00:14:22 UTC
On our 945 platform(945g and 945gm),two nude xserver(using command:X) can coexist without any problem. But two startx(using command:startx -- :n) servers can't coexist:the first one can start as normal,then you start the second one,the display will stop at the the stage of invoking the genome-session(this time screen keep blue color),you can get following error messages:
(==) Log file: "/opt/X11R7/var/log/Xorg.2.log", Time: Tue Nov 13 15:57:34 2007
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
(II) Module "ramdac" already built-in
(EE) [drm] Could not set DRM device bus ID.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
chosen: dotclock 145920 vco 1459200 ((m 76, m1 11, m2 9), n 3, (p 10, p1 1, p2 10))

I can still switch to the first one, which works well. Just the second startx freezes.
Comment 7 WuNian 2007-11-13 00:19:26 UTC
Created attachment 12497 [details]
xorg log file
Comment 8 Jesse Barnes 2008-02-05 16:29:20 UTC
Hm, works for me with the latest 2D driver...

Note that if you're running a full session, the second head won't have DRI, so any apps needing it will fail.  But that's a separate bug (the multi-master feature is missing).

Nian, can you get more info about where the second session hangs?

I don't think we'll be able to fix this for 2.2.1, so I'm dropping it from the blocker list.
Comment 9 WuNian 2008-02-12 23:56:43 UTC
With the latest 2D driver, the second gonme-session can also start up. This bug does not happen to me too.
Comment 10 Jesse Barnes 2008-02-13 09:34:14 UTC
Ok, marking as fixed then.
Comment 11 WuNian 2008-02-13 20:07:55 UTC
verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.