Re: multiseat, -sharevts, and suspend/hibernate

2009-07-28 Thread Matt Price
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

2009-05-18 Thread Matthew Garrett
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

2009-05-12 Thread Hugo Vanwoerkom
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

2009-05-12 Thread Tiago Vignatti
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

2009-05-12 Thread Matt Price
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

2009-05-12 Thread McDonald, Michael-p7438c
 

 -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

2009-05-12 Thread Tiago Vignatti
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

2009-05-12 Thread McDonald, Michael-p7438c
 

 -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

2009-05-12 Thread Dan Nicholson
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

2009-05-12 Thread McDonald, Michael-p7438c
 

 -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

2009-05-12 Thread Dan Nicholson
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

2009-05-12 Thread McDonald, Michael-p7438c
 

 -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