multiseat, -sharevts, and suspend/hibernate
Hi It seems like i am doing the same thing which you are trying to do. What did was, i started another X server. so now i have two X servers sharing the Virtual terminal. I have 2 screens, 2 mouse, 2 graphics card of different manufacturer and one keyboard. I created 2 different xorg.conf for different graphics card with different resources allocated. when i boot the system up by default OS takes one xorg..conf and run one x server on one graphics card. Now when i start second X server i pass second xorg.conf as parameter in startx which results in running x server on second screen. I can see them simultaneously but the second X server now has control of second mouse, which was expected but first X server has lost the control of first mouse rather i would say that the first X server is freezed and i can not do any thing in the first screen. Do you have any clue why has it happened. I will really appreciate your responce. Thanks Arun Mittal ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
hi arun, unfortunately, since i wasn't able to get my system to suspend properly, i ended up just going with a multiscreen set-up. that works fine for my needs, and since hibernat is very important for me, I just decided to go with that. Hopefully someone more knowledgeable on the list will have suggestions. matt On Tue, 2009-07-28 at 12:56 -0700, Arun Mittal wrote: Hi It seems like i am doing the same thing which you are trying to do. What did was, i started another X server. so now i have two X servers sharing the Virtual terminal. I have 2 screens, 2 mouse, 2 graphics card of different manufacturer and one keyboard. I created 2 different xorg.conf for different graphics card with different resources allocated. when i boot the system up by default OS takes one xorg..conf and run one x server on one graphics card. Now when i start second X server i pass second xorg.conf as parameter in startx which results in running x server on second screen. I can see them simultaneously but the second X server now has control of second mouse, which was expected but first X server has lost the control of first mouse rather i would say that the first X server is freezed and i can not do any thing in the first screen. Do you have any clue why has it happened. I will really appreciate your responce. Thanks Arun Mittal ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg -- Matt Price matt.pr...@utoronto.ca signature.asc Description: This is a digitally signed message part ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
On Tue, May 12, 2009 at 01:45:27PM -0400, Matt Price wrote: i never got it to work. it's a shame, because i still consider hibernate an essential element of the system. there's work right now to merge tuxonice, finally, but the truth is that this functionality has never been taken seriously by linus or the other main kernel devs. bummer, really. It doesn't matter whether you're using tuxonice or whatever - there's simply no infrastructure in the kernel for reinitialising multiple video cards until you move to KMS-based drivers. -- Matthew Garrett | mj...@srcf.ucam.org ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
Matt Price wrote: hi, snip So i'm wondering: does anyone out there have a multiseat system that actually can suspend and hibernate successfully? And if so, do you use the -sharevts switch when starting X, or do you have some other trick for getting the x sessions to display simultaneously? Hi Matt, I run a two-seater but never got suspend/hibernate to work. Did you make progress? Hugo ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
Hugo Vanwoerkom escreveu: Matt Price wrote: hi, snip So i'm wondering: does anyone out there have a multiseat system that actually can suspend and hibernate successfully? And if so, do you use the -sharevts switch when starting X, or do you have some other trick for getting the x sessions to display simultaneously? Hi Matt, I run a two-seater but never got suspend/hibernate to work. Did you make progress? Mix this kind of things (suspend/hibernate + multiseat) can be explosive. Don't do that - at least until the KMS, with rootless servers, definitely arrives. Cheers, Tiago ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
On Tue, 2009-05-12 at 14:29 -0300, Tiago Vignatti wrote: Hugo Vanwoerkom escreveu: Matt Price wrote: hi, snip So i'm wondering: does anyone out there have a multiseat system that actually can suspend and hibernate successfully? And if so, do you use the -sharevts switch when starting X, or do you have some other trick for getting the x sessions to display simultaneously? Hi Matt, I run a two-seater but never got suspend/hibernate to work. Did you make progress? Mix this kind of things (suspend/hibernate + multiseat) can be explosive. Don't do that - at least until the KMS, with rootless servers, definitely arrives. i never got it to work. it's a shame, because i still consider hibernate an essential element of the system. there's work right now to merge tuxonice, finally, but the truth is that this functionality has never been taken seriously by linus or the other main kernel devs. bummer, really. matt Cheers, Tiago ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg -- Matt Price matt.pr...@utoronto.ca ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
RE: multiseat, -sharevts, and suspend/hibernate
-Original Message- From: xorg-boun...@lists.freedesktop.org [mailto:xorg-boun...@lists.freedesktop.org] On Behalf Of Tiago Vignatti Sent: Tuesday, May 12, 2009 10:29 AM To: Hugo Vanwoerkom Cc: x...@freedesktop.org Subject: Re: multiseat, -sharevts, and suspend/hibernate Mix this kind of things (suspend/hibernate + multiseat) can be explosive. Don't do that - at least until the KMS, with rootless servers, definitely arrives. I'm confused. What does rootless servers have to do with multiseat? Mike McDonald ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
McDonald, Michael-p7438c escreveu: I'm confused. What does rootless servers have to do with multiseat? In the current implementation, multiseat implies in several servers in parallel, which in turn implies in hardware accesses in parallel (mostly not coordinated by anyone), which in turn mess your system. Uoow! Tiago ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
RE: multiseat, -sharevts, and suspend/hibernate
-Original Message- From: Tiago Vignatti [mailto:vigna...@freedesktop.org] Sent: Tuesday, May 12, 2009 2:02 PM To: McDonald, Michael-p7438c Cc: x...@freedesktop.org Subject: Re: multiseat, -sharevts, and suspend/hibernate McDonald, Michael-p7438c escreveu: I'm confused. What does rootless servers have to do with multiseat? In the current implementation, multiseat implies in several servers in parallel, which in turn implies in hardware accesses in parallel (mostly not coordinated by anyone), which in turn mess your system. Uoow! I understand the difficulties in running multiple X servers. I don't understand how rootless servers are going to make it easier. Mike McDonald ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
On Tue, May 12, 2009 at 3:30 PM, McDonald, Michael-p7438c michael.mcdon...@gdc4s.com wrote: -Original Message- From: Tiago Vignatti [mailto:vigna...@freedesktop.org] Sent: Tuesday, May 12, 2009 2:02 PM To: McDonald, Michael-p7438c Cc: x...@freedesktop.org Subject: Re: multiseat, -sharevts, and suspend/hibernate McDonald, Michael-p7438c escreveu: I'm confused. What does rootless servers have to do with multiseat? In the current implementation, multiseat implies in several servers in parallel, which in turn implies in hardware accesses in parallel (mostly not coordinated by anyone), which in turn mess your system. Uoow! I understand the difficulties in running multiple X servers. I don't understand how rootless servers are going to make it easier. If your server is rootless, than by necessity it must properly obtain resources and will not be allowed to stomp on another processes' resources. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
RE: multiseat, -sharevts, and suspend/hibernate
-Original Message- From: Dan Nicholson [mailto:dbn.li...@gmail.com] Sent: Tuesday, May 12, 2009 4:51 PM To: McDonald, Michael-p7438c Cc: vigna...@freedesktop.org; x...@freedesktop.org Subject: Re: multiseat, -sharevts, and suspend/hibernate If your server is rootless, than by necessity it must properly obtain resources and will not be allowed to stomp on another processes' resources. Ahhh. You're defining the kernel's KMS screen as the root window, therefore all window systems, X included, are rootless. Got it. Thanks. Mike McDonald ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: multiseat, -sharevts, and suspend/hibernate
On Tue, May 12, 2009 at 5:37 PM, McDonald, Michael-p7438c michael.mcdon...@gdc4s.com wrote: -Original Message- From: Dan Nicholson [mailto:dbn.li...@gmail.com] Sent: Tuesday, May 12, 2009 4:51 PM To: McDonald, Michael-p7438c Cc: vigna...@freedesktop.org; x...@freedesktop.org Subject: Re: multiseat, -sharevts, and suspend/hibernate If your server is rootless, than by necessity it must properly obtain resources and will not be allowed to stomp on another processes' resources. Ahhh. You're defining the kernel's KMS screen as the root window, therefore all window systems, X included, are rootless. Got it. Thanks. No, I was thinking more that if the xserver is not run by root, it can't just have its way with the PCI resources. Then it can't wreak havoc on what another xserver is doing with them, either. So, I think that Tiago means that if the xserver is rootless, then it will implicitly be accessing the hardware properly though the kernel and will not interfere with another xserver trying to access the hardware. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
RE: multiseat, -sharevts, and suspend/hibernate
-Original Message- From: Dan Nicholson [mailto:dbn.li...@gmail.com] Sent: Tuesday, May 12, 2009 5:48 PM To: McDonald, Michael-p7438c Cc: vigna...@freedesktop.org; x...@freedesktop.org Subject: Re: multiseat, -sharevts, and suspend/hibernate No, I was thinking more that if the xserver is not run by root, it can't just have its way with the PCI resources. Then it can't wreak havoc on what another xserver is doing with them, either. So, I think that Tiago means that if the xserver is rootless, then it will implicitly be accessing the hardware properly though the kernel and will not interfere with another xserver trying to access the hardware. OK, so he meant running without root permissions. A rootless server has an existing meaning and I couldn't see how that would help multiseat. Mike McDonald ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
multiseat, -sharevts, and suspend/hibernate
hi, I'm very close to getting a new multiseat system working, with 2 nvidia cards, using the closed-source drivers. It runs a nearly-unmodified ubuntu jaunty, with xorg 7.4~5ubuntu18 packages. I've followed several howtos, most closely http://www.linuxtoys.org/multiubuntu/multiubuntu.html, with the result that I have a perfectly functioning xorg.conf, gdm, and sound. GDM runs 2 servers; one attaches to Layout0, which uses only Screen0 (my lcd monitor), while the other attaches to Layout1, which uses only Screen 1 (my TV-out). login works fine and all that. The only thing that's missing now is the capacity to suspend to ram or disk while both gdm servers are up and running. first, it seems that gdm or X inhibits suspend/hibernate when there are two servers running, doubtless for good reason. Nonetheless I can trigger a manual suspend with pm-suspend or pm-hibernate. Suspend seemsto go fine, but on resume both monitors are blanked and I can't bring them back up even with /etc/init.d/gdm restart. This reminds me of the bad old days, especially since I'm usingthe nvidia drivers (whcih I seem to have to do, if I want multiseat to work. The issue seems to be with the -sharevts switch that (from what I can tell) needs to be passed to the x server in order to ensure that both X sessions are visible at the same time. Without that switch, one gdm server seems to run on VT7, and the other on VT9; if you switch from one vt to the other, you can watch the two screens flicker on and off, but you can never see both at the same time. So i'm wondering: does anyone out there have a multiseat system that actually can suspend and hibernate successfully? And if so, do you use the -sharevts switch when starting X, or do you have some other trick for getting the x sessions to display simultaneously? Look forward to hearing your advice! thanks as always, matt -- Matt Price matt.pr...@utoronto.ca ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg