Wezzul.com - It's the Dinglez
Categories
AIM Convos(10)General(141)
IE7(3)
Links(1)
Lyrics(5)
Music(16)
O2 News(14)
Robina(5)
Sports(7)
Tech(26)
Archives
Mar 2008(1)Jan 2008(1)Dec 2007(2)Sep 2007(3)Aug 2007(2)Jul 2007(1)Apr 2007(1)Mar 2007(1)Feb 2007(3)Jan 2007(5)Dec 2006(2)Nov 2006(4)Oct 2006(7)Sep 2006(1)Aug 2006(6)Jul 2006(8)Jun 2006(6)May 2006(8)Mar 2006(1)Feb 2006(2)Jan 2006(4)Nov 2005(5)Oct 2005(4)Sep 2005(4)Aug 2005(7)Jul 2005(6)Jun 2005(7)May 2005(15)Apr 2005(6)Mar 2005(11)Feb 2005(7)Jan 2005(6)Dec 2004(6)Nov 2004(11)Oct 2004(12)Sep 2004(5)Aug 2004(2)Jul 2004(8)Jun 2004(1)May 2004(5)Apr 2004(1)Mar 2004(2)Feb 2004(2)Jan 2004(2)Dec 2003(4)Nov 2003(10)Oct 2003(10) Search
Tag Cloud
adsense afi ajax amphetamines apple sucks atmosphere awful customer service bear vs shark bitchy men bug bullshit cancel cancer chainsawhands comcast sucks computers crapbrau css cubs suck cxoffice danglez data tracking davey havok defunct dell dell sucks detroit pistons detroit tigers development Dinglez dmitri young dsl d_lowell eat eli z email emotastic everclear firefox fixes fixitup flickr floors friend friends funny emo hair gallery gateway sucks gentoo gg allin ghostface gil mantera google google sucks green eyes guilty simpson hip hop horde housework howto i like goats idiots ie sucks ipod irc joel zumaya justin verlander kernel keywords lansing laptop laurel linksys linux lin_ger lirc live chat live shows loltown lowell macs marijuana mobile monopoly movies mpaa music music industry bullshit mysql mysticaljackass mythtv neva dinova new music nvidia oh my god oss painintheass parishiltonsucks perl photos php pink plone poorpoorpoor programming pussy rock python quod libet robina rock and roll scriptkiddies sessions shellac shit thrower siaro site shit slacking slax sleep slug software sox suck ssh sugarcrm summertime support tech support television temple temple club the stooges tivo topten torrents tough treo ubuntu usb video games weak ass music web 2.0mg wireless wonderful work world series x.org xbox year end youtube zope

Dual Display in Linux
Though I don't run Gentoo, this site was extremely useful in getting things going.
First, I had to find out the PCI Bus ID's for both video cards. This can be easily found out executing the command lspci. I found the BusID's to be 2:0:0 and 1:6:0 for the Nvidia onboard card and the ATI All-in-Wonder, respectively. These values go in the Device sections. These values are not required for a one card setup, but if you are to use two video cards, it is absolutely necessary to have these Bus ID's in your XF86Config-4 file. Another major difference is adding the amount of video ram (in kilobytes) to that same Device section. I'm not totally sure if this is necessary, but I figure it definitely can't hurt. Next is to define both monitors, which is about the same as you would with one monitor. Defining the HorizSync and VertRefresh values is key for getting the most out of your monitors. Generally, you can find these specs for any given monitor with a simple google search. As usual, you need to define two Screen sections, one for each monitor, listing the device and monitor to be used, as well as setting the depth (in bits) and resolution.
The big differences in the config file lie in the ServerLayout section. Mine as is follows:
Identifier "Default Layout"
Screen 0 "Screen1" 0 0
Screen 1 "Screen2" RightOf "Screen1"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Note the RightOf command. This is pretty cool. You can use plain-text requests such as this to define where the second screen is in relation to the first. Also, for Screen0, the 0 0 after the name is the position that the screen lies at. I am fairly sure that, by default, this is where it lies anyways, but there is no need for ambiguity.
A last section that was not in my config by default is the ServerFlags section. I added the following:
Option "Xinerama" "true"
EndSection
Xinerama is a set of extensions for Xfree86 that allow you to use multiple displays as one big virtual desktop, therefore allowing you to move windows between them (much the same way Windows works). If you do not include this, from what I've read, programs need to have coded in them the ability to move from one display to another, and the performance is a bit flaky at best.
In any case, it seems to be working now, I'm not really having any issues with it. There is some tweeking to be done to increase speed, and I will post about that if I get any results. My full config is here .
Posted on Friday, May 27, 9:14am in Tech by wezzul