Showing posts with label X. Show all posts
Showing posts with label X. Show all posts

Friday, October 1, 2010

Google Earth Fedora 13 Fixed!

I was able to fix the install of google earth on fedora 13 by installing the i686 nvidia libraries.

After adding rpm forge and installing the nvidia drivers (kmod-nvidia). It only installed the x86_64 nvidia libs.

yum install xorg-x11-drv-nvidia-libs.i686


Working!!!

Wednesday, April 29, 2009

XWarpPointer

Just came across a way to move the mouse pointer to an absolute position in X. Follow the code below:
int main()
{
Display* xdisplay1 = XOpenDisplay(NULL);
if(!xdisplay1) {
printf("display = null\n");
}
Window root = DefaultRootWindow(xdisplay1);
XWarpPointer(xdisplay1, 0, root, 0, 0, 0, 0, 10, 10);
XCloseDisplay(xdisplay1);

}

Tuesday, February 17, 2009

No devices: No Screens Detected.

Had a problem today with the no screens detected on the new Viz wall computers. Solved it by first installing the Nvidia binaries straight from their website, and then allowing X configure itself:
X -configure
cp xorg.conf.new /etc/X11/xorg.conf
nvidia-xconfig


After it configured itself, starting X was only a matter of:
init 5

Then, I had a problem with getting 3 seperate X screens configured to be on top of each other. This was to prove that it was possible, for use on the Viz Wall. I copied over a working xorg.conf from another tile wall with the same configuration, but that one didn't pick up both of the monitors on the single card. There was an error involving not having DFP-0 and DFP-1 setup to be configured. So, after much work, I got the cards to recognize the DFP-0 and DFP-1 as seperate screens (ie. in different screen declarations).

The Xorg.conf (Google Docs)

Moral of the story, Nvidia-Settings is very good at figuring out how to configure monitors.