Various xorg.conf examples for using (multiple) cards + (multiple) monitors
The idea here is just to give a bunch of examples of working xorg.conf files I/we have used over the past few years, to get people started in hopefully a right direction while trying to set up their multiple displays, or other obscure hardware. There are SCORES of threads around here, which go over and over and over the same thing ad nauseum, so it's about time this data is located in one place.
No single configuration will probably work "out-of-the-box" with your exact hardware, but by following by examples, you should be able to either adapt one of these to suit your needs, or learn about what you're wanting to do, and write your own configuration. Other members are welcome to post their own working xorg.conf files, provided there is some value in them: this means that a plain old xorg.conf with one card & one monitor & one mouse & one keyboard, is probably easy enough to set up for most people. But if you have weird hardware, or a weird configuration, or maybe a fancy touchpad or tablet that needs some xorg magic, and you think that other members can benefit from your working config, by all means, tack it onto the thread :) You'll notice that I only use nVidia hardware, by choice, and therefore I know little to nothing about doing anything out of the ordinary with other makes of video hardware. I'm happy to help you with nVidia issues if I can, but with ATI or others, there are MANY other members who can help you much better than I could. Sasha |
This is the file I'm currently running on Slackware13-64. It uses Xinerama, and is configured so that each video card runs one monitor. The keyboard & mouse sections are removed for clarity. Insert your own.
Code:
Section "ServerLayout" |
This file, I used on Slackware 11 to drive my CRT Monitor and a television, off of one MX440-AGP-8x card. This was used on the older, non-modular Xorg server.
Code:
Section "ServerLayout" |
This file drives one LCD monitor off the first video card, and 2 CRT's off the second video card. I removed the mouse, keyboard, and Files sections. This was in use on Slack 11, with KDE 3.5.4 as the DE.
Code:
# nvidia-settings: X configuration file generated by nvidia-settings with Sashas help. |
Here's a nice, confusing configuration! This file is a dual-layout file, which allows you to choose one of two (or more if you add them) layouts when you start X. I used the 'computer' layout by default, but if we decided we wanted to watch a movie on the TV (played in my PC's DVD player) while I was using the computer, I would start a new X session using the 'television' layout. That would switch off my second monitor, and turn on the TV display.
At this time, when I was using this file, I had only one video card in the machine. However, in anticipation of *maybe* using an old ATI card temporarily, I added all the commented stuff, which I would have uncommented had I gotten that ATI card as a second card. Thankfully that didn't happen, and I later got the second nVidia card instead :) Yes, this looks confusing, but if you take it and remove all the commented out parts and study how the dual layout works, then you too can make your own multiple layout file. And once again, the mouse, kbd, and Files sections are removed. This was used on Slack 11, KDE 3.5.4, and the older Xorg non-modular version. Code:
Section "Module" |
Here's a file, using 2 video cards, to drive 3 monitors + one TV, all at once. Also, there are some examples of how to use a "panning virtual display size" which are the lines like so:
Option "metamodes" "CRT-0:1600x1200, CRT-1:1280x1024@1280x1200" In this above line, the intention is that CRT-0 is a monitor capable of 1600x1200 but CRT-1 can only handle 1280x1024. So if you were to take a ScreenShot of this desktop running at those resolutions, you would see a missing chunk along the bottom of the smaller monitor. So, to solve that, the above line tells Xorg to run a "Virtual Size" of 1280x1200 on the smaller monitor. The virtual image is the same height as the real image on the bigger monitor. You can technically run HUGE virtual desktops like this. It's limited by your video hardware, within reason, and eventually it will be limited by Xorg, but I don't know where the limit is-- I beliebe it's around 4096x4096 but maybe bigger. With that virtual size going, your screenshot will look normal, and when you mouse over onto the smaller monitor and go near the bottom of the screen, and screen will automatically pan upwards, so you can get to the bottom. When you mouse back up to the top, the screen pans back down. Pretty handy when you want to be able to move windows from the big monitor to the small monitor, or when a window spans both monitors, because stuff lines up horizontally, like it should. Again, this was used on Slack 11, KDE 3.5.4, pre-modular Xorg. Code:
Section "Module" |
xorg conf example for i915 and nvidia/connection to TV via HDMI
Somehow I cannot get my HDMI dconnect TV to display anything. I had a configuration file, which prevented X to start. So can someone create a configuration for me and post it here. Maybe someone else can need it too.
|
Quote:
Open your own thread for your own question, and provide these details, and we may be able to help. Beyond that...if you already HAD a configuration file, why does anyone need to create another one for you?? |
All times are GMT -5. The time now is 01:00 AM. |