First Xorg driver

Edgar Hucek <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel,gmane.linux.ports.xbox.user
Message-ID <[email protected]>
First release of nvxbox driver for Xorg 6.8.1

This is a more or less port of our existing XFree 4.2.1
driver to Xorg 6.8.1.

I don't know what works or not. At least startx is not
crashing and gives an image for me.

I had to do an ugly hack in the file :

programs/Xserver/hw/xfree86/os-support/bus/ix86Pci.c

Look at line 276. I din't find out why ARCH_PCI_OS_INIT
isn't set at compiletime, so it goes stright to PCIProbe1
which crashes the Xbox. This is the same problem like
in the kernel. We need PCIOsConfig for probing devices
in the Xserver. When it is not set, the sverver will
use it's own scanning implementation and scanns the
full PCI bus, which crashes the xbox.

Look at the xorg.conf file in the Section ServerFlags.
There you can force the Xserver to use a specific scanning
method.

I'm not sure if it is better to maintain our own driver
or implement it in the nv driver from Xorg. I did this
inital port to be able to use the Xorg xserver and maybe to
motivate some people to help in the port.

Feel free to test it and give feedback.

cu

ED.


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.