Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Wasn't sure where to post this, but hardware makes the most sense. I searched a lot on the internet before figuring this out myself, so I figured I'd share my experience to help others avoid the waste of time.
Problem: I have a flat panel monitor, a crt monitor, an onboard Intel 82945G/GZ video controller, and an ATI rage 128 pci card. The lcd is connected to the intel. The crt is connected to the ATI. I want to set it up to display my desktop across both monitors.
I am using Ubuntu. I installed the xserver-xorg-video-ati package via apt:
apt-get install xserver-xorg-video-ati
The main idea there was to install the r128 driver (included in the above package).
lspci | grep -i vga
This returned the name of my video cards along with their pci bus identifiers:
lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
04:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TR
I then edited the xorg.conf. I did not run aticonfig (I have never had success with aticonfig). I made sure there were monitor and video card and screen entries for each of my monitors and video cards:
Notice that the ADC monitor (crt) does not have the DPMS option. That was important.
Below is the rest of my xorg.conf file. The important sections are the ones I pasted above, the Screen sections, and the ServerLayout section. Pay special attention to the ServerLayout section. This section is the most important for bringing it all together. It may take some trial and error to get everything in its correct place. Also, at the end notice the section with the xinerama option. This allows your desktop to be spread out over both monitors rather than having to run 2 completely separate X sessions on both monitors.
One other thing to note is that killing X and restarting it did not function for me. I had to reboot the computer each time I wanted to test a new configuration. I believe I could have gotten around this my using rmmod on the video modules, but I didn't try that.
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
I've found that "X -configure" can be a good place to start. It doesn't help much with Modes, for example, but it does try to detect the capabilities of monitors.
Further, it determines bus id's for you.