LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2012, 03:46 PM   #1
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
Multiple video adapters, xorg servers, monitors with one keyboard & mouse?


My use case is, I want to use one video card (GeForce 560 Ti) for 3D gaming, and another for ordinary desktop applications. My current solution is a Twinview across both screens which (a) causes high load on the video card even when idle and (b) uses up resources during 3D gaming.

My idea is to use a second video adapter and a second xorg server for one screen. To the point that if one xorg server crashes, the other continues to run. The question is, can it be done? How to switch mouse and keyboard between the two xorg servers?

I would sacrifice my 4-core i7 for a 2-core i3 which comes with a GPU (i915 driver). I've used the i3 before the last upgrade, and given it is 32 nm vs. 45 nm it runs much cooler when idle.

I've googled high and low and found configuratons for the following scenarios:

1. multiseat: multiple sets of keyboard & mouse & screens connected to one computer running multiple xorg servers. Not sure about video adapters.

2a. Single xorg server with Twinview/Xinerama on one video adapter: a large desktop spanning multiple screens (NB: Twinview is a proprietary solution by the nvidia driver).

2b. Single xorg server with Xinerama on multiple video adapters: a large desktop spanning multiple screens.

3a. Single xorg server with multiple X screens on one video adapter: multiple desktops with the mouse pointer moving between them.

3b. Single xorg server with multiple X screens on multiple video adapters: multiple desktops with the mouse pointer moving between them.

4. Multiple xorg servers on multiple virtual screens (CTRL-ALT-F7/8/9/...): the active one gets the mouse & keyboard events

None of these do what I want, and I still don't know how to switch mouse & keyboard. Can anyone share some experience?
 
Old 04-25-2012, 08:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Not that I've tried it, but you could conceivably get away with 1)
if you use synergy if you assign the second XServer to a virtual
network with it's own hostname ...

Just thinking out loud.
 
Old 04-26-2012, 11:40 AM   #3
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Original Poster
Rep: Reputation: 119Reputation: 119
Thanks, looking into synergy right now. From the coding I can read that the client injects events into an X server specified by a given display name, so chances are it might even work!

I'm having problems with the poorly documented build system right now, but maybe I just haven't looked hard enough yet.

I also noticed a superb tutorial in the table of "similar threads" below which hadn't come up in my previous search. This will be the base for further investigations.

http://www.linuxquestions.org/questi...torial-864646/

Next I need to work out if the two video drivers will play together at all...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple X-servers, multiple graphics adapters, single-seat (kind of tutorial) bluebox Linux - Desktop 6 06-07-2017 08:20 AM
Start multiple X servers on the same machine, sharing mouse and keyboard SiLiZiUMM Linux - General 2 12-11-2009 12:33 PM
How to remote keyboard & mouse, not video? Eric Elliott Linux - Newbie 3 05-20-2008 05:37 AM
2 monitors & wireless keyboard & mouse... BuckNekkid Linux - General 2 12-02-2007 07:57 AM
FC5 multiple X servers causes mouse/keyboard input hang on one of them adrian_stephens Linux - Software 0 12-08-2006 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration