You can partition out your X sessions with Xephyr or Xnest. I tend to do 3x Xephyr screens and Xdmx them to break my 1920x1080 into 3x 640x1080 stacked vertically. This gives me 360 lines of code when using a bitmapped 8x9 font in an xterm (or urxvt). 405 lines if I use an 8x8 font (80 columns per segment).
I suggest xrandr mostly because /etc/X11/xorg.conf is mostly IGNORED in distros now. Various other things in /etc/X11/ or /usr/share/X11/xorg.conf.d/ and whatnot overrides most of what you'd put there anyway. With xinput being another option to do things like enable 3 button emulation for your two button mouse/track ball. Since the xorg.conf for that is mostly ignored too. |
Thanks Emerson.
I do not think I want/need to run two instances of X. I have seen xrandr discussed elsewhere and it is been recommended (I think) in a thread on the freedesktop.org mailing list. I have to re-re-read that and figure out everything I have been told. Thanks colorpurple21859, The Intel computer does NOT have dual cards. NEITHER does the Nvidia machine. The one Nvidia card has only one bus address. Here is a section from the xorg.conf Code:
Section "Device" I hate Windoze too Ihatewindows522, Please have a look at this page http://jsmylinux.no-ip.org/basic-inf...dual-monitors/ The last layout described as "Individual Panels" is exactly what I want. It also shows instructions for how to achieve this with an Nvidia card using nvidia-settings. I would add the caution NOT to Merge changes with the existing (xorg.conf) file. I have hosed myself by doing that. Thanks for the link to Multiseat. That seems to be the mirror image of what I want. I want to control multiple (sessions, computers, users etc.) using ONE keyboard. I typically have two or three virtual machines running on different workspaces on my two monitors for specific purposes. And finally Thanks again Shadow_7. Xephyr and Xnest LOOKS similar to what happens when I run virtual machines on my system. I guess with Xephyr or Xnest the windows all belong to the host OS. I have to end with a little story inspired by your description of your coding setup. Back about 30 years ago the company I worked for built a new data center and were giving employee tours. It was quite a think at the time. 3 water cooled IBM mainframes and two air cooled Amdahls. The IT fellow giving the tour was amazed that water could flow through pipes and cool his computers. He took us all the way from the cooling tower, through the pump room, across the computer room (pulling up floor tile here and there so we could see the pipes) to the computer and back to the cooling tower. My buddy and I had both operated nuclear plants in the Navy and worked with commercial nuclear generating plants. Water flows through pipes - that is what they are for. We though his performance was quite amusing. No magic but the computers were neat. However, the thing I found neatest was a monitor in the operations center. It was gas plasma - the beautiful neon orange glowing display type - about 25 or 30" square. It was divided into FOUR 18 column/25 line sections. WOW! I would have loved on of those - especially considering the oscilloscope like monitor in my Osborne :D Ken |
Xephyr is an X session that runs under your current X but has it's own DISPLAY value. It's intended to test apps that need to run on odd screen sizes (like cell phones). But you can use it for a variety of things. Although keyboard interactions get a bit odd since your DE / WM can have hotkeys that override the Xephyr session. And you can even run a different DE / WM in the Xephyr concurrent with your regular X session. Something like "xterm -display :1" to send an xterm to the one with that display value. With "export DISPLAY=:1" under the xterm to launch X apps under the Xephyr while in the Xephyr. Without using a window manager or desktop environment. If you do custom fonts after starting X, you'll need to re-cache those in the Xephyr. And since it's a different X session, the clipboard stuff doesn't talk across sessions.
As far as actual screens, most GPUs these days are dual head (or more). Although in the case of laptops, the dual is the laptops LCD and the HDMI out. The nvidia option has nvidia-config or nvidia-xconfig to configure screens or something like that. The amd option has amdcccle and whatever the new stuff uses. With xrandr and libxca for various oddities. Even though your GPU only has one listing in lspci, it's probably still dual head. Even embedded things will have dual head GPUs, although no actual hardware to make the 2nd screen attach. |
Hmmm...
@taylorkh, this: Quote:
|
This is making my head hurt :banghead: I have asked my simple "Can Intel video do this?" question here and in some other forums and mailing lists. No one seems to know. However, I have been overwhelmed with other neat possibilities.
As to the quote from the link I provided... I CAN run Firefox on both monitors from the panels. I have two separate Firefox profiles and call the profiles explicitly in the launcher. My right monitor launcher contains Code:
firefox -P "yesterday" The different "seats" option which you mentioned is interesting. I am not sure where I could benefit from being logged on as different users. I generally do that on a virtual machine or a remote machine connected with ssh or a remote desktop viewer. As far as the compute I am sitting at... I will think on that. Regarding the normal way of configuring two monitors - as a single large work area... The problem I find with that is... if I have a program running on each monitor and I need to move to a different workspace on one monitor it also changes the workspace on the second monitor - and I loose access to the program running there. With my separate X screens I can have 16 permutations - 4 workspaces on each monitor. And I have gotten used to that capability. Thanks for your replies, Ken |
If you're asking if intel can run startx -- :1 && startx -- :2 for each screen attached to a single GPU. I'd say NO, but I didn't design the hardware or write the driver so probably the wrong person to ask. Is there some other hardware that you can do this type of thing? If so, then how, a demo / tutorial so us with Intel GPUs could "TRY" it and see. Perhaps wayland or mir might have this type of built in segmentation, but I just don't know (yet). You can emulate it with Xephyr, but not without it's quirks.
Otherwise various window managers / desktop environments can pseudo do this type of thing. I use cwm and it doesn't have workspaces. But you can group applications together and minimize / restore them with key combos for pseudo workspaces. Various networking options if each screen is it's own computer. And many exotic configurations are possible. Perhaps your wm/de has some form of pinning so when you change workspaces the things that you want to persist, do. |
Quote:
At the bottom of this link http://jsmylinux.no-ip.org/basic-inf...dual-monitors/ is the step by step process in nvidia-settings. Here is an xorg.conf which was created by the utility Code:
# nvidia-settings: X configuration file generated by nvidia-settings |
The device section of your xorg.conf also shows it set up with 2 different graphics cards one intel one nvidia, not one graphic card.
|
The Intel parameters are commented out. I had put them in when trying to hammer this into an xorg.conf for use on the Intel containing PC. This was not the original file from the Nvidia PC. My error. Still it shows the Nvidia created lines.
Ken |
Possible solution
I found this thread after spending hours trying to solve the same problem, and I may have found the solution.
I have a Dell Precision system with nvidia graphics, and have exactly the config the OP describes, two separate servers on two separate monitors. It's for the same reason, so that I can flip between workspaces on one screen without disturbing the other. In my case it's Solaris, not Linux, but the xorg.conf setup is much the same. Now I'm trying to set this up on a Lenovo Thinkcentre M93p, with intel HD graphics and still under Solaris, and have hit the same problem. It's easy to get the "one big workspace across all screens" setup to work, but not the two separate servers. I finally found another post that told me how it should work. I'll post the link in my next post, I tried here & got told that I can't put URLs in a first post (and it then threw my whole post away, which was unfriendly!). This is a second try. Unfortunately I can't test this, due to a bug on the Solaris driver which is being fixed, but it may help. If it works for you I know it should work for me later. The trick is to put these two lines in each of your Display sections: Code:
Option "ZaphodHeads" "DP1" Code:
Section "Device" The line Option "AccelMethod" "sna" is required, which is where I get stuck. With those lines in xorg.conf I see from the log that it works, it sets up two screens (the error "Screen 1 deleted because of no matching config section." goes away :) ). Unfortunately when Xorg calls into sna it gets a Segmentation Fault and exits, but that's a known issue with this Solaris release, and will hopefully get fixed soon. Until then I can't actually test this, but I hope it will work for you. |
Useful URL
A follow-up now that I'm allowed to post :)
This is the link I got info from: http://web.archive.org/web/201304290...th_ZaphodHeads |
Thank you steve_j,
I have not played with this issue for a while. I will take your recommendations and see what I can do. Ken |
You might try starting X with -xinerama. I think xinerama is the part that combines multiple screens into one :#. And passing -xinerama might disable that feature. At least according to man xserver. As I recall my old 800MHz vaio that did give the external display it's own :#. And having to fiddle with settings for aiglx, xinerama, and something else for cloning. But that was over a decade ago so the gray matter might be a little fuzzy.
|
The problem with xinerama is that it combines both screens into a single enlarged display. i.e. if you have two monitors each, say, 1920x1080, xinerama gives you a single screen 3840x1080. That is the default behaviour, but isn't what we want, we want two separate screens, each 1920x1080, so that selecting a different workspace on screen one doesn't disturb screen two, which has it's own session, panels, workspaces, etc. and yet still shares mouse and keyboard. This is trivially easy to setup with Nvidia graphics.
Xinerama lets you create windows that span both screens, drag windows between screens, etc., but if you select a different workspace it will affect both screens, and popups on one screen can steal focus from the other. |
Hello again steve_j,
I am studying the link you provided. I had never used the Wayback Machine on archive.org. I usually look at the videos. A worse time killer than youtube but the material is definitely better. Fantastic historical stuff. Here is one of my favorites - from the days of iron men and wooden computers - when a day's work was a day's WORK https://archive.org/details/WeldingTheBigRing1904 But I digress... I have a couple of to-dos before I can continue my experimenting. I have to get another HDMI to VGA adapter (or take the wife's PC off line and "borrow" that one - new one is on the way from evilbay) I have to determine if the processor in my test PC is Sandy Bridge or higher. This tidbit may help Quote:
Ken p.s. I am watching Welding the big ring with Pink Floyd's Dark Side of the Moon playing in the background. Any Colour You Like works quite well. Not as good as the Wizard of Oz but cool never the less. |
All times are GMT -5. The time now is 01:16 PM. |